@CHARSET "UTF-8";

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit; 
}

html,
body {
    width: 100%;
    
    color: #543F37;
    background: #FCE7CD;
    
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

h1 {
    color: #CC4A1C;
}

ul {
    margin: 10px 0;
}

ul li {
    margin-left: 30px;
}

p {
    margin-bottom: 10px;
}

#page {
    
}

#header {
    font-size: 1.3em;
    
    color: #43682a;
    background: #ffffff;
    
    width: 100%;
    line-height: 50px;
}

#logo {
    margin-left: 10px;
    height: 50px;
    
    padding-left: 45px;
    background: url( 'logo.png' ) no-repeat left center;
    background-size: 30px auto;
}

#slide {
    position: relative;
    
    width: 100%;
    height: 70vh;
    min-height: 350px;
    
    border-top: 1px solid #543F37;
    border-bottom: 1px solid #543F37;
    
    background: url( 'slide.jpg' ) no-repeat center;
    background-size: cover;
}

#slideDescription {
    position: absolute;
    
    left: 20px;
    bottom: 20px;
    
    line-height: 1.5em;
    
    padding: 10px;
    
    width: 50%;
    
    color: #ffffff;
    background: rgba( 84, 63, 55, .8 );
}

#content .inner {
    margin: 15px 30px;
}

#content a,
#content a:visited,
#content a:active {
    color: #CC4A1C;
}

#content a:hover {
    color: #543F37;
}

#content img {
    width: 280px;
    
    border: 1px solid #543F37;
}

.col {
    width: 50%;
    float: left;
}

.clearFix {
    clear: both;
}

.inner {
    margin: 10px;
}

#footer {
    position: relative;
    
    color: #ffffff;
    background: #543F37;
    
    width: 100%;
    min-height: 250px;
}

#footer a,
#footer a:visited,
#footer a:active {
    color: #ffffff;
}

#footer a:hover {
    color: #FCE7CD;
}

#copyright {
    position: absolute;
    
    width: calc( 100% - 20px );
    
    font-size: 0.8em;
    
    text-align: center;
    
    bottom: 10px;
}

@media  screen and (max-width: 767px),
        screen and (max-device-width: 767px),
        screen and (max-height: 767px) and (orientation:portrait),
        screen and (max-device-height: 767px) and (orientation:portrait) {

    html,
    body {
        font-size: 14px;
    }

    .col {
        float: none;
        
        width: 100%;
        
        margin-bottom: 20px;
    }
    
    #footer {
        min-height: 50px;
    }
}

@media  screen and (max-width: 639px),
        screen and (max-device-width: 639px),
        screen and (max-height: 639px) and (orientation:portrait),
        screen and (max-device-height: 639px) and (orientation:portrait) {

    #slideDescription {
        font-size: 0.9em;
        width: 80%;
    }

}
