/* #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;
	}
	
	#wrap_all_content {
	  min-height: 560px;
	  -webkit-background-size: 1px 560px;
	  background-size: 1px 560px;
	}

	#wrap_home_content {
	  background-size: 1200px 560px;
	  min-height: 560px;
	}

	h1 {
	  font: 30px/35px 'Titillium Web',sans-serif !important;
	  padding: 0 0 10px !important;
	}

/*  *********************** end of general ************************/



/*  ********************* HEADER ***********************/

	.logo img {
	  width: 140px;
	}
	/*  **************************************************/
	nav.primary {
	  left: 170px;
	}
		#topnav li a {
			font-size: 13px;
			line-height: 14px;
		  	padding: 0 12px;
		}
			#topnav li a:hover {
			  background-position: right -53px;
			}

		#topnav li.current-menu-item a {
		  background-position: right -26px;
		}
			#topnav li.current-menu-item a:hover {
			  background-position: right 1px;
			}

	/*  **************************************************/

	#wrap_top_header .soc_links li {
	  margin-left: 16px;
	}

	/* **************************************************/
	
	

	/*  **************************************************/		
	#container_slider {
		height: 393px;
		 margin-top: -410px; 
		/*margin-top: -550px;*/
	}

	#sliderCaption p {
	  font: 500 12px/16px 'Titillium Web';
	}

	#sliderCaption .head {
		font-size: 25px;
		line-height: 28px;
	}
		#sliderCaption .head p {
		  font-size: 30px;
		  line-height: 35px;
		}

	#sliderCaption .phone_info {
	  height: 70px;
	  width: 185px;
	  background-size: 50px 50px;
	  padding-left: 75px;
	}
		#sliderCaption .phone_info p {
		  font: 13px/16px 'Titillium Web';
		}
			#sliderCaption .phone_info p:first-child {
			  padding-top: 15px;
			}

			#sliderCaption .phone_info p span {
			  font: bold 22px/25px 'Titillium Web';
			}


	.flex-direction-nav {
	  bottom: 0px !important;
	}

	.flex-control-nav {
	  bottom: -33px !important;
	  left: 45% !important;
	}
/*  ********************* END OF HEADER ***********************/





/*  ************************ HOME CONTENT ********************/


/*  ************************ END OF HOME CONTENT ********************/





/*  *********************** SUBPAGES *********************/

	#wrap_ajax_content .container_12:first-child .header-title,
	#wrap_ajax_content .container_12:first-child .header-title h3  {
		margin-bottom: 0 !important;
	}
		#wrap_ajax_content .header-title h3 {
		  padding-top: 80px !important;
		}

	#wrap_inner, #wrap_inner_wos, #wrap_inner_wls, #wrap_inner_w2s {
	  background-size: 720px 1px;
	  -webkit-background-size: 720px 1px;
	  width: 720px;
	}

	aside#sidebar, aside#sidebar2 {
	  padding-top: 44px;
	}

	#sidebar h2, #sidebar2 h2 {
	  font-size: 19px !important;
	  line-height: 22px !important;
	  padding-bottom: 10px !important;
	}

	#sidebar ul li a, #sidebar2 ul li a {
	  background-size: 18px 43px;
	  font: 14px/16px 'Titillium Web',sans-serif;
	  padding-left: 25px;
	}
		#sidebar ul li a:hover, #sidebar2 ul li a:hover {
		  background-position: 0 -21px;
		}

	#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"] {
	 background-size: 30px 70px;
	  font: bold 14px/33px 'Titillium Web';
	  height: 33px;
	  padding-right: 46px;
	}
		a.more_details:hover, a.button:hover, a.read:hover, .reply a:hover,
		#commentform input[type="submit"]:hover,
		.wrap_cf .wpcf7-form input[type="submit"]:hover,
		#sidebar .wpcf7-form input[type="submit"]:hover {
		  background-position: right -37px;
		}

	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; 
	}

	/*  **************************************************/
	#gallery.one_column .portfolio li {
	  width: 700px;
	}
		#gallery.one_column .portfolio li span.image-border {
		  height: 236px;
		  width: 450px;
		}
			#gallery.one_column .portfolio li a.image-wrap {
			  height: 237px;
			  width: 450px;
			}
				#gallery.one_column .zoom-icon {
				  height: 237px;
				  width: 449px;
				}
		#gallery.one_column .folio-desc {
		  width: 32%;
		}

	/*  **************************************************/

	#gallery.two_columns .portfolio li {
	  width: 335px;
	  margin-right: 26px;
	}
		#gallery.two_columns .portfolio li span.image-border {
		  height: 200px;
		  width: 335px;
		}
			#gallery.two_columns .portfolio li a.image-wrap {
			  height: 200px;
			  width: 335px;
			}
				#gallery.two_columns .portfolio li a.image-wrap img {
				  width: 96.5%;
				}
				#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
				  height: 200px;
				  width: 335px;
				}
		
	/*  **************************************************/

	#gallery.three_columns .portfolio li {
	  width: 218px;
	  margin-right: 19px;
	}
		#gallery.three_columns .portfolio li span.image-border {
		  height: 154px;
		  width: 218px;
		}
			#gallery.three_columns .portfolio li a.image-wrap {
			  height: 154px;
			  width: 218px;
			}
				#gallery.three_columns .portfolio li a.image-wrap img {
				  width: 94%;
				}
				#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
				  height: 154px;
				  width: 217px;
				}
	/*  **************************************************/

	#gallery.four_columns .portfolio li {
	  width: 157px;
	}
		#gallery.four_columns .portfolio li span.image-border {
		  height: 86px;
		  width: 157px;
		}
			#gallery.four_columns .portfolio li a.image-wrap {
			  height: 86px;
			  width: 157px;
			}
			#gallery.four_columns .portfolio li a.image-wrap img {
			  width: 92%;
			}
			#gallery.four_columns .zoom-icon {
			  height: 86px;
			  width: 156px;
			}

	/*  **************************************************/

	article.post-holder .featured-thumbnail img {
	  width: 250px;
	}
		article.testimonial .featured-thumbnail img {
		  width: 120px;
		}

	.post-content {
	  padding-left: 280px;
	}

	#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/30px 'Titillium Web',sans-serif !important;
	}

	/*  **************************************************/

	.table_block {
	  display: block;
	}

	/*  **************************************************/

	.gallery_post {
	  width: 460px !important;
	  height: 310px!important;
	}
		.g_item > img {
		  height: auto;
		  width: 70%;
		}

		.two_third .g_item {
			height: 302px !important;
			width: 460px !important
		}
		.two_third .g_item > img {
			width: 448px !important;
		}

		
	
	/*  **************************************************/	

	nav.oldernewer {
		margin-top: 15px;
	}

/*  *********************** END OF SUBPAGES *********************/





/*  *********************** AFTER MAIN CONTENT AREA ************************/

	.wrap_banner {
	  margin-bottom: 30px;
	}
		.wrap_banner div[id*="my_requestquotewidget"] .box_1 {
		  background-size: 125px !important;
		  height: 78px;
		  width: 335px;
		}
			.wrap_banner div[id*="my_requestquotewidget"] .box_1 .text {
			  margin: 14px 0 0 135px;
			}
				.wrap_banner div[id*="my_requestquotewidget"] .box_1 .text p {
				  font: 17px/18px 'Titillium Web';
				}
				.wrap_banner div[id*="my_requestquotewidget"] .box_1 .text p.price {
				  font: 10px/12px 'Titillium Web';
				}	

			.wrap_banner div[id*="my_requestquotewidget"] .box_1 a.button {
			  top: 21px;
			  background-size: 87px 41px;
			}
			.wrap_banner div[id*="my_requestquotewidget"] .box_1 .box_shadow {
			  background-size: 335px auto;
			  top: 78px;
			  width: 335px;
			}

/*  *********************** END OF AFTER MAIN CONTENT AREA ************************/



/*  ************************ FOOTER *****************/

	#menu-footer li a {
	  font: 11px/16px 'Titillium Web';
	  margin-left: 16px;
	}

	#footer #searchform input[type="text"] {
	  width: 66%;
	}

	#footer-text {
	  margin-top: 35px;
	}
		#footer-text p {
		  font-size: 11px;
		}

/*  ************************ END OF FOOTER *****************/




}