body {
    color: #000;
    font-family: 'Source Sans Pro', helvetica, sans-serif;
}

.mapboxgl-map {
    font: 14px/20px 'Source Sans Pro', helvetica, sans-serif !important;
}

#sidebarA,
#sidebarB {
    color: white;
}

h3#sidebarBtitle {
    font-size: 
}


#filters p {
    font-size: 13px;
    margin-top: 3px;
}



#filterResults{
    font-size: 12px;
    color: white;
    background-color: #183B79;

}

.theme {
    color: #183B79;
}

.themeB {
    background-color: #114a2b;
}

input {
    margin: 0 3px;
}


#listings {
    height: calc(80vh - 250px);
}
#listings2 {
    height: calc(20vh);
}

.btn {
    padding: 1px 18px !important;
    background-color: #183B79 !important;
}
.select{
    font-style: italic;
    opacity: .7;
}

.mapboxgl-ctrl-geocoder--input {
    padding: 6px 30px;
    margin-left: 5px;
}

.listings .item {
    font-size: 13px;
    word-wrap: break-word;
    text-decoration: none;
    vertical-align: middle;
    display: block;
    width: 100%;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.1;
    color: #222;
    padding: 6px 12px;
    text-indent: -20px;
    padding-left: 40px;
}

.listings .item:last-child {
    border-bottom: none;
}


.item:hover {
    background: #EAB14B;
    cursor: pointer;
}

.item.active {
    background-color: #EAB14B; 
}


::-webkit-scrollbar {
    width: 15px;
    height: 15px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    border-radius: 0;
}

#listings::-webkit-scrollbar-thumb,
#listings2::-webkit-scrollbar-thumb {
    background: #183B79;
}


.clearfix {
    display: block;
}

.clearfix::after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.mapboxgl-popup-content {
    text-align: center;
    padding: 0;
  }

.popup-project .mapboxgl-popup-content {
    border: 2px solid #183B79;
    border-radius: 0;
    min-width: 350px;
}

.popup-project.mapboxgl-popup-anchor-bottom-right  .mapboxgl-popup-tip,
.popup-project.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.popup-project.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #183B79 !important;
}

.popup-project.mapboxgl-popup-anchor-top-right  .mapboxgl-popup-tip,
.popup-project.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.popup-project.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    border-bottom-color: #183B79 !important;
}


.popup-other .mapboxgl-popup-content {
    border: 2px solid #222;
    border-radius: 0;
}

.popup-other.mapboxgl-popup-anchor-bottom-right  .mapboxgl-popup-tip,
.popup-other.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.popup-other.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #222 !important;
}

.popup-other.mapboxgl-popup-anchor-top-right  .mapboxgl-popup-tip,
.popup-other.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.popup-other.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    border-bottom-color: #222 !important;
}

.mapboxgl-popup-close-button {
    right: 5px;
    color: #fff;
    font-size: 20px;
  }

.mapboxgl-popup-content h2, 
.mapboxgl-popup-content h3 {
    font-weight: 600;
    margin: 0;
    display: block;
    font-size: 20px;
    padding: 15px;
    color: #fff;
  }

.popup-project {
    z-index: 101;
}

.popup-project .popup-head {
    background: #183B79;
}

.popup-other .popup-head {
    background: #222;
}


.mapboxgl-popup table {
    width: 100%;
    margin-top: 0;
    text-align: left;
    font-size: 15px;
}

.mapboxgl-popup td {
    padding: 5px 7px;
    line-height: 1.1;
    font-size: 13px;
}

.subhead {
    color: #fff;
    padding: 12px 20px 8px;
    letter-spacing: 1px;
}

.mapboxgl-popup td.popup-sub {
    text-transform: uppercase;
    font-size: 11px ;
    white-space: nowrap;
}


.mapboxgl-ctrl-attrib .mapbox-improve-map {
    font-weight:400 !important;
}
    
  
.key-circle {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    opacity: 0.7;
} 

.toggle-switch {
    width: 26px;
    height: 13px;
    border-radius: 7px;
    background: #183B79;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 15px;
    transition: left 0.2s;
}

.toggle-switch.inactive {
    background: #ccc;
}

.toggle-switch.inactive::after {
    left: 2px;
}

.mapboxgl-ctrl-scale {
    background: transparent !important;
    border: 1px solid #333;
    border-top:none;
}

#modal {
    font-size: 13px;
}
#modal h4 {
    font-weight: 600;
    font-size: 18px;
}

.mapboxgl-ctrl-attrib {
    font-size: 12px;
}

td, th {
    padding: 5px 6px 5px 0;
    line-height: 1;
}

.searching-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.input-container {
    position: relative;
    margin: 0;
    max-width: 220px;
}

.searching-container input {
    width: 100%;
    height: 24px;
    margin: 0;
    border: none;
    padding: 0 25px;
    box-sizing: border-box;
    font-size: 13px;
    border-radius: 15px;
    background: #E5E9ED;
}

.search-icon {
    position: absolute;
    left: 7px;
    top: 7px;
    font-size: 12px;
    color: #848484;
}

#input-clear-1, #input-clear-2 {
    position: absolute;
    top: 7px;
    right: 10px;
    color: #193E72;
    font-size: 12px;
    display: none;
    cursor: pointer;
}

/* MEDIA QUERIES*/

	@media only screen and (max-width: 640px) {

        #listings, #listings2 {
            max-height: 15vh;
        }
    h2 {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .filter-keys {
        flex-direction: row !important;
        justify-content: center;
        gap: 14px;
    }
    .filter-keys > div {
        margin-bottom: 0;
        gap: 5px;
        align-items: center;
    }
    .filter-keys .fs12 {
        width: auto !important;
    }
}




