* {
    box-sizing: border-box;
    -webkit-transition: all ease-in-out 0.25s;
       -moz-transition: all ease-in-out 0.25s;
         -o-transition: all ease-in-out 0.25s;
            transition: all ease-in-out 0.25s;
}


html, body {
    display: block;
    width: 100%;
    font-family: sans-serif;
    padding: 0em;
    margin: 0em;
    color: #666;
    background: #fff;
    background-attachment: fixed;
    overflow-x: hidden;
    font-weight: 300;
}

a {
    color: #263237   ;
    text-decoration: none;
}

a:hover {
    color: #ffe326;
    text-decoration: underline;
}

a.auto {
    text-decoration: none!important;
    cursor: text!important;
    color: #666;
}

h1 a.auto{
    text-decoration: none!important;
    cursor: text!important;
    color: #ffe326!important;
}

h2 a.auto, h3 a.auto, h4 a.auto, h5 a.auto, h6 a.auto{
    text-decoration: none!important;
    cursor: text!important;
    color: #555!important;
}


h2, h3, h4, h5, h6{
    color: #555;
    font-family: 'Oswald', sans-serif;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 160%;
    margin: 0em;
    padding: 1em 3em;
    color: #ffe326!important;
}

h2, h3 {
    clear: both;
    padding-top: 1em;
    font-family: 'Oswald', sans-serif;
}
h2.left, h3.left, p.left {
    text-align: left;
}


em {
    font-style: italic;
}

aside {
    display: block;
    padding: 5em 0em 4em 0em;
    width: 100%;
    color: #fff;
    z-index: 998;
    font-size: 150%!important;
    margin: 0em auto;
    text-align: center;
    position: relative;
    font-family: 'Oswald', sans-serif;
    text-shadow: 0em 0em 0.5em rgba(0,0,0,0.5);
}
.home aside {
    padding: 0em;
    font-size: 150%;
}

aside a {
    color: #fff;
}

aside a:hover {
    color: #a64341;
}

a.button {
    text-decoration: none!important;
}

button {
    background: #263237;
    box-shadow: 0em 0.25em 0.5em rgba(0,0,0,0.2);
    color: #ffe326;
    border: none;
    padding: 0.5em 1em;
    line-height: 1.5em;
    font-size: 110%;
    border-radius: 0.25em;
    margin: 1em 1em 3em 0em;
    display: block;
    font-family: 'Oswald', sans-serif;
    text-decoration: none!important;
}

button:hover {
    cursor: pointer;
    text-decoration: none!important;
    box-shadow: 0em 0.35em 1em rgba(0,0,0,0.1);
    background: #ffe326;
    color: #263237;
}

nav {
    display: block;
    position: relative;
    z-index: 999;
    width: 100%;
    margin: 0px auto;
    padding: 0em;
    min-height: 11em;
    text-align: center;
}

nav ul {
    text-align: center;
    margin: 0em;
    padding: 1em;
    display: inline-block;
    min-height: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0em;
    left: 0em;
}

nav ul li {
    display: inline-block;
    height: 20px;
    line-height: 11px;
    width: auto;
    margin: 0px 2em;
    text-align: center;
}

nav ul li a {
    margin: 0em;
    padding: 0em;
    color: #fff;
    text-align: center;
    padding: 2em 1em 1em 1em;
    font-family: 'Oswald', sans-serif;
}

nav ul li a:hover {
    color: #ffe326 ;
}

.bg {
    background: #263237;
    box-shadow: 0em 0em 0.5em rgba(0,0,0,0.5);
}

.bg li a {
    color: #ffe326;
}

header {
    width: 100%;
    margin: 0px auto;
    background: #fff;
    z-index: 998;
    position: relative;
    display: block;
    background: #fff url('../images/bg.jpg') no-repeat top center / cover;
    height: auto;
}

.home header {
    background: #fff url('../images/bg.jpg') no-repeat top center / cover;
    min-height: 100%;
    min-height: 100vh;
}

header #logo {
    height: 10em;
    display: block;
    margin: 0px auto;
    clear: both;
}


.home header #logo {
    height: 15em;
}


#intro {
    width: 100%;
    font-weight: 900;
    z-index: 997;
    clear: none;
background: #263237;
    padding: 4em 10em;
}

#slideshow {
    text-align: center;
    display: block;
    width: 100%;
    clear: both;
    padding: 2em 2em 1em 2em;
}

.slideshow {
    width: auto;
    display: inline-block;
}

.slidescontainer {
    width: 571px;
    height: 323px;
    overflow: hidden;
    display: block;
    box-shadow: 0em 0em 1em rgba(0,0,0,0.5);
}

#slides {
    height: 323px;
    width: 1713px;
    display: block;
    position: relative;
}

.slide1 .img1 {
    opacity: 1;
    z-index: 1;
}.slide1 .img2 {
    opacity: 0;
    z-index: -1;
}.slide1 .img3 {
    opacity: 0;
    z-index: -1;
}

.slide2 .img1 {
    opacity: 0;
    z-index: -1
}.slide2 .img2 {
    opacity: 1;
    z-index: 1;
}.slide2 .img3 {
    opacity: 0;
    z-index: -1;
}

.slide3 .img1 {
    opacity: 0;
    z-index: -1;
}.slide3 .img2 {
    opacity: 0;
    z-index: -1;
}.slide3 .img3 {
    opacity: 1;
    z-index: 1;
}

#slides img {
    position: absolute;
    left: 0em;
    top: 0em;
    -webkit-transition: all ease-in-out 1s;
       -moz-transition: all ease-in-out 1s;
         -o-transition: all ease-in-out 1s;
            transition: all ease-in-out 1s;
}

article {
    margin: 0px auto;
    position: relative;
    background: #fff;
    display: block;
}

section {
    display: block;
    width: 100%;
    margin: 0em auto;
    clear: both;
    width: 1100px;
}

#body {
    padding: 2em 4em;
}

#body img{
    margin: 1em auto;
    display: block;
}

#gallery img {
    float: left;
    margin: 1em;
    height: 200px;
}

ul.hide {
    list-style:none;
    clear: both;
}

ul.hide li {
    padding: 0.5em;
}

#closer {
    width: 100%;
    display: block;
    background: #fff;
}

#closer h3 {
    max-width: 1100px;
    margin: 0px auto;
    padding: 1em 3em;
    text-align: center;
    color: #263237
}

#closer h3 a {
    color: #263237!important;
}

footer {
    background: #263237;
    width: 100%;
    margin: 0px auto;
    clear: both;
}

footer nav {
    border: 0px;
    background: #263237;
    padding-bottom: 3em;
}



footer nav ul {
    display: block;
    float: none;
    width: 100%;
    clear: both;
    position: relative;
}
footer nav ul li a {
    color: #ffe326;
    background: none transparent!important;
}

footer p {
    font-family: 'Oswald', sans-serif;
    text-align: right;
    color: #ffe326;
    margin: 0px;
    padding: 1em;
}

footer p a {
    color: #ffe326!important;
    
}

.spread {
    width: 100%;
    display: block;
    text-align: center;
}

.spread p, .spread span, .spread li, .spread div .spread a span, .spread img{
    display: inline-block!important;
    margin: 2em!important;
    float: none!important;
}

.spread a span {
    width: auto;
    margin-bottom: 2em;

}

@media (max-width: 1100px) {
    section, article, header, nav, footer, #intro{
        width: 100%;
    }
}

@media (max-width: 800px) {

.slidescontainer {
    width: 400px;
    height: 226px;
    overflow: hidden;
    display: block;
}

#slides img {
    width: 400px;
}
}

@media (max-width: 712px) {
    p {
     clear: both;   
    }
    iframe {
        padding-bottom: 20px;
    }
}


@media (max-width: 1200px) {
    header #logo {
        position: relative;
    }
    nav ul {
        margin: 0px auto 2em auto;
        float: none;
        clear: both;
        width: 100%;
        padding-bottom: 1em;
        height: auto;
    }
    nav {
        padding: 1em;
    }
}

@media (max-width: 590px) {
    #intro {
        padding: 1em;
    }
    aside {
        text-align: center;
        padding: 1em;
        color: #fff;
        text-shadow: 0em 0em 0.2em rgba(0,0,0,0.4);
    }
    aside a {
        color: #fff;
    }
    iframe {
        width: 250px!important;
        height: 187px!important;
        padding-bottom: 20px;
    }
    #slideshow {
     padding: 2em 0em 1em 0em;   
    }
    #body img{
        width: 250px;
        clear: both;
        float: none;
        padding: 0px;
        margin: 0px;
    }
    
#body .spread img {
    margin: 1em 0px!important;
}
    
    header #logo {
        width: 90%;
        height: auto;
        padding: 2em 0em 0em 0em;
        margin: 0em auto;
        display: block;
        float: none;
        clear: both;
    }
    nav {
        padding: 0em 1em;
    }
    nav ul {
        float: none;
        clear: both;
        display: block;
        width: 100%;
        margin: 0px auto!important;
    }
    nav ul li {
        margin: 0px auto;
        display: inline-block;
        padding: 1em!important;
        text-align: center;
    }
    nav ul li a {
        text-align: center;
        padding: 0px;
    }
}