/* NAVIGATION BAR */
nav ul {
    list-style: none;
    padding: 0;
    position: relative;
    margin: -50px 0 20px 56vw;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    overflow: hidden;
    z-index: 10;
    /*
    -webkit-transition: max-height 0.4s;
    -ms-transition: max-height 0.4s;
    -moz-transition: max-height 0.4s;
    -o-transition: max-height 0.4s;
    -webkit-transition: margin-top 0.4s;
    -ms-transition: margin-top 0.4s;
    -moz-transition: margin-top 0.4s;
    -o-transition: margin-top 0.4s; */
}

nav ul li {
    display: inline;
    float: left;
}

nav ul a:link, a:visited {
    display: block;
    width: auto; 
    font-weight: bold;
    color: #111;
    background-color: #7BF;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    border-right-style: solid;
    border-width: 1px;
    border-color: black;
    padding-right: 20px;
    padding-left: 20px;
}


nav ul mark {
    position: absolute;
    z-index: -1;
    display: block;
    right: 0vw;
    left: 30%;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #7BF;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    background: -webkit-linear-gradient(left,#6BF 60%,#000); /*Safari 5.1-6*/
    background: -o-linear-gradient(right,r#6BF 60%,#000); /*Opera 11.1-12*/
    background: -moz-linear-gradient(right,#6BF 60%,#000)); /*Fx 3.6-15*/
    background: linear-gradient(to right, #6BF 60%, #000); /*Standard*/
}

nav ul a:hover, a:active {
    background-color: #59F;
}

.menu {
    background-color: #59F;
    text-align: center;
    box-sizing: border-box;
    margin-top: -50px;
    margin-left: 5vw;
    margin-right: 5vw;
    padding: 5px 10px;
    cursor: pointer;
    color: #fff;
    display: none;
    z-index: 10;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 10px 10px 10px 10px;
}

.menu:hover {
    background-color: #37D;
    
}

/* ALL DIV ENTRIES */

body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-family: 'Lato', sans-serif;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 140%;
    text-align: justify;
}

.text a, .text2 a {
    font-weight: bold;
    color: #f0f0ff;
    text-decoration: underline;
}

.text a:hover, .text2 a:hover {
    color: #b0b0bb;
}

.nohover {
    text-decoration: none !important;
}

.nohover:hover {
    color: #f0f0ff !important;
}

.title {
    font-size: 1em;
    line-height: 50%;
    text-align: center;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    color: azure;
    position: absolute;
    top: 1.5vw;
    right: 4vw;
    z-index:30
}

.titlefont {
    font-size: 3em;
}

.header {
    background-image: url("../graphic/header.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: -40px;
    position: absolute;
    top: 0px;
    right: 0vw;
    left: 0vw;
    height: 240px;
    overflow: hidden;
    border: 0px;
    box-shadow: 0 2px 3px rgba(0,0,0,.4);
    z-index: 10;
}

.scrolled {
    position: fixed;
    top: -185px;
}

.scrolled2 {
    position: fixed !important;
    top: 80px;
}

.hidden {
    visibility: hidden;
}

.piccenter {
    width: 2000px;
    height: 2000px;
    margin: auto;
}

.headerpiccenter {
    visibility: hidden;
}

.placeholder {
    position:absolute;
    max-height: 4px;
    bottom: 0px;
    top: 236px;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 10;
    background-color: #7BF;
}



.main {
    /* Content ist das untere Fenster VOR dem Laden (target) */
    font-family: 'Lato', sans-serif;
    position:relative;
    bottom: 0px;
    top: 240px;
    right: 0vw;
    left: 0vw;
    overflow-y: hidden;
    overflow-x: hidden;
    color:white;
    text-align:justify;
    padding-top: 0px;
    padding-bottom: 0px;
    z-index: 2;
}

.hoverlink:hover{
    opacity: 0.65;
}

.social01 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 75px;
}

.social02 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 45px;
}

.social03 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 10px;
}


 /*  ALLE HINTERGRUNDBILDER */

.BGimage {
    /* Umfassungsdiv der Unterseiten für das Hintergrundbild */
    background-attachment: scroll;
    background-position: center Top;
    background-repeat: repeat;
    background-size: auto;
    background-image: url("../graphic/Backgrounddark.jpg");
    z-index: -1;
    min-height: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
}


.textarea {
    /* Runde Abdunklung */
    display: block;
    border-radius: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
    margin-right: 12vw;
    margin-left: 12vw;
    opacity: 0.9;
    text-align:justify;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.linkarea {
    /* Runde Abdunklung */
    display: block;
    border-radius: 0px 15px 15px 0px;
    margin-bottom: 50px;
    margin-top: 20px;
    padding-right: 10px;
    margin-left: 0vw;
    opacity: 0.5;
    background-color: black;
    text-align:justify;
    z-index: 3;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute; 
    border-color: #7BF;
    border-width: 2px;
    border-style: solid;
    border-left: none;
}
.linkarea:hover {
    opacity: 0.9;
}

.impressumarea {
    /* Runde Abdunklung */
    display: block;
    border-radius: 25px;
    margin-bottom: 0px;
    margin-top: -20em;
    margin-right: 10vw;
    margin-left: 65vw;
    opacity: 0.9;
    background-color: black;
    text-align:left;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.kontaktarea {
    /* Runde Abdunklung */
    display: block;
    border-radius: 50px;
    margin-bottom: 50px;
    margin-top: 0px;
    margin-right: 40vw;
    margin-left: 10vw;
    opacity: 0.9;
    background-color: black;
    text-align:justify;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.text {
    /* globales wirkliches Textfeld */
    color: #fbfbfb;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 0px;
    margin-right: 5vw;
    margin-left: 5vw;
}

.text2 {
    /* link Textfeld */
    color: #fbfbfb;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 15px;
}

.textform {
    /* globales wirkliches Textfeld */
    color: #fbfbfb;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 0px;
    margin-right: 5%;
    margin-left: 0vw;
}

#results {
    /* globales wirkliches Textfeld */
    color: #FFF;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 0px;
    margin-right: 5vw;
    margin-left: 5vw;
}
.textsmall {
    /* wirkliches Textfeld */
    font-size: 0.8em;
    color: #FFF;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 0px;
    margin-right: 5vw;
    margin-left: 5vw;
}

.promotext {
    font-size: 0.9em;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 130%;
}

.promoheading {
    text-align:center; 
    height:2em;
}

.fontroboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 140%;
}

.fontlato {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 140%;
}

/* Tabelleneigenschaften für Einträge auf den Unterseiten */

table {
    width: 100%;
    height: 100%;

    /* border: 1px solid green; */
}

.tabletext {
    width: 60%;
    text-align: justify;
    padding-right: 30px;
    padding-left: 20px;
    /* border: 1px solid green; */
    position:relative;
}

.tabletext50 {
    width: 50%;
    text-align: justify;
    padding-right: 30px;
    padding-left: 20px;
    /* border: 1px solid green; */
    position:relative;
}

.centered {
    position:relative;
    margin:auto;
    text-align: center;
}

.tableall {
    width: 100%;
    text-align: justify;
    padding-right: 20px;
    padding-left: 20px;
    /* border: 1px solid green; */
}

.tableimg {
    width: 40%;
    padding-right: 10px;
    padding-left: 10px;
    /* border: 1px solid green; */
    position: relative;
}

.tableimg50 {
    width: 50%;
    padding-right: 10px;
    padding-left: 10px;
    /* border: 1px solid green; */
    position: relative;
}

.promo {
    width: 30%;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 15px;
    position: relative;
}



th {
    font-size: 2em;
    text-align: center;
}

#button {
    text-align: center;
}

#old {
    height: 500px;
    overflow-y: scroll;
}


/* Class für Skalierbare Bilder */

.scaling {
    width: 100%;
    border-radius: 5px;
}

/* Scaling für Videos */

.videocontainer {
    position: relative;
	padding-bottom:56.25%;
	padding-top:0px;
	height:0;
	overflow: hidden;
}

.videocontainer iframe {
    position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
    border:none;
}

/* Markierung */

.mark {
    color: #59f;
    font-weight: 500;
}

.markcolor {
    color: #59f;
}


/* -------------------------------------------------------------   MEDIA sachen  -------------------------------------------------------------- */


@media screen and (min-width: 1075px) and (max-width: 1350px){
    nav ul {
        position: absolute;
        right: 0px;
        float: right;
        margin-left: auto;
    }
    nav ul mark {
        display: none;
    }
    .promoheading {
        height:3em;
    }
    /*.linkarea {
        display: none;
    } */
}


@media screen and (min-width: 800px) and (max-width: 1075px){
    nav ul {
        position: absolute;
        right: 0px;
        float: right;
        margin-left: auto;
    }
    nav ul mark {
        display: none;
    }
    .promoheading {
        height:3em;
    }
    /*.linkarea {
        display: none;
    } */
    .textarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-right: auto;
        margin-left: auto;
        width:800px;
    }
    .linkarea{
        Display:none;
    }
    .kontaktarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-right: 0;
        margin-left: 0;
    }
    .impressumarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-top: 20px;
        margin-right: 0;
        margin-left: 0;
    }
}


@media screen and (max-width: 800px){
    .header {
        overflow: visible;
        position: fixed;
        top: -185px;
    }
    .main {
            top: 55px;
    }    
    nav ul {
        list-style: none;
        padding: 0px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
        max-height: 0;
    }
    .open {
        max-height: 20em;
        margin-top: 0px;
        font-size: 1.4em;
        z-index: 15;
        margin-left: 10vw;
        margin-right: 10vw;
        border-radius: 0px 0px 10px 10px;
    }
    nav ul li{
        box-sizing = border-box;
        padding: 0;
        width = 100%;
        display: initial;
        float: none;
    }
    .menu {
        display: block;
        z-index: 20;
    }
    nav ul mark {
        display: none;
    }
    tr {
        display: flex;
        flex-wrap: wrap;
    }
    
    td, th, tabletext {
        width: 100% !important;
    }
    
    /*
    .tableimg {
        display: none;
    }
    .tableimgreplace {
        display:block;
    }
    */
    .gone {
        display: none;
    }
    .textarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-right: 0;
        margin-left: 0;
    }
    .textform {
        margin-right: 5vw;
    }
    .linkarea{
        Display:none;
    }
    .kontaktarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-right: 0;
        margin-left: 0;
    }
    .impressumarea {
        /* Runde Abdunklung */
        border-radius: 15px;
        margin-top: 20px;
        margin-right: 0;
        margin-left: 0;
    }
}

