body {
    margin: 0;
    padding: 0;
}
h1 {
    font-family: 'Galaxie Polaris', 'Libre Franklin', sans-serif;
    font-size: 20px;
    margin: 0;
    display: block;
    font-weight: bold;
    color: #0c2340;
}
#map {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    transition: margin-left .5s; /* If you want a transition effect */
}
.sidebar {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #EEE8D9;
    overflow: hidden;
    padding-top: 40px;
    transition: 0.5s;
    border-right: 2px solid #80BCDA;
}
.sidebar .closebtn {
    position: absolute;
    top: 20px;
    right: 2%;
    font-size: 25px;
    margin-left: 50px;
    color: #21213A;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 70%;        
}
.sidebar .closebtn:hover {
    opacity: 100%;    
}
.openbtn { 
    position: absolute;
    top: 5%;
    font-size: 20px;
    cursor: pointer;
    background: #21213A;
    color: #EEE8D9;
    padding: 10px 15px;
    border: none;
    z-index: 99;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: none;
}
.openbtn:hover {
  background: #666;
}
.listings {
    height: 72%;
    width: 97%;
    margin-top: 30px;
    overflow-y: scroll!important;
    overflow-x: hidden;
/*    padding-bottom: 60px;*/
}
.listings .item {
    font-size: 16px;    
    padding-left: 10px;
    margin-bottom: 10px;
    line-height: 18px;
    text-decoration: none;
}
.listings .item:last-child { border-bottom: none; }
.listings .item .title {
  display: block;
  color: #21213A;
  font-weight: 700;
}
.listings .item .title small { font-weight: 400; }
.listings .item.active .title,
.listings .item .title:hover { color: #A82A2A; }
#listings {
    font-family: 'Libre Franklin', sans-serif;
}

#listings a {
    text-decoration: none;
}
#showall {
    position: absolute;
    bottom: 11%;
    height: 5%;
    padding: 10px;
    font-family: 'Galaxie Polaris', 'Libre Franklin', sans-serif;
    font-size: 14px;        
    font-weight: 600;
    color: #A82A2A;
    cursor: pointer;
}
#showall:hover {
    color: #21213A;
}
#listings::-webkit-scrollbar {
    width: 6px;
}
#listings::-webkit-scrollbar-track {
    border-radius: 10px;    
    background-color: #F6F3EC;
}
#listings::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #21213A;
}

#animations {
    position: absolute;
    bottom: 8%;
    height: 5%;
    padding: 10px;
    font-family: 'Galaxie Polaris', 'Libre Franklin', sans-serif;
    font-size: 14px;        
    font-weight: 600;
    color: #A82A2A;
    cursor: default;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    top: 4px;
    width: 30px;
    height: 16px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #7ebbda;
}

input:focus + .slider {
  box-shadow: 0 0 1px #7ebbda;
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.mapboxgl-popup {
    display: flex;
    pointer-events: none;
    transform: none !important;
    z-index: 99;
    max-height: 90%;
    max-width: 300px;
    transition: 0.5s;
    padding: 15px;
    right: 0;
    margin-left: 300px; 
    overflow: hidden;        
}
.mapboxgl-popup-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    margin-left: 50px;
    color: #21213A;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    opacity: 50%;  
    outline: none;
}
.mapboxgl-popup-close-button:hover {
    opacity: 100%; 
    background: none;
}
.mapboxgl-popup-content {
    font-family: 'GalaxiePolaris', 'Libre Franklin', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #0c2340;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 20px; 
    background-color: rgba(255, 255, 255, 0.8);
    transition: 0.5s;     
    border-radius: 10px!important;   
    max-height: 90%;
    overflow: scroll;
    display: flex;
    flex-direction: column;        
}
.mapboxgl-popup-content-wrapper {
    padding: 1%;
}
.mapboxgl-popup-content p {
    text-align: left;   
    padding: 0 10px;
    font-weight: 400;
}
.mapboxgl-popup-content h3 {   
    font-family: 'Georgia', serif;
    font-size: 24px;
    margin: 0;
    padding: 22px 15px 10px 15px;
    font-weight: bold;
    color: #0c2340;
    line-height: 30px;
    max-height: 100%;
}
.mapboxgl-popup-content h4 {
    padding: 5px 0px;
    font-family: 'Galaxie Polaris', 'Libre Franklin', sans-serif;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    color: #0c2340;    
    text-transform: uppercase;      
}
.mapboxgl-popup-content a {
    text-decoration: none;
    outline: none;
}
.mapboxgl-popup-content h4:hover {
    color: #A82A2A;
}
.mapboxgl-container {
    cursor: pointer;
}
.mapboxgl-popup-content .options {
    padding: 10px 0 20px 0;
}
.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-center .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip, 
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{
    display:none !important;
}

#personbio {
    overflow-y: scroll;
}
#personbio::-webkit-scrollbar { 
    display: none;
}


.image-circle-map {
    align-self: center;
    height: 150px;
    width: 150px;    
    border-radius: 50%;
    padding: 0 10px;
    transition: 500ms ease;
}


/* Mobile */
@media only screen and (max-width: 600px) {
    .mapboxgl-popup-content .options {
        padding-top: 8%;
    }  
    .sidebar {
        width: 0;
        border: none!important;
    }  
    .openbtn {
        top: 20px;
        display: block;
    }  
}

