/* The base image contains a Stuttgart label. Cover only that area with its
   rendered interior colour; the original geographic outline stays intact. */
#section-271-55 #div_block-274-55 {
  position: relative;
}

#section-271-55 #div_block-274-55::after {
  content: "";
  position: absolute;
  left: 49.8%;
  top: 46.8%;
  width: 13.2%;
  height: 4.4%;
  background: #e3e8e7;
  pointer-events: none;
}

#section-271-55 #link-277-55,
#section-271-55 #link-281-55 {
  display: none;
}

#section-271-55 .nm-map-enhanced #_dynamic_list-287-55 {
  display: none;
}

.nm-map-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.nm-map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  -webkit-tap-highlight-color: transparent;
}

.nm-map-marker__symbol {
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4f6e69;
  box-shadow: 0 0 0 2px #e3e8e7;
  transition: transform .15s ease, background-color .15s ease;
}

.nm-map-marker[data-count]:not([data-count="1"]) .nm-map-marker__symbol {
  width: 25px;
  height: 25px;
  background: #365852;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.nm-map-marker:hover .nm-map-marker__symbol,
.nm-map-marker:focus-visible .nm-map-marker__symbol,
.nm-map-marker.is-active .nm-map-marker__symbol {
  background: #243d38;
  transform: scale(2);
}

.nm-map-marker:hover,
.nm-map-marker:focus-visible,
.nm-map-marker.is-active {
  z-index: 3;
}

.nm-map-marker:focus-visible {
  outline: 2px solid #243d38;
  outline-offset: 7px;
}

.nm-map-marker__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 2px);
  width: max-content;
  max-width: 180px;
  padding: 5px 8px;
  border-radius: 3px;
  background: #243d38;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 2;
}

.nm-map-marker:hover .nm-map-marker__tooltip,
.nm-map-marker:focus-visible .nm-map-marker__tooltip,
.nm-map-marker.is-active .nm-map-marker__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nm-map-marker[aria-expanded="true"] .nm-map-marker__tooltip {
  opacity: 0;
}

.nm-map-marker.is-edge-left .nm-map-marker__tooltip {
  left: 0;
  transform: translate(0, 3px);
}

.nm-map-marker.is-edge-left:hover .nm-map-marker__tooltip,
.nm-map-marker.is-edge-left:focus-visible .nm-map-marker__tooltip,
.nm-map-marker.is-edge-left.is-active .nm-map-marker__tooltip {
  transform: translate(0, 0);
}

.nm-map-marker.is-edge-right .nm-map-marker__tooltip {
  left: auto;
  right: 0;
  transform: translate(0, 3px);
}

.nm-map-marker.is-edge-right:hover .nm-map-marker__tooltip,
.nm-map-marker.is-edge-right:focus-visible .nm-map-marker__tooltip,
.nm-map-marker.is-edge-right.is-active .nm-map-marker__tooltip {
  transform: translate(0, 0);
}

.nm-map-popup {
  position: absolute;
  width: min(250px, calc(100% - 16px));
  padding: 15px 34px 14px 16px;
  border: 1px solid #cbd5d2;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(36 61 56 / 18%);
  color: #243d38;
  font-size: 14px;
  line-height: 1.45;
  pointer-events: auto;
  z-index: 5;
}

.nm-map-popup[hidden] {
  display: none;
}

.nm-map-popup__title {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.nm-map-popup__links {
  display: grid;
  gap: 5px;
}

.nm-map-popup__links a {
  color: #365852;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nm-map-popup__close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #243d38;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

#section-271-55 .nm-map-list-active a {
  color: #243d38;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nm-map-marker__symbol,
  .nm-map-marker__tooltip {
    transition: none;
  }
}
