.oneclick-form {
	display: none;
}
.oneclick-form.fancybox-content {
	padding: 0;
}
.oneclick-form-wrap {
	padding: 40px;
	background-color: white;
	max-width: 460px;
}
.oneclick-form.loading {
	position: relative;
}
.oneclick-form.loading:after {
	content: '';
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background-image: url(/local/templates/site/img/lazy-preload.svg);
	background-repeat: no-repeat;
	background-size: 50% 50%;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 8060;
}
.form-top {
	text-align: left;
	margin-bottom: 30px;
	user-select: none;
}
.form-title {
	font-weight: 700;
	font-size: 26px;
}
.form-subtitle {
	font-size: 16px;
	margin-top: 20px;
    text-align: justify;
}

.oneclick-form-wrap .form-title,
.oneclick-form-wrap .form-subtitle {
    text-align: center;
}

.form-field-caption,
.form-field label {
	font-size: 16px;
	margin-bottom: 5px;
	user-select: none;
}

.oneclick-form-wrap .form-field {
	position: relative;
}
.form-fields .form-field + .form-field {
	margin-top: 25px;
}
.form-fields .form-field input[type="text"],
.form-fields .form-field textarea {
	width: 100%;
    background-color: #F7F7F7;
    border: 2px solid #E3E3E3;
	border-radius: 1px;
	font-size: 16px;
	padding: 18px 20px;
	outline: none;
	transition: 300ms ease-in-out;
	transition-property: border-color;
}
.form-fields .form-field textarea {
    resize: none;
}
.form-fields .form-field input[type="text"]:hover,
.form-fields .form-field input[type="text"]:focus,
.form-fields .form-field textarea:hover,
.form-fields .form-field textarea:focus {
	border-color: #A3A6A9;
}
.form-fields .form-field.field-error input[type="text"],
.form-fields .form-field.field-error textarea {
	border-color: #fd4b4b;
}
.form-field input[type="text"]::placeholder,
.form-field textarea::placeholder {
	color: #A3A6A9
}

.field-agreement {
	margin-top: 15px;
}
.field-agreement label {
	font-size: 15px;
}
.field-agreement a {
	font-weight: 500;
	display: inline-block;
	color: #374869;
	border-bottom: 1px dashed currentColor;
}

.form-field input[type="checkbox"] {
	width: 1px;
	height: 1px;
	top: 0;
	left: 0;
	position: absolute;
}
.form-field input[type="checkbox"] + * {
	display: flex;
}

.form-field input[type="checkbox"] + *:before {
	content: "";
	display: block;
	width: 20px;
	min-width: 20px;
	height: 20px;
	background-color: #FFFDFD;
	border: 2px solid #E3E3E3;
	border-radius: 1px;
	margin-right: 7px;
	cursor: pointer;
	transition: 300ms ease-in-out;
	transition-property: border-color, background-color;
}
.field-error input[type="checkbox"] + *:before {
	border-color: #fd4b4b;
}
.field-agreement:hover input[type="checkbox"] + *:before {
	border-color: #374869;
}
.form-field input[type="checkbox"]:checked + *:before {
	background-color: #374869;
	border-color: #374869;
}
.field-agreement:hover input[type="checkbox"]:checked + *:before {
	background-color: white;
}
.form-field input[type="checkbox"] + *:after {
	content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    display: block;
    position: absolute;
	top: 2px;
    left: 4px;
    color: white;
    opacity: 0;
    cursor: pointer;
    transition: 300ms ease-in-out;
	transition-property: opacity, color;
}
.field-agreement:hover input[type="checkbox"]:checked + *:after {
	color: #374869;
}
.form-field input[type="checkbox"]:checked + *:after {
	opacity: 1;
}

.oneclick-form-wrap .submit {
	margin-top: 40px;
}
.oneclick-form-wrap input[type="submit"] {
	border: none;
	appearance: none;
    width: 100%;
    font-weight: bold;
}

.oneclick-form-wrap .form-info {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.oneclick-form-wrap .form-success {
    margin-bottom: 0;
    color: green;
}
.oneclick-form-wrap .form-success ~ * {
    display: none;
}

@media (max-width: 600px) {
    .oneclick-form-wrap {
        padding: 30px;
    }
    .form-top {
        margin-bottom: 25px;
    }
    .form-title {
        font-size: 20px;
    }
    .form-subtitle {
        font-size: 14px;
        margin-top: 15px;
    }
    .oneclick-form-wrap .form-info {
        font-size: 13px;
    }
    .oneclick-form-wrap .submit {
        margin-top: 25px;
    }
    .form-fields .form-field input[type="text"], .form-fields .form-field textarea {
        padding: 12px 15px;
    }
    .form-fields .form-field + .form-field {
        margin-top: 15px;
    }
}