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

#mapid {
  height: 100vh;
  width: 100vw;
}

.rusak_berat {
  color: #e74c3c;
}

.rusak {
  color: #f1c40f;
}

.sedang_rusak {
  color: #ed9c28;
}

.sedang {
  color: #28a745;
}

.baik {
  color: #008000;
}


.wrapper {
  display: block;
}

#sidebar {
  min-width: 400px;
  max-width: 400px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -9999px;
  /* top layer */
  z-index: 9999;
  transition: all 0.4s;
  display: block !important;
  /* pointer-events: auto; */

}

.img-sidebar img {
  width: 100%;
  padding: 15px 15px 15px 15px;
}

#sidebar.active {
  left: 0;
}

ul.sidebar-list {
  list-style-type: none;
}

.overlay {
  position: fixed;
  /* full screen */
  width: 100vw;
  height: 100vh;
  /* transparent black */
  background: rgba(0, 0, 0, 0.4);
  /* middle layer, i.e. appears below the sidebar */
  z-index: -998;
  opacity: 0;
  /* animate the transition */
  transition: .5s ease;
}

/* display .overlay when it has the .active class */
.overlay.active {
  z-index: 998;
  opacity: 1;
}

#dismiss {
  width: 35px;
  height: 35px;
  position: absolute;
  /* top right corner of the sidebar */
  top: 10px;
  right: 10px;
}

.floating-content-left {
  pointer-events: auto;
  position: absolute;
  width: 400px;
  top: 0%;
  left: 0%;
  z-index: 5;
  background-color: white;
  padding: 15px;
  border-radius: 0px 0px 10px 0px;
}

.floating-content-right {
  position: absolute;
  top: 0%;
  right: 0%;
  z-index: 5;
  background-color: white;
  padding: 10px;
  border-radius: 0px 0px 0px 10px;
  width: auto;
}

.floating-content-left img {
  max-width: 88%;
}

a[data-toggle="collapse"] {
  position: relative;
}

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

li.nav-item.active>.nav-link {
  color: #007bff !important;
}

.nav-link {
  color: #464646;
}

.nav-link:focus,
.nav-link:hover {
  /* background: #00000017; */
  color: #007bff !important;

}

a.nav-link, span{
  font-size: 1rem;
}

.leaflet-container a {
  color: #464646 !important;
}

.loading-overlay {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: white;
}

.spinner {
  width: 60px;
  height: 60px;
  z-index: 9999;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: auto;
  z-index: -1;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #3b5380;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {

  0%,
  100% {
    -webkit-transform: scale(0.0)
  }

  50% {
    -webkit-transform: scale(1.0)
  }
}

@keyframes sk-bounce {

  0%,
  100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  }

  50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
