@font-face { 
    font-family: 'vollkorn';
    src: url('fonts/Vollkorn-Regular.ttf') format('truetype'); 
}

@font-face { 
    font-family: 'roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype'); 
}

body {
    margin: 0;
    padding: 0;
    background-color: #fffaec;
    font-family: roboto, sans-serif, arial;
    color: #3f3f3e;
    font-size: 16px;
    overflow-x: hidden;
    transition: all 0.5s;
}

.wrapper{
    width: 1400px;
    margin: auto;
    transition: all 0.5s;
}

#header{
    margin: auto;
    background-color: #fff;
    transition: all 0.5s;
}

#header img{
    width: 350px;
    height: auto;
    margin: 35px 35px 35px 0;
    transition: all 0.5s;
}

#nav{
    list-style:none;
    float: right;
    margin: 75px 0 0 0;
    padding: 0;
    transition: all 0.5s;
}

#nav li{
    display: inline-block;
    font-family: vollkorn;
    margin-left: 30px;
    font-size: 135%;
    transition: all 0.5s;
}

#nav li:first-child{
    margin-left: 0;
}

#nav li a[href]:link, #nav li a[href]:visited{
    text-decoration: none;
    color: #3f3f3e;
}

#nav li:last-child a[href]:link, #nav li:last-child a[href]:visited{
    text-decoration: none;
    color: #9c9b9b;
    padding-left: 15px;
    border-left: 3px solid #ffcd1d;
}

#nav li a[href]:hover{
    border-bottom: 3px solid #ffcd1d;
}

#nav li:last-child a[href]:hover{
    border-bottom: none;
}

#nav li a[href].active{
    border-bottom: 3px solid #ffcd1d;
    font-weight: bold;
}

#menuToggle{
    display: none;
    position: relative;
    top: 0px;
    left: 25px;
    padding-bottom: 25px;
    z-index: 10001;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;  
    cursor: pointer;  
    opacity: 0;
    z-index: 10002;  
    -webkit-touch-callout: none;
}

#menuToggle span{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #4c5842;
    border-radius: 3px;
    z-index: 10001;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
}

#menuToggle span:first-child{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2){
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #4c5842;
}

#menuToggle input:checked ~ span:nth-last-child(3){
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2){
    transform: rotate(-45deg) translate(0, -1px);
}

#menu{
    position: absolute;
    width: auto;
    margin: -50px 0 0 -50px;
    padding-left: 50px;
    padding-top: 75px;  
    padding-right: 25px;
    background: #fffaec;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;  
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);  
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li{
    padding: 10px 0;
    width: auto;
    font-size: 120%;
}

#menu li:last-child{
    border-top: 3px solid #ffcd1d;
}

#menu li a[href]:link, #menu li a[href]:visited{
    text-decoration: none;
    color: #3f3f3e;
}

#menu li a[href].active{
    border-bottom: 3px solid #ffcd1d;
    font-weight: bold;
}

#menu li a[href]:hover{
    border-bottom: 3px solid #ffcd1d;
}

#menu li:last-child a[href]:hover{
    border-bottom: none;
}

#menu li:last-child a[href]:link, #menu li:last-child a[href]:visited{
    text-decoration: none;
    color: #9c9b9b;
}

#menuToggle input:checked ~ ul{
    transform: none;
}

#headerimage{
    height: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    top: 0px;
    z-index: 1;
    white-space: nowrap;
}

#headerimage .picture{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#headerimage .picture.active {
    z-index: 3;
}

#cta{
    position: absolute;
    top: 385px;      
    padding: 15px;
    right: calc((100% - 1400px) / 2);
    border: 6px solid #fff;
    z-index: 3000;
    transition: all 0.5s;
}

#cta a{
    font-size: 200%;
    color: #fff;
    padding: 3px 7px 3px 7px;
    font-family: vollkorn;
    background-color: #ffcd1d;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s;
}

#content{
    margin: auto;
    width: 920px;
    margin-top: -500px;
    padding: 550px 0 50px 0;
    font-family: roboto;
    color: #3f3f3e;
    transition: all 0.5s;
}

#content h1{
    font-size: 175%;
    color: #4c5842;
    font-family: vollkorn;
    text-transform: uppercase;
    font-weight: normal;
    transition: all 0.5s;
}

#content h2{
    font-size: 135%;
    color: #4c5842;
    font-family: vollkorn;
    text-transform: uppercase;
    font-weight: normal;
    transition: all 0.5s;
}

#content h3{
    font-size: 120%;
    color: #3f3f3e;
    font-family: roboto;
    font-weight: bold;
    transition: all 0.5s;
}

#content a[href]:link, #content a[href]:visited, #content a[href]:hover{
    text-decoration: none;
    color: #4c5842;
} 

#content hr{
    height: 0px;
    color: #ffcd1d;
    border-bottom: 3px solid #ffcd1d;
}

#content .CMSImage{
    max-width: 100%;
    height: auto;
}

.widget_gallery_main_container{
    text-align: center;
}
.widget_gallery_container{
    position: relative;
    width: 920px;
}

.widget_gallery_container:hover .gallery_left a, .widget_gallery_container:hover .gallery_right a{
    display: block;
}

.widget_gallery_container .gallery_left a{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}
.widget_gallery_container .gallery_left a img{
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -20px;
}

.widget_gallery_container .gallery_right a{
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    box-sizing: border-box;
    width: 50%;
    display: none;
    opacity: 0.6;
}
.widget_gallery_container .gallery_right a img{
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -20px;
}
.widget_gallery_container .gallery_left a:hover, .widget_gallery_container .gallery_right a:hover{
    opacity: 1;       
}

.widget_gallery_main_container .big_img img{
    margin: 0px;
    width: auto;
}
.widget_gallery.little_images{
    padding: 0px 30px;
    max-height: 81px;
    overflow-x: hidden;
}
.widget_gallery.little_images img{
    margin: 11px;
    height: 50px;
    width: auto;
}
.widget_gallery.little_images img:hover{
    opacity: 0.6;
}

#bottom{
    background-color: #ffcd1d;
}

#footer{
    padding: 20px 0 10px 0;
    list-style:none;
    transition: all 0.5s;
}

#footer li{
    display: inline-block;  
    vertical-align: top;
    margin-left: 275px;
    transition: all 0.5s;
}

#footer li:first-child{
    margin-left: 0; 
}

#footer li a[href]:link, #footer li a[href]:visited, #footer li a[href]:hover{
    text-decoration: none;
    color: #4c5842;
}

#footer li:last-child a[href]:link, #footer li:last-child a[href]:visited, #footer li:last-child a[href]:hover{
    text-decoration: none;
    color: #fff;
    font-size: 350%;
    text-align: right;
}

#credits{
    padding: 20px 0 20px 0;
    list-style:none;
    transition: all 0.5s;
    font-size: 80%;
}

#credits li{
    display: block;  
    vertical-align: top;
    transition: all 0.5s;
}

#credits li a[href]:link, #credits li a[href]:visited, #credits li a[href]:hover{
    text-decoration: none;
    color: #4c5842;
}

#cookiemessage{
    position: fixed;
    bottom: 0px;
    font-size: 13px;
    width: 100%;
    z-index: 9999;
    display: none;
    border-top: 3px solid #3f3f3e;
}
#cookiemessage .content{
    box-sizing: border-box;
    margin: 0px auto;
    background-color: #ffcd1d;
    padding: 10px;
    text-align: center;
}
#cookiemessage p{            
    display: inline;
    padding: 10px 15px;
    vertical-align: middle; 
    width: 100%;    
    color: #3f3f3e;
}
#cookiemessage button{
    padding: 5px 30px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    color: #fff;
    background-color: #4c5842;
}
#cookiemessage a{
    text-decoration: none;
    color: #4c5842;
}

#cookiemessage a:hover{
    text-decoration: none;	
    color: #4c5842;
}

#cookieMoreInfoText{
    padding: 10px;
    color: #3f3f3e;
    text-align: justify;
}

@media (max-width: 1420px){
    .wrapper{ width: 1200px; }
    #header img{width: 230px;}    
    #nav{ margin: 65px 0 0 0; }
    #nav li{ font-size: 120%; }
    #headerimage{ height: 450px; }
    #cta{ top: 335px;  right: calc((100% - 1200px) / 2); }
    #cta a{ font-size: 180%; }
    #content{ width: 900px; margin-top: -450px; padding: 500px 0 50px 0; }
    .widget_gallery_container{ width: 900px }
    #footer li{ margin-left: 210px; }
}

@media (max-width: 1220px){
    .wrapper{ width: 900px; }
    #header img{width: 230px; margin: 25px 25px 25px 0;}
    #nav{ margin: 0 0 0 0; float: none; padding-bottom: 25px;}
    #nav li{ font-size: 110%; }
    #headerimage{ height: 350px; }
    #cta{ top: 310px;  right: calc((100% - 900px) / 2); }
    #cta a{ font-size: 160%; }
    #content{ width: 650px; margin-top: -350px; padding: 400px 0 50px 0; }
    .widget_gallery_container{ width: 650px; }
    .widget_gallery_main_container .big_img img{ max-width: 650px; }
    #footer li{ margin-left: 110px; }
}

@media (max-width: 920px){
    .wrapper{ width: auto; }
    #header img{ margin-left: 25px; }
    #nav { display: none; }
    #menuToggle { display: block; }
    #headerimage{ height: 250px; }
    #cta{ display: none; }
    #content{ margin-left: 25px; margin-right: 25px; width: auto; margin-top: -250px; padding: 300px 0 50px 0; }
    .widget_gallery_container{ width: auto; }
    .widget_gallery_main_container .big_img img{ max-width: 100%; }
    #footer li{ display: block; margin-left: 25px; margin-bottom: 25px; }
    #footer li:first-child{ margin-left: 25px; }
    #credits li{ margin-left: 25px; }
}
