
.fancybox-bg {
    background: rgba(53, 53, 53, 1)!important;
    opacity: 0.35!important;
}

.fancybox-content.modal-form--simple-wrapper,
.fancybox__content.modal-form--simple-wrapper {
    border-radius: 30px;
    max-width: 840px;
    width: 100%;
    padding: 0;
}
.fancybox-content.modal-form--simple-wrapper.modal-form--lg,
.fancybox__content.modal-form--simple-wrapper.modal-form--lg {
    max-width: 1400px;
    width: 100%;
    overflow: unset;
}
.fancybox-content.modal-form--simple-wrapper.modal-form--xl,
.fancybox__content.modal-form--simple-wrapper.modal-form--xl {
    max-width: 1720px;
    width: 100%;
}

@media all and (min-width:768px) {
    .fancybox-content.modal-form--simple-wrapper.modal-form--lg,
    .fancybox__content.modal-form--simple-wrapper.modal-form--lg,
    #banners_form.fancybox-content {
        overflow: unset;
    }
}



.modal-form--lg-wrapper.row {
    margin-right: 0;
    margin-left: 0;
}
.modal-form--lg-wrapper .bg-colibri {
    border-radius: 0 30px 30px 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;
}
.modal-form--lg .modal-form--simple-header {
    padding: 52px 40px 0;
}
.modal-form--simple-header .h2 {
    margin-bottom: 18px;
}

.modal-form--simple-header img {
    position: absolute;
    top: -15px;
    lefT: -80px;
}

.modal-form--simple-body {
    padding: 70px 60px 50px;
}
.modal-form--lg .modal-form--simple-body {
    padding: 70px 40px 50px;
}

.modal-form--body {
    padding: 0 15px;
}

.half-form--wrapper {
    margin-right: -15px;
    padding: 30px 50px 20px 50px;
    height: 100%;
}

.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;
}


.modal-form--simple-description {
    margin-top: 25px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625;
}

.modal-form--content-wrapper {
    padding-bottom: 70px;
}

.modal-form--content-wrapper .modal-form--content-title {
    padding: 52px 40px 26px;
}

.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 {
    position: absolute;
    bottom: -35px;
    text-align: 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: #00A0DE;
}

@media (max-width: 1399px) {
    .fancybox-content.modal-form--simple-wrapper,
    .fancybox__content.modal-form--simple-wrapper {
        border-radius: 15px;
    }
    .modal-form--lg-wrapper .bg-colibri {
        border-radius: 0 15px 15px 0;
    }
    .modal-form--lg .modal-form--simple-body {
        padding: 40px 40px 50px;
    }
    .half-form--banner {
        margin-right: -15px;
    }
    .half-form--wrapper {
        margin-left: -15px;
    }
    .half-form--banner img {
        border-radius: 4px;
    }

    #green_form [data-fancybox-close] svg path {
        fill: #fff;
    }
}

@media (min-width: 960px) and (max-width: 1399px){
    .fancybox-content.modal-form--simple-wrapper.modal-form--xl {
        max-width: 720px;
    }
}

@media (max-width: 1199px) {
    .modal-form--simple-description {
        font-size: 14px;
    }
}

@media (max-width: 959px) {
    .modal-form--lg .modal-form--simple-header {
        padding: 40px 10px 0 5px;
    }
    .modal-form--simple-header img {
        position: absolute;
        top: -20px;
        lefT: -70px;
        max-width: 120px;
    }
    .modal-form--lg .modal-form--simple-body {
        padding: 30px 5px 40px;
    }
}

@media (max-width: 767px) {
    .fancybox-content.modal-form--simple-wrapper,
    .fancybox__content.modal-form--simple-wrapper {
        border-radius: 0;
    }
    .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-color: #00A0DE;
}

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: #00A0DE;
}

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: 0 0 15px;
    position: relative;
}
.form-area-100 .form-group {
    height: calc(100% - 20px);
}
.form-group.form-group--btn {
    margin: 15px 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;
    border-radius: 10px 0px 0px 10px;

    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_person.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_phone.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_chat.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 {
    width: 100%;
    font-family: 'Oswald';
    color: rgba(53, 53, 53, 1);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    border: 1px solid rgba(173, 213, 205, 1);
    border-radius: 30px;
    padding: 15px 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.form-group input[type=text].form-control {
    height: 50px;
}


.form-group textarea.form-control {
    resize: none;
    min-height: 115px;
    border-radius: 15px;
}
.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 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;
    -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: rgba(44, 111, 95, 1);
}


/*.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 {
    font-weight: 400;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(53, 53, 53, 0.7);
}
.form-group--disclaimer._offset {
    margin-top: 70px;
}
.form-dark .form-group--disclaimer {
    color: rgba(255, 255, 255, 0.7);
}

.form-group--disclaimer a {
    color: rgba(44, 111, 95, 1);
}

.form-group--disclaimer a span {
    border-bottom: 1px solid rgba(44, 111, 95, 0.35);
}

.form-dark .form-group--disclaimer a {
    color: rgba(96, 44, 120, 1);
}

.form-dark .form-group--disclaimer a span {
    border-bottom: 1px solid rgba(96, 44, 120, 0.35);
}

.form-group--disclaimer a:hover span {
    border-color: transparent;
}

.form-group--policy {
    color: #fff;
    font-size: 11px;
    line-height: 13px;
    font-weight: 300;
    opacity: .8;
    margin-top: 35px;
}

@media (max-width:1399px) {
    .form-group--disclaimer._offset {
        margin-top: 40px;
    }
}

@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%;
        justify-content: center;
    }
}

.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: #00A0DE;
}
input[type="radio"]:checked:hover + label::before {
    border-color: #00A0DE;
    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;
    }
}




.modal-form__header {
    position: relative;
    padding: 51px 58px 32px;
    border-radius: 30px 30px 0 0;
    background-color: rgba(233, 246, 244, 0.35);
}

.modal-form__header:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: repeat;
    background-size: contain;
    background-image: url('/local/templates/nachalo/assets/img/colibri-pattern.png');
    opacity: 0.04;
}

.modal-form__header._row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.modal-form__header .h2 {
    display: inline-block;
    margin-bottom: 19px;
}

.modal-form__header._row .h2 {
    flex: none;
    margin: 0;
}

.modal-form__header .modal-form--simple-description {
    margin: 0;
}

.modal-form__body {
    padding: 40px 60px 60px;
}

.modal-form__bottom {
    display: flex;
    align-items: center;
    gap: 30px;
}

.form-banner-bird {
    position: absolute;
    right: -97px;
    bottom: 0;
}

@media all and (max-width:1399px) {
    .modal-form__header {
        border-radius: 15px 15px 0 0;
    }
}

@media all and (max-width:1199px) {
    .modal-form__header {
        padding: 44px 40px 30px;
        border-radius: 15px 15px 0 0;
    }
    .modal-form__body {
        padding: 30px 40px 40px;
    }
    .modal-form__header._row .modal-form--simple-description {
        width: 50%;
    }
    .form-banner-bird {
        right: -80px;
        bottom: 4px;
        max-width: 100px;
    }
}

@media all and (max-width:959px) {
    .form-banner-bird {
        right: -70px;
        bottom: -9px;
        max-width: 80px;
    }
}

@media all and (max-width:767px) {
    .modal-form__header {
        padding: 36px 30px 26px;
        border-radius: 15px 15px 0 0;
    }
    .modal-form__body {
        padding: 26px 30px 30px;
    }
    .modal-form__header._row {
        display: block;
    }
    .modal-form__header._row .h2 {
        margin-bottom: 16px;
    }
    .modal-form__header._row .modal-form--simple-description {
        width: 100%;
    }
    .modal-form__bottom {
        display: block;
    }
}

@media all and (min-width:768px) {
    .modal-form__bottom .form-group--disclaimer {
        width: 70%;
    }
}