/********************************************************************************************************************************************
 * Diese CSS-Anweisungen sind auf das Template template.xhtml in der Anwendung zugeschnitten und definieren übergreifend das Seitenlayout.  *
 *                                                                                                                                          *
 * Der Footer ist am untersten Bildschirmrand positioniert, sofern der Inhalt wenig (weniger als der Bildschirm lang ist) Platz benötigt.   *
 * Benötigt der Seiteninhalt mehr Platz als der Bildschirm lang ist, wird der Fußbereich unter dem Inhalt (nicht mehr sichtbar) platziert.  *
 ********************************************************************************************************************************************/

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, Verdana, sans-serif;
    font-size: 0.813rem;
    padding: 0 10px;
}

/* Container */
#stickyContainer {
    position: relative;
    min-height: 100%;
}

/* Inhalt, enthält Header und Content */
#divInhalt {
    padding-bottom: 50px;
}

/* Header */
#divHeader {
    min-height: 80px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#divHeaderLeft {
    flex: 1 1 auto;
    margin: 5px 0 0 0;
    order: 2;
}

#divHeaderLeft .header_kurz {
    font-weight: bolder;
    font-size: 2rem;
    white-space: nowrap;
    text-transform: uppercase;
    color: #009CDF;
    text-decoration: none;
}
#divHeaderLeft .header_lang {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    color: #002F63;
    text-decoration: none;
}

#divHeaderRight {
    flex: 1 1 auto;
    margin: 5px 0 0 0;
    order: 1;
}
@media screen and (min-width: 642px) {
    #divHeaderRight {
        text-align: right;
        order: 3;
    }
}
#divHeaderRight .logo {
    height: 70px;
}

/* Navigation */
#divNavigation {
    min-width: 100%;
    background-color: #002142;
}
#divNavigation ul {
    display: flex;
    list-style: none;
    padding-left: 0;
}
#divNavigation li {
    flex: 1 100 auto;
    text-align: center;
}
#divNavigation li:not(:last-child) {
    border-right: 1px solid white;
}
#divNavigation li:last-child {
    flex: 0 1 350px;
}

#divNavigation a {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
}
#divNavigation a:link, #divNavigation a:active, #divNavigation a:visited {
    color: #FFFFFF;
}
#divNavigation a:hover, #divNavigation a:focus {
    background-color: #B7D2F0;
    color: black;
    text-decoration: underline;
}

/* Footer */
#stickyFooter {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
}

#divFooterCenter {
    text-align: center;
    background-color: #002F63;
    color: #FFFFFF;
}
#divFooterCenter a {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
}
#divFooterCenter a:link, #divFooterCenter a:active, #divFooterCenter a:visited {
    color: #FFFFFF;
}

#divFooterLeft {
    font-size: 0.8rem;
}
