#activeLayer label:after {
  content: "Projects";
  padding: 5px 0px;
}

#activeLayer label.independent:after {
  content: "" !important;
  padding: 0 !important;
}

.active-layer {
  background-color: white;
  color: #444;
}

.active-layer .active-item {
  color: #30a5bf;
}

#activeLayer::-webkit-scrollbar {
  width: 10px;
  height: 6px;
  
}

#activeLayer::-webkit-scrollbar-track {
  background: transparent;
}

#activeLayer::-webkit-scrollbar-thumb {
  background: #b9b9b9;
  border-radius: 8px;
}

#activeLayer::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

#markerLegends {
  background-color: #eee;
  padding: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: all .3s;
}

#menu {
  display: none;
  z-index: 10000;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  background-color: white;
  border: 1px solid #ccc;
  transition: all 0.3s;
}

#menu .toggler {
  cursor: pointer;
  position: absolute;
  top: 100px;
  left: calc(100% + 1px);
  background-color: #30a5bf;
  color: white;
  padding: 10px 15px;
}

#menu.closed-menu {
  width: 0;
  border: 0;
}

#menu.closed-menu .toggler {
  left: 100%;
}

.leaflet-top.leaflet-left {
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  top: auto !important;
}

.leaflet-control-zoom.leaflet-bar.leaflet-control {
  margin: 0 10px 90px 0 !important;
}

#snackbar {
  z-index: 1000000 !important;
}

.tooltiptext {
  opacity: 0;
  position: absolute;
  right: 44px;
  top: 3px;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  font-family: 'Nunito Sans';
  font-weight: 100;
  box-shadow: rgb(0 0 0 / 10%) 0px 3px 10px;
  transition: all 0.5s;
  color: white !important;
}

.tooltiptext:after {
  content: "";
  position: absolute;
  bottom: -10px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.7) transparent;
  right: 50%;
  display: block;
  width: 0;
  top: 32%;
  right: -7px;
  bottom: auto;
  left: auto;
  border-width: 5px 0 5px 7px;
  border-color: transparent rgba(0, 0, 0, 0.7);
}

.tooltipTextShow {
  opacity: 1 !important;
}

.leaflet-tooltip.skyharbour-tooltip {
  background-color: #0a70a2;
  border: 1px solid #0a70a2;
  border-radius: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}

.leaflet-tooltip.skyharbour-tooltip::before {
  border-top-color: #0a70a2;
}

.leaflet-tooltip.azimut-tooltip {
  background-color: #1E2E7C;
  border: 1px solid #1E2E7C;
  border-radius: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}

.leaflet-tooltip.azimut-tooltip::before {
  border-top-color: #1E2E7C;
}

.leaflet-tooltip.rackla-metals-tooltip {
  background-color: #FFFFFF;
  border: 1px solid #FF0000;
  border-radius: 0;
  color: #2e4467;
  text-transform: uppercase;
  font-weight: bold;
}

.leaflet-tooltip.rackla-metals-tooltip::before {
  border-top-color: #FF0000;
}

.leaflet-tooltip.other-tooltip {
  background-color: #30a5bf;
  border: 1px solid #30a5bf;
  border-radius: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}

.leaflet-tooltip.other-tooltip::before {
  border-top-color: #30a5bf;
}

.circle-icon {
  margin: 0;
  position: absolute;
  top: 70%;
  left: 53%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.circle-icon img {
  width: 20px;
}


/*  LOADER */
.custom-map-loader {
  display: none;
  border: 3px solid #ffffff;
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

.loading-overlay {
  display: none;
  z-index: 999;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  width: inherit;
  min-width: 100%;
  height: inherit;
  min-height: 100%;
  padding: var(--spacing);
  border: 0;
  -webkit-backdrop-filter: blur(0.25rem);
  backdrop-filter: blur(0.25rem);
  background-color: rgba(213, 220, 226, 0.7);
  color: var(--color);
}

.loading-overlay.show {
  display: flex;
}

.loading-overlay .custom-map-loader {
  border: 6px solid #ffffff;
  border-top: 6px solid hsl(205, 15%, 41%);
  width: 60px;
  height: 60px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}