/* Page Style */

body {
    background-color: #ffffff;
    font-family: Arial;
    margin: 0;
}

.head-pic {
    padding-top: 35px;
    padding-left: 20px;
    margin: auto;
    max-width: 374px;
    /* Die folgenden Zeilen würden NubiScope-Schriftzug mittig zentrieren */
    /* padding-left: 0px;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center; */
}

/* Unter 800px-Breite ist NubiScope-Schriftzug max. 374px breit und mindestens
60% von der Screen-Breite */
@media only screen and (max-width: 800px) {
    .head-pic {
        padding-top: 20px;
        padding-bottom: 7px;
        width: 60%;
    }
}

h2 {
    font-size: 18px;
    min-width: 200px;
    padding-bottom: 15px;
}


/* Header Start */
#header {
    background: rgb(21,141,184); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* Standard syntax */
    text-align: left;
    height: 150px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 0;

}

#hback{
    background: rgb(21,141,184); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgb(111,180,247), rgb(21,141,184)); /* Standard syntax */
    background-repeat: repeat-x;
    width: 100%;
    height: 150px;
}

/* Unter 800px-Breite soll Header mit Breite an Höhe verlieren */
@media only screen and (max-width: 800px) {
    #header, #hback {
        height: 50%;
    }
}

#hspacer-top {
    background-color: rgb(33,142,183);
    width: 100%;
    max-width: 1000px;
    height: 1px;
}

#hspacerback-top {
    background-color: rgb(33,142,183);
    width: 100%;
    height: 1px;
}

/* Header End */


/* Navigation Start */
#nav {
    width: 100%;
    max-width: 1000px;
    height: 47px;
    background-color: rgb(243,243,243);
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

#navback {
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 9;
    background-color: rgb(243,243,243);
    background-repeat: repeat-x;
    width: 100%;
}

#navspacer {
    width: 100%;
    max-width: 1000px;
    height: 1px;
}

#navspacerback {
    position: sticky;
    top: 47px;
    z-index: 9;
    background-color: rgb(225,225,225);
    width: 100%;
    height: 1px;
}

ul.mother {
    font-family: Arial;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

ul.buttons {
    font-family: Arial;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

li.n {
    float: none;
    width: 100%;
    max-width: 900px;
}

li {
    float: left;
    width: 20%;
    margin: 0 auto;
    overflow-wrap: break-word;
    hyphens: manual;
}

li a {
    display: flex;
    height: 47px;
    color: rgb(102,102,102);
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

li a:hover:not(.active) {
    background-color: rgb(221,221,221);
}

.active {
    color: white;
    background-color: rgb(21,141,184);
    border-top: 1px solid rgb(17,120,194);
}

ul.floatright {
    float: right;
    list-style-type: none;
    display: block;
    text-align: center;
    padding: 0 10px 0 0;
}

li.lgselect {
    list-style-type: none;
    display: block;
    color: rgb(102,102,102);
    text-align: center;
    padding: 15px 10px;
    width: 80px;
}

.flag {
    width: 50px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.sidepanel  {
    width: 0;
    position: fixed;
    z-index: 999;
    height: 200px;
    top: 0;
    left: 0;
    background-color: rgb(243,243,243);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: rgb(102,102,102);
    display: block;
    transition: 0.3s;
  }

  .sidepanel a:hover {
    color: rgb(21,141,184);
  }

  .sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
  }

  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: rgb(243,243,243);
    color: rgb(102,102,102);
    padding: 10px 15px;
    border: none;
  }

  .openbtn:hover {
    background-color: rgb(221,221,221);
  }

/* Unter 800px-Breite soll 'Language' verschwinden */
@media only screen and (max-width: 800px) {
    li.lgselect {
        display: none;
    }
}

/* Unter 500px-Breite soll Navbar collapsen */
@media only screen and (max-width: 500px) {
    .buttons {
        display: none;
    }
}

/* Über 500px-Breite soll 'Drei-Striche-Menü' verschwinden */
@media only screen and (min-width: 501px) {
    .openbtn {
        display: none;
    }
}
/* Navigation End */

/* Content Start */
#section {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 1000px;
    background-color: rgb(250,250,250);
    border-radius: 5px;
    border-width: 1px;
    border-color: rgb(245,245,245);
}

.content {
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
}

p {
    /* hyphens */
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: auto 5;

}

.floatr {
    float: right;
    max-width: 340px;
    width: 100%;
    margin: 0 0 20px 20px;
    border-width: 1px;
    border-style: solid;
    border-color: grey;
}

.c_content {
    padding-top: 35px;
    margin: 0 auto;
    grid-template-areas: 'requests imprint';
    display: grid;
}

.requests {
    grid-area: 'requests';
    margin: 0 auto;
}

.imprint {
    grid-area: 'imprint';
    margin: 0 auto;
}

@media only screen and (max-width: 650px) {
    .floatr {
        float: none;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
    }

    .c_content {
        grid-template-areas: 'requests' 'imprint';
    }

    .imprint {
        width: 312px;
    }

    .requests {
        width: 312px;
    }
}

.iheadline { /* imprint headline */
    font-weight: bold;
    margin: auto;
}

.mailto {
    vertical-align: bottom;

}

.justify {
    text-align: justify;
}

.fright {
    float: right;
    margin: 0 30px 10px 10px;
}

.copyright {
    clear: both;
    margin: auto;
    text-align: center;
}

#copyrighteu, #copyrightde {
    color: rgb(102,102,102);
    font-size:12px;
    margin: auto;
    text-align: center;
}
/* Content End */