:root {
  --color-w: #fff;
  --color-ok: #5cb432;
}

#l-map {
  height: 736px;
  width: 100%
}

@media (max-width: 1799px) {
  #l-map {
      height:488px
  }
}

@media (max-width: 1024px) {
  #l-map {
      height:336px
  }
}

@media (max-width: 479px) {
  #l-map {
      height:200px
  }
}

#l-map .leaflet-pane {
  z-index: 1;  
}

#l-map .leaflet-zoom-animated .leaflet-interactive {
  stroke: var(--color-ok);
  fill: var(--color-ok);
}

#l-map .leaflet-div-icon {
  background-color: transparent;
  border: none;
  position: relative;
  color: var(--color-ok);
}

#l-map .leaflet-marker-icon-content {
  color: var(--color-w);
  font-family: HanodedPardesiBiooo, sans-serif;
  font-size: 36px;
  left: 11px;
  line-height: 1em;
  position: absolute;
  top: 0;
}

#l-map .leaflet-marker-icon-content.big {
  left: 0.4em;
  line-height: 1.75em;
}

#l-map .leaflet-marker-icon-content.big > svg {
  height: 1em;
}

#l-map .leaflet-marker-icon {
  color: var(--color-ok);
  font-family: HanodedPardesiBiooo, sans-serif;
  font-size: 36px;
  left: 11px;
  line-height: 1em;
  position: absolute;
  top: 0;
}

#l-map .marker-cluster {
  background-color: #0006;
  border-radius: 50%;
  height: 70px !important;
  padding: 10px;
  width: 70px !important;
}

#l-map .marker-cluster div {
  align-items: center;
  background-color: var(--color-w);
  border-radius: 50%;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  width: 100%;  
}

#l-map .marker-cluster span {
  color: var(--color-ok);
  font-family: HanodedPardesiBiooo, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2em;
  text-align: center;
}

#l-map .marker-cluster span::before {
    background-color: var(--color-ok);
    background-image: url('https://api.mapy.cz/img/api/marker/cluster.png');
    content: '';
    display: flex;
    height: 13px;
    width: 9px;
}

#l-map .map-card {
  font-family: Roboto,sans-serif;
  font-size: 1rem;
}

#l-map .leaflet-popup-content {
  width: 520px !important;
}

#l-map .leaflet-popup-content .detail-info.desktop a {
  color: var(--color-ok);
}

#l-map.l-map--mini {
  min-height: 184px
}

#l-map.l-map--mini .leaflet-bottom.leaflet-left .leaflet-control {
  margin-bottom: 24px;
}

#l-map.l-map--mini .leaflet-marker-icon-content {
  font-size: 26px;
  left: 10px;
}

.map-wrapper.desktop {
  display: none;
}

@media (min-width: 860px) {
  .map-wrapper.desktop {
    display: block;
  }
}

.block-radio #l-map.l-map--mini {
  margin: 8px 16px 0;
}

@media (max-width: 640px) {
  #l-map.details {
    height: 100%;
  }

  #l-map.details .leaflet-marker-icon {
    height: 49px !important;
    margin-left: -20px !important;
    margin-top: -49px !important;
    width: 40px !important;
  }

  #l-map .leaflet-marker-icon-content.big {
    left: 0.25em;
    line-height: 1.2em;
  }

  #l-map .leaflet-marker-icon-content.big > svg {
    height: 0.75em;
  }
}
