.popup-modal__overlay {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, .7);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 101;
}

.popup-modal-account__wrap {
    display: none;
    position: fixed;
    z-index: 101;
    width: 552px;
    top: 12%;
    left: 41%;
    max-height: calc(100vh - 135px) !important;
    background: #ffffff;
    padding: 25px 46px 25px 50px;
    overflow-x: auto;
}

.popup-modal-account__wrap::-webkit-scrollbar {
    width: 0;
}

.close {
    position: absolute;
    top: 0;
    right: 15px;
    width: 21px;
    height: 27px;
    color: #c6c6c6;
    z-index: 102;
    font-size: 30px;
}

.wpcf7 select {
    color: #4e4e4e !important;
    padding: 12px 4px !important;
}

.close:hover {
    cursor: pointer;
}

.popup-modal-account__wrap p {
    margin-bottom: 3px !important;
}

.infinite-body span.wpcf7-not-valid-tip {
    margin-bottom: 5px;
}

.partner-button:hover {
    cursor: pointer;
}

.mm-partner-popup .mm-partner-popup__title {
    font-family: roboto, sans-serif !important;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: #429CDE;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.4px;
}

.mm-partner-popup .wpcf7-form label {
    font-family: roboto, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    color: #9A9A9A;
}

.mm-partner-popup .wpcf7-form input,
.mm-partner-popup .wpcf7-form select,
.mm-partner-popup .wpcf7-form textarea {
    background: #EEEEEE;
    border-radius: 3px;
}

.wpcf7 textarea {
    resize: none;
    min-height: 135px;
    margin-bottom: 33px;
}

.mm-partner-popup .wpcf7-submit {
    width: 284px !important;
    background: #E20613 !important;
    border-radius: 3px;
    display: block;
    margin: 0 auto;
    font-family: Roboto, sans-serif !important;
    font-size: 18px !important;
    line-height: 27px;
    font-weight: 500;
    transition-duration: 1s;
    border: none;
    letter-spacing: .1px;
}

.mm-partner-popup .wpcf7-response-output {
    position: relative;
    font-family: Roboto, sans-serif !important;
    font-size: 20px !important;
    line-height: 16px;
    text-align: center;
    color: #429CDE;
    font-style: normal;
    font-weight: normal;
    padding: 0 !important;
    margin-top: 18px !important;
    margin-left: 0 !important;
}

.wpcf7-mail-sent-ng {
    position: relative;
}

.wpcf7-mail-sent-ok {
    font-family: Roboto, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    color: #429CDE;
    margin-bottom: -15px;
}

.wpcf7-mail-sent-ok::before {
    content: url(../images/exclamation-point-icon.png);
    position: absolute;
    top: -3px;
    left: 74px;
    display: block;
}

.postid-58014 .wpcf7-validation-errors {
    display: none !important;
}

.wpcf7-not-valid {
    border: 1px solid #F95655 !important;
}

.wpcf7-not-valid-tip {
    color: #F95655;
}

.screen-reader-response {
    display: none;
}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
    font-size: 15px;
    line-height: 22px;
    padding: 10px 8px;
}

@media screen and (max-width: 1919px) {

    .mm-partner-popup .mm-partner-popup__title {
        margin-bottom: 15px;
    }

    .popup-modal-account__wrap {
        max-height: calc(100vh - 150px) !important;
        padding: 25px 46px 15px 50px;
    }

    .wpcf7 textarea {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 1600px) {

    .popup-modal-account__wrap {
        position: fixed;
        z-index: 101;
        width: 552px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 1400px) {

    .mm-partner-popup .wpcf7-form p:nth-child(6) {
        display: inline-flex;
        justify-content: flex-start;
    }

    .mm-partner-popup .wpcf7-form select {
        background: #EEEEEE;
        border-radius: 3px;
        width: 257px !important;
        font-size: 14px !important;
        padding: 8px 5px !important;
    }

    .mm-partner-popup .wpcf7-form p:nth-child(7),
    .mm-partner-popup .wpcf7-form p:nth-child(8) {
        width: 100% !important;
        display: inline-flex;
        justify-content: flex-end;
    }

    .support-сhat-hide {
        display: none !important;
    }

    .infinite-mobile-header {
        z-index: 1 !important;
    }

    .mm-partner-popup .wpcf7-response-output {
        font-size: 14px !important;
        line-height: 14px !important;
        margin-left: 0;
        margin-top: 8px !important;
        margin-bottom: 4px !important;
    }

    .wpcf7-mail-sent-ok {
        font-family: Roboto, sans-serif !important;
        font-size: 14px !important;
        margin-bottom: 0;
        margin-left: 20px !important;
    }

    .wpcf7-mail-sent-ok::before {
        left: -15px;
    }

    .popup-modal-account__wrap {
        width: 308px;
        padding: 15px 27px 20px 24px;
        min-height: 530px !important;
        max-height: calc(100vh - 50px) !important;
        top: 53% !important;
    }

    .mm-partner-popup .mm-partner-popup__title {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 0;
    }

    .close {
        font-size: 20px;
        top: -5px;
        right: 0;
    }

    .popup-modal-account__wrap p {
        margin-bottom: 1px !important;
    }

    .wpcf7 textarea {
        height: 50px !important;
        padding: 6px 14px !important;
        margin-bottom: 0;
        min-height: auto;
    }

    .wpcf7 input {
        font-size: 13px !important;
        padding: 6px 8px !important;
    }

    .mm-partner-popup .wpcf7-form p:nth-child(5),
    .mm-partner-popup .wpcf7-form p:nth-child(4),
    .mm-partner-popup .wpcf7-form p:nth-child(3),
    .mm-partner-popup .wpcf7-form p:nth-child(2) {
        width: 100% !important;
    }

    .mm-partner-popup .wpcf7-submit {
        width: 254px !important;
        letter-spacing: 0;
        line-height: 27px !important;
        margin-top: 5px;
    }

    .mm-partner-popup .mm-partner-popup__description {
        line-height: 20px;
    }

    .wpcf7-form-control-wrap {
        width: 100%;
    }

    .wpcf7 select, .wpcf7 textarea {
        line-height: 20px;
    }

    .wpcf7-mail-sent-ng::before {
        left: 0;
    }

    .wpcf7-not-valid-tip {
        font-size: 11px !important;
        margin-bottom: -3px !important;
    }

    .postid-58014 .wpcf7-validation-errors {
        margin: 8px 0 0 !important;
        font-size: 12px !important;
    }

}