.fancybox-skin {
    border-radius: 8px;
}

.footer-form-field {
    display: block;
    border: 1px solid #CDCDCD;
    outline: none;
    background: #FFFFFF;
    width: 85%;
    height: 45px;
    vertical-align: top;
    font-family: var(--general-font);
    padding: 0 29px;
    margin: 0 auto 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-form-title {
    text-align: center;
    font-family: var(--general-font);
    color: #323232;
    background: none;
    height: 60px;
    line-height: 60px;
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--general-font);
}

.footer-form-btn {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    width: 85%;
    height: 45px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    border-width: 1px;
    border-radius: 12px;
    margin: 10px auto 20px auto;
    font-family: var(--general-font);
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgb(1, 101, 51);
}



#polzovatelskoe-soglashenie, #cookie {
    display: none;
    padding: 30px;
    max-width: 1200px;
    z-index: 9999;
}

#polzovatelskoe-soglashenie {
    font-weight: 400;
    font-family: Arial, sans-serif;
}

#cookie {
    font-weight: 400;
    font-family: Arial, sans-serif;
}



@media screen and (max-device-width: 640px) {
    .footer-form-field {
        font-size: 15px;
    }
    #polzovatelskoe-soglashenie {
        max-width: 300px;
    }

    .b-mobile-bottom {
        padding: 7px 10px;
        background-color: #8568bb;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        font-family: var(--general-font);
    }
}


/* ПОПАП */

.popup {
    display: none;
    background-color: rgba(0, 0, 0, 0);
    padding: 30px 0 0
}

.popup__wrapper {
    background-color: #fff;
    padding: 32px 48px;
    z-index: 1000;
    max-width: 353px;
    width: 100%;
    border-radius: 12px;
    min-width: 384px;
    overflow: hidden
}

.popup__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    margin-bottom: 16px;
    font-family: var(--general-font);
}

.popup__subtitle {
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    margin-bottom: 24px;
    font-family: var(--general-font);
}

.popup__input {
    margin-bottom: 16px
}

.popup__input:last-child {
    margin-bottom: 0
}

.popup__inputs {
    margin-bottom: 24px
}

.popup__button {
    width: 100%;
    margin-top: 16px
}

.popup__checkbox .checkbox__anchor, .popup__checkbox .checkbox__text {
    color: #8b8e93
}

.popup .fancybox-button.fancybox-close-small {
    width: 24px;
    height: 24px;
    padding: 0;
    color: #fff
}

.input {
    border: none;
    border-radius: 8px;
    background-color: #f5f5f7;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    outline: none;
    font-family: var(--general-font);
}

.input-item {
    color: #8b8e93;
    -webkit-transition: .1s;
    -o-transition: .1s;
    transition: .1s
}

.input-item {
    color: #000
}

.input-item__label {
    color: #000
}

.input-item__label {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 4px;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
    font-family: var(--general-font);
}

.input-item__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.input-item__content .input {
    width: auto;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0
}

.consultation-form__input {
    margin-bottom: 12px;
    width: 100%
}

.button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    -webkit-transition: .1s;
    -o-transition: .1s;
    transition: .1s;
    cursor: pointer;
    outline: none;
    padding: 15px 23px;
    font-family: var(--general-font);
}
.button:before {
    content: "";
    display: block;
}
.button_primary {
    color: var(--button-text-color);
    background-color: var(--button-color);
    border: 1px solid var(--button-color);
}

.button_primary:hover {
    background-color: var(--button-color-cover);
    border-color: var(--button-color-cover)
}

.button_secondary {
    color: var(--button-hunter-text-color);
    background-color: var(--button-hunter-color);
    border: 1px solid var(--button-hunter-color);
}
.button_secondary:hover
{
    background-color: var(--button-hunter-color-cover);
    border-color: var(--button-hunter-color-cover);
}

.popup__button {
    width: 100%;
    margin-bottom: 16px
}

.checkbox {
    position: relative;
    display: block
}

.checkbox_dark .checkbox__anchor, .checkbox_dark .checkbox__text {
    color: #000
}

.checkbox_dark .checkbox__wrapper:before {
    border: 1px solid #dadada
}

.checkbox_gray .checkbox__anchor, .checkbox_gray .checkbox__text {
    color: #8b8e93
}

.checkbox_gray .checkbox__wrapper:before {
    background-color: #fff
}

.checkbox__control {
    position: absolute;
    z-index: -999;
    opacity: 0;
    width: 0;
    height: 0;
    visibility: hidden
}

.checkbox__control:checked + .checkbox__wrapper:after {
    content: "";
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: url(/assets/images/icons-sprite.svg) -587px -1px no-repeat;
    background-size: auto 90px
}

.checkbox__text {
    font-weight: 500;
    font-size: 12px;
    line-height: 125%;
    color: #fff;
    font-family: var(--general-font);
}

.checkbox__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer
}

.checkbox__wrapper:before {
    content: "";
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    -ms-flex-item-align: start;
    align-self: flex-start;
    margin-right: 8px;
    background-color: #d5d5d5;
    cursor: pointer;
    z-index: 1;
    left: 0;
    top: 0;
    border-radius: 3px
}

.checkbox__anchor {
    color: #fff
}
.popup__checkbox .checkbox__anchor, .popup__checkbox .checkbox__text {
    color: #8b8e93
}

@media (max-width: 1024px) {
    .form-request__button {
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 768px) {

    .consultation-form__input {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .popup__wrapper {
        min-width: 0;
        padding: 16px;
    }
    .popup__title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .popup__subtitle {
        margin-bottom: 16px;
    }
    .popup__input {
        margin-bottom: 12px;
    }
    .popup__inputs {
        margin-bottom: 12px;
    }
    .popup__button {
        margin-bottom: 14px;
    }

}

.form-request__inputs_hunter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 12px;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.form-request__input-item_hunter {
    margin-right: 12px;
    width: 100%;
}

.ouibounce-modal .image_wrap {
    max-width: 680px;
    max-height: 400px;
}

@media (max-width: 620px) {

    .form-request__inputs_hunter {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 16px;
        max-width: none;
    }
    .ouibounce-modal .image_wrap {
        max-width: 580px;

    }

}

.ouibounce-modal .modal {
    height: 640px;
    width: 750px;
    background-color: #dbdbdb;
}
@media screen and (max-width: 780px) {
    .form-request__input-item_hunter {
        width: 33%;
    }
    .ouibounce-modal .modal {
        width: 600px;
        height: 590px;
    }
    .ouibounce-modal .image_wrap {
        max-width: 580px;
    }

    .ouibounce-modal .modal-body {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 620px) {
    .form-request__input-item_hunter {
        width: 100%;
    }
    .form-request__button{
        width: 85%;
    }
    .ouibounce-modal .modal {
        width: 350px;
        height: 570px;
    }

    .ouibounce-modal .modal-body {
        padding: 20px 10px;
    }
}


/* ПОПАП */

@media screen and (max-width: 640px) {
    #tnx.fancybox-content {
        height: auto!important;
    }
}

.t-checkbox__indicator-white {
    border: 2px solid #fff;
}
.t-checkbox__indicator-white:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fancybox__container {
    --fancybox-bg: rgb(0 0 0 / 70%);
}

body.compensate-for-scrollbar {
    overflow: unset!important;
}


