@media only screen and (max-width:1599px) {
/*LIGHTBOX*/
.lightbox .lb-image {
/*responsive*/width:auto!important;height:auto!important;
/*responsive - stop image upscaling*/max-width:100%!important;margin:0 auto;
}
.lb-outerContainer {/*responsive*/max-width:80%;height:auto!important;width:auto!important;}
.lb-dataContainer {/*responsive*/max-width:80%;height:auto!important;width:auto!important;}

#hdr,#ftr,#nav ul{padding-left:20px;padding-right:20px;}

}

@media only screen and (max-width:1000px) {
.cols2575{flex-direction:column;}.cols2575 div{width:100%;}.cols2575 div:first-child{width:100%;margin-right:0%;margin-bottom:40px;border:none;}	
}

@media only screen and (max-width:820px) {
.cols5050{display:block;}.cols5050 div{width:100%;}.cols5050 div:first-child{margin-right:0%;margin-bottom:40px;}
.cols6040{display:block;}.cols6040 div{width:100%;}.cols6040 div:first-child{width:100%;margin-right:0%;margin-bottom:40px;}
.cols4060{display:block;}.cols4060 div{width:100%;}.cols4060 div:first-child{width:100%;margin-right:0%;margin-bottom:40px;}
.cols6633{flex-direction:column;}.cols6633 div{width:100%;}.cols6633 div:first-child{width:100%;margin-right:0%;margin-bottom:40px;}
.cols3366{flex-direction:column;}.cols3366 div{width:100%;}.cols3366 div:first-child{width:100%;margin-right:0%;margin-bottom:40px;}
.text-col{margin-bottom:0px!important;}.text-col p,.text-col h2{text-align:center;}
}
@media only screen and (max-width:739px) {
.grid{justify-content:left;}
.grid333 div{width:48%;-webkit-flex-basis:48%;-moz-flex-basis:48%;flex-basis:48%;margin:1%;}

}

@media only screen and (max-width:639px) {
.cols333{display:block;}.cols333 div{width:100%;}.cols333 div:nth-child(2){margin-right:0%;margin-left:0;margin-bottom:30px;margin-top:30px;}
.grid{display:block;}
.grid5050 div{width:98%;margin:1%;}
.grid333 div{width:98%;margin:1%;}
}



@media only screen and (max-width:1600px) {

}

@media only screen and (max-width:1340px) {

}


@media only screen and (max-width:1200px) {

}


@media only screen and (max-width:1080px) {
	#hdr{text-align:center;}

}

@media only screen and (max-width:1000px) {


}

@media only screen and (max-width:980px) {
#contact-form .cols5050{display:block;}
#contact-form .cols5050 div:first-child,#contact-form .cols5050 div{display:block;width:100%;margin-bottom:0;}
}


@media only screen and (max-width:939px) {
	#mobile-logo{display:inline-block;}
	#nav{padding:0 0 30px 0;}
	#nav ul{display:block;background:#fff;padding:0 20%;text-align:center;}
	#nav ul li{width:100%!important;background:#fff;border-top:1px solid #224D56;margin:0 auto;}
	#nav ul li a{padding:10px 12px;}
	#nav ul li:hover a,#nav ul li.selected a{background-position:0 50%;}
	#nav-toggle{cursor:pointer;display:block;margin:0 15px 0 0;position:absolute;top:50%;right:0px;z-index:200;}
	#nav ul li:nth-child(1){display:none;}
}	

	
@media only screen and (max-width:859px) {

	#banner{height:50vw;}
	.slide-content{font-size:170%;}
	.slide-content a{font-size:70%!important;}
	
	
}

@media only screen and (max-width:820px) {
	#content{padding-bottom:60px;}
	#content h2{padding:0 0 30px 0;}
	.content-img{height:50vw;}
	#content p{padding-top:0;}
}



@media only screen and (max-width:759px) {
#page-title h1{font-size:240%;}
#banner{height:70vw;}
#page-intro{font-size:150%;}
#page-outro{font-size:150%;}#page-outro a{font-size:80%;}
#home-panels div{width:100%;-webkit-flex-basis:100%;-moz-flex-basis:100%;flex-basis:100%;}
#home-panels div:nth-of-type(1){order:1;height:50vw;}
#home-panels div:nth-of-type(2){order:2;background:#000;color:#fff;}
#home-panels div:nth-of-type(3){order:3;height:50vw;}
#home-panels div:nth-of-type(4){order:4;background:#fff;}
}

@media only screen and (max-width:639px) {
	.slide-content{font-size:170%;}
	.slide-content span{display:block;padding:50px 20px;}
	.slide-content a{font-size:70%!important;}
	
	#page-title h1{font-size:180%;}
	#page-intro{font-size:120%;}
	#page-intro a{font-size:90%;}
	#page-outro{padding:140px 0px 60px 0px;background-position:50% 30px;}
	#page-outro p{padding:0;font-size:75%;background:none;}
	
}


@media only screen and (max-width:519px) {
#banner{height:90vw;}
.slide-content{background:rgba(255,255,255,.80);}
}





@media only screen and (max-width:479px) {


}
