html, body
{
    margin: 0px;
    height:100%;
    
}

body
{
    background: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
}

div.container
{
    background-color:#ffffff;
    width: 100%;
    height:100%;
    margin: 0 auto;
    text-align: center;
    display: table;    
}

div.metanav
{
    background-color: #f1f2ef;
    color: #b4aea6;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    text-align: right;
    padding-right: 20px;
}

a.metanav, span.metanav
{
    color: #b4aea6; 
    text-decoration: none;
    top: 10px;
    position: relative;
    margin-left: 10px;
}

span.navHi
{
    color: #b71223;;
}

div.navitem
{
    float: left;
}


div.navitem.zweites
{
    clear: both;
}

div.navitem.letztes
{
    clear: both;
}

div.logo
{
    margin-top: 40px;
}

div.slidenav
{
    margin: 40px 20px 30px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;   
}

a.slidenav
{
    color: #7e7466; 
    text-decoration: none;  
    margin-left: 15px;    
    background-color:#f1f2ef;
    padding:2px 6px;
}


a.slidenav:hover
{
    color: #b71223;     
}

span.slidenav.aktiv
{
    color: #b71223; 
    text-decoration: none;  
    margin-left: 15px;  
    background-color:#f1f2ef;
    padding:2px 6px;   
}

a.slidenav.erster, span.slidenav.erster
{
     margin-left: 0;    
}

ul.rslides
{
}

a.rslides_nav.prev
{ 
    width: 20px;
    height: 20px;
    background-color: #ff0000;
}

a.rslides_nav.next
{ 
    
}

div.rahmengalerie
{
    border: 2px solid #d8d5d1;
    margin-top: 40px;
    display: table;
    margin: 0 auto;
    padding: 10px;
    clear: both;
}

h2
{
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #7e7466;    
}

h3
{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 0;
}

p.caption
{
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #7e7466; 
    margin: 1px;
}

img.slide
{
    margin-bottom: 18px;
}

div.button
{
    border-radius: 25px;
    height: 50px;
    width: 50px;
    background-color: #f1f2ef;
    background-image: url('../img/button_play.png');
    margin: 10px auto 0 auto;
    cursor:pointer;
}

    form
    {
        width:380px;
        margin:20px auto 0 auto;
        text-align:left;
    }
    
    input.formular
    {
        margin-top:5px;
        margin-bottom:15px;
    }
    
    .formularfehler
    {
        color:#b71223;
    }

    #player1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
    }

    #player2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
    }

    video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
    }

    div.responsivevideo {
        position: relative;
        height: 0;
        padding-top:25;
        padding-bottom: 74.8%;
        margin-top: 20px;
        //overflow: hidden;
    }

    img.videoabstand {
         width:100%;
        height:auto;
        border:1px solid #ff0000;
        display:table;' 

    }


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 10px) and (max-width:479px){
    div.container
    {
        width: 100%;       
    }
    
    img.logo
    {
        width: 80%;
    }
    
    div.rahmengalerie
    {
        width: 306px;
        height: 306px;
    }
    
    h2
    {
        font-size: 16px;
    }
    
    p.caption
    {
        font-size: 15px;
    }
    
    img.weiterleitung
    {
        width: 80%;
    }  
  
    div.slidenav.zweizeilig
    {
        display: inherit;
    }
    
    div.slidenav.einzeilig
    {
        display: none;
    }     
    
    a.slidenav.oben, span.slidenav.oben
    {
        position: relative;
        top: -10px; 
    }       
    
    p.haftung
    {
        margin:0 20px;
    }       
    
}

@media only screen and (min-width: 480px) and (max-width:564px){
    div.container
    {
        width: 100%;       
    }
        
    div.rahmengalerie
    {
        width: 416px;
        height: 416px;
    }
    
    h2
    {
        font-size: 16px;
    }
    
    p.caption
    {
        font-size: 15px;
    }
    
    img.weiterleitung
    {
        width: 80%;
    }  
    
    div.slidenav.zweizeilig
    {
        display: inherit;
    }
    
    div.slidenav.einzeilig
    {
        display: none;
    }     
    
    a.slidenav.oben, span.slidenav.oben
    {
        position: relative;
        top: -10px; 
    }    
    
    p.haftung
    {
        margin:0 20px;
    }       

}

@media only screen and (min-width: 565px)  and (max-width:840px){
       div.container
    {
        width: 100%;       
    }
    
    div.rahmengalerie
    {
        width: 500px;
        height: 500px;
    }
    
    img.weiterleitung
    {
        width: 80%;
    }   
    
    div.slidenav.zweizeilig
    {
        display: inherit;
    }
    
    div.slidenav.einzeilig
    {
        display: none;
    }     
    
    a.slidenav.oben, span.slidenav.oben
    {
        position: relative;
        top: -10px; 
    }    
    
    
    p.haftung
    {
        margin:0 40px;
    }       
}

@media only screen and (min-width: 841px)  and (max-width:920px){
       div.container
    {
        width: 100%;       
    }
    
    div.rahmengalerie
    {
        width: 500px;
        height: 500px;
    }
    
    img.weiterleitung
    {
        width: 80%;
    }   

    div.slidenav.zweizeilig
    {
        display: inherit;
    }
    
    div.slidenav.einzeilig
    {
        display: none;
    }     
    
    a.slidenav.oben, span.slidenav.oben
    {
        position: relative;
        top: -10px; 
    }
    
    div.slidenav.zweizeilig
    {
        display: none;
    }
    
    div.slidenav.einzeilig
    {
        display: inherit;
    }   
    
    p.haftung
    {
        margin:0 40px;
    }    
}

@media only screen and (min-width: 921px)  and (max-width:3000px)
{
    div.container
    {
        width: 100%;       
    }
    
    div.rahmengalerie
    {
        width: 730px;
        height: 680px;
    }
    
    img.weiterleitung
    {
        width: 80%;
    }   
    

    div.slidenav
    {
        display: none;
    }
    
    
    div.slidenav.zweizeilig
    {
        display: none;
    }
    
    div.slidenav.einzeilig
    {
        display: inherit;
    }       
    
    p.haftung
    {
        width: 500px;
        margin:0 auto;
    }
    
}

@media only screen and (min-height: 850px)  and (max-height:860px)
{
    div.rahmengalerie
    {
        max-width: 600px;
        max-height: 480px;
    }
}

@media only screen and (min-height: 800px)  and (max-height:849px)
{
    div.rahmengalerie
    {
        max-width: 550px;
        max-height: 450px;
    }
}

@media only screen and (min-height: 750px)  and (max-height:799px)
{
    div.rahmengalerie
    {
        max-width: 450px;
        max-height: 400px;
    }
}

@media only screen and (min-height: 700px)  and (max-height:749px)
{
    div.rahmengalerie
    {
        max-width: 400px;
        max-height: 350px;
    }
}

@media only screen and (min-height: 650px)  and (max-height:699px)
{
    div.rahmengalerie
    {
        max-width: 350px;
        max-height: 300px;
    }
}

@media only screen and (min-height: 600px)  and (max-height:649px)
{
    div.rahmengalerie
    {
        max-width: 300px;
        max-height: 250px;
    }
}