/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 959px) {

/*  ******************** general  *************************/
	html,
	body {
		min-width:768px;
	}

	.container {
		width:768px !important;
	}


	#ajaxHolder { width: 540px;	}
	#wrap_inner {  width: 500px;  }
	.fullwidth { width: 500px; }

	#wrap_top_headerInnerHolder {  margin-left: -404px; }
	#wrap_top_header { margin-left: -612px; }

	.fullwidth .wrap_content:first-child {
	  float: left;
	  padding: 0;
	  width: 500px;
	}
	.fullwidth .wrap_content + #wrapper_sidebar {
	  border-left: none;
	  border-top: 1px solid #4C4C4C;
	  border-right: medium none;
	  display: block;
	  float: left;
	  padding-left: 0;
	  padding-right: 0;
	  width: 500px;
	  margin-top: 30px;
	}
	.fullwidth #wrapper_sidebar:first-child {
	  border-left: none;
	  border-right: none;
	  border-bottom: 1px solid #4C4C4C;
	  display: block;
	  float: left;
	  padding-left: 0;
	  padding-right: 0;
	  width: 100%;
	  margin-bottom: 20px;
	}
	.fullwidth #wrapper_sidebar + .wrap_content {
	  float: left;
	  padding: 0;
	  width: 100%;
	}

	#sidebar2 #searchform input[type="text"], #sidebar #searchform input[type="text"] {
	  width: 91%;
	}


	h3 { font-size: 20px !important; line-height:28px !important; }

	#prevslide, #nextslide {
	  top: 60% !important;
	}
/*  *********************** end of general ************************/



/*  ********************* HEADER ***********************/	

/*  ********************* END OF HEADER ***********************/



/*  ************************ HOME CONTENT ********************/

	.call { font-size: 30px; line-height: 40px; }

	a.request {  font-size: 20px; line-height: 50px; padding: 0 20px; }

	#slidecaption {
	  font-size: 20px !important;
	  line-height: 24px !important;
	  left: 50%;
	  padding: 22px 30px;
	  width: 290px;
	}

/*  ************************ END OF HOME CONTENT ********************/








/*  *********************** SUBPAGES *********************/

	ul.photopost li {
	  margin-bottom: 15px;
	}
		ul.photopost li:nth-child(3n+1) {
		  margin-left: 0;
		}


	aside#sidebar, aside#sidebar2 {
	  padding-top: 15px;
	}

	.alignleft {
	  margin: 0 20px 10px 0 !important;
	}
	
	#sidebar h2, #sidebar2 h2 {
	  font-size: 19px !important;
	  line-height: 22px !important;
	}

	#sidebar ul li a, #sidebar2 ul li a {
	  font: 14px/16px Arial;
	  background-position: 0 3px;
	}
		#sidebar ul li a:hover, #sidebar2 ul li a:hover {
		  background-position: 0 -15px;
		}

	#sidebar .wpcf7-form input[type="text"],
	#sidebar .wpcf7-form input[type="email"],
	#sidebar .wpcf7-form textarea {
	  width: 80%;
	}

	#sidebar .wpcf7-form input[type="submit"],
	a.more_details, a.button, a.read, .reply a,
	#commentform input[type="submit"],
	.wrap_cf .wpcf7-form input[type="submit"] {
	  font: 300 18px/35px Arial;
	  height: 35px;
	  padding: 0 20px;
	}

	span.wpcf7-not-valid-tip, span.wpcf7-not-valid-tip-no-ajax {
	  width: 322px !important;
	}

	#sidebar .wpcf7-form span.wpcf7-not-valid-tip,
	#sidebar .wpcf7-form span.wpcf7-not-valid-tip-no-ajax {
	  font-size: 9px;
	  padding: 10px 0 10px 15px !important;
	  top: -17px !important;
	  width: 143px !important;  
	}


	#sidebar .attention-box,
	#sidebar .wpcf7-validation-errors,
	#sidebar .wpcf7-spam-blocked,
	#sidebar2 .attention-box,
	#sidebar2 .wpcf7-validation-errors,
	#sidebar2 .wpcf7-spam-blocked {
	  background-position: 50px 5%;
	  padding: 60px 10px 10px !important; 
	}


	#content article {
	  padding-top: 0;
	}

	#footer #searchform input[placeholder] {
	  font: 11px/14px Arial;
	}


	#error404 { padding-bottom: 0; }

	.search-no-results #searchform input[type="text"] {
	width: 454px;
	}
	.no-results #searchform {
	width: 100%;
	margin-bottom: 0;
	}

	.search .fullwidth .wrap_content + #wrapper_sidebar { margin-top: 20px; }

	/*  **************************************************/
	
	#gallery.one_column .portfolio li span.image-border {
	  height: 140px;
	}
		#gallery.one_column .portfolio li a.image-wrap img {
		  height: 140px;
		  width: 230px;
		}
		#gallery.one_column .folio-desc {
		  width: 237px;
		}	
	


	#gallery.two_columns .portfolio li {
	  width: 236px;
	}
		#gallery.two_columns .portfolio li span.image-border {
		  height: 175px;
		  width: 224px;
		}
			#gallery.two_columns .portfolio li a.image-wrap {
			  height: 175px;
			  width: auto;
			}
				#gallery.two_columns .portfolio li a.image-wrap img {
				  width: 236px;
				}


	#gallery.three_columns .portfolio li {
	  width: 151px;
	}
		#gallery.three_columns .portfolio li span.image-border {
		  height: 131px;
		}
			#gallery.three_columns .portfolio li a.image-wrap { 
			  height: 131px;
			}
				#gallery.three_columns .portfolio li a.image-wrap img {
				  width: 165px;
				}
		

		#gallery .portfolio li h6 a {  font-size: 11px;  }
		#gallery + .pagenavi {
			padding: 0;
		}


	/*  **************************************************/

	.two_third {
	  width: 100%;
	  margin-right: 0;
	}
	.one_third {
  width: 100%;
}



	article.post-holder .featured-thumbnail img {
	  width: 250px;
	}
		article.testimonial .featured-thumbnail img {
		  width: 120px;
		}

	.post-content {
	  padding-left: 280px;
	}
		.search-results .post-content {
  padding-left: 235px;
}


	#content article:first-child h2 {
		margin-top: 0 !important;
	}

	#commentform textarea, #commentform input[type='text'], #commentform input[type='email']{
	  width: 95%;
	}

	.entry-header h2.entry-title a {
	  font: 24px !important;
	  line-height: 30px !important;
	}

	/*  **************************************************/

	.table_block {
	  display: block;
	}

	/*  **************************************************/

	.gallery_post {
	  height: 335px !important;
	  width: 500px !important;
	}
		.two_third .g_item {
		  height: 335px !important;
		  width: 500px !important;
		}

		.g_item > img {
		  height: auto;
		  width: 70%;
		}
		.two_third .g_item > img {
		  height: 323px !important;
		  margin: 0 !important;
		  width: 488px !important;
		}
		
		.grid_gallery_inner {
		  width: 500px;
		}
	
		.grid_gallery .gallery_item {
		  margin: 0 15px 15px 0;
		  width: 48.5%;
		}	
			.grid_gallery .gallery_item:nth-child(2n) {
				margin-right: 0;
			}	

		.two_third .g_item {
			height: 302px !important;
			width: 460px !important
		}
		.two_third .g_item > img {
		  height: 281px !important;
		  width: 436px !important;
		}
		
		.featured-thumbnail.single-gallery-item img {
		  width: 95.2% !important;
		}
		.home .featured-thumbnail.single-gallery-item img {
		  width: 100% !important;
		}
	
	/*  **************************************************/

		.wrap_cf .wpcf7-form input[type="text"], .wrap_cf .wpcf7-form input[type="email"], .wrap_cf .wpcf7-form textarea {
		  width: 93.5%;
		}

	/*  **************************************************/	

	nav.oldernewer {
		margin-top: 15px;
	}

	
	.wrap_cf div.wpcf7-response-output {
	  display: none !important;
	}	

/*  *********************** END OF SUBPAGES *********************/





/*  ************************ FOOTER *****************/

	#footer ul li { margin: 18px 2px 0; }

/*  ************************ END OF FOOTER *****************/




}