.remodal-overlay {
    background: rgba(0, 0, 0, 0.65);
}

.remodal {
    /*background-color: #1b2328;*/
    color: #3a3a3a;
    border: none;
}

.remodal {
    width: 1170px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
.remodal .country-modal-title h4{
    color: #3a3a3a;
}
.remodal .country-modal-title {
    padding: 30px;
    padding-bottom: 0;
    min-height: 31.6px;
}

.remodal .country-modal-title .close {
    margin: 0;
    left: auto;
    right: 20px;
    top: 20px;
    transform: translate(0, 0);
    border: none;
    background: url(../images/close.svg) no-repeat center / 30px;
    opacity: 1;
    position: absolute;
    width: 40px;
    z-index: 100;
    border-radius: 100%;
    color: #3a3a3a;
    height: 40px;
    fill: #3a3a3a;
}

.remodal .country-modal-title h4 {
    margin: 0;
    line-height: 1.6;
    font-size: 1.8461538461538463em;
    text-align: center;
    text-transform: uppercase;
    color: #3a3a3a;
}

.remodal-is-initialized {
    display: block;
    left: 0;
    right: 0;
    top: 75px;
}

.remodal .country-modal-content {
    position: relative;
    padding: 30px 40px;
}

.remodal .country-modal-content #countries_list h5{ text-align: left; }

.remodal .country-modal-footer {
    padding: 30px;
    text-align: center;
    border-top: none;
    background: none;
}

.remodal .country-modal-footer .btn {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: bold;
    font-size: 18px;
}

.remodal .country-modal-footer .checkout-modal-btn-container .btn {
    line-height: 1.4;
    text-transform: uppercase;
    position: relative;
    font-size: 14px;
    width: 140px;
    height: 38px;
    text-align: center;
    padding: 0.6rem
}

.remodal .country-modal-footer .checkout-modal-btn-container .btn-white-outline {
    background: transparent;
    border: 2px solid #777;
    color: #000;
}

.remodal .country-modal-footer .checkout-modal-btn-container .btn-white-outline:hover {
    color: #000;
    border-color: #000;
}

.remodal .country-modal-footer .checkout-modal-btn-container .btn-black-outline {
    color: #ffffff;
    background-color: #000000;
    margin-right: 25px;
    line-height: 38px;
    padding: 0;
}

.remodal .country-modal-footer .checkout-modal-btn-container .btn-black-outline:hover {
    color: #ffffff;
    background-color: #777;
}

.remodal .country-modal-footer .btn:hover {
    color: #1B2328;
}

@media only screen and (min-width: 641px) {
    .remodal {
        max-width: none;
    }
}

@media only screen and (max-width: 1169px) {
    .remodal {
        max-width: 90%;
    }

    .remodal .country-modal-footer .checkout-modal-btn-container .btn  {
        width: 110px;
    }

    .remodal .country-modal-footer .checkout-modal-btn-container .btn-black-outline {
        margin-right: 10px;
        border: none;
        font-size: 12px;
    }

}

@media only screen and (max-width: 767px) {
    .remodal .country-modal-title h4 {
        margin-top: 40px;
    }
}