.ac-custom {
	list-style-type: none;
}
.ac-custom li {
	margin-top: 20px;
}
.ac-custom input[type='checkbox'],
.ac-custom input[type='radio'],
.ac-custom label:before {
	display: block;
	width: 22px;
	height: 22px;
	cursor: pointer;
}
.ac-custom label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
	line-height: 16px;
	font-size: 14px;
	color: #222222;
	font-weight: 400;
	padding-bottom: 0;
	position: relative;
}
.ac-custom label b {
	display: block;
	font-weight: 600;
}
.ac-custom input[type='checkbox'],
.ac-custom input[type='radio'] {
	-webkit-appearance: none;
	opacity: 0;
	z-index: 100;
	display: none;
}
.ac-custom label::before {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	content: '';
	border: 2px solid #e6e6e8;
	background: #f8f8f8;
	margin-right: 15px;
	border-radius: 3px;
}
.ac-custom input[type='checkbox']:checked + label,
.ac-custom input[type='radio']:checked + label,
.ac-custom input[type='checkbox']:hover + label,
.ac-custom input[type='radio']:hover + label {
	color: #db0063;
	transition: color 200ms linear 0ms, background 200ms linear 0ms,
		border 200ms linear 0ms;
}
.ac-custom input[type='checkbox']:hover + label::before,
.ac-custom input[type='radio']:hover + label::before {
	border: 2px solid #db0063;
	transition: color 200ms linear 0ms, background 200ms linear 0ms,
		border 200ms linear 0ms;
}
/* Меняем фон чекбокса, когда он отмечен */
.ac-custom input[type='checkbox']:checked + label::before,
.ac-custom input[type='radio']:checked + label::before {
	border: 2px solid #db0063;
	background: #db0063;
}
/* Галочка по центру */
.ac-custom label::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 4px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	opacity: 0;
	transition: opacity 0.3s ease;
}
/* Показываем галочку когда выбран */
.ac-custom input[type='checkbox']:checked + label::after,
.ac-custom input[type='radio']:checked + label::after {
	opacity: 1;
}
