@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed&display=swap');

#mapbox, #map {
  width: auto;
  height: 100%;
}

html, body, #container  {
  height: 100%;
  width: 100%;
}

.popup-fixed {
  position: fixed;
  top: auto;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  margin: 0;
  border-radius: 0;
  margin-left: auto;
  margin-right: auto;

  max-width: 700px;
  max-height: 200px;
  overflow-y: scroll;

  .leaflet-popup-tip- container {
    display: none;
  }

  .leaflet-popup-content-wrapper {
    border-radius: 0;
  }
}

.label {
  font-family: 'Ubuntu', 'Helvetica', 'Arial';
  font-weight: 700;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  direction: center;
  align: center;
  text-align: center;
  background-color: none;
  border-color: none;
  border: 1px;
  display: block;
  position: absolute;
  white-space: nowrap;
}

.state-label {
  /* variant 1 */
  color: #c2fffe;
  background: none;
  opacity: 0.9;
  padding: 1px;

  /* variant 1 */
  /* color: black;
  background:white;
  height: auto;
  width: auto;
  line-height: auto; */
}

.other-societies-label {
  color: #93d4ee;
  background: none;
  opacity: 0.7;
  font-size: 0.9em !important;
}

.state-label-big {
  font-size: 1.1em;
}

.state-label-small {
  font-size: 1em;
}

.city-label {
  color: white;
  font-size: 0.8em;
  font-family: 'Ubuntu Condensed', 'Helvetica', 'Arial';
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  white-space: nowrap;
}

.city-div-icon{
  background: white;
  width: 1px;
  border: 1px solid rgba(0, 0, 0, 1);
  border-radius: 50%;
  line-height: 20px;
  width: 5px;
  height: 5px;
}

.year-sidebar-elem {
  max-width: auto;
  color: orange;
  font-family: 'Ubuntu', 'Helvetica', 'Arial';
  font-weight: 200;
  float: right;
}

#yearLabel {
  font-size: 1.1em;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black !important;
}

#yearLabelValue {
  font-size: 3em;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black !important;
}

.overlay {
  position: absolute;
  z-index: 9999;
}

.overlay-year-label {
  display: inline-block;
  width: max-content;
  height: max-content;
  pointer-events: none;
  margin-top: 10px;
  margin-bottom: 20px;
}

#overlay-slider {
  top: 5px;
  z-index: 900;
}

#overlay-slider, .leaflet-control-zoom {
  right: 30px;
}

button.active {
  border-color: red  !important;
}

.disabled-content {
  pointer-events: none;
}

.enabled-content {
  pointer-events: auto !important;
}

.tooltip.in {
  opacity: 1;
}

.slider-handle.custom {
  /* background: transparent none; */
  /* background-image: url("../images/handle.png"); */
  /* background-size: contain; */
}

.slider-handle.custom::before {
  content: none;
}

#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #fff;
  text-align: center;
}

#loading-image {
  font-size: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 100;
}

.coming-soon {
  opacity: 0.8;
  position: absolute;
  left: 25%;
  height: 7%;
}

.hidden {
  display: none;
}

.slider.slider-vertical {
  /* height: 100%; */
  max-height: 210px;
}

@media (max-width: 768px) {
  #overlay-slider, .leaflet-control-zoom {
    right: 10px;
  }
  .leaflet-control-zoom {
    display: none;
  }
  #yearLabel {
    font-size: 0.9em;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black !important;
  }
  #yearLabelValue {
    font-size: 2.3em;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black !important;
  }
}
