@media screen and (max-width:1000px){
	
	/*LAYOUT*/

	#wrapper {
		max-width:100%;
		width:initial;
	}

	header {
		margin-top:0;
		max-width:100%;
		padding:2%;
		width:96%;
	}

	nav {
		max-width:100%;
		width:initial;
	}

	img {
		height:auto;
		max-width:100%;
	}

	#content {
		max-width:94%;
		padding:3%;
		width:initial;
	}

	.page_column {
		margin-right:4%;
		width:60%;
	}

	.page_column.last {
		width:36%;
	}

	#right_col {
		max-width:100%;
		padding:0;
	}

	/*END OF LAYOUT*/

	/*HOME*/

	#home_content {
		background:#333;
	}

	#home_content_right h1 {
		font-size:3em;
	}

	#slides {
		width:50%;
	}

	#home_content_right {
		padding:2%;
		width:46%;
	}

	#left_col {
		padding:3%;
		width:auto;
	}

	#right_col {
		margin-left:10px;
		max-width:96%;
		padding:0;
		width:initial;
	}

	#testimonials {
		max-width:100%;
		width:initial;
	}

	.testimonials_container {
		width:100%;
	}

	.testimonials_container blockquote {
		width:700px;
	}

	/*END OF HOME*/

	/*CONTACT*/

	body.page-template-contact-php .page_column {
		margin-right:4%;
		width:36% !important;
	}

	body.page-template-contact-php .page_column.last {
		margin:0;
		width:60% !important;
	}

	#contact input[type=text], #contact textarea {
		width:96%;
	}

	/*END OF CONTACT*/

	/*FOOTER*/

	#footer {
		height:auto;
		margin-bottom:0;
		padding:2%;
		width:96%;
	}

	#footer #address {
		float:none;
		margin:0;
		text-align:center;
	}

	#footer #contact_details {
		float:none;
		margin:10px auto 10px auto;
		max-width:360px;
	}

	/*END OF FOOTER*/

	/*CASE STUDIES*/

	#gallery .case_study {
		width:32%;
		margin-right:2%;
	}

	#gallery .case_study.last {
		margin-right:0;
	}

	#gallery .cover {
		height:auto;
		width:100%;
	}

	#gallery .cover_caption {
		padding:5% 5% 8% 5%;
		width:90%;
	}

	#gallery .cover_caption .view {
		bottom:5px;
	}

	#gallery .case_study a img {
		display:block;
		margin:0 auto;
	}

	/*END OF CASE STUDIES*/


}

@media screen and (max-width:768px){
	header {
		padding:2%;
		width:96%
	}

	.product {
		max-width:100%;
	}

	#product_images {
		width:100%;
	}

	.product_container {
		width:100%;
	}

	#logo {
		width:40%;
	}

	.testimonials_container blockquote {
		width:580px;
	}
}


@media screen and (max-width:680px){
	#gallery .case_study {
		width:48%;
	}
}


@media screen and (max-width:640px){
	#slides,.slides_container,#home_content_right {
		height:auto;
		max-width:100%;
		width:initial;
	}

	.page_column,.page_column.last {
		width:100%;
		margin-right:0;
	}

	.testimonials_container blockquote {
		width:360px;
	}
}

@media screen and (max-width:440px){
	
	#right_col {
		margin-left:10px;
		max-width:96%;
		padding:0;
		width:initial;
	}

	#testimonials {
		max-width:100%;
	}

	.testimonials_container {
		width:100%;
	}

	.testimonials_container blockquote {
		width:240px;
	}

	#gallery .case_study {
		margin:2em auto;
		width:100%;
	}

	#fancybox-title-over {
		font-size:11px;
		line-height:12px;
	}

}

@media screen and (max-width:400px){

	.slides_control {
		height:auto !important;
		left:initial !important;
		position:initial !important;
		width:initial !important;
	}

	.slides_control div {
		position:initial !important;
	}

	.slides_control div span {
		font-size:12px !important;
	}

}