#browser-language-popup {
    padding: 35px 20px;
    border-radius: 5px;
    max-width: 450px;
    text-align: center;
    background: #fff;
    z-index: 101;
    position: relative;
}

.blp-text {
    margin-bottom: 10px;
}

#browser-language-popup .blp-button {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 5px;
    border: 1px solid #e7dfdf;
    font-size: 14px;
}

#browser-language-popup strong {
    display: block;
    margin-bottom: 30px;
}

.blp-button img {
    width: 20px;
    height: 15px;
    margin-top: -4px;
}

.blp-button span {
    margin-left: 5px;
}

.blp-buttons.is-rtl {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.blp-button.is-rtl {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.blp-button.is-rtl span {
    margin-left: 0px;
    margin-right: 5px;
}

.blp-button.is-rtl img {
    margin-top: 2px;
}

#browser-language-popup-modal {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background: rgb(0 0 0 / 50%);
}

#blp-close {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50px;
    background: #e9e9e9;
    width: 25px;
    height: 25px;
    line-height: 23px;
    margin: 7px;
    color: #999;
    cursor: pointer;
}

@media (max-width: 480px) {
    #browser-language-popup .blp-button {
        width: 52%;
        margin: 0 auto 10px;
        position: relative;
    }

    #browser-language-popup .blp-button + .blp-button {
        margin-bottom: initial;
    }

    .blp-buttons,
    .blp-buttons.is-rtl {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .blp-button img {
        width: 20px;
        height: 15px;
        margin-top: 0px;
        position: absolute;
        left: 15px;
    }

    .blp-button.is-rtl img {
        right: 15px;
    }
}

@media (max-width: 420px) {
    #browser-language-popup .blp-button {
        width: 80%;
    }
}
