@media all and (max-width: 1199px) and (min-width: 240px) {

	.container{

		width:100%;

		box-sizing: border-box;

	}

	

	header .container{

		width:100%;

		margin:0;

		padding: 0;

	}

}







@media all and (max-width: 959px) and (min-width: 481px) {

	/* items are not quite 1/3 wide */

	.item {

	  width: 33.33%;

	  float: left;

	  margin-right:0;

	}

	

	.item:nth-child(4n+0) > a {

		margin-right:20px;

	}

	

	.item:nth-child(3n+0) > a {

		margin-right:0;

	}

	

}



@media all and (max-width: 480px) and (min-width: 240px) {

	/* items are not quite 1/1 wide */

	.item {

	  width: 100%;

	  float: left;

	}

	

	.item a {

		margin-right:0;

	}

}



@media all and (max-width: 960px){

	*[class^=w-].res-m-100{width:100%;}

	*[class^=w-].res-m-90{width:90%;}

	*[class^=w-].res-m-80{width:80%;}

	*[class^=w-].res-m-70{width:70%;}

	*[class^=w-].res-m-66{width:66.666%;}

	*[class^=w-].res-m-60{width:60%;}

	*[class^=w-].res-m-50{width:50%;}

	*[class^=w-].res-m-40{width:40%;}

	*[class^=w-].res-m-33{width:33.333%;}

	*[class^=w-].res-m-30{width:30%;}

	*[class^=w-].res-m-25{width:25%;}

	*[class^=w-].res-m-20{width:20%;}

	*[class^=w-].res-m-10{width:10%;}

}





@media all and (max-width: 480px){

	*[class^=w-].res-s-100{width:100%;}

	*[class^=w-].res-s-90{width:90%;}

	*[class^=w-].res-s-80{width:80%;}

	*[class^=w-].res-s-70{width:70%;}

	*[class^=w-].res-s-66{width:66.666%;}

	*[class^=w-].res-s-60{width:60%;}

	*[class^=w-].res-s-50{width:50%;}

	*[class^=w-].res-s-40{width:40%;}

	*[class^=w-].res-s-33{width:33.333%;}

	*[class^=w-].res-s-30{width:30%;}

	*[class^=w-].res-s-25{width:25%;}

	*[class^=w-].res-s-20{width:20%;}

	*[class^=w-].res-s-10{width:10%;}

}



@media all and (max-width: 960px) and (min-width: 240px) {

	html, body{
		overflow-x: hidden !important;
	}
	

	.pad-30-0{

		padding:25px 0;

	}

	

	.pad-40-0, .pad-45-0, .pad-50-0{

		padding:30px 0;

	}

	

	.pad-0-30{

		padding:0 25px;

	}

	

	.pad-0-40, .pad-0-45, .pad-0-50{

		padding:0 30px;

	}

	

	.pad-30{

		padding:25px;

	}

	

	.pad-40, .pad-45, .pad-50{

		padding:30px;

	}

		

	.w-45.logo{
		padding: 0 10px !important;
		width: 85% !important;
		position: relative;

	}

	.w-45.logo:after{
	    position: absolute;
	    right: -1px;
	    top: 0;
	    background: url(../img/bftsmall.png) right no-repeat;
	    width: 52px;
	    height: 43px;
	    content: "";
	    background-size: 100%;
	}


	.w-45.logo img.w-100{

		width: 83% !important;
    	margin: 0;

	}

	

	header .row .w-12.hdlinks.res-s-25 {

		width: 15% !important;
		padding: 0 10px !important;
		text-align: center;

	}

	header .row .w-12.hdlinks.res-s-25 span{
		display: none;
	}

	header .row .w-12.hdlinks.res-s-25 span.icon-tel{
		display: inline-block;
		padding: 0;
	}


	header nav .hdlinks a.w-100{
		padding: 9px 7px 5px;
		margin-top: 4px;
	}



	header .row .w-45.res-s-30.logo2 img{

		width: 100% !important;

	}



	header {

		padding: 5px 10px;

		box-sizing: border-box;

	}



	header .hd,

	header .row .w-45.res-s-30.logo2,

	header .row .w-12.hdlinks.res-s-25 .txt-just{

		display: none;

	}



	header .w-50.res-s-30 .row[data-spacing="20"]{

		margin: 0;

	}



	header .w-50.res-s-30 .row[data-spacing="20"] div[class^="w-"]{

		padding: 0;

	}



	header .w-50.res-s-30 .row[data-spacing="20"] .w-75.res-s-100{

		display: none;

	}



	.home-our-clients .services-box{

		width: calc(33.333% - 4px);

	}



	.home-our-clients .services-box:nth-child(3n+3) .services-max {

	    border-right: 0

	}



	.listheight.categlist > .w-55.res-s-100 > .row > .tbl,

	.listheight.categlist > .w-55.res-s-100 > .row > .tbl > div,

	.listheight.categlist > .w-55.res-s-100 > .row > .tbl > div > div{

		display: block;

		width: 100%;

	}



	.categmainimg, .master-slider, .itemdetailspad{

		padding-top: 60px;

	}



	.categmainimg .img-bg{

		padding: 15% 0;

	}



	.map::after{

		display: none;

	}



	.map .w-50:first-child{

		margin-bottom: 25px;

	}



	.master-slider .ms-bullets.ms-dir-h {

		bottom: 5px;

	}



	.breadcrumb ~ .fr,

	.inspdf > *{

		padding: 20px 0 10px;

		width: 100%;

	}

	

	a.pdf{

		padding: 5px 10px;

		margin: 15px 0;

		width: 100%;

		box-sizing: border-box;

		text-align: center;

	}



	a.pdf img{

		width: 25px;

	}



	h1{font-size:2.1em;}

	h2{font-size:1.8em;}

	h3{font-size:1.5em;}

	h4{font-size:1.3em;}

	h5{font-size:1em;}



	.txt-edit,

	footer > *,

	footer > .sign,

	.respad,

	.breadcrumb{

		padding-left: 20px;

		padding-right: 20px;

	}



	.slider-nav.slick-slider{

		margin-bottom: 40px;

	}



	.slider-nav.slick-slider .slick-dots{

		    bottom: -25px;

	}



	.spectitle{

		padding: 0 20px;

	}



	.desktoptitle{

		display: none !important;

	}



	.mobtitle{

		display: block;

	}



	.ms-sl-selected.ms-slide .ms-slide-bgcont{

		transform: scale(1.02);

	}



	.scrolldown-icon.scrolldown-icon-home{

		display: none;

	}



	.ms-skin-default .ms-nav-next, .ms-skin-default .ms-nav-prev{

		-webkit-transform: scale(.75);

		-ms-transform: scale(.75);

		-o-transform: scale(.75);

		transform: scale(.75);

	}



	.lgrey-bg.pad-tb-40.row{
		background: #fff;
    	color: #2b2b2b;
	}

	.home-our-clients .services-max{
		padding: 10px;
	}

	/*footer{
		background: rgba(0,0,0,.1);
    	color: #2b2b2b;
	}*/

	.ms-sl-selected.ms-slide .ms-slide-bgcont{
		transform: scale(1.15);
	}

	.mobilequote{
		display: block;
	}

}
