html {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

a:hover{
    color: #1971FF !important;
}

.scrollLock{
    overflow: hidden;
}

#global_start{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    background: rgba(255,255,255,0.8);
    text-align: center;
    cursor: pointer;
}

#global_action{
    font-size: 2em;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(145, 115, 67, 0.7);
}


.current_lang_de .en{
    display: none;
}

.current_lang_en .de{
    display: none;
}

#site_logo{
    position: fixed;
    top: 20px;
    left: 20px;
    text-align: center;
    z-index: 10;
}

#site_logo>a{
    display: inline-block;
}

#site_logo ul{
    clear: both;
    float: left;
    list-style: none;
    margin: 207px 0 0 0;
    padding: 5px;
    font-size: 1.5em;
    background: rgba(256,256,256,0.3);
    border-radius: 5px;
}

#site_logo ul li{
    float: left;
    margin: 0 5px;
}

#site_logo ul a{
    text-decoration: none;
    color: #917343;
}

.chapter{
    position: relative;
    width: 100vw;
    height: 100vh;
}

.chapter video{
    position: absolute;
    top: 0;
    left: 0;
    max-width: 75vw;
    max-height: 75vh;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.background_image{
    position: fixed;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(SA_FENSTER_v3.jpg) no-repeat center -10px scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.c2_overlay{
    position: absolute;
    display: none;
}

.c2_overlay img{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 5;
    -webkit-animation: pulsate 5s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.0
}

.c2_overlay .btn1{
    z-index: 10;
    position: absolute;
    background: transparent;
    display: block;
    -ms-transform: rotate(-24deg);
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
}

.c2_overlay .btn2{
    z-index: 11;
    position: absolute;
    background: transparent;
    display: block;
    -ms-transform: rotate(22deg);
    -webkit-transform: rotate(22deg);
    transform: rotate(22deg);
}

.c2_overlay .btn3 {
    z-index: 12;
    position: absolute;
    background: transparent;
    display: block;
}

@-webkit-keyframes pulsate {
    0% { opacity: 0.0;}
    50% {opacity: 0.35;}
    100% {opacity: 0.0;}
}


.btn_overlay{
    position: relative;
    z-index: 1000;
    display: none;
    background: #f2eeea;
    overflow-y: scroll;
    overflow-x: hidden;
}

.overlay_white{
    font-family: 'Handlee', cursive;
    color: #B79143;
    line-height: 1.4em;
    margin: 0 auto;
    width: 77%
}

.text_holder{
    padding: 0 10px 20px 10px;
}

.text_holder img{
    display: block;
    max-width: 100%
}

.text_holder hr{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #B79143;
    margin: 1em 0;
    padding: 0;
}



/*#btn2_overlay .text_holder img{
	float: right;
    margin: 0 3% 0 0;
}*/

.text_holder,
.bottom_nav{
    font-size: 2vh;
    line-height: 180%;
    letter-spacing: 1px;
}

.text_inner{
    width: 60%;
    margin: 2em auto 0 auto;
    clear: both;
}

.text_inner .upside_down{
    display: inline-block;
    -webkit-transform:rotate(-180deg);
    -moz-transform:rotate(-180deg);
    -o-transform:rotate(-180deg);
    transform:rotate(-180deg);
    ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}

.text_inner .nowrap{
    white-space: nowrap;
}

.text_inner a,
.bottom_nav a{
    color: #B79143;
    text-decoration: none;
}

.text_inner .line,
.text_inner .r_slide{
    clear: both;
    float: left;
    width: 100%;
}

.text_inner table{
    width: 100%;
}

.text_inner table td{
    width: 50%;
    vertical-align: top;
}

.close_overlay{
    color: #B79143;
    text-decoration: none;
    float: right;
    position: sticky;
    top: 20px;
    right: 20px;
    font-size: 2.5vh;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
}

#btn5_overlay .text_holder{
    padding: 20px 10px;
}

#btn5_overlay .text_inner{
    width: 100%;
}

.site_services{
    display: none;
    position: fixed;
    left: 50%;
    bottom: 0;
    padding: 5px 20px;
    font-family: 'Handlee', cursive;
    color: #B79143;
    background: rgba(256,256,256,0.7);
    transform: translate(-50%, -50%);
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.site_services a{
    color: #B79143;
    text-decoration: none;
}

#lang_switch{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
}

#lang_switch img {
    width: 1.5em;
    margin: 5px 0 0 0;
}

#lang_switch a{
    float: right;
}

.mute,
.sound,
.topEmail{
    margin: 0 10px 0 0;
    font-size: 1.5em;
    color: #917343;
    text-decoration: none;
}

.sound{
    display: none;
}

.replay{
    display: none;
    position: absolute;
    z-index: 2;
    color: #fff;
    text-decoration: none;
    font-family: 'Handlee', cursive;
    font-size: 2em;
}

.timeBar-holder{
    display: none;
    position: absolute;
    z-index: 3;
    display: block;
}

.timeBar{
    background: #917343;
    height: 4px;
    display: block;
    width: 0;
}

#map {
    display: block;
    width: 100%;
    height: 700px;
    margin: 10px 0;
}

.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}


@media only screen and (max-width: 500px) and (orientation: portrait){
    .text_inner {
        width: 100%;
        margin: 0;
        clear: both;
    }
    .header {
        float: left;
        width: 100%;
        background: rgba(255,255,255,0.5);
        z-index: 2000;
        position: fixed;
    }
    #site_logo{
        float: left;
        position: unset;
        margin: 0.5em;
    }
    #site_logo img{
        width: 8vw;
    }
    #site_logo ul{
        margin: 0;
        top: 1.7em;
        font-size: 5vw;
        position: absolute;
        background: none;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    #lang_switch img{
        margin: 0.3em 0 0 0;
    }
    #lang_switch{
        font-size: 5vw;
        float: right;
        margin: 0.7em 0.5em 0 0;
        position: unset;
    }
    .bottom_nav .nav_spacer{
        display: none;
    }
    .bottom_nav a{
        float: left !important;
        clear: both;
    }
}

@media only screen and (max-width: 750px) and (orientation: landscape) {
    #site_logo{
        top: 10px;
        left: 10px;
    }
    #site_logo ul{
        margin: 157px 0 0 0;
        background: rgba(256,256,256,0.5);
    }
    #site_logo ul li{
        float: none;
    }
    #lang_switch{
        top: 10px;
        right: 10px;
    }
    #lang_switch a{
        font-size: 2em;
        clear: both;
        float: left;
        margin: 0;
    }
    .AT_flag,
    .IR_flag{
        width: 1em !important;
    }
}