/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v19-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Roboto'), local('Roboto-Regular'),
    url('../fonts/roboto-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto-v19-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

Body, Html, main {
    width: 100%;
    height: 100%;
}

Html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

Body {
    position: relative;
    overflow: hidden;
    margin: 0px;
    min-width: 320px;
    background: #ffffff no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header, main, section, article, footer, div, p, a, li, ul, img, input, nav, h1, h2, h3, h4, h5 {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
    text-align: left;
}

img {
    border: none;
}

Body,a,td,th,br,input,select,textarea,h1,h2,h3,h4 {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 32px;
    line-height: 42px;
    text-decoration: none;
    color: #333333;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, .Untertitel{
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 44px;
    text-decoration: none;
    color: #333333;
    line-height: 54px;
    margin: 0px 0px 0px 0px;
}

.Textnormal {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 32px;
    line-height: 42px;
    text-decoration: none;
    color: #333333;
    margin: 0px 0px 0px 0px;
}

p, span {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 32px;
    line-height: 42px;
    text-decoration: none;
    color: #333333;
    margin: 0px 0px 0px 0px;
}



.Space5 {
    display: block;
    font-size: 5px;
    line-height: 5px;
    height: 5px;
}

.Space10 {
    display: block;
    font-size: 10px;
    line-height: 10px;
    height: 10px;
}

.Space15 {
    display: block;
    font-size: 15px;
    line-height: 15px;
    height: 15px;
}

.Space20 {
    display: block;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
}

.Space30 {
    display: block;
    font-size: 30px;
    line-height: 30px;
    height: 30px;
}

.Space40 {
    display: block;
    font-size: 40px;
    line-height: 40px;
    height: 40px;
}

.Space75 {
    display: block;
    font-size: 75px;
    line-height: 75px;
    height: 75px;
}


.fancybox-inner img{
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 20px auto;
}



/* == GLIDER == */

.glide__slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: left;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.glide__slides{
    margin: 0;
}


/* == Text Container == */

.glide .glide__text {
    top: 18%;
    left: 2%;
    width: 90%;
    z-index: 300;
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.8s ease-in-out;
    -moz-transition: opacity 0.8s ease-in-out;
    -ms-transition: opacity 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-in-out;
    transition: opacity 0.8s ease-in-out;
}
.glide .glide__text__content{
    font-size: 32px;
    line-height: 44px;
    width: 26%;
    display: block;
}
.glide .glide__slide--active .glide__text{
    opacity: 1;

}

.glide .glide__slide .glider__title{
    font-size: 80px;
    line-height: 100px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

a.glide__link{
    color: inherit;
    margin-top: 15px;
    font-weight: 400;
    height: 55px;
    display: block;
    cursor: pointer;
}
a.glide__link:hover{
    opacity: 1;
    text-decoration: underline;
}

a.glide__link svg {
    height: 22px;
    width: 22px;
    margin: 0 10px;
}
a.glide__link path {
    fill: #ffffff;
}

.linkcontainer{
    margin: 15px 0 50px 0;
    display: inline-block;
    height: 55px;
}
.linkcontainer .link{
    height: 55px;
    width: 55px;
    margin-left: 15px;
    margin-bottom: -15px;
    -webkit-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    background: transparent url(../images/layout/link.svg) no-repeat center;
    background-size: contain;
    display: inline-block;
}

/* == Colored Divs == */

.glide .glide__upper{
    top: -55%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: 0;

    position: relative;
    width: 150%;
    height: 35%;
    left: -25%;
    z-index: 200;
 }

.glide .glide__slide--active .glide__upper{
    top: -2%;
    opacity: 1;
}
.glide .glide__overlay {
    z-index: 999;
    opacity: 0;
    text-align: right;
    position: absolute;
    right: -45px;
    top: 120px;
    font-size: 18px;
}
.glide .glide__slide--active .glide__overlay {
    opacity: 1;
}

.glide .glide__slide .glide__left{
    left: -50%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    padding: 0;
    max-width: none;
    top: 0%;
    height: 150%;
    width: 52%;
    z-index: 250;
    position: absolute;
}
.glide .glide__slide .glide__right{
    left: 120%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    padding: 0;
    max-width: none;
    top: 0%;
    height: 150%;
    width: 60%;
    z-index: 250;
    position: absolute;
}
.glide .glide__slide--active .glide__left{
    left: -25%;
}
.glide .glide__slide--active .glide__right{
    left: 95%;
}
.glide .glide__slide--active .glide__right,
.glide .glide__slide--active .glide__left,
.glide .glide__text,
.glide .glide__slide--active .glide__upper{
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    transform: rotate(-5deg);
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}


/* == Arrows & Bullets == */

.glide .glide__arrows {
    bottom: 6%;
    z-index: 250;
    top: auto;
    position: absolute;
    width: 100%;
}
.glide__bullets{
    bottom: 3%;
}
.glide__bullets .glide__bullet--active {
    background-color: rgb(255,255,255);
}
.glide__bullet{
    background-color: rgba(255,255,255,0.5);
    border-radius: 0;
    border:none;
    height: 25px;
    width: 25px;
    margin: 15px;
    outline: none;
}
.glide--horizontal .glide__bullets {
    left: 10%;
    width: 80%;
}
.glide__bullet--active,
.glide__bullet:hover{
    background-color: rgba(255,255,255,0.5);
    border:none;
}
.glide__arrow.glide__arrow--left,
.glide__arrow.glide__arrow--right{
   border-radius: 0;
    background-color: transparent ;
    width: 75px;
    height: 90px;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 0;
    margin: 0 10px;
}
.glide__arrow.glide__arrow--left{
    background: transparent url(../images/layout/arrow_left.svg) no-repeat center;
    background-size: contain;
    left: 0;
}
.glide__arrow.glide__arrow--right{
    background: transparent url(../images/layout/arrow_right.svg) no-repeat center;
    background-size: contain;
    right: 0;
}
.glide__arrow:hover{
    opacity: 0.8;
}

/* == Videos & Images (Fullscreen) == */

#Videos, #Images{
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
#Videos.visible, #Images.visible{
    display: block;
    z-index: 300;
}

.wrapper{
    display: none;
    overflow: hidden;
    position: absolute;
    background-color: #000000;
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    z-index: 100;
}
img.loader {
    height: auto;
    width: 4%;
    position: absolute;
    top: 46%;
    left: 48%;
    z-index: 400;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
 }
.wrapper.visible{
    display: block;
}
video:focus{
    outline: none;
}

video{
    max-width: 90%;
    margin: auto;
    display: block;
}
video.fullscreen, img.detail{
    z-index: 500;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}



#Videos .close, #Images .close {
    position: absolute;
    background: rgba(255,255,255,0.5) url(../images/layout/close.svg) no-repeat center;
    background-size: 50% auto;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

iframe {
    height: 100%;
    width: 100%;
}


figure{
    margin: 0;
}
figure.small{
    position: relative;
}
figure.small video{
    max-height: 750px;
}

/* controls */
.controls, .controls > * {
    padding:0;
    margin:0;
}
.controls {
    overflow:hidden;
    background:transparent;
    width:80%;
    height:4%; /* of figure's height */
    position:absolute;
    bottom: 40px;
    right: 10%;
    left: 10%;
    z-index: 999;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.controls.small{
    opacity: 0;
    bottom: 10px;
}
figure:hover .controls.small{
    opacity: 1;
}
.controls[data-state=hidden] {
    display:none;
}
.controls[data-state=visible] {
    display:block;
}
.controls > * {
    float:left;
    width:4.5%;
    height:100%;
    margin-left:0.5%;
    display:block;
}
.controls > *:first-child {
    margin-left:0;
}
.controls .progress {
    cursor:pointer;
    width:65%;
}
.controls button {
    text-align:center;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    border:none;
    cursor:pointer;
    text-indent:-99999px;
    background:transparent;
    background-size:contain;
    background-repeat:no-repeat;
    border-radius: 3px;
}


.controls button:hover, .controls button:focus, .subtitles-menu li button:hover, .subtitles-menu li button:focus,
.subtitles-menu li button[data-state="active"] {
    opacity:0.5;
}
.controls button[data-state="play"] {
    background: #333333 url(../images/layout/play.svg) no-repeat center;
    background-size: 20px;}
.controls button[data-state="pause"] {
    background: #333333 url(../images/layout/pause.svg) no-repeat center;
    background-size: 20px;}
.controls button[data-state="stop"] {
    background: #333333 url(../images/layout/stop.svg) no-repeat center;
    background-size: 20px;}



.controls button[data-state="subtitles"] {
    background: #333333 url(../images/layout/sub.svg) no-repeat center;
    background-size: 31px;
    height:100%;
    font-size:16px;
    font-weight:bold;
    color:#fff;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
}
.controls progress {
    display:block;
    width:100%;
    height:81%;
    margin-top:2px;
    margin-top:0.125rem;
    border:none;
    overflow:hidden;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    color:#0095dd; /* Internet Explorer uses this value as the progress bar's value colour */
}
.controls progress[data-state="fake"] {
    background:#e6e6e6;
    height:65%;
}
.controls progress span {
    width:0%;
    height:100%;
    display:inline-block;
    background-color:#2a84cd;
}
.controls progress::-moz-progress-bar {
    background-color:#0095dd;
}
/* Chrome requires its own rule for this, otherwise it ignores it */
.controls progress::-webkit-progress-value {
    background-color:#0095dd;
}



.subtitles-menu {
    display:none;
    position:absolute;
    bottom: 100px;
    right: 10%;
    background:rgba(255,255,255, 0.8);
    list-style-type:none;
    margin:0;
    width:auto;
    padding: 5px 10px 10px 10px;
    font-size: 18px ;
    z-index: 1000;
}

.subtitles-menu li {
    padding:0;
    text-align:center;
}


.subtitles-menu li button {
    border: none;
    color: #fff;
    cursor: pointer;
    width: 100%;
    padding: 7px 10px;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    background-color: #555555;
}

.controls .progress.large {
    width:85%;
}
.controls .progress.large progress{
    width:100%;
}


/* SPECIAL CASES */

/* Mehr.WERT.Garten */
#a-0 .linkcontainer{
    padding: 10px 100px 10px 17px;
    -webkit-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    box-shadow: 6px 6px 5px 0px rgba(0,0,0,0.6);
    position: absolute;
    right: 0;
    max-width: 480px;
    margin: 0;
    height: auto;
    background-color: rgb(88,197,199);
 }

#a-0 .linkcontainer .glide__link{
    display: block;
    margin: 0;
    font-size: 28px;
    line-height: 38px;
    height: auto;
}

#a-0 .linkcontainer .link{
    bottom: 0;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    box-sizing: border-box;
    display: inline-block;
}

/* Abfall Quiz */

#a-3 .linkcontainer{
    background-color: transparent;
    top: 35%;
    position: absolute;
    left: 45%;
}

#a-3 .linkcontainer .link{
    display: none;
}

#a-3 .linkcontainer .qrcode{
    padding: 25px;
    background-color: #ffffff;
    height: 250px;
    width: 250px;
}

/* goldschatz */
#a-7 .linkcontainer.corner{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    margin: 0;
    width: 100px;
    height: 100px;
    opacity: 0;
}


/* sponsoren */
#a-9 h1.glider__title{
    margin-left: 30%;
}


/* partner */
#a-10 .glide__upper{
    display: none;
}

/* partner */
#a-11 .glide__upper,
#a-11 .glide__left,
#a-11 .glide__right{
    display: none;
}
