
.popup-subscribe-wrap {
    display: none;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .4);
    transition: all .5s;
    opacity: 0;
}

.popup_subscribe__inner {
    padding-right: calc(15px + (35 - 15) * ((100vw - 360px) / (1920 - 360)));
    padding-left: calc(15px + (35 - 15) * ((100vw - 360px) / (1920 - 360)));
    padding-bottom: calc(30px + (40 - 30) * ((100vw - 360px) / (1920 - 360)));
}

.popup-subscribe-wrap.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 990;
    opacity: 1;
    transition: all .5s;
}


.popup_subscribe {
    position: relative;
    background-color: #F6F6F6;
    border: 1px solid #C2C2C2;
    border-radius: 4px;
    width: 500px;
    max-width: 90vw;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 15%);
}

.popup_subscribe_image img {
    width: 100%;
}

.popup_subscribe_body {
    padding-top: 10px;
    padding-bottom: 15px;
}

.popup_subscribe_title {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: #000000;
    font-family: apercu, sans-serif;
    margin-bottom: 30px;
}

.popup_subscribe_btn {
    text-align: center;
}

.popup_subscribe_btn .button {
    display: inline-block;
    background: #252B31;
    padding: 15px 40px;
    font-size: 14px;
    border-radius: 4px;
    line-height: 100%;
    font-weight: 400;
}

.popup_subscribe_btn .button:hover {
    background: #fff;
    color: #252B31;
}

.popup_subscribe_close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 2000;
}

.popup-subscribe__form .subscribe-text {
    font-size: calc(16px + (20 - 16) * ((100vw - 360px) / (1920 - 360)));
    color: #000;
    text-align: center;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 20px;
}

.popup-subscribe__form .bx-subscribe .bx-input-group {
    flex-direction: column;
}

.popup-subscribe__form .bx-subscribe .bx-input-group .btn_black{
    height: 46px;
}
.popup-subscribe__form .bx-subscribe .bx-input-group .btn_black,
.bx-subscribe .bx-input-group .bx-form-control {
    width: 100%;
    max-width: unset;
}

.popup-subscribe__form .bx-subscribe .bx-input-group .bx-form-control {
    flex-basis: 46px;
    margin-bottom: 10px;
}
[id^='wait']{
    position: fixed!important;
    top: 50% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%);
    background: #D6D4D4 url("/bitrix/js/main/core/images/wait.gif") 10px center no-repeat!important;
    border: 1px solid #000!important;
    border-radius: 4px!important;
}
@media (max-width: 600px) {
    .popup_subscribe {
        width: 100%;
    }

    .popup_subscribe_close {
        right: 16px;
        top: 16px;
        width: 15px;
        height: 15px;
    }

    .popup_subscribe_title {
        font-size: 20px;
        margin-bottom: 28px;
    }
}