/* Button */
.bx-catalog-subscribe-button
{
    padding: 12px 24px !important;
    margin: 0 !important;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}
.bx-catalog-popup-content
{
    width: 100% !important;
    max-width: none !important;
}
/* Subscribe popup */
.bx-catalog-subscribe-form-container-label {
    font-weight: 400;
    font-size: 18px!important;
    line-height: 160%;
    margin-bottom: 6px;
    color: var(--main_text_gray) !important;
}
.bx-catalog-subscribe-form-container-input
{
    position: relative;
}
.bx-catalog-subscribe-form-container-input input[type="text"] {
    border: 1px solid var(--main_text_gray)!important;
    border-radius: 6px!important;
    outline: none!important;
    padding: 16px!important;
    color: var(--main_text_black);
    font-size: 14px!important;
    height: 50px!important;
    display: block!important;
    width: 100%!important;
    margin-bottom: 32px!important;
}
.bx-catalog-subscribe-form-container-input input[type="text"]::placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #9EA8AE;
}
.bx-catalog-subscribe-form-container-input.error input {
    color: rgba(244, 67, 54, .6) !important;
}
.bx-catalog-subscribe-form-star-required {
    color: #d93333;
}
.bx-catalog-subscribe-form-container .bx-captcha{
    margin-bottom: 10px;
}
.bx-catalog-popup-message
{
    font-weight: 500 !important;
    text-align: center;
}

/* Alert style */
.bx-catalog-subscribe-alert {
    background-color: #dfdfdf;
    color: #000;
    font-size: 15px;
    min-height: 45px;
    text-align: center;
    padding: 12px 40px 12px 60px;
    position: relative;
    width: 280px;
}
.bx-catalog-subscribe-aligner {
    display: inline-block;
    height: 45px;
    margin-left: -1px;
    vertical-align: middle;
    width: 1px;
}
.bx-catalog-subscribe-alert-text {
    display: inline-block;
    vertical-align: middle;
}
.bx-catalog-subscribe-alert-footer {
    text-align: center;
}
.bx-catalog-subscribe-alert-popup {
    background-color: #dfdfdf !important;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2) !important;
    border-radius: 6px;
}

.popup-window[id^="CatalogSubscribe"] .popup-window-content {
    /*padding: 20px 0 40px !important;*/
}
#bx-catalog-subscribe-form {
    position: relative;
}
#bx-catalog-subscribe-form-notify {
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 12px;
}
#bx-catalog-subscribe-form-notify.error{
    color: rgba(244, 67, 54, .6);
    height: 12px;
    margin-top: 2px;
    margin-bottom: 12px;
    text-align: left;
}
.subcribe-popup-svg {
    text-align: center;
    margin-bottom: 40px;
}
.popup-window[id^="CatalogSubscribe"] {
    width: 400px;
    max-width: calc(100% - 32px);
}
.popup-window[id^="CatalogSubscribe"] .popup-window-buttons {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 6px;
    flex-wrap: nowrap;
}
.popup-window[id^="CatalogSubscribe"] .btn {
    cursor: pointer;
    min-width: calc(50% - 5px);
    width: 100%;
}
.popup-window[id^="CatalogSubscribe"] .btn > span{
    color: var(--main_text_button);
}
.popup-window[id^="CatalogSubscribe"] .btn + .btn {
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s all linear!important;
    background: var(--border-bottom-gray);
    margin-left: 10px;
}
.popup-window[id^="CatalogSubscribe"] .btn + .btn > span{
    color: var(--main-txt);
}
.popup-window[id^="CatalogSubscribe"] .btn + .btn:hover {
    transition: 0.2s all linear;
    background: var(--gray-button-hover);
}
.popup-window[id^="CatalogSubscribe"] .btn + .btn:hover:active {
    transition: 0.2s all linear;
    transform: scale(0.95);
}
.popup-window[id^="CatalogSubscribe"] .bx-catalog-popup-message {
    margin-bottom: 40px;
    font-weight: 400!important;
    font-size: 14px;
    line-height: 160%;
}
.popup-window[id^="CatalogSubscribe"] .close-popup{
    width: 100%;
}
@media(max-width: 440px){
    .popup-window[id^="CatalogSubscribe"]{
        padding: 40px 20px 20px!important;
    }
    .popup-window[id^="CatalogSubscribe"] .btn{
        height: 46px;
    }
    .subcribe-popup-svg,.popup-window[id^="CatalogSubscribe"] .bx-catalog-popup-message{
        margin-bottom: 32px;
    }
}
.bx-catalog-subscribe-button{
    height: 56px !important;
}