
#contactForm .contactForm__header {
    text-align: center;
}

.contactForm_form__submit {
    width: 100%
}

.contactForm input.agree {
    vertical-align: middle;
}

.contactForm__form {
    padding: 10px 0px;
}

.contactForm__result {
    text-align: center;
    padding: 10px 0px;
}

.menu-item:not(.level_1).current-menu-item > .w-nav-anchor, .menu-item:not(.level_1).current-menu-parent > .w-nav-anchor, .menu-item:not(.level_1).current-menu-ancestor > .w-nav-anchor {
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
}

/* Всплывающая форма */
* {
    box-sizing: border-box;
}

#contact {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    margin: 4em auto;
    width: 100px;
    height: 30px;
    line-height: 30px;
    background: teal;
    color: white;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 1px solid white;
}

#contact:hover {
    background: #666;
}

#contact:active {
    background: #444;
}

#callback_submit {
    min-height: 40px;
}

.wpcf7-submit, .callback-bt-2 {
    font-weight: 400 !important;
}

#contactForm h1 {
    margin-top: 15px;
}

#contactForm {
    display: none;
    z-index: 1040;
    border: 6px solid #004dff;
    padding: 2em;
    width: 400px;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%)
}

#contactForm label {
    text-align: left;
}

@media (max-width: 720px) {
    #contactForm {
        width: 300px;
    }

    h1 {
        font-size: 24px;
    }


}


.formBtn {
    width: 140px;
    display: inline-block;
    background: teal;
    color: #fff;
    font-weight: 100;
    font-size: 1.2em;
    border: none;
    height: 30px;
}


/*Фон формы*/
.modal-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}

.modal-backdrop.in {
    opacity: .5;
    filter: alpha(opacity=50);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}


.close-bt {
    position: absolute;
    margin-left: 15px;
    color: #004dff;
    font-weight: bold;
    float: right;
    top: 20px;
    right: 20px;
    font-size: 36px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.close-bt:hover {
    color: black;
}


#callback_form input, #callback_form textarea {
    width: 304px;
}

.g-recaptcha div {
    margin: 0 auto;
}

#g-recaptcha-response {
    display: none !important;
}

@media (max-width: 720px) {

    .g-recaptcha_callback iframe {
        transform: scale(.73) translate(-18%, -12%);
    }

}

@media (max-width: 350px) {
    .wpcf7-form-control-wrap.recaptcha iframe {
        transform: scale(.9) translate(0%, 0%);
        transform-origin: left;
    }
}

.error_validate {
    border: 1px solid #ff0000;
}

.error_validate + .error_validate_text {
    display: inline-block;
}

.error_validate_text {
    display: none;
    color: #ff0000;
}

.agree {
    padding: 2px;
    display: inline-block;
}