/* .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: pink;
}

.title-case-1 {
    font-size: 1.428rem;
    font-weight: 700;
    line-height: 24px;
}

.fade {
    transition: opacity .15s linear;
}


.modal-open .modal {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.show .modal-dialog {
    transform: none;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateY(-50px);
}



.modal-dialog {
    position: relative;
    width: 100%;
    margin: .5rem;
    pointer-events: none;
    background-color: red;
}

.modal-content {
    backdrop-filter: unset;
}

.overflow-hidden {
    overflow: hidden !important;
}   

.modal-content {
    position: relative;
    display: flex
;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background: linear-gradient(0deg, rgba(45, 150, 255, .08), rgba(45, 150, 255, .08)), rgba(47, 46, 60, .6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .07), 0 4px 5px rgba(0, 0, 0, .06), 0 1px 10px rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(13.59px);
    backdrop-filter: blur(13.59px);
    background-clip: padding-box;
    border: 0 solid rgba(0, 0, 0, .2);
    border-radius: .6rem;
    outline: 0;
}

.slideIn animation {
    opacity: 1;
    transform: translateY(0px);
}

#region-overlay-modal .modal-body {
    display: flex
;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.modal-blur {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .07), 0 4px 5px rgba(0, 0, 0, .06), 0 1px 10px rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(13.59px);
    backdrop-filter: blur(13.59px);
}

.modal-body {
    background: linear-gradient(0deg, rgba(45, 150, 255, .08), rgba(45, 150, 255, .08)), rgba(47, 46, 60, .6);
}

.slideIn {
    animation-name: slideIn;
}

.up-animate {
    animation-duration: .3s;
    -webkit-animation-duration: .3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.navbar-offset.default {
    height: 105px;
}

#region-overlay-modal .region-modal-top {
    padding-left: 15px;
    padding-right: 15px;
}

.region-scroll-container {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 15px;
    scrollbar-color: #6c7190 #2a3e64;
    scrollbar-width: thin;
}

.title-case-3 {
    font-size: .8571rem;
    font-weight: 500;
    line-height: 16px;
}

.text-white-50 {
    color: #bec4cf !important;
}

.region-selection-container {
    display: flex
;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-top: 10px;
    margin-bottom: 48px;
}

.fflag-up {
    background-size: 160%;
    background-clip: content-box;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.region-selection-container .region-button-sizer {
    width: 50%;
    padding-right: 8px;
    margin-bottom: 8px;
}

.region-selection-container .region-button {
    width: 100%;
    height: 56px;
    background: linear-gradient(0deg, rgba(45, 150, 255, .2), rgba(45, 150, 255, .2)), rgba(47, 46, 60, .6);
    color: #fff;
    display: flex
;
    align-items: center;
    transition: box-shadow .2s;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 3px 4px 0 rgba(0, 0, 0, .06), 0 2px 4px 0 rgba(0, 0, 0, .07);
}

.region-selection-container .region-button .region-button-flag {
    margin-right: 15px;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.fflag-AR {
    background-position: center 13.7524%;
}

.fflag, .fflag-up {
    background-image: url(/images/flagSprite42.png?ebe38bd…);
    background-repeat: no-repeat;
    background-size: 100% 49494%;
    display: inline-block;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    box-sizing: content-box;
    box-shadow: 0 0 0 1px #dcdcdc;
}

.region-selection-container .region-button .region-button-label {
    font-weight: 300;
    line-height: 1.2em;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

@media (min-width: 768px) {

     .region-modal-top {
        padding-left: 70px;
        padding-right: 0;
    }

    .region-scroll-container {
        padding-left: 70px;
    }

    .modal-desktop .modal-dialog {
        margin: auto;
        max-width: 892px;
    }

    .modal-desktop .modal-content {
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        overflow-y: auto;
        max-height: 85vh;
    }

    #region-overlay-modal .modal-body {
        max-height: 85vh;
        padding: 15px 50px 0 0;
    }
    
    #region-overlay-modal .region-modal-top {
        padding-left: 70px;
        padding-right: 0;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .region-selection-container .region-button-sizer {
        width: 33.33%;
    }
}


@media (min-width: 992px) {

    .region-modal-top {
        padding-left: 70px;
        padding-right: 0;
    }

    .navbar-offset.default {
        height: 130px;
    }
        .fflag-up {
        width: 32px;
        height: 32px;
    }
} */


/* .custom-modal {
    background-color: red;
    position: fixed;
    right: 0px;
    left: 0px;
    top: 0px;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/*  */

/*  */


.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    /* dark semi-transparent background */
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* prevent background scroll */
}

.custom-modal-dialog {
    width: 90%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 0;
}

.custom-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 90%;
    pointer-events: auto;
    background: linear-gradient(0deg, rgba(45, 150, 255, .08), rgba(45, 150, 255, .08)), rgba(47, 46, 60, .6);
    /* background-color: red; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, .07), 0 4px 5px rgba(0, 0, 0, .06), 0 1px 10px rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(13.59px);
    backdrop-filter: blur(13.59px);
    background-clip: padding-box;
    border: 0 solid rgba(0, 0, 0, .2);
    border-radius: .6rem;
    outline: 0;
    overflow: hidden;
    /* flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff; */
    /* padding: 20px 30px; */
}

.custom-modal-body {
   padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 30px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
     max-height: 80vh;
}

.country-modal-header{
    margin-top: 20px;
    margin-left: 20px;
}

.heading-lg {
    font-size: 1.428rem;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
}

.country-selector-container{
    height: 100%;
    overflow-y: auto;
    padding: 0 20px 0 40px;
    scrollbar-color: #6c7190 #2a3e64;
    scrollbar-width: thin;
}

.heading-sm{
    font-size: .8571rem;
    font-weight: 500;
    line-height: 16px;
}

.text-muted-light{
     color: #bec4cf !important;
}

.country-group{
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-top: 10px;
    margin-bottom: 48px;
}

/* Each country card */
.country-card {
    padding: 8px;
    box-sizing: border-box;
    width: 33.33%;
    /* 3 per row desktop */
}

.country-button {
    background: linear-gradient(0deg, rgba(45, 150, 255, 0.2), rgba(45, 150, 255, 0.2)), rgba(47, 46, 60, 0.6);
    color: #fff;
    height: 56px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 3px 4px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease;
    width: 100%;
}

.country-button:hover {
    box-shadow: 0 4px 12px rgba(45, 150, 255, 0.6);
}

/*.country-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-shadow: 0 0 0 1px #dcdcdc;
    flex-shrink: 0;
}*/

.country-label {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive for mobile: 2 per row */
@media (max-width: 576px) {
    .custom-modal-dialog {
        width: 100%;
        max-width: none;
        max-height: 90vh;
        margin: 0;
    }

    .country-selector-container{
    height: 100%;
    overflow-y: auto;
    padding: 0 20px 0 0px;
    scrollbar-color: #6c7190 #2a3e64;
    scrollbar-width: thin;
}

    .country-card {
        width: 50%;
        /* 2 per row */
    }
}


@media (min-width: 768px) {
    .custom-modal-dialog {
        width: 70%;
        /* margin-left: 15%; */
        height: 70%;
    }

    .country-modal-header {
        padding-left: 50px;
    }

    .country-card {
        width: 33.33%;
    }
}



@media (min-width: 992px) {
    .custom-modal-dialog {
        width: 70%;
        height: 70%;
        /* margin-left: 15%; */
    }

    .country-modal-header {
        padding-left: 50px;
    }

    .country-card {
        width: 33.33%;
    }

}