/* fix map size for smaller screens */
@media only screen and (max-device-width:759px){
  .isoc_map,  .leaflet-container{ 
      height: 250px;
      width: 470px;
  }
}


@media screen and (min-width: 1024px) {
  .component-map .isoc_map {
      height: 950px;
  }
}

.leaflet-control p { color: #666; font-size:14px;}

.SmallCountry, .MediumCountry, .BigCountry  {font-weight:bold}

.#d25238 { color: #d25238; }

.leaflet-popup-content p.has-background {
  padding: unset;
}

.leaflet-popup-content ul {
    margin-bottom: 10px;
    margin-top: 10px;

}

    /* screen size MAXIMUM 768px  */
@media only screen and (max-width: 767px) {
  .leaflet-popup-content a, .leaflet-popup-content p, .leaflet-popup-content li {
    font-size: 14px;
  }
  .leaflet-popup-content {
      width: 400px !important;
      height: 300px;
      overflow-y: scroll;
  }

  .leaflet-popup-content {
    width:200px !important
  }

  #map { 
    height: 400px !important
  }
}

    /* screen size MAXIMUM 500px  */
@media only screen and (max-width: 500px) {
  #map { 
    height: 250px !important
  }
  .leaflet-popup-content {
      height: 150px;
  }
}


@media only screen and (min-width: 768px) {
  .leaflet-popup-content a, .leaflet-popup-content p, .leaflet-popup-content li {
    font-size: 16px; 
    margin-top:5px !important; 
    margin-bottom:5px !important;
  }
  .leaflet-popup-content {
    margin:0px !important; 
    padding:10px; 
    height: 300px;
    overflow-y: scroll;
  }
}

  .leaflet-popup-content a:hover {
    filter:  sepia(30%);
    color: #0078A8;
  }



.leaflet-popup-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
  }

  .leaflet-popup-content::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
  }
  .leaflet-popup-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
  }

  

.component-map .map, #map { 
  background-color:#3a82e4; 
  max-width: 100%;
}


.component-map .map { 
    padding:0px; 
}

.leaflet-marker-icon.leaflet-interactive {
  word-break: normal;
  overflow-wrap: normal;
}


.leaflet-container a.leaflet-popup-close-button {
  font-size: 24px !important;
  margin-right: 15px !important;

}


/* legends on map:  Community Networks, IXPs, etc, */
.leaflet-top .leaflet-control  {
    background: #fff;
    heighdt: 50px;
    display: block;
    margin-bottom: 10px;
    padding: 10px;
}
.legend.leaflet-control span {
    display: inline-block;
    margin-bottom: 10px;
    padding:6px; inline-block
}

.legend.leaflet-control i {
    width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 25px;
    margin-bottom: -7px;
}

/* eliminate an unwanted space at the top of the map */
body .content-container {
  min-height:unset
}

.leaflet-control-layers {
  position:relative; 
  top:-178px;
  left:80px;
  opacity:0.8;
}

.leaflet-right {
  display:none;
}

.leaflet-retina .leaflet-control-layers-toggle {
  display:contents;

  
}
.leaflet-retina .leaflet-control-layers-toggle::before {
  content: "Select Region";
  color: #0C1C2C;
}

/* horizontal display of region filter
.leaflet-control-layers-list fieldset {
  display:flex;
}

.leaflet-control-layers-list fieldset legend {
  padding:5px;
  font-weight:bold;
}

.leaflet-control-layers label {
    padding-left: 20px;
}
*/