#world-map-option-container input[type="checkbox"]:checked {
    border: none;
    border-radius: 0% !important;
    color: red !important;
    background-color: red !important;
    outline: 2px solid deeppink;
}

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 10px 80px 10px 20px;
    /*border: 1px solid #ccc;*/
}

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 1px solid rgb(13, 49, 100);
    border-top: 1px solid rgb(13, 49, 100);
    padding: 4px;
    right: 10px;
    top: 35%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.dropdown-check-list ul.items {
    z-index: 12;
    background-color: white;

    max-height: 412px;/*250px*/
    min-height: 150px;
    overflow: auto;

    display: none;
    margin: 0;
    /*
    position: absolute;
    padding: 2px;
    width: 220px;
    border: 1px solid #ccc;
    border-top: none;*/
}

.dropdown-background-class { position: fixed; /*z-index: 10;*/z-index: 0; pointer-events: none; inset: 0; }
.dropdown-background-class.visible { pointer-events: all; }

.dropdown-check-list .anchor:active:after { right: 10px; top: 38%; }
.dropdown-check-list ul.items li { list-style: none; }
.dropdown-check-list.visible .items { display: block; }
.dropdown-check-list.visible { z-index: 1000; }
.dropdown-check-list { display: inline-block; background-color: white; }
#world-map-option-container { font-family: "aptos", sans-serif; color: rgb(13, 49, 100); }

/* styling new checkbox */
.checkbox-new-parent {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 17px;
    font-family: "aptos", sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-new-parent input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark-new {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    border: 1px solid rgba(0,0,0,0.2);
}

/* On mouse-over, add a grey background color */
.checkbox-new-parent:hover input ~ .checkmark-new { background-color: rgb(240, 240, 240); border: 1px solid rgba(0,0,0,0.5); }

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-new-parent:after { content: ""; position: absolute; display: none; }

/* Show the checkmark when checked */
.checkbox-new-parent input:checked ~ .checkmark-new:after { display: block; }

/* Style the checkmark/indicator */
.checkbox-new-parent input:checked ~ .checkmark-new:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 7px;
    height: 14px;
    border: solid rgb(13, 49, 100);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* for heatmap search stuff */

#world-map-option-container-selected { display: none; }
#map-country-select-info{
    padding: 1rem;
    padding-left: 0;
    color: #003265;
    display: none; /* maybe remove later */
}
#world-map-options-selected { display: none !important; }
#legend-area{
    font-size: 75%;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.no-data, .not-applicable{ margin-left: 2rem; }
.no-data:before, .not-applicable:before {
    content: "";
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background-color: #dcdcdc;
    border: 1px solid #dcdcdc;
    vertical-align: text-bottom;
}
.not-applicable:before{ background-color: white; }

#map-country-select-info:before{
    content: "\2139";
    color: white;
    background-color: #003265;
    font-size: 1.5rem;
    height: 1.75rem;
    width: 1.75rem;
    display: inline-flex;
    text-align: center;
    margin: auto;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    padding-bottom: 4px;
}

/* za dropup */
#world-map-options-parent {
    position: relative;
    width: 26%;
    min-width: 250px;
    max-width: 350px;
    height: 0;
}
#world-map-options {
    position: absolute;
    width: 100%;
    bottom: -32px;
    border: 1px solid #ccc;
}
#ordered-list-for-map {
    scrollbar-color: rgb(13, 49, 100) whitesmoke;
    padding: 0 0.7rem 0 18px;
    width: calc(100% - 0.5rem);
    position: relative;/*unset*/
    margin-bottom: 1.5rem;
}
#ordered-list-for-map li {
    list-style-position: inside;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: rgb(13, 49, 100);
}
.anchor { width: 100%; }
.visible #search-bar-countries-parent { display: block; }
#search-bar-countries { border: none; padding: 0.5rem; width: calc(100% - 1.25rem); }
#search-bar-countries-parent {
    display: none;
    width: calc(100% - 1rem);
    margin: 0.5rem 0 0.5rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: relative;
}
#search-bar-countries-parent:after{
    content: "";
    background-image: url(../../../uploads/2022/08/Icon-Search.svg);
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale();
    opacity: 0.25;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.5rem;
    width: 17px;
    pointer-events: none;
}

#ordered-list-for-map::-webkit-scrollbar {
    width: 0.5rem;
    border-radius: 5rem;
    margin-right: 0.5rem;
}
 
#ordered-list-for-map::-webkit-scrollbar-track {
    background-color: #dcdcdc;
    border-radius: 5rem;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
}
#ordered-list-for-map::-webkit-scrollbar-thumb {
    background-color: rgb(13, 49, 100);
    border-radius: 1rem;
}


#legend-bar {
    display: inline-block;
    width: 24rem;/* 15rem */
    height: 0.85rem;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 1rem;
}

@media only screen and (max-width: 1480px){
    #legend-bar {
        width: 20rem;
    }
}
@media only screen and (max-width: 1200px){
    #legend-bar {
        width: 14rem;
    }
}

#clear-selections-button{
    color: #003265;
    background-color: white;
    width: 100%;
    text-align: left;
    font-weight: bold;
    border-radius: 0;
    border: 1px solid #D4D4D4;
    padding: 0.3rem;
    transition: 0.5s;
    display: none;
}
#clear-selections-button:hover{
    background-color: whitesmoke;
}

/*#world-map-bubble-container{
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}
.region-bubble{
    position: absolute;
    font-size: 0.7em;
    background-color: whitesmoke;
    padding: 0.1rem 0.4rem 0.1rem 0.4rem;
    box-shadow: 1px 4px 6px rgba(0,0,0,0.4);
    color: #003265;
    transition: 0.1s;
    opacity: 0;
}
.region-bubble.showing{
    opacity: 1;
}*/


.jquery-modal.blocker, .modal-backdrop.world-map-modal{
    position: absolute;
    inset: 0;
    height: unset;
    width: unset;
    z-index: 9;
}
#world-map-container-main{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}
/*#world-map-container-main:after{
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.6;
    background-image: url('/wp-content/themes/primevigilance/widgets/Frame 433.png');
    background-size: contain;
    background-position: center;
    pointer-events: none;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    mix-blend-mode: multiply;
}*/
#world-map div.jvectormap-container svg{
    background-image: url('/wp-content/themes/primevigilance/widgets/Frame 433.png');;
}