/* cmsms stylesheet: Navigation_Simple_Horizontal modified: Donnerstag, 30. Juli 2026 11:11:47 */
/******************** HORIZONTALES MENÜ ********************/

/*
 * Der Header benötigt position: relative,
 * damit das Menü innerhalb des Headerbildes
 * positioniert werden kann.
 */
#header {
    position: relative;
}

/*
 * Menü direkt in den grünen Balken setzen.
 */
#menu_horiz {
    position: absolute;

    /* Beginn des grünen Bereichs */
    left: 280px;
    top: 77px;

    /* Höhe des grünen Balkens */
    width: 570px;
    height: 28px;

    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;

    z-index: 1000;
    overflow: visible;
}

/*
 * Hauptliste zurücksetzen.
 */
#menu_horiz ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    height: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
    background: transparent;
}

/*
 * Einzelne Menüpunkte.
 */
#menu_horiz ul li {
    display: block;
    flex: 0 0 auto;
    float: none;
    clear: none;

    width: auto;
    height: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
    background: transparent;
}

/*
 * Menülinks.
 */
#menu_horiz ul li a {
    display: flex;
    align-items: center;

    width: auto;
    height: 28px;

    margin: 0;
    padding: 0 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 28px;

    color: #4f6724;
    text-decoration: none;
    white-space: nowrap;

    background: transparent;
    border: 0;

    box-sizing: border-box;
}

/*
 * Falls das Navigations-Template ein span ausgibt.
 */
#menu_horiz ul li a span {
    display: block;

    margin: 0;
    padding: 0;

    color: inherit;
    line-height: 28px;

    background: transparent;
}

/*
 * Mouseover.
 */
#menu_horiz ul li a:hover {
    color: #ffffff;
    text-decoration: none;

    background: rgba(70, 110, 40, 0.35);
}

/*
 * Aktiver Menüpunkt.
 */
#menu_horiz ul li.menuactive > a,
#menu_horiz ul li a.menuactive {
    color: #ffffff;
    font-weight: bold;

    background: rgba(70, 110, 40, 0.30);
}

/*
 * Aktiver Text innerhalb eines Spans.
 */
#menu_horiz ul li.menuactive > a span,
#menu_horiz ul li a.menuactive span {
    color: #ffffff;
}

/*
 * Menüpunkt mit Unterseiten.
 * Alte Pfeilgrafiken werden entfernt.
 */
#menu_horiz ul li.parent > a,
#menu_horiz ul li a.parent {
    padding-left: 14px;
}

#menu_horiz ul li.parent > a span,
#menu_horiz ul li a.parent span,
#menu_horiz ul li.parent > a:hover span,
#menu_horiz ul li a.parent:hover span {
    padding-left: 0;
    background: transparent;
}

/*
 * Abschnittsüberschrift.
 */
#menu_horiz ul li.sectionheader {
    display: block;
    flex: 0 0 auto;

    height: 28px;

    margin: 0;
    padding: 0;

    background: transparent;
}

#menu_horiz ul li.sectionheader > span {
    display: flex;
    align-items: center;

    height: 28px;

    margin: 0;
    padding: 0 14px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 28px;

    color: #4f6724;
    white-space: nowrap;

    background: transparent;
}

/*
 * Trennzeichen.
 */
#menu_horiz ul li.separator {
    display: block;
    flex: 0 0 auto;

    width: 1px;
    height: 16px;

    margin: 6px 4px;
    padding: 0;

    background: rgba(255, 255, 255, 0.5);
}

#menu_horiz ul li.separator hr {
    display: none;
}

/*
 * Sicherheitsregeln gegen alte horizontale
 * oder vertikale Menüformatierungen.
 */
#header #menu_horiz,
#header #menu_horiz ul,
#header #menu_horiz ul li,
#header #menu_horiz ul li a {
    box-sizing: border-box;
}

#header #menu_horiz ul li {
    float: none !important;
    clear: none !important;
    width: auto !important;
}

#header #menu_horiz ul li a {
    float: none !important;
    width: auto !important;
}

/*
 * Alte Hintergrundgrafiken des ursprünglichen
 * horizontalen Menüs sicher entfernen.
 */
#menu_horiz,
#menu_horiz ul,
#menu_horiz li,
#menu_horiz a,
#menu_horiz a:hover,
#menu_horiz li.menuactive,
#menu_horiz li.menuactive a {
    background-image: none;
}
