.map-view {
  border-radius: 6px;

  background: whitesmoke;
}

@media (min-width: 992px) {
  .map-view {
    min-height: 600px;
  }
}

.cluster {
  background: rgb(158 158 158 / 78%);
  border-radius: 50%;
  text-align: center;
  color: black;
  font-weight: 600;
}

.cluster:before {
  content: " ";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
}

.digits-1 {
  font-size: 12px;
  height: 28px;
  width: 28px;
  line-height: 28px;
  margin-top: -14px;
  margin-left: -14px;
}

.digits-2 {
  font-size: 14px;
  height: 34px;
  width: 34px;
  line-height: 35px;
  margin-top: -17px;
  margin-left: -17px;
}

.digits-3 {
  font-size: 16px;
  height: 48px;
  width: 47px;
  line-height: 47px;
  border-width: 3px;
  margin-top: -24px;
  margin-left: -24px;
}

.digits-4 {
  font-size: 18px;
  height: 58px;
  width: 58px;
  line-height: 57px;
  border-width: 4px;
  margin-top: -29px;
  margin-left: -29px;
}

.digits-4:before {
  border-width: 4px;
}

.app-map-icon {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--mesa-off);
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.app-map-icon:not(.closed) {
  opacity: 0.8;
  cursor: progress;
}

.app-map-icon.closed {
  background: var(--mesa-on);

  opacity: 1 !important;
}

.leaflet-touch .leaflet-bar {
  border: 0 !important;
}

.app-map-home:hover {
  z-index: 1000;
}
.app-legend .app-map-icon {
  line-height: 24px;
}

.app-map-icon i {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

.blinker {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0.7;
  }
}

.leaflet-touch .leaflet-bar a {
  color: var(--body-color);
  background-color: var(--bg-color);
  border: 0;
}

.leaflet-touch .leaflet-bar a.leaflet-disabled {
  opacity: 0.5;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.app-map-legend {
  z-index: 1000;
  left: 15px;
  bottom: 30px;
  width: 265px;
}

@media (min-width: 860px) {
  .app-map-legend {
    left: 15px;
  }
}

.app-map-searcher {
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  position: sticky;
}

.app-map-searcher .list-group-item {
  background-color: var(--bg-color);
  transition: all 0.35s;
}
.app-map-searcher .list-group-item:not(:last-child) {
  border-bottom: 1px solid var(--component-border) !important;
}
.app-map-searcher .list-group-item:hover {
  background-color: var(--bg-color-hover);
}

.leaflet-control-attribution {
  visibility: hidden;
}

.leaflet-top.leaflet-left {
  top: 80px;
}

.app-map-home {
  z-index: 1000;
  left: 10px;
  top: 160px;
  padding: 8px;
  border-radius: 6px;
}

@media (min-width: 992px) {
  .app-map-searcher {
    width: 300px;
    right: 0;
    left: auto;
  }
  .leaflet-top.leaflet-left {
    top: 30px;
  }

  .app-map-home {
    top: 110px;
  }
}

.map-search-results-sm {
  height: calc(100% - 280px);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  background: var(--bg-color);
  border-radius: 10px;
}

.map-search-results-sm .map-search-results-list {
  max-height: 100% !important;
  min-height: 300px;
}
