body {
    background-image: url(../images/bg.jpg);
    background-attachment: fixed;
}
.navbar {
  background-image: linear-gradient(180deg, rgba(120, 120, 120, 1.00) 0%, rgba(212, 212, 212, 1.00) 100%);
}
.navbar-nav.mr-auto .nav-item.dropdown .dropdown-menu {
  background-color: rgba(212, 212, 212, 1.00);
}
.navbar-nav.mr-auto .nav-item.active .nav-link {
  color: #000000;
  font-weight: bold;
}
.navbar-nav.mr-auto .nav-item .nav-link {
  color: #000000;
  font-weight: bold;
}
.startkarten .card {
  background-color: #E3E0D9;
}

/* Startseiten-Cards: ab 768 px nebeneinander und immer gleich hoch */
.startkarten > .col-md-4 {
    display: flex;
}

.startkarten > .col-md-4 > .card {
    width: 100%;
    height: 100%;
}

.startkarten > .col-md-4 > .card .card-body {
    display: flex;
    flex-direction: column;
}

.startkarten > .col-md-4 > .card .btn {
    margin-top: auto;
}

.fehlertext {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    text-align: center;
	font-weight: bold;
}
h2 {
    background-color: #E3E0D9;
    margin: 0 auto;
    border: none;
    font-size: 16px;
    font-weight: 400;
    max-width: 900px;
    display: block;
    padding: 8px 10px;
    box-sizing: border-box;
}
.banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Untertitel */
.untertitel {
    display: block;
    text-align: center;
    font-family: "Comic Sans MS";
    font-size: 1.05rem;
    color: #03509C;
    font-weight: normal;
    line-height: 1.2;
    margin-top: 0.6em;
}
.textblock {
    max-width: 75%;
    margin: 0 auto;
    text-align: center;
	line-height:1.6;
}
.accordion-link {
    color: #006600;
}
.strong-green {
    color: #006600;
}
figure {
  text-align: center;
}
figcaption {
  display: inline-block;
  text-align: left;
}
.card-header {
  background-color: #E9E9E9;
}
/* Eigene Farbe für die "Mehr erfahren"-Buttons */
.card-link {
    background-color: #03509C;
    border-color: #03509C;
}
.card-body {
  background-color: #E3E0D9;
}
a:link, a:visited {
  text-decoration: none;
}
ul li::marker {
  color: #006600;
}
.ul-custom {
  list-style-type: square;
  margin: 0;
  padding-left: 20px;
}
.ul-custom li {
    margin-bottom: 7px;
}
.ul-custom a:link,
.ul-custom a:visited {
    color: #03509C;
}

.ul-custom a:hover {
    color: #03509C;
}
a[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0px 3px 0px 5px;
}
/*a[target="_blank"]::after {
  content: url(https://www.yourdomain.com/yourimageurl.png);
  margin: 0px 3px 0px 5px;
}*/
/* Bootstrap .text-center wiederherstellen */
.nach-oben {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #6B705C;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000;
}

.nach-oben.sichtbar {
    opacity: 0.85;
    visibility: visible;
}

.nach-oben:hover {
    background-color: #4F5B3A;
    color: #ffffff;
    text-decoration: none;
}
strong {
    color: #2A84DF;
}
.willkommen {
    text-align: center;
    color: #03509C;
    font-family: "Comic Sans MS";
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 1rem;
    background-color: #E3E0D9;
    padding: 8px 10px;
}

@media (max-width: 768px) {
    .willkommen {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .willkommen {
        font-size: 1.05rem;
    }
}
/*html.english .navbar-nav .nav-link {
    font-size: 15px;
}*/
/* Sprachumschalter mit Fahnen */
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    margin-bottom: 4px;
    line-height: 1;
}

.language-switch img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-sizing: content-box;
}

/* Aktive Sprache */
.language-switch .lang-current img {
    opacity: 1;
    filter: none;
    border-color: green;
}

/* Andere Sprache */
.language-switch a img {
    opacity: 0.55;
    filter: grayscale(35%);
    border-color: #ab1305;
}

/* Hover auf andere Sprache */
.language-switch a:hover img {
    opacity: 1;
    filter: none;
    border-color: green;
}

/* Trennstrich */
.language-switch span {
    color: #666;
    margin: 0 2px;
}
.carousel-control-prev {
    left: 8%;
}

.carousel-control-next {
    right: 8%;
}


/* PDF-Download-Symbol */
.pdf-download {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    line-height: 0;
}

.pdf-download img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.pdf-list {
    max-width: 900px;
    margin: 0 auto;
}

.pdf-list > div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
}

.pdf-list > div:last-child {
    margin-bottom: 0;
}

.pdf-download {
    flex: 0 0 32px;
    display: block;
    margin-right: 8px;
    line-height: 0;
}

.pdf-download img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.pdf-list > div > span {
    flex: 1;
    color: #03509C;
}
/* Mobiles Dropdown-Menü – Systematik der Gallbildner */
@media (max-width: 991.98px) {

    .navbar-nav .dropdown-menu {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        position: relative;
        display: block;
        width: 100%;
        box-sizing: border-box;

        /* Umbruch langer Menüeinträge erlauben */
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;

        /* Platz für den Aufzählungspunkt */
        padding-left: 1.5rem;
        padding-right: 0.75rem;
    }

    /* Aufzählungspunkt */
    .navbar-nav .dropdown-menu .dropdown-item::before {
        content: "•";
        position: absolute;
        left: 0.6rem;
        top: 0;
    }
}
/* Mobile Darstellung der Gallenformen-Tabelle:
   Unter 768 px wird jede Tabellenzeile als Karte untereinander angezeigt.
   Die Feldnamen stammen aus den data-label-Angaben in der HTML-Datei.
   Ab 768 px bleibt die normale Bootstrap-Tabelle bestehen. */
@media (max-width: 767.98px) {
    .gallenformen-wrapper {
        overflow-x: visible;
    }

    .gallenformen-table,
    .gallenformen-table tbody {
        display: block;
        width: 100%;
    }

    /* Tabellenköpfe für Screenreader erhalten, visuell durch Feldnamen ersetzt. */
    .gallenformen-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .gallenformen-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #c9c5bd;
        border-radius: 0.25rem;
        background-color: #E3E0D9;
        overflow: hidden;
    }

    .gallenformen-table td {
        display: block;
        width: 100%;
        padding: 0.75rem;
        border: 0;
        border-bottom: 1px solid #c9c5bd;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .gallenformen-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.35rem;
        color: #006600;
        font-weight: 700;
    }

    .gallenformen-table td:last-child {
        border-bottom: 0;
    }

    .gallenformen-table figure {
        margin: 0;
    }

    .gallenformen-table figure img {
        display: block;
        max-width: 100%;
        height: auto;
    }
}
