/*
 * Seitengeruest: Hintergrund-Slider, Kopfbereich, Navigation, Spalten, Fuss.
 * Alle Masse entsprechen der Vorgaengerseite (feste Inhaltsbreite 940 px).
 */

/* --------------------------------------------------- Hintergrund-Bildwechsler */

#bgslider {
    height: auto;
}

#bgslider .moduletable {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#supersized {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    list-style: none;
    z-index: -999;
}

#supersized li {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    list-style: none;
    background: #111;
    opacity: 0;
    transition: opacity .75s ease-in-out;
}

#supersized li.activeslide {
    opacity: 1;
}

#supersized li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border: none;
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    #supersized li {
        transition: none;
    }
}

/* ------------------------------------------------------------------ Container */

.container {
    width: 940px;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 999;
}

.container::before,
.container::after {
    display: table;
    content: "";
    line-height: 0;
}

.container::after {
    clear: both;
}

.body .container {
    border-radius: 4px;
    padding: 40px 0 0 20px;
    position: relative;
    z-index: 100;
}

/* -------------------------------------------------------------- Kopfbereich */

.header {
    margin-bottom: 10px;
}

#head {
    background: url("../images/topbg.png") repeat;
    border-radius: 10px;
    border: 0 solid #000;
}

#logo {
    width: 100%;
    max-width: 250px;
    float: left;
    position: absolute;
    top: 10px;
    margin-left: 20px;
}

#slogan {
    margin-left: 185px;
    position: absolute;
    text-transform: uppercase;
    width: 100%;
    max-width: 240px;
}

/* Der Slogan wird je Seite als h1 oder p ausgegeben, siehe includes/header.php. */
#slogan p,
#slogan h1 {
    margin: 6px 0;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 18px;
    font-weight: normal;
}

/* -------------------------------------------------------------- Navigation */

.navigation {
    padding: 13px 0;
    margin-bottom: 0;
    float: right;
    width: 100%;
    max-width: 510px;
}

#maximenuck {
    font-size: 14px;
    line-height: 21px;
}

#maximenuck ul.maximenuck {
    clear: both;
    position: relative;
    z-index: 999;
    list-style: none;
    margin: 0 auto;
}

#maximenuck ul.maximenuck::after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
}

#maximenuck ul.maximenuck li.maximenuck.level1 {
    display: inline-block;
    float: none;
    position: static;
    list-style: none;
    text-align: center;
    cursor: pointer;
}

li.maximenuck {
    text-transform: uppercase;
    padding: 10px 5px;
}

#maximenuck ul.maximenuck li.maximenuck.level1 > a {
    display: flex;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

#maximenuck .titreck-text {
    flex: 1;
}

/* Umschalter fuer schmale Fenster; auf dem Desktop ausgeblendet. */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px 0 0;
    margin: 0 0 5px;
    font-family: inherit;
    font-size: 33px;
    line-height: 18px;
    color: #f7f0d7;
    cursor: pointer;
    box-sizing: content-box;
    width: 100%;
    text-align: right;
}

/* Ohne JavaScript bleibt der Umschalter ausgeblendet und das Menue offen. */
.nav-toggle[hidden] {
    display: none !important;
}

@media screen and (max-width: 640px) {
    .nav-toggle {
        display: block;
    }

    #maximenuck.is-collapsed ul.maximenuck {
        display: none;
    }
}

/* --------------------------------------------------------- Inhalt und Spalten */

.row-fluid {
    width: 100%;
    max-width: 940px;
    background: url("../images/contbg.png") repeat;
    border-radius: 10px;
    border: 0 solid #000;
    margin-top: 70px;
    height: 550px;
}

.row-fluid::before,
.row-fluid::after {
    display: table;
    content: "";
    line-height: 0;
}

.row-fluid::after {
    clear: both;
}

.row-fluid [class*="span"] {
    display: block;
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    float: left;
    margin-left: 2.127659574%;
}

.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid .span12 {
    width: 99.99999999%;
}

.row-fluid .span9 {
    width: 74.468085099%;
}

.row-fluid .span3 {
    width: 23.404255317%;
    background: #f7f0d7;
    color: #333;
    padding: 10px;
    text-align: center;
    font-size: 85%;
    line-height: 115%;
    min-height: 550px !important;
    border-radius: 10px 0 0 10px;
}

main#content {
    padding: 20px 20px 0 20px;
    position: relative;
}

main#content h2 {
    margin-top: 0;
}

.item-page img {
    border: 1px solid #f7f0d7;
}

.item-page img.next-button,
.item-page img.prev-button {
    border: none;
}

/* ------------------------------------------------------------------- Sidebar */

.verband p {
    line-height: 150%;
}

.verbandinner {
    width: 100%;
    margin: 0 auto;
}

#sidebar a {
    color: #333;
}

#sidebar a:hover,
#sidebar a:focus {
    color: #000;
}

/* ---------------------------------------------------------------- Fussbereich */

footer {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}

footer .container {
    text-align: center;
    position: relative;
    z-index: 999;
    background: url("../images/topbg.png") repeat;
    border-radius: 10px;
    border: 0 solid #000;
}

footer p {
    margin: 0 0 0 10px;
    padding: 10px 0;
    float: left;
}

.mlswitch {
    padding: 2px 5px 5px 5px;
    position: absolute;
    right: 6px;
    top: 6px;
}

.mlswitch ul {
    margin: 0;
    list-style: none;
}

.mlswitch li {
    line-height: 0;
    display: inline;
    margin: 0 5px;
}

.mlswitch li img {
    padding: 1px;
    border: 1px solid #f7f0d7 !important;
}
