.sb-site-container {
  background-image: url(/assets/img/back.png);
  background-repeat: repeat;
}

.boxed {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto !important;
  border-left: solid 1px #ccc;
  border-right: solid 1px #ccc;
  box-shadow: 0 1px 2px rgba(0,0,0,.4), inset 0 0 2px rgba(255,255,255,.75);
}

/*# sourceMappingURL=width-boxed.css.map */

.urheberrecht {
  filter: blur(8px) opacity(0.8);
}

.abgegangen {
  filter: blur(4px);
}

.textoverflow {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schrift-klein {
  font-size: 0.8em;
  line-height: 1; /* Der Wert 1 bedeutet, dass der Zeilenabstand der Schriftgröße entspricht */
}



.text-center{
  text-align: center;
}




.caption {
  text-align: center;
  padding: .2em;
  font-size: 0.8em;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.bx-wrapper {
  position: relative;
  margin: 0 auto 60px;
  padding: 0;
  /* *zoom: 1; */ 
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.bx-wrapper img {
  max-width: 100%;
  display: block;
}

.bxslider {
  margin: 0;
  padding: 0;
  /*fix flickering when used background-image instead of <img> (on Chrome)*/
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

ul.bxslider {
  list-style: none;
}

.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Laufband-Container */
.laufband-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #f8f9fa; /* Helles Grau */
  border-bottom: 2px solid #ddd;
  position: relative;
  padding: 10px 0;
  box-sizing: border-box; /* Sichert korrekte Breite */
}

/* Laufband-Text */
.laufband {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  font-size: 18px;
  font-family: Arial, sans-serif;
  color: #333;
  position: relative;
  transform: translateX(100%); /* Start garantiert rechts */
}

/* Animation */
@keyframes scroll-left {
  from {
    transform: translateX(100%); /* Start ganz rechts */
  }
  to {
    transform: translateX(-100%); /* Bewegt sich nach links */
  }
}

/* Link-Stil */
.laufband a {
  color: #6d6e6f; /* Graue Linkfarbe */
  text-decoration: none;
  font-weight: bold;
  padding: 0 10px;
}

.laufband a:hover {
  text-decoration: underline;
}


.popup {
  margin: 0;
  background-size: cover;
  background-position: center center;
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #fff; /* Sicherheitshalber */
}

.popup-image {
  height: 120px;
  width: 100%;
  display: block;
  margin: 0;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
}

.popup-titel {
  font-weight: 500;
  text-align: center;
  font-size: small;
  display: block;
  color: #222;
  text-decoration: none;
  background-color: #f9f9f9;
  padding: 0.5em;
  margin-top: 1;
  border-bottom: 1px solid #ddd;
}

.popup-text {
  font-size: small;
  display: block;
  color: #444;
  padding: 0.5em;
  background-color: #fff;
}

.popup-content h3 {
  text-align: center;
  font-size:medium;
}

.div-popup-strasse {
  width: 200px; 
  height: 57px; 
  background-size: cover; 
  background-position: center center; 
  display: flex; 
  justify-content: center;
  align-items: center; 
  background-image: url(/images/strassenschild_hintergrundbild_200x57.png);
}

/* 4. Falls du die feste Höhe 120 px beibehältst */
.popup-image{
  height:120px;              /* OK, wird von object-fit gefüllt */
}


/* OSM Map Fenster  */
.map {
  width: 100%;
  height: 800px;
  border: 1px solid #aaa; 
  z-index: 1
}



/* Popup-Wrapper */
.leaflet-popup-content-wrapper {
    padding: 0 !important;
}

/* Popup-Wrapper */
.leaflet-popup-content-wrapper {
    padding: 0 !important;
}

/* Popup-Inhalt */
.leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: 95vw !important;
    text-align: center;
}

/* Bild im Popup */
.leaflet-popup-content img,
.popup-img {
    display: block;
    width: 100%;
    max-width: 250px;
    min-width: 150px;
    height: auto;
    border-radius: 0;
    margin: 0 auto;
    padding: 0;
}

/* Begrenzung auf größeren Bildschirmen */
@media (min-width: 768px) {
    .leaflet-popup-content {
        max-width: 250px !important;
        min-width: 150px !important;
    }
}


.leaflet-control-custom button:hover {
    background-color: #eee;
}





/* Eine einfache Errorbox für die Anzeige von Infos zum Debuggen */
.errorbox {
  background: rgba(0, 0, 0, .6);
  color: #fff;
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 1px;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  border-radius: 2px;
  display: block;
  z-index: 2;
}

.spaltenwechsel {
  margin-bottom: 10px;
  column-count: 3;
  column-width: 130px;
  text-align: justify;
  hyphens: auto;
}

.spaltenwechsel > p {
  padding: 2px;
}

/* Klassendefinitionen für die A-Z Auswahl mit Anzahl der Datensätze*/
.auswahl.container {
  display: flex;
  flex-wrap: wrap; 
  gap: 6px; 
  align-items: flex-end;
}

.auswahl.spalte {
  display: flex;
  flex-direction: column;
  width: 30px;
}

.auswahl.anzahl {
  font-size: 66%;
  font-family: Arial, sans-serif;
  color: brown;
  text-align: center;
  background-color: rgb(235, 248, 235);
  line-height: normal;
}
/* ENDE */

/* Beim überfahren eines Buttons roten Rahmen zeichnen*/
.btn-hover-red:hover {
  box-shadow: inset 2px 0 0 0 red, /* Rechter Rahmen */
              inset -2px 0 0 0 red, /* Linker Rahmen */
              inset 0 2px 0 0 red, /* Unterer Rahmen */
              inset 0 -2px 0 0 red; /* Oberer Rahmen */
}


.text-red {
  color: red
}

.text-blue {
  color: blue;
}

.text-green {
  color: green;
}

.text-crimson {
  color: crimson;
}


/* Vorbereitung für BS5 */
:root,
[data-bs-theme=light] {
  --bs-font-sans-serif: "Noto Sans", sans-serif, Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 0.9rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.2;
}

.text-end {
  text-align: right !important;
}

.text-start {
  text-align: left !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.px-1 {
  padding-right: 0.25rem !important;
  padding-left: 0.25rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.pe-1 {
  padding-right: 0.25rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}


/* Übernommen aus style-orange3.css, weil diese nicht in BS5 existieren */
.header-full {
  background-image: linear-gradient(to top, #f0f0f0, #f4f4f4);
}

.header-full-title {
  float: left;
  overflow: hidden;
  padding-left: 75px;
  background-image: url("/img/logo/logo_big.png");
  background-repeat: no-repeat;
}

.header-full-title h1 {
  margin-bottom: 5px;
  margin-top: 15px;
  font-family: "Muli";
  word-spacing: -7px;
  color: #000;
  font-size: 32px;
}

.header-full-title h1 a {
  color: #000;
  text-decoration: none;
}

.header-full-title h1 span,
.header-full-title h1 span a {
  color: #c37744;
}

.main-header {
  background-color: #c37744;
  color: #fff;
  padding: 20px 0;
  margin-bottom: 40px;
  position: relative;
}

.header-full-title p {
  margin-bottom: 15px;
  font-size: 1.2em;
  text-align: center;
}

.main-header .page-title {
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 100%;
  font-size: 2em;
  display: inline-block;
}
/* -----------------------------------------*/

/* Badge für Anzahl in Akkordeon Ansicht (Stadtbezirke) */
.sb-badge {
  display: inline;
  min-width: 1px;
  padding: 2px 4px 2px 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color:grey;
  text-align: right;
  white-space: nowrap;
  vertical-align: baseline;
  margin-left: 8px;
  background-color:rgb(252, 216, 199);
  border-radius: 3px;
}

/* ENDE. Stand April 2025 Norbert */


/* Eigenes schöneres Tooltip */

[tt] {
  position: relative; /* Wichtig für die Positionierung des Pseudo-Elements */
  cursor: pointer; /* Zeigt an, dass das Element interaktiv ist */
}

/* Verstecken des Tooltips standardmäßig */
[tt]::before {
  content: attr(tt); /* Nimmt den Text aus dem tt Attribut */
  visibility: hidden;
  opacity: 0.5;
  background-color: #e4bd1d; /* Dunkler Hintergrund */
  color: #000; /* Schwarzer Text */
  text-align: center;
  border-radius: 2px;
  padding: 2px 2px;
  position: absolute;
  z-index: 1; /* Stellt sicher, dass der Tooltip über anderen Elementen liegt */
  top: 125%; /* Positioniert den Tooltip oberhalb des Elements */
  left: 50%;
  transform: translateX(-50%); /* Zentriert den Tooltip horizontal */
  transition: opacity 0.3s ease; /* Weicher Übergang beim Einblenden */
  white-space: nowrap; /* Verhindert Zeilenumbruch */
  font-size: 11px;
  font-weight: 600;
  overflow: auto;
}

/* Anzeige des Tooltips beim Hover */
[tt]:hover::before,
[tt]:focus::before { /* Auch für Barrierefreiheit mit Tastatur-Fokus */
  visibility: visible;
  opacity: 0.8;
}

/* Ein kleiner Pfeil unter dem Tooltip */
[tt]::after {
  content: '';
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 100%; /* Positioniert den Pfeil über dem Tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #000 transparent; /* Erstellt einen nach unten gerichteten Pfeil */
  transition: opacity 0.3s ease;
}

[tt]:hover::after,
[tt]:focus::after {
  visibility: visible;
  opacity: 0.8;
}
/* Ende eigenes Tooltip */


/* Popover */
.popover {
  position: absolute;
  background-color: #343a40;
  color: white;
  padding: 8px 12px;
  border-radius: 0.25rem;
  white-space: nowrap;
  z-index: 1000;
  font-size: 0.875rem;
  display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
  /* Ende Popover */

/* Lade-Overlay für Warte Anzeige */
.loading-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  /* Spinner ist beim Laden sichtbar */
}
.hidden { display: none !important; }


.popover-scroll {
  max-height: 600px;    /* Höhe begrenzen */
  overflow-y: auto;     /* vertikaler Scrollbalken */
  overflow-x: hidden;   /* horizontal vermeiden */
}
