.site-footer .widget_konte-subscribe-form-widget.widget {
    max-width: 570px;
    width: 100%;
    float: right;
}

.subscribe-popup-button {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 55px;
    width: 100px;
    height: 100px;
    background: center no-repeat;
    background-size: contain;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.subscribe-popup-button.widget-subscriber-ua {
    background-image: url("../images/widget_subscriber_ua.gif?v=2");
}

.subscribe-popup-button.widget-subscriber-en {
    background-image: url("../images/widget_subscriber_en.gif?v=2");
}

.subscribe-popup-button.widget-subscriber-ru {
    background-image: url("../images/widget_subscriber_ru.gif?v=2");
}

.footer-subscribe-form-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    text-transform: uppercase;
}

.footer-subscribe-form-content {
    position: relative;
    display: flex;
}

.subscriber-footer-inputs {
    display: flex;
    flex-wrap: wrap;
}

.footer-subscribe-form-privacy {
    width: calc(100% - 270px);
    margin-top: 25px;
}

.footer-subscribe-form-privacy a {
    font-size: 12px;
    line-height: 20px;
    width: 100%;
}

.footer-subscribe-form label {
    position: relative;
    flex: 0 1 auto;
    width: calc(50% - 25px);
    margin-right: 25px;
}

.footer-subscribe-form input[type="email"],
.footer-subscribe-form input[type="text"] {
    height: 50px;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: none;
    border-bottom: 1px solid #F3F3F3;
    background: none;
    outline: none;
    color: #000;
    font-weight: 200;
    font-size: 14px;
}

.footer-subscribe-form input[type="email"]::placeholder,
.footer-subscribe-form input[type="text"]::placeholder {
    color: #000;
    opacity: 1;
}

.footer-subscribe-form button {
    width: 175px;
    height: 50px;
    padding: 10px 15px;
    background-color: #4E4544;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    text-transform: uppercase;
    border: none;
    flex: 1 0 175px;
}

.footer-subscribe-form button:hover {
    background-color: #161619;
}

.footer-subscribe-form-privacy a {
    font-size: 12px !important;
    line-height: 20px !important;
    color: #000000 !important;
}

.subscribe-email-error {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    color: red;
    font-size: 12px;
}

.subscribe-error {
    margin-top: 20px;
    display: none;
    color: red;
    font-size: 14px;
}

.submit-form-mobile {
    display: none;
}

.subscribe-loader {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.subscribe-form .subscribe-loader {
    background-color: rgba(247, 240, 232, 0.7);
}

.subscribe-loader:after {
    content: "";
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    padding: 0 7px;
    width: 40px;
    height: 40px;
    border: 5px solid #B0753C;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1.3s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.subscribe-popup-button:hover {
    opacity: 0.8;
}

.subscribe-popups {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

.subscribe-popup-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}

.close-subscribe-popup {
    position: absolute;
    top: 13px;
    right: 10px;
    width: 38px;
    height: 38px;
    background: url("../images/close.png") center no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-subscribe-popup:hover {
    opacity: 0.7;
}

.subscribe-popup-form {
    width: 600px;
    height: 600px;
    position: relative;
    z-index: 1;
    background-color: #EAEAEA;
    color: #454646;
    display: flex;
}

.subscribe-popup-form-bg {
    width: 200px;
    height: 100%;
    background: url("../images/subscribe-popup-bg-new.jpg") center no-repeat;
    background-size: cover;
}

.subscribe-popup-form-content {
    width: calc(100% - 200px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subscribe-popup-form-title {
    margin: 0 0 30px;
    font-weight: 500;
    font-size: 28px;
    line-height: 40px;
}

.subscribe-popup-form-text {
    margin: 0;
    font-weight: 200;
    font-size: 20px;
    line-height: 26px;
}

.subscribe-form {
    position: relative;
}

.subscribe-form-inputs {
    margin: 25px 0 45px;
    display: flex;
    flex-direction: column;
}

.subscribe-form-inputs label {
    position: relative;
    width: 100%;
}

.subscribe-form-inputs label + label {
    margin-top: 10px;
}

.subscribe-form-inputs input {
    width: 100%;
    height: 40px;
    padding: 0 14px !important;
    border: none !important;
    border-bottom: 2px solid #454646 !important;
    background: none;
    outline: none;
    color: #000;
    font-weight: 200;
    font-size: 20px;
}

.subscribe-form-inputs input::placeholder {
    color: #000;
    opacity: 1;
}

.subscribe-form-submit {
    width: 100%;
    height: 50px;
    padding: 10px 30px;
    background-color: #454646;
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #EAEAEA;
}

.subscribe-form-submit:hover {
    background-color: #161619;
}

.subscribe-form-privacy {
    margin-top: 40px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 200;
    color: #000;
}

.subscribe-form-privacy a:hover {
    text-decoration: underline;
}

.subscribe-popup-message {
    padding: 25px 100px;
    width: 900px;
    height: 267px;
    position: relative;
    z-index: 1;
    background-color: #f7f0e8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subscribe-popup-message-title {
    margin: 0 0 15px;
    font-size: 40px;
    line-height: 55px;
    font-weight: 500;
    color: #000;
    text-align: center;
    text-transform: uppercase;
}

.subscribe-popup-message-text {
    margin: 0;
    font-size: 30px;
    line-height: 35px;
    color: #000000;
    font-weight: 200;
    text-align: center;
}

@media screen and  (max-width: 1024px){
    .subscribe-popup-button {
        width: 72px;
        height: 72px;
        right: 15px;
    }

    .subscribe-popup-form {
        width: 600px;
    }

    .subscribe-popup-form-content {
        width: 100%;
    }

    .subscribe-popup-form-bg {
        display: none;
    }

    .subscribe-popup-message {
        width: 600px;
        min-height: 267px;
        height: auto;
        padding: 50px;
    }

    .subscribe-popup-form-title,
    .subscribe-popup-message-title {
        font-size: 36px;
        line-height: 46px;
    }

    .subscribe-popup-form-text,
    .subscribe-popup-message-text {
        font-size: 26px;
        line-height: 30px;
    }
}

@media screen and  (max-width: 767px) {
    .submit-form-desktop {
        display: none;
    }

    .submit-form-mobile {
        display: inline;
    }

    .footer-subscribe-form-title {
        font-size: 14px;
        line-height: 1.96;
    }

    .footer-subscribe-form-title br {
        display: none;
    }

    .footer-subscribe-form-content {
        flex-wrap: wrap;
        width: 320px;
    }

    .footer-subscribe-form label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 7px;
    }

    .footer-subscribe-form input[type="email"],
    .footer-subscribe-form input[type="text"] {
        height: 45px;
    }

    .footer-subscribe-form button {
        margin-top: 10px;
        height: 36px;
        padding: 3px 15px;
        max-width: 175px;
        font-size: 14px;
        line-height: 30px;
    }

    .footer-subscribe-form input[type="submit"] {
        width: 100%;
        margin: 15px 0;
    }

    .footer-subscribe-form-privacy {
        width: 302px;
    }

    .footer-subscribe-form-privacy a {
        font-size: 12px !important;
        color: #838889 !important;
    }

    .subscribe-popup-form {
        width: calc(100% - 15px);
        max-width: 360px;
        height: auto;
        min-height: 267px;
    }

    .subscribe-popup-message {
        width: calc(100% - 15px);
        max-width: 360px;
        height: auto;
        min-height: 267px;
        padding: 50px 35px;
    }

    .subscribe-popup-form-title,
    .subscribe-popup-message-title {
        margin: 0 0 20px;
        font-size: 20px;
        line-height: 22px;
        font-weight: 800;
        text-align: center;
    }

    .subscribe-popup-form-title .big-text,
    .subscribe-popup-message-title .big-text {
        display: block;
        font-size: 40px;
        line-height: 40px;
    }

    .subscribe-popup-form-text,
    .subscribe-popup-message-text {
        font-size: 15px;
        line-height: 20px;
        text-align: center;
    }

    .close-subscribe-popup {
        width: 18px;
        height: 18px;
    }

    .subscribe-popup-form-content {
        padding: 25px 35px;
        align-items: center;
    }

    .subscribe-form {
        width: 207px;
    }

    .subscribe-form-submit {
        padding: 5px 30px;
        height: 40px;
    }

    .subscribe-form-inputs {
        flex-wrap: wrap;
        margin: 15px 0;
    }

    .subscribe-form-inputs label {
        width: 100%;
        margin-bottom: 15px;
    }

    .subscribe-form-inputs input {
        height: 30px;
        font-size: 15px;
    }

    .subscribe-form-privacy {
        margin-top: 25px;
        font-size: 11px;
        line-height: 14px;
        text-align: center;
    }
}

@media screen and  (max-width: 430px) {
    .footer-subscribe-form-title br {
        display: none;
    }
}
