/* FILE: style1.css 03.03.2025 */
body {
    /* Silbentrennung */
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
input {
    /* keine Silbentrennung */
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}
table {
    border-collapse: collapse;
    border-style: solid;
    border-color: black;
    border-width: 3px;
    /*font-size: 9pt;*/
    margin-left: auto;
    margin-right: auto;
}

td, th {
    vertical-align: top;
    padding-left: 0.2em;
    padding-right: 0.2em;
    border-style: solid;
    border-color: black;
    border-width: 1px;
    empty-cells: show;
    text-align: left;
}

th {
    background-color: #AAAAAA;
    font-size: 1.2em;
    border-top-width: 2px !important;
    border-bottom-width: 2px !important;
    text-align: center;
}
.gross {
    width: 100%;
}
/* siehe https://wiki.selfhtml.org/wiki/CSS/Tutorials/Tabelle_mit_festem_Kopf (noch nicht funktionsfähig)
 If position: sticky is not working: There are two common scenarios where an element set to position: sticky; won’t actually stick to the window as intended:

 No position property has been defined: Make sure the sticky element has top, bottom set. Or in the case of horizontal scrolling, left or right.)
 One of the element’s ancestors has incompatible overflow: If any of the parents above the sticky element have overflow (x or y) set to hidden, scroll or auto, sticky will not work.*/
thead th {
    top: 100px;
    background: darkgray;
}
.warnung {
    color: #C32E04;
    font-weight: bold
}
/* fuer Count-Down */
.aktiv {
    color: green;
    font-weight: bold
}

.fett {
    border-top-width: 3px;
}
/* Bilder nebeneinander mit <figure> */
figure {
    margin: 0;
    padding: 0;
    display: flex;
}

figure img {
    width: 90%;
    height: 90%;
    display: block;
}
/* Bilder Ende */

nav {
    display: block;
    background-color: #AAAAAA;
    position: fixed;
    float: left;
    top: 160px;
    width: 16%;
    height: 75%;
    text-align: left;
    padding-left: 2%;
    overflow-y: auto;
    overflow-x: auto;
    font-weight: bold;
    color: black;
}
nav.admin {
    top: 0px;
    height: 100%;
}
nav > ul {
    padding-left: 2%;
    list-style: none;
}
nav li {
    /*padding-top: 1em;*/
}
#active {
    padding-top: 1em;
    padding-bottom: 1em;
    /*padding-left: 5%; führt zum flackern*/
    font-weight: bold;
    color: #C32E04;
}

#active:hover {
    color: white;
}

nav li li {
    padding-left: 2%;
}
nav a:link {
    display: block;
    text-decoration: none;
    color: #000000;
}
nav a:visited {
    display: block;
    text-decoration: none;
    color: #000000;
}
nav a:hover {
    width: 100%;
    background-color: #C32E04;
    color: #ffffff;
}

a:link {
    font-weight: bold;
    color: black;
}

a:visited {
    color: black;
}
.active ul {
    padding-top: 1em;
    padding-bottom: 1em;
}
.active li, .active ul {
    background-color: #F0F0F0;
}
#kopfzeile {
    background-color: #888888;
    position: Fixed;
    top: 0;
    width: 100%;
    max-width: 75em;
    height: 2.5em;
    color: #00007a;
    font-weight: bold;
    text-align: left;
}
#header_picture {
    background-color: #888888;
    margin: 0;
    top: 0px;
    left: 0;
    width: 83px;
    height: 30px;
    padding: 1px;
    float: left;
}
#header_banner {
    background-color: #888888;
    position: fixed;
    margin-top: 0;
    top: 2.5em;
    left: 0;
    width: 100%;
    max-width: 75em;
    height: 120px;
}
#button_search {
    /* width: 35px;*/
    height: 33px;
    display: block;
    padding-right: 100px;
    background-image: url("/inhalte/nav/Lupe.png");
    background-repeat: no-repeat;
    text-decoration: none;
    background-position: right 2px
}
/* Bildergalerie*/
.buttonzurueck {
    padding: 0;
    font-size: 1em;
    background-color: red;
    border: 1px solid #333;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
}

.overlayHidden {
    display: none;
    width: 100%;
    height: 100%;
    border: 1px solid #e7c157;
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    padding: 1em;
    z-index: 0;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: #F7E78A;
    /* border: 1px solid #F7E78A;*/
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    padding: 0;
    z-index: 0;
}

#schliessen {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    background-color: red;
    color: white;
}
/* FORMAT Fuer LAUF-SCHRIFT */
div.marquee {
    position: absolute;
    bottom: 0px;
    overflow: hidden;
    width: 98%;
    height: 22px;
    border: solid black 2px;
    background-color: #FFFF00;
    margin-left: auto;
    margin-right: auto;
}
div.marquee span {
    white-space: nowrap;
}
.textleft {
    text-align: left;
}
.einrueck {
    padding-left: 2em;
}
hr {
    height: 3px;
    margin: 0 auto;
    background: black;
}
hr.trenn {
    height: 3px;
    margin: 0 auto;
    background: blue;
}

hr.top {
    height: 1em;
    margin: 0 auto;
    background: #FFFF00;
}
@media screen {
    body {
        margin: 0;
        font-family: Arial, Helvetica;
        font-size: 1em;
        background-color: lightgray;
        width: 100%;
    }

    main {
        box-sizing: border-box;
        display: block;
        background-color: lightgray;
        margin-top: 160px;
        margin-left: 18%;
        width: 60%;
        height: 75%;
        bottom: 0%;
        text-align: justify;
        /* overflow-y: scroll;*/
        overflow-x: auto;
        padding: 2em;
        max-width: 60%;
    }

    #ShortInfo {
        background-color: darkgray;
        position: fixed;
        top: 160px;
        left: 80%;
        width: 18%;
        height: 85%;
        padding: 1em;
        /*overflow: scroll; */
    }
    #kurzsub {
        display: none;
    }
    .showat60 {
        display: none;
    }

    DIV.picture {
        float: left;
        padding: 0;
        margin-right: 1em;
    }

    DIV.picturecenter {
        margin-left: auto;
        margin-right: auto;
    }
    DIV.pictureright {
        float: right;
        padding: 0;
        margin-left: 1em;
    }

    DIV.center {
        margin: 0em auto;
        text-align: center;
    }
    /* Floaten beenden*/
    DIV.clear {
        clear: both;
    }
    main.admin {
        margin-top: 0px;
        width: 78%;
        height: 100%;
        max-width: 78%;
        padding: 1%;
        overflow-x: inherit; /* wegen sticky */
    }
    main.admin thead th {
        position: sticky;
        position: -webkit-sticky;
    }
    .fullscreen {
        margin-top: 0px;
        margin-left: 0px;
        width: 98%;
        height: 98%;
        max-width: 98%;
        padding: 1%;
    }
    .fullscreen_board {
        position: absolute;
        margin-top: 0px;
        margin-left: 0px;
        width: 98%;
        height: 98%;
        min-height: 98%;
        max-width: 98%;
        padding: 1%;
        overflow: hidden;
    }
    div.flextable {
        display: flex;
    }
    .flextable_kind table {
        flex: 1;
    }
    .nonescreen {
        display: none;
    }

}

@media (min-width: 75em) {
    nav {

        width: 15em;
        padding-left: 0.5em;
    }
    main {
        margin-left: 16em;
        width: 43em;
        padding: 1%;
    }
    #ShortInfo {
        left: 60em;
        width: 13em;
    }
    table.klein {
        font-size: 0.7em !important;
    }
}
@media (max-width: 60em) {
    #header_banner, #ShortInfo, #header_lang {
        display: none;
    }
    .showat60 {
        clear: both;
        display: block;
    }
    #kurzsub {
        clear: both;
        display: block;
        background-color: #F0F0F0;
    }
    #kurzsub li {
        margin-right: 10px;
        list-style: none;
        float: left;
    }
    #kurzsub > ul {
        float: left;
        margin: 0.5em;
        background-color: #F0F0F0;
    }

    #jump-to-nav {
        /*width: 35px;*/
        height: 33px;
        float: right;
        display: block;
        margin-top: 40px;
        margin-right: 10px;
        padding-top: 0;
        padding-right: 100px;
        background-image: url("/inhalte/nav/nav_mobile.png");
        background-repeat: no-repeat;
        text-decoration: none;
        background-position: right 2px
    }

    /*nav {
     position: relative;
     top: 50px;
     width: 100%;
     float: none;

     }*/
    nav {
        display: none;
    }
    nav li {
        float: left;
        margin: 0.5em;
    }
    nav li li {
        clear: both;
        float: none;
    }

    main {
        clear: both;
        position: relative;
        /*overflow-y: scroll;*/
        margin-left: 0px;
        width: 98%;
        margin-right: 0.5em;
        max-width: 55em;
    }
    main.admin {
        width: 98%;
        margin-right: 0.5em;
        max-width: 55em;
    }
}
@media print {
    body {
        font: 12pt Georgia, "Times New Roman", serif;
        text-align: justify;
    }

    thead {
        display: table-header-group;
    }
    table {
        /*page-break-after: auto;*/

        width: 98%;
    }
    td, th {
        /*-webkit-hyphens: auto;
         -moz-hyphens: auto;
         -ms-hyphens: auto;
         -o-hyphens: auto;*/
        hyphens: auto;
    }
    tr, td {
        /*page-break-inside: avoid;
         page-break-after: auto;*/
    }
    thead {
        display: table-header-group
    }
    tfoot {
        display: table-footer-group
    }

    main {
        display: block;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    DIV.picture {
        float: left;
        padding: 0;
        margin-right: 1em;
    }

    DIV.pictureright {
        float: right;
        padding: 0;
        margin-left: 1em;
    }
    DIV.picturecenter {
        margin-left: auto;
        margin-right: auto;
    }

    DIV.center {
        margin: 0em auto;
        text-align: center;
    }
    .printpage {
        page-break-before: always;
        /*-webkit-page-break-before: always;
         -moz-page-break-before: always; */
    }
    nav {
        display: none;
    }
    #jump-to-nav, #kopfzeile, #header_picture, #header_banner, #ShortInfo, #kurzsub {
        display: none;
    }
    .noprint {
        display: none;
    }

}

