
@media only screen and (max-width: 565px) {
.container_12 .grid_12,.container_12{width:100%;}
.page-id-2{background:#08366a; width:100%;}

.page-id-2 img{width:100%; height:auto;}
#slider,#before_content,.social-link-email,#home_content,.facebook-front-links,#footer,#after_content{display: none}
#slider-wrapper{height: 100%;}
.mobile-text{display: block; text-align: center; width: 100%; color: #fff;}
.mobile-images{display: block; width: 100%; background: #08366a;}
.mobile-images img{width: 100% height: auto; margin-bottom: 0; float: left; clear: both;background: #08366a;}
#slider-wrapper{margin-bottom: 0;}	
#topnav{display:none;}

.page-template-page-halfpage #main #content {
    width: 89%;
}
#content {
    padding: 35px 0 0 5%;
    min-height: 600px;
}

}

@media (max-width: 850px) {
.page-template-page-halfpage #main #content {
    width: 89%;
}
#content {
    padding: 35px 0 0 5%;
    min-height: 600px;
}
}