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

body {
    font-family: 'Open Sans', Tahoma, Arial, sans-serif;
}

.bg {
    background: url(../images/bg-lg.jpg) no-repeat; 
    background-size: cover;
    height: 210px;
margin-bottom:100px;
    position: relative;
}

.bg h1 {
    bottom: 5px;
    color: #fff;
    font-size: 2rem;
    left: 10px;
    margin-bottom: 0;
    position: absolute;
    text-shadow: 0 1px 1px #000;
}

.logo {
    display: block;
    margin: 15px auto;
}

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

.button {
    background: #034878;
    color: #fff;
    display: inline-block;
    padding: 3px 10px;
    text-decoration: none;
}

#bar {
    background: #fff;
    box-shadow: 0 0 5px #000;
    left: 0;
    padding: 10px 0;
    position: fixed;				
    right: 0;
    top: 0;
    z-index: 9999;
}

#bar strong {
    display: inline;
    font-size: 12px;             
}

#bar ul {
    clear: both;
    display: none;
    list-style: none outside none;
    padding: 10px 0 0 0;
    transition: height 1s linear;
}

#bar li a:hover {
    background: #034878;
    color: #fff;    
}

#bar li a {
    display: block;
    padding: 10px 5px;
}

#bar img {
	float: left;
	padding: 0 10px;
}

#menu {
    display: inline-block;
    float: right;
    padding: 4px 16px 3px;
    width: 20px;
}

#menu span {
    border-bottom: 3px solid #aaa;
    border-top: 3px solid #aaa;
    display: inline-block;
    height: 9px;
    position: relative;
    width: 100%;
}

span:after {
    background: none repeat scroll 0 0 #aaa;
    content: "";
    height: 3px;
    position: absolute;
    right: 0;
    top: 3px;
    width: 100%;
}

#content {
    font-size: 14px;
    height: 100%;
    margin: 50px auto 0;
padding: 30px;
}

h1 {
    font-size: 24px;
    font-weight: normal;
}

h2 {
    font-size: 18px;
    font-weight: normal;
}

h1 + h2 {    
    color: #aaa;
    font-size: 14px;
    font-style: italic;
    margin-top: 0;
}

.no-bottom-margin {
    margin-bottom: 0;
}

h3 {
    font-size: 16px;
}

.italic {
    font-style: italic;
}

ul.visible {
	display: block !important;
}

.slider {
	padding: 0;
}
.slider img {
	max-width: 100%;
}

/* Mobile Portrait */
/* @media only screen and (max-width: 400px) {
    .bg {
        background: url(/images/background-750.jpg) no-repeat; 
        background-size: cover;
        height: 210px;
    }
} */

/* Mobile Landscape */
@media only screen and (min-width: 401px) {

}

/* Tablet Portait */
@media only screen and (min-width: 640px) and (max-width: 1024px) /*and (orientation : portrait)*/ {
    #bar {
        padding: 10px 0;
    }
    
    #bar strong, #menu {
        display: none;
    }
    
    #bar ul {
        display: block;
        margin: 0;
		padding: 0 80px;
    }
    
    #bar li, #bar li a {
        display: inline;
    }
    
    #bar li a {
        padding: 10px;
        margin-right: 10px;
    }

    #bar img {
            display: none;
    }

    body, #content {
        height: auto;
    }
    
    #content {
        margin: 50px auto 0;
        padding: 10px 80px;
    }
    
    .underline {
        border-bottom: 1px solid #000;
    }
    
    li {
        text-align: left;
    }
	
    .logo {
        display: inline;
        float: right;
        margin: 0 0 0 15px;
    }

    .gallery {
        margin: 0 auto;
        width: 600px;
    }
}

/* Tablet Landscape 
@media only screen and (min-device-width: 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}*/

/* Tablet Landscape & Desktop */
@media only screen and (min-width: 1024px) {
    
    #bar {
        padding: 10px 0;
    }
    
    #bar strong, #menu {
        display: none;
    }
    
    #bar ul {
        display: block;
        margin: 0 0 0 25%;
		padding: 0;
        width: 50%;
    }
    
    #bar li, #bar li a {
        display: inline;
    }
    
    #bar li a {
        padding: 10px;
        margin-right: 10px;
    }
	
	#bar img {
		display: none;
	}

    body, #content {
        height: auto;
    }
    
    #content {
        margin: 50px auto 0;
        width: 50%;
    }
    
    .underline {
        border-bottom: 1px solid #000;
    }
    
    li {
        text-align: left;
    }
	
    .logo {
        display: inline;
        float: right;
        margin: 0 0 0 15px;
    }
    
    .gallery {
        margin: 0 auto;
        width: 600px;
    }
    
}