/* Design */
:root{
    --main-color: #900;
    --grad-color: #800;
    --hover-color: #700;
    --menu-color: #700;
    --menu-hover: #500;
    --mark-color: #c00;
    --bg-color: #000;
    --text-color: #eee;
    --link-color: #f0f0ff;
    --link-hover: #b0b0bb;
    
    --mark-weight: 500;
}

                                                    /* some standards */

a:link, a:visited, a:active {
    color: var(--link-color);
    font-weight: 600;
    text-decoration: none;
}
a:hover {
    color: var(--link-hover);
}

body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-family: 'Lato', sans-serif;
    font-size: calc(1em + 0.075vw);
    font-weight: 500;
    line-height: 140%;
    text-align: justify;
    color: var(--text-color);
    background-color: var(--bg-color);
}






                                                    /* NAVIGATION BAR */
nav ul {
    list-style: none;
    text-size: 1.05em;
    padding: 0;
    position: relative;
    margin: -50px 0 20px 45vw;
    border-radius: 25px 0px 0px 25px;
    overflow: hidden;
    text-align: center;
    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;
    background-color: var(--main-color);
    border-right-style: solid;
    border-width: 1px;
    border-color: var(--bg-color);
    padding: 4px 20px 4px 20px;
}


nav ul mark {
    position: absolute;
    z-index: -1;
    display: block;
    right: 0vw;
    left: 30em;
    padding: 4px;
    background: -webkit-linear-gradient(left,var(--grad-color) 60%,var(--bg-color)); /*Safari 5.1-6*/
    background: -o-linear-gradient(right,var(--grad-color) 60%,var(--bg-color)); /*Opera 11.1-12*/
    background: -moz-linear-gradient(right,var(--grad-color) 60%,var(--bg-color)); /*Fx 3.6-15*/
    background: linear-gradient(to right,var(--grad-color) 60%,var(--bg-color)); /*Standard*/
}

nav ul a:hover, a:active {
    background-color: var(--hover-color);
    color: var(--text-color);
}

.menu {
    text-align: center;
    box-sizing: border-box;
    margin: -50px 5vw 0px 5vw;
    padding: 5px 10px;
    cursor: pointer;
    display: none;
    z-index: 10;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 10px 10px 10px 10px;
}

.menu:hover {
    background-color: var(--menu-hover);
    
}




                                                    /* ALL DIV ENTRIES */



.text a, .text2 a {
    text-decoration: underline;
}

.linkarea a {
    text-decoration: underline;
}



.title {
    line-height: 50%;
    text-align: center;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    position: absolute;
    top: 1.5vw;
    right: 4vw;
    z-index:30
    font-family: 'Lato', sans-serif;
}


.header {
    background-image: url("../graphic/header.jpg");
    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;
}


.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: var(--main-color);
}


.main {
    /* Content ist das untere Fenster VOR dem Laden (target) */
    position:relative;
    bottom: 0px;
    top: 240px;
    right: 0vw;
    left: 0vw;
    text-align:justify;
    z-index: 2;
    
    /* Probably for scrolling */
    overflow-y: hidden;
    overflow-x: hidden;
    padding-top: 0px;
    padding-bottom: 0px;
    
}



.social01 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 3.5em;
}

.social02 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 2.2em;
}

.social03 {
    position: absolute;
    color: lightgrey;
    top: 15px;
    right: 0.5em;
}


 /*  ALLE HINTERGRUNDBILDER */

.BGimage {
    /* Umfassungsdiv der Unterseiten für das Hintergrundbild */
    background-attachment: fixed;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    min-height: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
}

.img01 {
     background-image: url("../graphic/body.jpg");
}
.img02 {
    background-image: url("../graphic/body2.jpg");
}
.img03 {
    background-image: url("../graphic/body3.jpg");
}
.img04 {
    background-image: url("../graphic/body4.jpg");
}
.img05 {
    background-image: url("../graphic/body5.jpg");
}
.img06 {
    background-image: url("../graphic/body6.jpg");
}


.textarea {
    margin: 20px 12vw 50px 12vw;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.linkarea {
    /* Runde Abdunklung */
    display: block;
    border-radius: 0px 15px 15px 0px;
    margin: 20px 0px 50px 0px;
    padding: 10px 10px 10px 0px;
    opacity: 0.5;
    background-color: var(--bg-color);
    z-index: 3;
    overflow: hidden;
    position: absolute; 
    border: 2px solid var(--main-color);
    border-left: none;
    line-height: 170%;
}

.linkarea:hover {
    opacity: 0.9;
}

.impressumarea {
    /* Runde Abdunklung */
    margin: -20em 10vw 0vw 65vw;
    text-align:left;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.kontaktarea {
    /* Runde Abdunklung */
    margin: 0px 40vw 50px 10vw;
    z-index: 3;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
}

.text {
    /* globales wirkliches Textfeld */
    z-index: 5;
    overflow: hidden;
    margin: 0px 5vw 20px 5vw;
}

.textlink {
    /* link Textfeld */
    z-index: 5;
    overflow: hidden;
    margin: 0px 0px 0px 15px;
}

.textform {
    /* globales wirkliches Textfeld */
    z-index: 5;
    overflow: hidden;
    margin: 0px 5% 20px 0px;
}

.promotext {
    font-size: 0.9em;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 130%;
}

.promoheading {
    text-align:center; 
    height:2em;
}


                                    /* Tabelleneigenschaften für Einträge auf den Unterseiten */

table {
    width: 100%;
    height: 100%;
}

.tabletext {
    width: 60%;
    text-align: justify;
    padding-right: 1em;
    position:relative;
}

.width60 {
    width: 60%;
}

.width50 {
    width: 50%;
}

.width40 {
    width: 40%;
}

.widthall {
    width: 100%;
}

.centered {
    position:relative;
    margin:auto;
    text-align: center;
}


.tableimg {
    position: relative;
}

.promo {
    width: 30%;
    padding-right: 1em;
    padding-left: 1em;
    position: relative;
}



th {
    font-size: 2em;
    text-align: center;
}

#button {
    text-align: center;
}


/* Class für Skalierbare Bilder */

.scaling {
    width: 100%;
    border-radius: 0.5em;
}

/* Scaling für Videos */

.videocontainer {
    position: relative;
    /* 16:9 ratio erzwungen wenn yt mist baut */
	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;
}




                                                    /* "Tag-On" Classes */

.nohover {
    text-decoration: none !important;
}

.nohover:hover {
    color: var(--link-color) !important;
}


.scrolled {
    position: fixed;
    top: -185px;
}

.scrolled2 {
    position: fixed !important;
    top: 80px;
}

.hidden {
    visibility: hidden;
}

.hoverlink:hover{
    opacity: 0.65;
}

.with-background{
    /* Runde Abdunklung */
    opacity: 0.9;
    background-color: var(--bg-color);
    display: block;
    border-radius: 1.5em;
}

.smallfont{
    font-size: 0.8em;
}

.mark {
    color: var(--mark-color);
    font-weight: var(--mark-weight);
}

.fontroboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 140%;
}

.fontlato {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 140%;
}

.menulinks {
    -webkit-transition: max-height 0.5s; /* For Safari 3.1 to 6.0 */
    transition: max-height 0.5s;
    max-height:auto;
    
}

.activelink {
    background-color: var(--hover-color) !important;
}



/* -------------------------------------------------------------   MEDIA sachen  -------------------------------------------------------------- */


@media screen and (min-width: 1075px) and (max-width: 1460px){
    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;
    }
    
    .menulinks {
        max-height: 0em;
        margin-top: 0px;
        font-size: 1.4em;
        z-index: 15;
        margin-left: 10vw;
        margin-right: 10vw;
        border-radius: 0px 0px 10px 10px;
        
    }
    .open {
        max-height: 20em;
        -webkit-transition: max-height 0.5s; /* For Safari 3.1 to 6.0 */
        transition: max-height 0.5s;
        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;
        padding-right: 0em !important;
    }
    
    
    .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;
    }
}

