.alert-message {
    color: #000000;
}

.login {
    color: #000000;
    background-color: #ececec;
}

/* Login-Formular: Aktives Feld (Focus-Zustand) */
.login input.form-control:focus,
#form-login input.form-control:focus {
    background-color: #00AAD4 !important;
    color: white !important;
    border-color: #0088AA !important;
    outline: none !important; /* Entfernt den Standard-Outline */
    box-shadow: none !important; /* Entfernt eventuelle Bootstrap-Glow-Effekte */
}

/* Falls Joomla zusätzliche Klassen hinzufügt */
.login input:focus,
#form-login input:focus {
    background-color: #00AAD4 !important;
}

.header {
    background-image: url('/images/headers/header.png');
    background-size: cover;       /* Bild füllt den Bereich komplett aus */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    min-height: 200px;            /* Höhe anpassen */
    width: 100%;
}

/* Zentriert das Logo im navbar-brand-Container */
.navbar-brand,
.navbar-expand-lg {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    width: 100%;
}

/* Optional: Falls das Logo vertikal zentriert werden soll */
.navbar-brand a.brand-logo {
    display: flex;
    align-items: center; /* Vertikal zentrieren */
    justify-content: center;
}

/* Falls das Logo als <img> direkt im <a>-Tag liegt */
.navbar-brand a.brand-logo img {
    display: block;
    max-width: 100%; /* Verhindert Überlauf */
    height: auto;    /* Behält die Proportionen bei */
}

/* Zentriert das gesamte Menü */
.metismenu.mod-menu .metismenu-item {
    flex-wrap: wrap;
    align-items: center;
    padding: .5em .5em;
    font-size: 1.1rem;
    line-height: 1.5;
    display: flex;
}

.mod-menu {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Stilt die Menüpunkte als Buttons */
.mod-menu ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mod-menu li {
    margin: 0;
}

.mod-list li {
    padding: 0 0;
}

.mod-menu a {
    display: inline-block;
    padding: 10px 10px;
    background-color: #00AAD4;
    color: white !important;
    text-decoration: none;
    border-radius: 7.5px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

/* 1. Dropdown-Pfeil mittig auf Schrift-Höhe positionieren */
.metismenu-item.parent .mod-menu__heading.nav-header::after {
    position: absolute;
    right: 10px; /* Abstand vom rechten Rand */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Zentriert vertikal */
    font-size: 0.8em;
    color: white !important; /* Farbe anpassen */
}

.metismenu-item.parent .mod-menu__heading.nav-header {
    /* Button-Stil */
    display: inline-block;
    padding: 10px 20px;
    background-color: #00AAD4 !important;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Falls das Dreieck ein Hintergrundbild ist (z. B. von MetisMenu) */
.metismenu-item.parent .mod-menu__heading.nav-header {
    position: relative;
    padding-right: 25px !important; /* Platz für das Dreieck */
}

/* 2. Einrückung der Child-Menüpunkte entfernen */
.metismenu-item.level-2 {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.metismenu-item.level-2 a {
    padding: 10px 20px !important; 
    margin: 0 !important;
}

.metismenu-item.level-2 a:hover,
.metismenu-item.level-2 a:active,
.metismenu-item.level-2.active a,
.metismenu-item.level-2.current a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* 4. Konsistenter Glow-Effekt für Child-Menüpunkte */
.metismenu-item.level-2 a:hover {
    background-color: #0088AA !important;
    box-shadow: 0 0 8px 3px rgba(0, 170, 212, 0.5) !important;
}

/* Hintergrund der ausgeklappten Unterpunkte transparent */
.metismenu-item.parent .mm-collapse {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
}

.metismenu-item.level-2.active a,
.metismenu-item.level-2.current a {
    background-color: #0088AA !important;
}

.metismenu-item.level-2.active,
.metismenu-item.level-2.current {
    box-shadow: none !important;
    background: none;
}

/* Glow-Effekt für aktive Menüpunkte */
.mod-menu .current,
.mod-menu .active {
    box-shadow: 0 0 5px 5px rgba(0, 170, 212, 0.7);
    background-color: #0088AA; /* Etwas dunkler für Kontrast */
    border-radius: 7.5px;
}

/* Hover-Effekt für alle Buttons */
.mod-menu a:hover {
    background-color: #0088AA;
    box-shadow: 0 0 3px 3px rgba(0, 170, 212, 0.5);
}

.published {
    color: #ececec;
}

.createdby {
    color: #ececec;
}

/* Mobile-Ansicht: Menübuttons über gesamte Breite und zentrierter Text */
@media (max-width: 1000px) {
    /* Menü-Container anpassen */
    .mod-menu {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Menü-Listen anpassen */
    .mod-menu ul {
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Alle Menüpunkte (Parent und Child) auf volle Breite setzen */
    .mod-menu .metismenu-item {
        width: 100% !important;
        display: block !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
    }

    /* Parent- und Child-Buttons gleich gestalten */
    .mod-menu a,
    .mod-menu .mod-menu__heading.nav-header {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
        background-color: #00AAD4 !important;
        color: white !important;
        text-decoration: none !important;
        border-radius: 7.5px !important;
        font-weight: bold !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }

    /* Dropdown-Pfeil mittig ausrichten */
    .mod-menu .mod-menu__heading.nav-header::after {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 0.8em !important;
        color: white !important;
    }

    /* Child-Items: Keine Einrückung, volle Breite, zentrierter Text */
    .mod-menu .metismenu-item.level-2 {
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .mod-menu .metismenu-item.level-2 a {
        padding: 10px !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Hintergrund der ausgeklappten Unterpunkte transparent */
    .mod-menu .mm-collapse {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100% !important;
        margin: 20px 0 0 0 !important;
    }

    /* Glow-Effekt für alle Buttons (Parent und Child) */
    .mod-menu a:hover,
    /* .mod-menu .mod-menu__heading.nav-header:hover */ {
        background-color: #0088AA !important;
        box-shadow: 0 0 8px 3px rgba(0, 170, 212, 0.7) !important;
    }

    /* Aktive Buttons (Parent und Child) */
    .mod-menu .current a,
    .mod-menu .active a,
    .mod-menu .mm-active .mod-menu__heading.nav-header {
        background-color: #00AAD4 !important;
        box-shadow: 0 0 10px 3px rgba(0, 170, 212, 0.7) !important;
    }

    /* Abstand zwischen den Buttons */
    .mod-menu .metismenu-item + .metismenu-item {
        margin-top: 10px !important;
    }

    .btn-row {
        flex-direction: column; /* Buttons untereinander */
        gap: 10px;              /* Abstand zwischen den Buttons */
    }

    .btn-row .btn-custom {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

body.wrapper-fluid .grid-child {
  max-width: 1320px;
}

/* Weiterführender Button (z. B. für externe/interne Links) */
.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00AAD4;
    color: white !important;
    text-decoration: none;
    border-radius: 7.5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover-Effekt: Nur Glow (keine Hintergrundfarbe-Änderung) */
.btn-custom:hover {
    box-shadow: 0 0 8px 3px rgba(0, 170, 212, 0.5);
    /* Hintergrundfarbe bleibt #00AAD4 (keine Änderung) */
}

/* Optional: Für Buttons in Containern mit Hintergrundfarbe */
.btn-custom-container {
    text-align: center;
    margin: 10px 0;
}

/* Container für die Button-Zeile (Desktop) */
.btn-row {
    display: flex;
    justify-content: center; /* Zentriert die Buttons horizontal */
    align-items: center;     /* Zentriert vertikal (falls nötig) */
    gap: 20px;               /* Gleicher Abstand zwischen den Buttons */
    max-width: 1320px;       /* Volle Breite des Textes (1320px) */
    margin: 0 auto;          /* Zentriert den Container selbst */
    width: 100%;
    flex-wrap: wrap;         /* Falls die Buttons in der mobilen Ansicht umbrechen sollen */
}

/* Buttons in der Zeile */
.btn-row .btn-custom {
    flex: 1;                /* Buttons dehnen sich gleichmäßig aus */
    max-width: 400px;       /* Maximale Breite pro Button (anpassbar) */
    min-width: 200px;       /* Mindestbreite, um zu kleine Buttons zu vermeiden */
    text-align: center;
}

.form-control {
    background-color: #0088AA;
}

#s-bns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px;
    height: auto !important;
}

.ssg-slider-wrap .ssg-swiper-container {
    padding-bottom: 0px !important;
}