.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: flex;
	align-items: center;
	cursor: pointer;
	line-height: 18px;
	font-size: 14px;
	color: #222222;
	font-weight: 400;
	padding-bottom: 0;
	position: relative;
}
.ac-custom label b {
	font-weight: 600;
}
.ac-custom label div {
	font-weight: 400;
	line-height: 18px;
}
.ac-custom input[type='checkbox'],
.ac-custom input[type='radio'] {
	-webkit-appearance: none;
	opacity: 0;
	z-index: 100;
	display: none;
}
.ac-custom label::before {
	content: '';
	width: 23px;
	height: 23px;
	border: 2px solid #ddd;
	background: #fff;
	border-radius: 3px;
	margin-right: 15px;
}
.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: 50%;
	margin-top: -2px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: translateY(-50%) 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;
}
