.bottom_offer_popup_overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    z-index: 101;
    overflow-y: auto;
}

.bottom_offer_popup_overlay.show {
    display: block;
}

.bottom_offer_popup_overlay .bottom_offer_popup_wrap {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.bottom_offer_popup_overlay .bottom_offer_popup {
    width: 100%;
    position: relative;
}

.bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
    width: 20px;
    height: 20px;
    background-image: url(../images/bottom-popup-close-icon.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: box-shadow .2s ease-in-out;
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: transparent;
    z-index: 9;
}

@media (max-width: 1170px) {
    .bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
        top: 10%;
        right: 3%;
    }
}

@media (max-width: 991px) {
    .bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 540px) {
    .bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
        top: 7%;
        right: 6%;
    }
}

.bottom_offer_popup_overlay .offer_wrap {
    display: flex;
    align-items: stretch;
}

.bottom_offer_popup_overlay .bottom_offer_item {
    background: #061E38;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    min-height: 120px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    box-shadow: 0 0 9px 2px #607D8B;
}

@media (max-width: 864px) {
    .bottom_offer_popup_overlay .bottom_offer_item {
        flex-direction: column;
    }
}

.bottom_offer_popup_overlay .bottom_offer_logo_wrap {
    width: 100%;
    max-width: 300px;
    position: relative;
    background: #023D7C;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
}

@media (max-width: 864px) {
    .bottom_offer_popup_overlay .bottom_offer_logo_wrap {
        max-width: 100%;
        min-height: 100px;
    }
}

.bottom_offer_popup_overlay .bottom_offer_logo {
    display: block;
    max-width: 216px;
    width: 100%;
    height: 86px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.bottom_offer_popup_overlay .bottom_offer_content_wrap {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    justify-content: space-around;
    width: 100%;
}

.bottom_offer_button {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    font-family: inherit;
    font-size: 16px;
    line-height: 14px;
    background: #01B676;
    color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
}
.bottom_offer_button a {
    display: inline-block;
    padding: 10px 27px;
    position: relative;
    z-index: 5;
    white-space: nowrap;
}
.bottom_offer_button::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: calc(-100% - 35px);
    top: 0;
    background-color: #04B8B8;
    transition: left 0.5s ease;
}
.bottom_offer_button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70px;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-top: 35px solid #04B8B8;
    transition: left 0.5s ease;
}
.bottom_offer_button:hover {
    transform: scale(1.05);
    border-color: #FFFFFF;
}

@media (max-width: 864px) {
    .bottom_offer_popup_overlay .bottom_offer_content_wrap {
        flex-direction: column;
        gap: 15px;
    }
}

.bottom_offer_popup_overlay .bottom_offer_text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 643px;
    width: 100%;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_description {
    min-height: 32px;
    width: 100%;
    background-color: inherit;
    color: #232936;
    text-align: center;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 16px 0;
}

@media (max-width: 864px) {
    .bottom_offer_popup_overlay .bottom_offer_text-block .brand_description {
        font-size: 12px;
    }
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_descr_showhide_btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #232936;
    padding: 0;
    cursor: pointer;
    margin: 0 0 0 5px;
    text-decoration: underline;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .bottom_offer_welcome_bonus {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 5px;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .bottom_offer_welcome_bonus a {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 864px) {
    .bottom_offer_popup_overlay .bottom_offer_text-block .bottom_offer_welcome_bonus a {
        font-size: 21px;
    }
}

@media (max-width: 540px) {
    .bottom_offer_popup_overlay .bottom_offer_text-block .bottom_offer_welcome_bonus a {
        display: block;
    }
}

@media (max-width: 991px) {
    .bottom_offer_popup_overlay .bottom_offer_text-block .bottom_offer_welcome_bonus {
        padding: 0;
    }
}

.bottom_offer_popup_overlay .bottom_offer_get_bonus {
    background: linear-gradient(117.41deg, #DAB264 5.83%, #BE895F 48.23%, #996A45 94.17%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    flex-shrink: 0;
    max-width: 248px;
    width: 100%;
    border-radius: 25px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font-weight: 500;
    font-size: 20px;
    padding: 0 20px;
    white-space: nowrap;
}

@media (max-width: 540px) {
    .bottom_offer_popup_overlay .bottom_offer_get_bonus {
        height: 40px;
        max-width: 206px;
        font-size: 16px;
    }
}
