/* --------------------------------------------------- 
MEDIA_QUERIES.CSS contains responsive design style to
effect the design layout based on screen resolution
--------------------------------------------------- */



/* Small Screens / Tablets */
@media screen and (max-width: 940px) {
	
	html {
	-webkit-text-size-adjust:none;
	}
		html,body {background-color:#44352c;}
		
		img {
		max-width: 100%;
		height: auto;
		width: auto\9; /* ie8 */
		}
		
		embed,
		object,
		iframe,
		.map-holder {
		max-width:100%;
		width:100%;
		height:auto;
		}
		
		
	.img-left,
	.img-right {
	max-width:50%;
	}
		
	
	#container1 {
	width:100%;
	}
	
	#container2 {
	width:100%;
	}
	
		#top-nav {
		width:30%;
		}

		#header #search {}
		
			#header #search #search-box-input {
			width:150px;
			}
	

	#navigation {
	height:auto;
	padding:5px 28px 3px 28px;
	}
		#navigation ul li {
		width:19%;
		margin-right:1%;
		margin-bottom:2px;
		}
	
		#navigation a {
		float:none;
		display:block;
		text-align:center;
		padding-left:0px;
		background-color:#e3dad4;
		}
			#navigation a strong,
			#navigation a b {
			height:36px;
			line-height:36px;
			background-color:#e3dad4;
			padding-right:0px;
			padding-bottom:0;
			}
			
		#navigation li:nth-child(5n+5) {margin-right:0%;}
		#navigation li:nth-child(5n+6) {clear:left;}
	
	
	
	.blue-header,
	.green-header,
	.brown-header,
	.light-header {
	min-height:190px;
	}
	
	
		
	#image-rotator {
	overflow:hidden;
	}
		#slider {height:auto !important;}
	
		#slider .slider-text {
		width:50%;
		bottom:-45%;
		}
	
	#slidebox {display:none;}
	
	
	
	#footer .footer-left,
	#footer .footer-middle {
	width:50%;
	border-right:none;
	padding-right:0px;
	}
	
	#footer .footer-right {
	clear:both;
	width:100%;
	border-top:solid #514137 1px;
	padding:10px 0 10px 0;
	}
	
	

	#desktop-link {display:inline;}
	
	
	.product-item {
	width:32%;
	margin-right:2%;
	}
			
		.products-holder div:nth-child(4n+4) {margin-right:2%;}
		.products-holder div:nth-child(4n+5) {clear:none;}
		.products-holder div:nth-child(3n+3) {margin-right:0%;}
		.products-holder div:nth-child(3n+4) {clear:both;}
	
}



/* Small Tablets */
@media screen and (max-width: 650px) {
	
	
	#navigation {padding:5px 28px 2px 28px;}
		#navigation ul li {
		width:32%;
		margin-right:2%;
		margin-bottom:3px;
		}
	
		#navigation a {}
			#navigation a strong,
			#navigation a b {}
			
		#navigation li:nth-child(5n+5) {margin-right:2%;}
		#navigation li:nth-child(5n+6) {clear:none;}
		#navigation li:nth-child(3n+3) {margin-right:0%;}
		#navigation li:nth-child(3n+4) {clear:left;}
	
	
	.blue-header,
	.green-header,
	.brown-header,
	.light-header {
	min-height:280px;
	}
	
	
		#slider .slider-text {
		width:70%;
		bottom:-40%;
		}
	
	#frontbox {}
		
		#frontbox .frontbox-item-white,
		#frontbox .frontbox-item-black {
		width:100% !important;
		}
			#frontbox .frontbox-item-white h2,
			#frontbox .frontbox-item-black h2 {
			font-size:18px;
			line-height:22px;
			}
	
	
	/* Services */
	.services-holder .services-item .services-item-text {width:70%;}
	.services-holder .services-item .services-item-image {width:25%;}

	.services-holder-grid-side .services-item .services-item-text,
	.services-holder-grid-side .services-item .services-item-image {width:100%;}
	
	.services-holder-grid-under .services-item {
	width:30%;
	margin-right:5%;
	}
		.services-holder-grid-under div:nth-child(4n+4) {margin-right:5%;}
		.services-holder-grid-under div:nth-child(4n+5) {clear:none;}
		.services-holder-grid-under div:nth-child(3n+3) {margin-right:0%;}
		.services-holder-grid-under div:nth-child(3n+4) {clear:left;}
	
	
	
	/* Testimonials */
	.testimonial-holder .testimonial-item .testimonial-text {width:50%;}
	
	.testimonial-holder .testimonial-item .testimonial-image,
	.testimonial-holder .beforeafter-holder .beforeafter-item {width:45%;}
	
	
	/* Staff */
	.staff-holder-grid .staff-item {
	width:100%;
	}
	
	
	/* Gallery */
	.gallery-holder .gallery-item {
	width:30%;
	margin-right:5%;
	}
	
	.gallery-holder .gallery-item-textover {
	width:30%;
	margin-right:5%;
	}
	
		.gallery-holder div:nth-child(3n+3) {margin-right:0%;}
		.gallery-holder div:nth-child(3n+4) {clear:left;}

	.gallery-cat-holder .gallery-item {
	width:45%;
	margin-right:10%;
	}
	
		.gallery-cat-holder div:nth-child(2n+2) {margin-right:0%;}
		.gallery-cat-holder div:nth-child(2n+3) {clear:left;}
		
	.gallery-cat-holder .gallery-item-textover {
	width:45%;
	margin-right:10%;
	}
	
	
	/* Before and After */
	.beforeafter-holder .beforeafter-item {
	width:45%;
	margin-right:10%;
	}
		.beforeafter-holder div:nth-child(3n+3) {margin-right:10%;}
		.beforeafter-holder div:nth-child(3n+4) {clear:none;}
		.beforeafter-holder div:nth-child(2n+2) {margin-right:0%;}
		.beforeafter-holder div:nth-child(2n+3) {clear:left;}
		
	
	/* Videos */
	.video-holder .video-item {
	width:45%;
	margin-right:10%;
	}
		.video-holder div:nth-child(3n+3) {margin-right:10%;}
		.video-holder div:nth-child(3n+4) {clear:none;}
		.video-holder div:nth-child(2n+2) {margin-right:0%;}
		.video-holder div:nth-child(2n+3) {clear:left;}
		
		
	.product-item {
	width:47%;
	margin-right:6%;
	}
			
		.products-holder div:nth-child(3n+3) {margin-right:6%;}
		.products-holder div:nth-child(3n+4) {clear:none;}
		.products-holder div:nth-child(2n+2) {margin-right:0%;}
		.products-holder div:nth-child(2n+3) {clear:both;}
		
		
	form {}
	
		form .form-item {}

		form .label,
		form .label2 {
		margin-bottom:2px;	
		}

		form .label,
		form .label2,
		form .input,	
		form .select,
		form .checkbox,
		form .radio,
		form .textarea,
		form .label-padding,
		form .subbut {
		width:100%;
		margin-left:0%;
		}
	
}



/* Phones */
@media screen and (max-width: 480px) {

	html {
	-webkit-text-size-adjust:none;
	}
		
		img {
		max-width: 100%;
		height: auto;
		width: auto\9; /* ie8 */
		}
		
		embed,
		object,
		iframe,
		.map-holder {
		max-width:100%;
		width:100%;
		height:auto;
		}
		
		
	ul {}
	ul li {
	line-height:26px;
	padding-bottom:8px;
	background-position:0 7px;
	}
		
	
	#container1 {
	width:100%;
	}
	
	#container2 {
	width:100%;
	}
	
	
	#header {
	height:auto;
	}
		#header #logo {
		width:100%;
		display:inline-block;
		}
			#header #logo img {
			width: 100%;
			}
			
			#top-nav,
			#header #search {display:none;}
		
		
	#navigation {
	height:auto;
	font-size:18px;
	line-height:20px;
	color:#ffffff;
	padding:14px 20px 10px 20px;
	}
		#navigation ul {
		margin:0 0 0 0;
		padding:0 0 0 0;
		}
			#navigation ul li {
			float:none;
			width:100%;
			display:block;
			line-height:18px;
			margin-bottom:0px;
			}
	
		#navigation a {
		float:none;
		display:block;
		height:auto;
		line-height:32px;
		text-align:left;
		color:#ffffff;
		padding:0 5px;
		margin-bottom:4px;
		}
			#navigation a strong,
			#navigation a b {
			display:block;
			height:auto;
			line-height:32px;
			}	
			
		#navigation .nav-div {display:none;}
		
		#navigation .sub-nav {
		position:inherit;
		float:none;
		display:block;
		width:100%;
		top:0px;
		margin:0 0 0 0;
		padding:0 0 0 0;
		}
			#navigation .sub-nav li {
			float:none;
			width:100%;
			display:block;
			margin:0 0 0 0;
			padding:0 0 0 0;
			box-sizing:border-box;
			-webkit-box-sizing:border-box;
			-moz-box-sizing:border-box;
			-ms-box-sizing:border-box;
			padding-left:20px;
			line-height:18px;
			}
				#navigation .sub-nav a {
				float:none;
				display:block;
				width:100%;
				font-size:15px;
				line-height:20px;
				margin:0 0 0 0;
				padding:0 0 0 0;
				height:auto;
				background:none;
				border:none;
				line-height:18px;
				}
					#navigation .sub-nav a:hover {
					float:none;
					display:block;
					margin:0 0 0 0;
					padding:0 0 0 0;
					background:none;
					border:none;
					}
					
					
		.speech-box {
		float:none;
		width:100%;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		}
			.blue-header,
			.green-header,
			.brown-header,
			.light-header {
			padding:17px;
			min-height:0;
			}
		
		
		
	#main {
	width:100%;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	padding-top:20px;
	}
		
		#main .main-full,
		#main .main-content,
		#main .full-left,
		#main .full-right,
		#main .main-left,
		#main .main-right {
		float:none;
		display:block;
		width:100%;
		margin:0 0 0 0;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		}
			#main .main-content {
			margin-bottom:20px;
			}
		
		#main .img-left,
		#main .img-right,
		#main .img-center {
		float:none;
		display:block;
		width:100%;
		max-width:none;
		padding:10px 0;
		margin:0 0 0 0;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		}
		
		
		
	#main,
	#main .main-right p,
	#main .main-left p,
	#main .main-right .side-holder,
	#main .main-left .side-holder {font-size:16px;line-height:24px;}
	
	#main h1 {font-size:38px;line-height:38px;}
	#main h2 {font-size:34px;line-height:34px;}
	#main h3 {font-size:30px;line-height:32px;}
	#main h4 {font-size:28px;line-height:32px;}
	#main .main-right h5,
	#main .main-left h5 {font-size:18px;line-height:24px;}
	#main .main-right h6,
	#main .main-left h6 {font-size:18px;line-height:24px;}
	
	.small {font-size:15px;line-height:23px;}
	.large {font-size:17px;line-height:25px;}
		
		
		
	#footer .footer-left {
	float:none;
	display:block;
	width:100%;
	text-align:left;
	margin-bottom:0;
	}
		
	#footer .footer-middle {
	float:none;
	display:block;
	width:100%;
	text-align:left;
	padding:15px 0 0 0;
	border:none;
	border-top:solid #514137 1px;
	margin-bottom:18px;
	}
	
	#footer .footer-right {
	float:none;
	display:block;
	width:100%;
	font-size:16px;
	text-align:left;
	padding:15px 0 10px 0;
	}
	
	#footer {font-size:16px;line-height:26px;}
	#footer h4 {font-size:28px;line-height:32px;font-weight:400;}
	
	
	#desktop-link {display:inline;}
	
	
	
	/* Services */
	.services-holder-grid-side .services-item,
	.services-holder-grid-side .services-item .services-item-text,
	.services-holder-grid-side .services-item .services-item-image,
	.services-holder-grid-under .services-item {
	width:100%;
	}
	

	/* News */
	.news-holder .news-item .news-text,
	.news-holder .news-item .news-image {
	width:100%;
	}
	

	/* Events */
	.events-holder .events-item .events-text {width:80%;}
	.events-holder .events-item .events-image {width:100%;}	

		.date-icon {
		float:left;
		width:15%;
		margin-right:5%;
		height:auto;
		line-height:12px;
		font-size:12px;
		font-weight:bold;
		text-transform:uppercase;
		text-align:center;
		padding:5px 0 5px 0;
		background-color:#cfcfcf;
		}
	
	
	/* Testimonials */
	.testimonial-holder .testimonial-item .testimonial-text,
	.testimonial-holder .testimonial-item .testimonial-image,
	.testimonial-holder .beforeafter-holder .beforeafter-item {
	width:100%;
	}
	
	
	/* Staff */
	.staff-holder-grid .staff-item {
	width:100%;
	}
	
	
	/* Site Map */
	.sitemap-holder {
	width:100%;	
	}
	
	
	/* Gallery */	
	.gallery-holder .gallery-item,
	.gallery-cat-holder .gallery-item,
	.gallery-cat-holder .gallery-item-textover,
	.gallery-holder .gallery-item-textover {
	width:100%;
	margin-right:0%;
	}
	
	
	/* Before and After */	
	.beforeafter-holder .beforeafter-item,
	.beforeafter-details .before-image,
	.beforeafter-details .after-image {
	width:100%;
	margin-right:0%;
	}

		.beforeafter-details .before-image {margin-bottom:12%;}
	
	
	/* Video */	
	.video-holder .video-item {
	width:100%;
	margin-right:0%;
	}
	
	
	.product-item {
	width:100%;
	margin-right:0%;
	}
			
		.products-holder div:nth-child(3n+3) {margin-right:0%;}

}