@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:1023px) {
#hdr #logo{position:static;left:auto;top:auto;transform:none;}
#nav{text-align:center;position:relative;padding:10px 0;}
}

@media only screen and (max-width:920px) {
body{font-size:85%;}
}

@media only screen and (max-width:820px) {
	#about2 .cols div:last-of-type{width:100%;height:400px;}
#about2 .cols div:first-of-type{width:100%;}
}

@media only screen and (max-width:639px) {
	#services{padding-bottom:80px;}
	#services div div:nth-of-type(2){width:100%;color:#fff;padding:10px 70px;border-left:none;border-right:none;}
	#services div div{border:none!important;}

	#nav ul{display:block;padding:0 20%;text-align:center;}
	#nav ul li{width:100%!important;margin:0 auto;}
	#nav ul li a{padding:10px 12px;border-radius:0;}
	#nav ul li:hover a,#nav ul li.selected a{}
	#nav-toggle{cursor:pointer;display:inline-block;/*margin:0 15px 0 0;*/position:absolute;top:26px;right:20px;z-index:2000;}
}