html {
    font-size: 16px;
}
body {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background-color: windowframe;
    
}
.button{
    color: transparent;
}
p, h1{
    font-family: 'Helvetica Neue';
    font-size: 14px;
    font-weight: 400;
    color: #494949;

}

h1 {
    font-size: 17px;
}

.firstpic {
        background-image: url(../img/kandkop.png);
        background-repeat: no-repeat;
        margin: 0 auto;
        background-color: #a39480;
        background-position: center 1.2em;
        background-size: 80% auto;
        width: 70%;
        height: 70%;
}
.wrapperhide {
   visibility: hidden;
}

.wrappershow {
   visibility: visible;
}
* {
    margin: 0;
    padding: 0;
}
a {
    cursor: pointer;
}
img { 
    width: 100%;
    height: auto;
    
}
video {
    cursor: pointer;
}
header {
  /*  background: none repeat scroll 0 0 #c4c4c4;
    position: sticky;*/
    /*height: 189px;*/
    top: 0;
    /*width: 1024px;*/
    z-index: 100;
}
#wrapper_content {
    padding-top: 30px;
}
header nav {
    display: none;
}

#wrapper {
    background-color: #a39480;
    min-height:900px;
    margin: 0 auto;
    max-width: 1024px;
}
section, section.right {
    background-color: #13BCC8;
    width: 30%;
    float: right;
    margin: 10px 15px; 
    color: grey;
    min-height: 300px;
    border: 1px solid grey;
 }
section.left {
    float: left;
}
section.middle {
    float: left;
}
section.impressum {
    width: 96%;
    margin: 20px;
    
}


article {
    font-family: 'Helvetica Neue';
    padding: 10px 20px;
    font-size: 1.2em;
    color: #9b856b;
    text-align: center;
}
.unten {
    font-family: cursive;
    padding: 80px;
    
}
aside {
    background-color: #13BCC8;
    width: 30%;
    float: right;
}

.clear {
    float: none;
    clear: both;
}
footer {
    background-color: #998267;
    height: 100%;
    max-height: 75px;
    min-height: 44px; 
    position: fixed;
    bottom: 0;
    padding: 0px;
    text-align: center;
    width: 1024px;
}
#footer_nav {
    display: inline-block;
    padding-right: 22px;
}
#footer_nav a {
    color: cadetblue;
    text-decoration: none;
    display: inline-block;
    
}
#footer_nav li {
    display: inline-block;
    padding-top: 1.2em;
}
/* *************************************     media querys      **************************** */

@media only screen and (min-width: 1400px) and (max-width: 1450px){
    body {
        background-image: url(../img/pepperbigone.jpg);
        background-repeat: no-repeat;
        margin: 0 auto;
        background-color: #997755;
        background-position: center top;
        
    }
    #wrapper {
        display: none;
    }

}
@media only screen and (max-width: 1024px) {
    body {
        background-color: #a39480;
    }    
    #wrapper, footer {
        width: 100%;
}
    section, section.left, section.middle {
        width: 44%;
        min-height: 400px;
    }
    section.middle {
        float: right;
    }
    section.right {
        width: 96%;
        min-height: 400px;        
    }

}
@media only screen and (max-width: 800px) {
    body {
        background-color: #a39480;
    }    
    #wrapper, footer {
        width: 100%;
}
    section {
        width: 44%;
        min-height: 400px;
        top: 141px;
    }
    section.middle {
        float: right;
    }
    section.right, section.impressum {
        width: 95%;
        min-height: 400px;        
    }

}
@media only screen and (max-width:600px) and (min-width:500px) {
    body {
        background-color: #a39480;
    }    
    #wrapper, footer {
        width: 100%;
}
    section {
        width: 43%;
        min-height: 400px;
        top: 135px;
    }
    section.middle {
        float: right;
    }
    section.right, section.impressum {

        width: 94%;
        min-height: 400px;        
    }

}
@media only screen and (max-width:499px) {
    body {
        background-color: #a39480;
    }    
    #wrapper, footer {
        width: 100%;
}
    section, section.right, section.left, section.impressum, section.middle {
        width: 91%;
        min-height: 400px;
        top: 84px;
        float: none;
    }
}


/* iPad in portrait */    
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {
    
    #wrapper, footer {
        width: 768px;
        
    }
    #wrapper {
        min-height: 1000px;
    }
    section, section.right, section.left, section.impressum, section.middle  {
        float: none;
        width: 96%;
        min-height: 700px;
        top: 150px;
        }
    }
    
/* iPad in landscape */    
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 2) {
     
    #wrapper, footer {
        width: 1024px;
    }
    #wrapper {
        min-height: 500px;
    }
    section, section.left,, section.right, section.impressum, section.midlle {
      /*  float: none; */
        min-height: 400px;
        top: 189px; 
    }
    section.left {
        width: 44%;
        float: left;
    }
    section.middle {
        width: 44%;
        float: right;
    }
    section.right {
        width: 96%;  
    }

    
  }
/* iPad mini in landscape */    
@media only screen and (min-device-width : 480px) and (max-device-width : 640px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1) {
    #wrapper, footer {
        width: 640px;        
        
   }
   #wrapper {
        min-height: 400px;
    }

    section, section.right, section.left, section.middle, section.impressum {
        float: none;
        width: 96%;
        min-height: 300px;
        top: 189px;
    }

}


/* iPhone5 in landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
    #wrapper, footer {
        width: 568px;
    }
    #wrapper {
        min-height: 800px;
    }

    footer {
        height:45px;
    }
    section, section.right, section.left, aside, section.impressum {
        float: none;
        width: 96%;
        min-height: 250px;
        top: 95px;
        margin: 0 auto;

    }
}
/* iPhone4 in landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) {
    #wrapper, footer {
        width: 480px;
    }
    #wrapper {
        min-height: 300px;
    }

    section, section.right, section.left, section.impressum {
        float: none;
        width: 96%;
        min-height: 200px;
        top: 95px;
        margin: 0 auto;
    }
    footer {
        height:45px;
    }
 } 
/* iPhone4 in portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) {
    #wrapper, footer {
        width: 320px;
    }
    #wrapper {
        min-height: 300px;
    }

    section, section.right, section.left, section.impressum {
        float: none;
        width: 94%;
        min-height: 200px;
        top: 65px;
        margin: 0 auto;
    }
    footer {
        height:45px;
    }
}
