/* The Modal (background) */
.popup-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    z-index: 9999999;
}


.popup__container {
    background-color: #fefefe;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #888;
    width: 920px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.popup__header {
    margin-bottom: 5px;
}
.popup__description {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 120%;
    color: #313131;
    opacity: 0.7;
    margin-bottom: 70px;
}
.popup__background {
    width: 920px;
    height: 400px;
    overflow: hidden;
}
.popup__content {
    font-family: 'Elektra Text Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 38px;
    line-height: 100%;
    color: #313131;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    padding: 85px;
    width: 70%;
    height: 100%;
}
.popup-button__container{
    position: absolute;
    bottom: 90px;
}
.popup-button{
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    text-align: right;
    color: #FFFFFF;
    background: #DC3545;
    border-radius: 4px;
    padding: 15px 30px;
    cursor: pointer;
}
.popup-button:hover{
    text-decoration: none;
    color: #FFFFFF;
    opacity: 0.85;
}

.popup__background img{
    width: 100%;
}

.close-button__container {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    background-color: #F3F3F3;
    text-align: center;
    border-radius: 2px;
    padding-top: 7px;
    cursor: pointer;
    z-index: 9999999;
}
.close-button__container span:hover,
.close-button__container span {
    text-decoration: none;
    color: #313131;
    font-size: 20px;
}


.hint-modal {
    width: 364px;
    position: fixed;
    right: 50px;
    bottom: 150px;
    z-index: 9999;
    border-radius: 4px;
    display: none;
}
.hint__container {
    width: 364px;
    background-color: #E4EFFA;
}
.hint__content {
    padding: 30px 20px 50px 45px;
    width: 70%;
}
.hint__description {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    color: #313131;
}
.hint-gift {
    position: absolute;
    background-image: url(/local/components/own/popup/templates/.default/img/gift.png);
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
}

.hint__header {
    font-family: 'Elektra Text Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 21px;
    color: #313131;
    margin-bottom: 10px;
}

.hint-button {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-decoration-line: underline;
    color: #0066AE;
    opacity: 0.5;
    cursor: pointer;
}

.hint-button__container{
    position: absolute;
    bottom: 20px;
}

.close-button__container.hint {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    width: 35px;
    height: 35px;
    text-align: center;
    cursor: pointer;
    opacity: 0.3;
    padding: 0;
}

@media (max-width: 1200px) {
    .popup__container {
        width: 560px;
    }

    .popup__background {
        width: 560px;
        height: 340px;
        overflow: hidden;
    }
    .popup__content {
        padding: 40px;
        font-size: 36px;
    }
    .popup-button__container{
        position: absolute;
        bottom: 90px;
    }
    .hint-modal {
        width: 300px;
        height: 160px;
    }
    .hint__header {
        font-size: 18px;
    }
    .hint__description {
        font-size: 14px;
    }
    .hint-gift {
        bottom: 18px;
        right: 18px;
    }
    .hint__content {
        padding: 18px 18px 50px 18px;
    }
    .hint-modal {
        width: 300px;
    }
    .hint__container {
        width: 300px;
    }

}

@media (max-width: 578px) {
    .popup__header {
        font-size: 28px;
    }
    .popup__content {
        font-style: normal;
        font-weight: 400;
        width: 100%;
        font-size: 36px;
        padding: 70px 20px 15px;
        color: #FFFFFF;
    }
    .popup-button:hover{
        color: #313131;
        opacity: 0.95;
    }
    .popup-button{
        display: block;
        font-size: 14px;
        line-height: 17px;
        color: #313131;
        background: #FFFFFF;
    }
    .popup-button__container{
        border-radius: 4px;
        bottom: 15px;
        width: 254px;
    }
    .popup__description{
        color: #FFFFFF;
        margin-bottom: 55px;
        font-size: 14px;
    }
    .popup__background img{
        display: none;
    }
    .popup__container {
        width: 294px;
        height: 319px;
        margin: 50% auto;
    }
    .popup__background {
        background-image: url(/local/components/own/popup/templates/.default/img/banner-bg.png);
        background-color: #0066AE;
        width: 294px;
        height: 319px;
    }
    .close-button__container {
        background-color: transparent;
        top: 0;
        right: 0;
    }
    .close-button__container span {
        text-decoration: none;
        color: #B5DBE6;
        font-size: 20px;
    }

    .hint-modal {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0,0,0);
        background-color: rgba(0,0,0,0.4);
        z-index: 9999999;
    }

    .hint__container{
        position: fixed;
        bottom: 50px;
        left: 50%;
        margin-left: -150px;
    }

}



