
.fancybox-bg {
    background: #092631!important;
    opacity: 0.5!important;
}

.fancybox-content.modal-form--simple-wrapper,
.fancybox__content.modal-form--simple-wrapper {
    border-radius: 20px;
    width: 840px;
    max-width: 100%;
    padding: 0;
}
.fancybox-content.modal-form--simple-wrapper.modal-form--lg,
.fancybox__content.modal-form--simple-wrapper.modal-form--lg {
    width: 1200px;
}
.fancybox-content.modal-form--simple-wrapper.modal-form--xl,
.fancybox__content.modal-form--simple-wrapper.modal-form--xl {
    max-width: 1720px;
    width: 100%;
}

.modal-form--lg-wrapper.row {
    margin-right: 0;
    margin-left: 0;
}

.modal-form--simple-wrapper.fancybox__content>.f-button.is-close-btn {
    top: 20px;
    right: 20px;
}

.modal-form--simple-header {
    position: relative;
    padding: 30px 60px;
    margin-bottom: 4px;
}
.modal-form--lg .modal-form--simple-header {
    padding: 30px 45px 0;
}

.modal-form--simple-header::after,
.modal-form--simple-header::before {
    content: ' ';
    bottom: -4px;
    position: absolute;
    display: block;
    height: 4px;
    width: 50%;
}
.bg-blue .modal-form--simple-header::after,
.bg-blue .modal-form--simple-header::before {
    display: none;
}
.modal-form--simple-header::before {
    background: #1460DA;
    left: 0;
}
.modal-form--simple-header::after {
    background: #A6D02A;
    right: 0;
}

.modal-form--simple-body {
    padding: 30px 60px 50px;
}
.modal-form--lg .modal-form--simple-body {
    padding: 30px 45px 50px;
}

.modal-form--body {
    padding: 0 15px;
}

.half-form--wrapper {
    margin-right: -15px;
    padding: 30px 50px 20px 50px;
    height: 100%;
}

.modal-form--simple-description {
    margin-top: 25px;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    opacity: 0.85;
}

.modal-form--content-wrapper {
    padding-bottom: 70px;
}

.modal-form--content-wrapper .modal-form--content-title {
    padding: 50px 45px;
}

.modal-form--content-slider {
    position: relative;
    padding-top: 70%;
    margin-left: 20px;
    margin-right: 20px;
}

.modal-form--content-slider .swiper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.modal-form--content-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.modal-form--content-slider--pagination.swiper-pagination-bullets.swiper-pagination-horizontal.modal-form--content-slider--pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    bottom: -10%;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    z-index: 3;
}

.modal-form--content-slider--pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px!important;
    background: #C8D6DD;
}
.modal-form--content-slider--pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: #1460DA;
}

.simple-form--title {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 36px;
}
.simple-form--description {
    color: #fff;
    margin: 12px 0;
    font-size: 18px;
    font-weight: 400;
    opacity: .85;
    line-height: 26px;
}

.half-form--banner {
    height: 100%;
    margin-left: -15px;
    margin-right: -30px;
    border: 10px solid #fff;
}
.half-form--banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1399px) {
    .half-form--banner {
        margin-right: -15px;
    }
    .half-form--wrapper {
        margin-left: -15px;
    }

    .half-form--banner img {
        border-radius: 4px;
    }
}

@media (min-width: 992px) and (max-width: 1399px){
    .fancybox-content.modal-form--simple-wrapper.modal-form--xl, 
    .fancybox__content.modal-form--simple-wrapper.modal-form--xl {
        max-width: 720px;
    }
}

@media (max-width: 991px) {
    .modal-form--lg .modal-form--simple-header {
        padding: 40px 10px 0 5px;
    }

    .modal-form--lg .modal-form--simple-body {
        padding: 30px 5px 40px;
    }
}

@media (max-width: 767px) {
    .modal-form--content-wrapper {
        padding-bottom: 0;
    }

    .modal-form--content-wrapper .modal-form--content-title {
        padding: 30px 10px;
    }

    .modal-form--content-slider {
        margin-bottom: 50px;
    }

    .modal-form--content-slider--pagination.swiper-pagination-bullets.swiper-pagination-horizontal.modal-form--content-slider--pagination {
        bottom: -30px;
    }

    .modal-form--lg .modal-form--simple-header {
        padding: 30px 10px 0;
    }

    .modal-form--lg .modal-form--simple-body {
        padding: 30px 10px 50px;
    }

    .half-form--banner {
        border: none;
    }
    .half-form--wrapper {
        padding: 30px 20px 20px 20px;
    }
}

.form-bg--blue {
    background: #1460DA;
    background-image: url("data:image/svg+xml,%3Csvg width='1920' height='764' viewBox='0 0 1920 764' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.15'%3E%3Cmask id='mask0_48_226' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='1920' height='764'%3E%3Crect width='1920' height='764' fill='%23F4F6F8'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_48_226)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M735.699 224.877C706.288 219.708 623.796 206.127 634.976 264C582.701 235.52 633.163 172.782 687.654 191.532C624.602 83.4886 836.624 83.3873 903 102.847C823.53 108.827 731.771 116.023 736.102 224.472' fill='%23F4F6F8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M641.813 145.897C593.086 137.278 456.65 114.766 474.432 211C387.829 163.644 471.318 58.8908 561.539 90.5296C457.152 -88.8581 808.088 -88.9596 918 -56.611C786.487 -46.4704 634.177 -34.8087 641.813 146.201' fill='%23F4F6F8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: top 0 left 20%;
    background-size: contain;
}

form.preloader {
    position: relative;
}
form.preloader::before {
    content: ' ';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9;
    opacity: .4;
    top: 0;
    left: 0;
}
form.form-dark.preloader::before {
    background-color: #1460DA;
}

form.preloader::after {
    content: ' ';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/preloader.svg);
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    z-index: 9;
}
form.form-dark.preloader::after {
    background-image: url(../img/preloader_white.svg);
}


.form-area-100 {
    height: 100%;
}

.form-group {
    margin: 10px 0;
    position: relative;
}
.form-area-100 .form-group {
    height: calc(100% - 20px);
}
.form-group.form-group--btn {
    margin: 30px 0 0;
}

.form-input--group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.form-area-100 .form-input--group {
    height: 100%;
}

.form-input--group .input-icon {
    display: block;
    width: 64px;
    height: 64px;
    background-color: #EDF4F6;
    background-repeat: no-repeat;
    background-position: center;

    -webkit-box-flex: 0;

    -ms-flex: 0 0 auto;

    flex: 0 0 auto;
}
.form-area-100 .form-input--group .input-icon {
    height: 100%;
    background-position: center 22px;
}
.form-dark .form-input--group .input-icon {
    background-color: rgb(255 255 255 / 50%);
}

.form-input--group .input-icon.input-icon--person {
    background-image: url(../img/form_icon_person1.svg);
}
.form-dark .form-input--group .input-icon.input-icon--person {
    background-image: url(../img/form_icon_person_white.svg);
}

.form-input--group .input-icon.input-icon--phone {
    background-image: url(../img/form_icon_phone1.svg);
}
.form-dark .form-input--group .input-icon.input-icon--phone {
    background-image: url(../img/form_icon_phone_white.svg);
}

.form-input--group .input-icon.input-icon--message {
    background-image: url(../img/form_icon_message.svg);
}
.form-dark .form-input--group .input-icon.input-icon--message {
    background-image: url(../img/form_icon_message_white.svg);
}

.form-input--group .input-icon.input-icon--chat {
    background-image: url(../img/form_icon_chat1.svg);
}
.form-dark .form-input--group .input-icon.input-icon--chat {
    background-image: url(../img/form_icon_chat_white.svg);
}

.form-input--group .input-icon.input-icon--tg {
    background-image: url(../img/form_icon_tg.svg);
}
.form-dark .form-input--group .input-icon.input-icon--tg {
    background-image: url(../img/form_icon_tg_white.svg);
}

.form-input--group .input-icon.input-icon--vb {
    background-image: url(../img/form_icon_vb.svg);
}
.form-dark .form-input--group .input-icon.input-icon--vb {
    background-image: url(../img/form_icon_vb_white.svg);
}

.form-input--group .input-icon.input-icon--call {
    background-image: url(../img/form_icon_call.svg);
}
.form-dark .form-input--group .input-icon.input-icon--call {
    background-image: url(../img/form_icon_call_white.svg);
}

.form-group .form-control {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    border: 1px solid rgba(9, 38, 49, 0.15);
    border-left: none;
    padding: 20px;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.form-group input[type=text].form-control {
    height: 64px;
}


.form-group textarea.form-control {
    resize: none;
}
.form-dark .form-group .form-control {
    border: none;
    background-color: rgb(255 255 255 / 25%);
    color: #fff;
}
.form-dark .form-group .form-control::-webkit-input-placeholder {
    color: rgb(255 255 255 / 75%);
}
.form-dark .form-group .form-control::-moz-placeholder {
    color: rgb(255 255 255 / 75%);
}
.form-dark .form-group .form-control:-ms-input-placeholder {
    color: rgb(255 255 255 / 75%);
}
.form-dark .form-group .form-control::-ms-input-placeholder {
    color: rgb(255 255 255 / 75%);
}
.form-dark .form-group .form-control::placeholder {
    color: rgb(255 255 255 / 75%);
}

.form-control[role="dropdown"] {
    cursor: pointer;
}

.input-dropdown--icon {
    position: absolute;
    background-image: url(../img/form_icon_angle.svg);
    width: 10px;
    height: 6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 20px;
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    -o-transition: transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
}
.form-dark .input-dropdown--icon {
    background-image: url(../img/form_icon_angle_white.svg);
}
.input-dropdown--icon.open {
    -webkit-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}

.form-group .form-dropdown {
    position: absolute;
    top: calc(100% - 8px);
    z-index: 2;
    width: 100%;
    background: #fff;
    margin: 0;
    border-radius: 0px 0px 6px 6px;
    -webkit-box-shadow: 0px 15px 30px 0px rgba(9, 38, 49, 0.15);
    box-shadow: 0px 15px 30px 0px rgba(9, 38, 49, 0.15);
    padding: 15px 30px;
    list-style: none;

    opacity: 0;
    visibility: hidden;

    -webkit-transition: opacity .3s ease-out, visibility .3s ease-out;

    -o-transition: opacity .3s ease-out, visibility .3s ease-out;

    transition: opacity .3s ease-out, visibility .3s ease-out;
}
.form-group .form-dropdown.open {
    opacity: 1;
    visibility: visible;
}

.form-group .form-dropdown::before,
.form-group .form-dropdown::after {
    content: ' ';
    width: 50%;
    display: block;
    position: absolute;
    top: 0;
    height: 4px;
}
.form-group .form-dropdown::before {
    background: #1460DA;
    left:0;
}
.form-group .form-dropdown::after {
    background: #A6D02A;
    right: 0;
}

.form-group .form-dropdown li {
    margin: 15px 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-group .form-dropdown li input[type="radio"] {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-group .form-dropdown li .form-dropdown--icon {
    width: 24px;
    display: block;
    margin-right: 12px;
    height: 24px;
    background-size: contain;
    background-position: center;
    opacity: 0.35;
    -webkit-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}
.form-group .form-dropdown li input[type="radio"]:checked ~ .form-dropdown--icon {
    opacity: 1;
}

.form-group .form-dropdown li .form-dropdown--icon.dropdown-icon--viber {
    background-image: url(../img/form_icon_vb_blue.svg)
}
.form-group .form-dropdown li .form-dropdown--icon.dropdown-icon--telegram {
    background-image: url(../img/form_icon_tg_blue.svg)
}
.form-group .form-dropdown li .form-dropdown--icon.dropdown-icon--phone {
    background-image: url(../img/form_icon_call_blue.svg)
}

.form-group .form-dropdown li .form-dropdown--title {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    -webkit-transition: color .3s ease-out;
    -o-transition: color .3s ease-out;
    transition: color .3s ease-out;
}
.form-group .form-dropdown li input[type="radio"]:hover ~ .form-dropdown--title,
.form-group .form-dropdown li input[type="radio"]:checked ~ .form-dropdown--title {
    color: #1460DA;
}


.form-group--disclaimer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-group--disclaimer .form-group--disclaimer-icon {
    background-image: url(../img/form_icon_note.svg);
    display: block;
    width: 64px;
    height: 64px;
    background-color: #EDF4F6;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-position: center;
}
.form-dark .form-group--disclaimer .form-group--disclaimer-icon {
    background-image: url(../img/form_icon_note_white.svg);
    background-color: rgb(255 255 255 / 25%);
}

.form-group--disclaimer p {
    margin-left: 20px;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    opacity: .5;
}
.form-dark .form-group--disclaimer p {
    font-size: 15px;
    line-height: 22px;
    color: #fff;
    opacity: .85;
    width: 70%;
}

@media (max-width: 767px) {
    .modal-form--simple-header {
        padding: 30px;
    }
    .modal-form--simple-body {
        padding: 30px 30px 40px;
    }

    .form-group.form-group--btn .btn {
        width: 100%;
    }
}

.form-group--policy {
    color: #fff;
    font-size: 11px;
    line-height: 13px;
    font-weight: 300;
    opacity: .8;
    margin-top: 35px;
}

.modal-form--simple-close {

}

input[type="radio"] {
    width: 18px;
    height: 18px;
    position: absolute;
    z-index: 2;
    margin: 0;
    opacity: 0;
}

input[type="radio"] + label {
    position: relative;
    display: block;
    padding-left: 28px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
}
input[type="radio"] + label::before {
    content: ' ';
    position: absolute;
    display: block;
    width: 18px;
    height: 18px;
    background: #EDF4F6;
    border-radius: 50%;
    left: 0;
    -webkit-transition: background .3s ease-out, border-color .3s ease-out;
    -o-transition: background .3s ease-out, border-color .3s ease-out;
    transition: background .3s ease-out, border-color .3s ease-out;
    border: 5px solid transparent;
}
input[type="radio"]:hover + label::before {
    background: #BFE7F6;
}
input[type="radio"]:checked + label::before {
    background: #fff;
    border-color: #1460DA;
}
input[type="radio"]:checked:hover + label::before {
    border-color: #1460DA;
    background: #BFE7F6;
}

[data-entity="error"],
[data-entity="success"] {
    margin-top: 30px;
    font-size: 18px;
    line-height: 26px;
    opacity: 0.85;
}

form.form-dark + .row [data-entity="error"],
form.form-dark + .row [data-entity="success"] {
    color: #FFFFFF;
}

@media all and (max-width: 375px) {
    .form-group input[type=text].form-control {
        width: 100%;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }
}


form input.error + label.error[for="phone"], 
form input.error + label.error[for="email"], 
form input.error + label.error {
    display: block !important;
    padding: 10px;
    background: rgba(255, 0, 0, 1);
    border-radius: 3px;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 17px;
    width: 65%;
    position: absolute;
    z-index: 3;
    right: 15px;
    top: 55px;
}