/* Lokale Leaflet-Basisregeln: externe Styles wurden auf dem Server nicht wirksam. */
#map.leaflet-container {
  position: relative !important;
  overflow: hidden !important;
  background: #ddd;
  outline: 0;
}

#map .leaflet-pane,
#map .leaflet-tile,
#map .leaflet-marker-icon,
#map .leaflet-marker-shadow,
#map .leaflet-tile-container,
#map .leaflet-pane > svg,
#map .leaflet-pane > canvas,
#map .leaflet-zoom-box,
#map .leaflet-image-layer,
#map .leaflet-layer {
  position: absolute !important;
  left: 0;
  top: 0;
}

#map .leaflet-map-pane,
#map .leaflet-control-container {
  position: absolute !important;
  inset: 0;
}

#map .leaflet-marker-icon,
#map .leaflet-marker-shadow {
  display: block;
}

/* Allgemeine Seitengestaltung darf Kartenbilder nicht skalieren. */
#map .leaflet-tile-pane img.leaflet-tile {
  width: 256px !important;
  height: 256px !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: fill !important;
}

#map .leaflet-marker-pane img,
#map .leaflet-shadow-pane img {
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* database-list.css setzt Tabellenbilder sonst auf 200 x 150 Pixel. */
#map img.leaflet-marker-icon {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

#map img.leaflet-marker-icon[src*="wagen.png"] {
  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
}

#map img.leaflet-marker-shadow {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
}

.drehorte-map-table,
.drehorte-map-table tbody,
.drehorte-map-table tr,
.drehorte-map-table td {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
