.leaflet-map,
.choropleth-map {
  height: 500px;
  margin-bottom: 40px;
}

.choropleth-map {
  height: 350px;
  margin-bottom: 40px;
}

.map-value {
  font-weight: bold;
}

.tooltip-liss-item {
  display: block;
  font-size: 14px;
  text-align: right;
}

.leaflet-container.choropleth-map {
  background: #fff;
}

.choropleth-map .leaflet-pane.leaflet-tile-pane {
  display: none;
}

.leaflet-map {
  width: 100%;
  z-index: 1;
}

.custom-marker .dot {
  width: 1.125rem;
  height: 1.125rem;
}

.leaflet-popup-content a {
  line-height: 160%;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -.014em;
}

.info.leaflet-control:empty {
  display: none;
}

.choropleth-map .info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  width: 200px;
}

.choropleth-map .info h4 {
  margin: 0 0 5px;
  color: #000;
}

.choropleth-map .tooltip-map h4 {
  margin: 0;
  color: #000;
  font-size: 20px;
}

.tooltip-map {
  color: #000;
  font-size: 14px;
}

.choropleth-map .legend {
  text-align: left;
  line-height: 18px;
  color: #555;
  margin-right: 8px;
  opacity: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.leaflet-pane>svg {
  background-color: var(--cholopleth-color);
}

.choropleth-map,
.leaflet-map {
  max-width: 100%;
}

.info.legend.leaflet-control {
  box-shadow: none;
  padding: 0;
  margin: 15px 0 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.choropleth-map .range-item {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
  font-weight: bold;
  font-family: 'Inter';
}

.choropleth-map .range-item i {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: .5rem;
}

.choropleth-map .leaflet-bottom.leaflet-right {
  display: none;
}

@media screen and (max-width: 768px) {
  .choropleth-map .range-item i {
    height: 2rem;
    width: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .info.legend.leaflet-control {
    max-width: 100%;
    margin-inline: auto;
  }
}

.leaflet-bottom.leaflet-right {
  display: flex;
  justify-content: flex-start;
  position: relative;
  min-height: unset;
  margin-top: var(--cholopleth-top);
}

@media screen and (max-width: 768px) {
  .leaflet-bottom.leaflet-right .range-item {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .leaflet-bottom.leaflet-right {
    width: 100%;
    min-height: 184px;
  }
}

.leaflet-tooltip-pane .leaflet-tooltip {
  background-color: #000;
  color: #fff;
  padding: 4px 5px;
  border: none;
  border-radius: 12px;
  z-index: 99;
}

.leaflet-popup .leaflet-popup-content-wrapper {
  background-color: #000;
}

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

.leaflet-popup-content-wrapper .leaflet-popup-content {
  background-color: #000;
  color: #fff;
  padding: 4px 5px;
  border: none;
  border-radius: 12px;
  z-index: 99;
  margin: 4px 16px 4px 5px;
  font-size: 14px;
}

.leaflet-tooltip-pane .leaflet-tooltip::before {
  display: none;
}

.leaflet-tooltip-pane .leaflet-tooltip h4,
.leaflet-tooltip-pane .leaflet-tooltip p,
.leaflet-tooltip-pane .leaflet-tooltip * {
  color: #fff;
}

.map--icon-location {
  height: 18px;
  width: 18px;
}

.cluster-count {
  background: #fff;
  border-radius: 50%;
  box-shadow: -1px 1px 2px 0 #000;
  font-weight: 500;
  height: 18px;
  position: absolute;
  right: -30%;
  text-align: center;
  top: -30%;
  width: 18px;
}

.leaflet-interactive {
  position: relative;
}

.leaflet-marker-icon .leaflet-cluster-point {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.map-marker {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px white;
  border-radius: 50%;
}

.map-marker::after {
  content: "";
  position: absolute;
  bottom: -23px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 14px solid transparent;
  border-top-color: inherit;
}

.map-marker svg {
  border-radius: 50%;
  fill: #fff !important;
  padding: 6px;
}

.leaflet-cluster-transition {
  text-align: center;
  font-weight: bold;
  border-radius: 50%;
  color: #fff;
}
