div.mfeedback {
}

div.mf-name, div.mf-email, div.mf-captcha, div.mf-message {
    width: 80%;
    padding-bottom: 0.4em;
}

div.mf-name input, div.mf-email input {
    width: 60%;
}

div.mf-message textarea {
    width: 60%;
}

span.mf-req {
    color: red;
}

div.mf-ok-text {
    color: green;
    font-weight: bold;
    padding-bottom: 1em;
}

#modal-feedback {
    padding: 24px 88px 32px 88px;
    width: 704px;
    position: relative;
    margin: 0 auto;
    max-width: 750px;
    background: #fff;
}

#modal-feedback .modal-title {
    font-family: 'Golos-UI', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #223C7E;
    margin: 0 0 21px 0;
}

#modal-feedback .form-box_2023 {
    padding: 0 0 0 0;
}

#modal-feedback .form-item {
    margin: 0 0 37px 0;
    font-weight: 400;
}

#modal-feedback .form-item_last {
    margin: 0 0 18px 0;
}

#modal-feedback .form-item .label {
    font-size: 18px;
    line-height: 24px;
    color: #777777;
    font-weight: 400;
    margin: 0 0 11px 0;
    padding: 0 0 0 0;
}

#modal-feedback .form-item .name,
#modal-feedback .form-item .email {
    padding: 14px 16px;
    width: 528px;
    height: 48px;
    border: 1px solid #777777;
    border-radius: 0;
    color: #999999;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
}

#modal-feedback .form-item .select {
    padding: 12px 16px;
    width: 528px;
    height: 48px;
    border: 1px solid #777777;
    border-radius: 0;
    color: #999999;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;

    position: relative;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.05502 9.69806C6.82157 9.69806 6.58813 9.58134 6.41304 9.34789L0.168398 1.64422C-0.0650472 1.29405 -0.0650472 0.827161 0.226759 0.535355L0.28512 0.476994C0.635287 0.243549 1.04382 0.30191 1.33562 0.593716L6.99666 7.59706L12.541 0.593716C12.6577 0.418633 12.8328 0.30191 13.0662 0.30191C13.2997 0.30191 13.4747 0.360271 13.6498 0.476994C13.8833 0.652077 14 0.827161 14 1.06061C14 1.29405 13.9416 1.5275 13.7666 1.70258L7.63863 9.40626C7.46355 9.58134 7.28846 9.69806 7.05502 9.69806Z' fill='%23999999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

#modal-feedback .form-item .text {
    padding: 12px 16px;
    width: 528px;
    height: 176px;
    border: 1px solid #777777;
    border-radius: 0;
    color: #999999;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    resize: none;
}

#modal-feedback .item-checkbox {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
    margin: 0 0 39px 0;
}

#modal-feedback .item-checkbox a {
    color: #097BCB;
    text-decoration: none;
}

#modal-feedback .item-checkbox a:hover {
    color: #EC6608;
}

#modal-feedback .submit {
    padding: 8px 16px;
    width: 160px;
    height: 40px;
    background: #223C7E;
    color: white;
    border-radius: 0;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    margin: 40px auto 0;
    cursor:pointer;
}

#modal-feedback .submit:hover {
    background: #11358E;
}

#modal-feedback .mfp-close {
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='1.21301' y='6.67572e-06' width='20.912' height='1.71544' transform='rotate(45 1.21301 6.67572e-06)' fill='%23999999'/%3e%3crect y='14.787' width='20.912' height='1.71544' transform='rotate(-45 0 14.787)' fill='%23999999'/%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: unset;
}

#modal-feedback .form-item__error {
    display: none;
    margin: 0 0 0 0;
    color: red;
    font-size: 14px;
}

#modal-feedback .form__error,
#modal-feedback .form__error_captcha {
    display: none;
    margin: 0 0 0 0;
    color: red;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 700px) {
    #modal-feedback {
        padding: 56px 16px 32px 16px;
        width: 360px;
        max-width: 360px;
    }

    #modal-feedback .modal-title {
        font-size: 24px;
        line-height: 30px;
        margin: 0 0 16px 0;
    }

    #modal-feedback .form-item .name,
    #modal-feedback .form-item .email,
    #modal-feedback .form-item .select,
    #modal-feedback .form-item .text {
        width: 328px;
    }

    div.mfp-container {
        padding-left: 0;
        padding-right: 0;
        overflow-y: auto;
    }

}


/* КАПЧА
--------------------------------------------------------------------------------------------------------------------- */

#modal-feedback .form-item__captcha-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#modal-feedback .form-item__captcha-img-wrap {
    display: flex;
    align-items: center;
}

#modal-feedback .form-item__captcha-img {
    width: 216px;
    height: 48px;
    margin: 0 10px 0 0;
}

#modal-feedback .form-item__captcha-reset {
    cursor: pointer;
}

#modal-feedback .form-item__captcha-reset:hover {
    opacity: 0.6;
}

#modal-feedback .form-item__captcha-input {
    padding: 14px 16px;
    width: 250px;
    height: 48px;
    border: 1px solid #777777;
    border-radius: 0;
    color: #999999;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
}

@media screen and (max-width: 700px) {
    #modal-feedback .form-item__captcha-wrap {
        flex-direction: column;
    }

    #modal-feedback .form-item__captcha-img-wrap {
        margin: 0 0 11px 0;
    }

    #modal-feedback .form-item__captcha-input {
        width: 328px;
    }

    #modal-feedback .submit {
        width: 328px;
    }
}

/* END КАПЧА */

/* ОКНО УСПЕШНОЙ ОТПРАВКИ
--------------------------------------------------------------------------------------------------------------------- */
#modal-feedback .modal__callback-success {
    padding: 305px 0 340px 0;
}

#modal-feedback .callback-success__image_wrap {
    text-align: center;
    margin: 0 0 24px 0;
}

#modal-feedback .callback-success__image_text {
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    color: #223C7E;
}

@media screen and (max-width: 700px) {
    #modal-feedback .modal__callback-success {
        padding: 198px 0 215px 0;
    }

    #modal-feedback .callback-success__image_wrap {
        margin: 0 0 32px 0;
    }

    #modal-feedback .callback-success__image_text {
        font-size: 28px;
        line-height: 32px;
    }
}

/* END ОКНО УСПЕШНОЙ ОТПРАВКИ */