html,
body {
  padding: 0;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

#map {
  width: 100vw;
  height: 100vh;
  visibility: hidden;
}

h3 {
  padding: 4px;
  margin: 0;
  font-size: 0em;
  font-family: impact;
}

h5 {
  margin: 0;
  font-size: 1.0em;
  font-weight: normal;
}

h6 {
  margin: 0;
  font-size: 1.2em;
  background: black;
  color: #ffffff;
  box-shadow: 0 0px 70px 80px rgb(0 0 0);
}

.intro-popup .leaflet-popup-content-wrapper {
  background: 0;
  box-shadow: 0 1px 5px rgb(0 0 0 / 0%);
  position: inherit;
  left: -700px;
  top: 50px;
}

.intro-popup .leaflet-popup-content {
  min-width: 1400px;
}

.intro-popup .leaflet-popup-tip-container {
  width: 0;
  height: 0;
}

.pointer {
  cursor: pointer;
}

.leaflet-control-custom {
  padding: 6px 8px;
  background: #000000;
  box-shadow: 0 1px 5px rgb(20 0 255 / 0%);
  color: #ffffff;
  border-radius: 5px;
}

.leaflet-control-geocoder {
  z-index: 9999;
}

form {
  margin-top: px;
}

.btn {
border: 0px;
background: yellow;
padding: 0px 0px;
font-size: 25px;
font-family: "Impact";
cursor: pointer;
margin: 10px;
transition: 0.12s;
position: relative;
overflow: hidden;
color: rgb(255, 255, 255);
background-color: #000000;
}

.btn:hover{
color: #000000;
}

.btn::before{
content: "";
position: absolute;
left: 0;
width: 100%;
height: 0%;
background: #d3d3d1;
z-index: -1;
transition: 0.5s;
top: 10;
border-radius: 0% 5% 5% 0%;;
}

.btn:hover::before{
height: 90%;
}

#container {
position: absolute;
top: 10px;
right: 20px;
right: 3.5%;
top: 1%;
padding: 0px;
padding-right: 9px;
padding-left: 9px;
padding-top: 2px;
padding-bottom: 3px;
z-index: 400;
text-align: left;
right: 0.5%;
top: -0.6%;
}

#container1 {
position: absolute;
top: 5px;
right: 20px;
right: 3.5%;
top: 1%;
padding: 0px;
padding-right: 21px;
padding-left: 21px;
padding-top: 2px;
padding-bottom: 3px;
border-color: black;
z-index: 400;
text-align: left;
right: 0.5%;
top: +5%;
}

#container2 {
  position: absolute;
  top: 0px;
  right: 20px;
  right: 3.5%;
  top: 1%;
  padding: 0px;
  padding-right: 11px;
  padding-left: 11px;
  padding-top: 2px;
  padding-bottom: 3px;
  border-color: black;
  z-index: 400;
  text-align: left;
  right: 0.5%;
  top: +10.7%;
}

.leaflet-control-draw {
    background: #fff;
    border: 2px solid rgb(0,0,0,0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    margin-left: 0;
    margin-top: 0px;
    margin-right: 10px;
    display: inline-block;
}

.leaflet-control-draw .draw-button {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 30px;
    height: 30px;
    background:#ffffff; /* Replace with your draw icon */
    border-radius: 4px;
    margin: 2px;
    text-decoration: none;
}

.leaflet-control-draw .draw-button:hover {
    background:#dddada; /* Hover effect */
}

.leaflet-control-draw .draw-button i.material-icons {
    color: #474646;
}

.circle-label {
    background: transparent;
    border: whitesmoke;
    color: red;
    font-weight: normal;
    font-size: 17px;
    box-shadow: none;
}

/* Customize the default tooltip appearance */
.custom-tooltip {
  position: absolute; /* Use absolute positioning to follow the mouse */
  background-color: red; /* Background color of the tooltip */
  color: white; /* Text color of the tooltip */
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0.9;
  pointer-events: none; /* Ensure the tooltip doesn't interfere with mouse events */
}

.polygons-legend-scale {
  margin-top: 4px;
  padding-top: 7px;
  border-top: dotted 3px #0000;
}

.polygons-legend-scale i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
}

.leaflet-popup-content {
  min-width: 100px;
}

.leaflet-popup-content img {
  width: 100%;
  margin: 5px 0 5px 0;
}

.geojson-point-marker {
  radius: 3;
}

.loader,
.loader:before,
.loader:after {
  background: #000;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader {
  color: #000;
  text-indent: -9999em;
  position: absolute;
  left: 50vw;
  top: 45vh;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

/* Technically there are two map titles, on the left and on the right,
 * at all times. On a big screen, map title in the right column is not
 * displayed. On a mobile device, title in the right column is shown with 0
 * opacity, so that search, locate, and zoom buttons do not overlay the title,
 * creating an effect as if the title is located on top, and not the left column.
 */
.leaflet-right .map-title { display: none; }

@media only screen and (max-width: 760px) {
  .leaflet-right .map-title {
    display: block;
    opacity: 0;
  }

  .leaflet-left .map-title {
    width: 98%;
  }
}

#mobile-intro-popup {
  position: absolute;
  bottom: 5vh;
  left: 10vw;
  width: 70vw;
  z-index: 1000;
  background: #ffffff00;
  padding: 1vh 5vw;
  opacity: 0.9;
  border: 5px #ddd solid;
  border-radius: 5px;
  font-family: "Helvetica Neue", Impact;
}

#mobile-intro-popup p {
  margin: 10px 0 10px 0;
  max-height: 80vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

#mobile-intro-popup-close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 30px;
  background: #bbb;
  color: red;
  font-size: 1.4em;
  text-align: center;
  border-radius: 5px;
  opacity: 0.8;
}

#polygonSelect {
  width: 100%;
}

.polygon-label {
  position: absolute;
  left: 0;
  color: #ff0000;
  font-weight: bold;
  opacity: 1;
  pointer-events: none !important;
}

.color-line {
  display: inline-block;
  vertical-align: middle;
  height: 3px;
  width: 20px;
}

.markers-legend-icon {
  height: 0px;
  vertical-align: middle;
}

.map-title {
  margin-top: 0 !important;
  margin-bottom: px;
  max-width: 154px;
}

.leaflet-top.leaflet-left {
  padding-top: 5px;
}

/* Map Table */
div.dataTables_scrollBody {
  border: 0 !important;
}

div.dataTables_scrollHead {
  color: #7a7676 !important;
}

.dataTable * {
  font-family: 'Times New Roman', serif;
  border: 0 !important;
}

div.dataTables_scrollHead table.display {
  background-color: #000;
  color: #eee;
}

select {
  font-size: 1.0em;
  font-weight: bold;
}

.div-center {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

span.legend-arrow {
  color: rgb(255 255 255);
  position: absolute;
  right: 8px;
  top: 5px;
}

span.legend-icon {
  color: #ffffff;
  margin-right: 5px;
}

.ladder {
  width: 155px;
  margin-top: 0 !important;
  overflow: hidden;
  background-color: #0a1047;
  color: white;
}

.ladder h6.minimize ~ div,
.ladder h6.minimize ~ form,
.ladder h6.minimize ~ section {
  display: none !important;
}
.ladder form, .ladder div {
  display: block;
}
