/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 979px) {


/*  ************************* GENERAL *********************/
	html,
	body {
		min-width: 768px;
		}



	a.read, a.button, a.link_show_all { 
		font: 13px/22px "Asap";
		margin: 5px auto;
		padding: 4px 32px 4px 15px;
		background-position: 94% 9px;		
	}
		a.read:hover, a.button:hover, a.link_show_all:hover {
		  background-position: 94% -59px;
		}

#main h2, .entry-header h2.entry-title a { font-size: 20px; }		

/*  ************************ END OF GENERAL ***********************/





/*  ***************************** HEADER *****************/	
	
	#topnav > li > a { padding: 0 11px; }

	.sf-menu ul, ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul { min-width: 150px; }


/*  ****************************** END OF HEADER *****************/




/*  ****************************** HOME CONTENT *****************/
	
	#home-content { width: 720px; }

	.camera_wrap { height: 438px !important; }
		.camera_wrap img {
		  margin-left: -100px !important;
		  width: 800px !important;
		}

	/*  **************************************************/	
		
		.homeTopPart > div a {
		  background-position: 90% 9px;
		  font: 13px/22px "Asap";
		  margin: 5px 0 20px 30px;
		  padding: 4px 32px 4px 15px;
		}
			.homeTopPart > div a:hover { background-position: 90% -68px; }

			#main .homeTopPart > div .banner h2 {
			  background-position: 84% 26px;
			  margin: 0px 0 0 17px;
			}

	.homeCenterPart > div.last #testi-cycle1.customCatScroller { width: 375px !important; margin: 20px 60px 19px 45px; }	
			
	/*  **************************************************/
	.homeBottomPart2 > div.bigger {
		background-position: 20px 40px;
		padding: 40px 0 0 75px;
		width: 405px;
		height: 319px;
	}
		.testimonials { width: 360px !important; }
		
		#main .homeBottomPart2 .banner h2 {
		  background-position: 9% 219%;
		  padding: 80px 5px 80px 60px;
		  width: 155px;
		}
	/*  **************************************************/
	
	

	/*  **************************************************/
		

/*  ****************************** END OF HOME CONTENT *****************/


	


/*  ****************************** SUBPAGE CONTENT ************************/
	
	#wrap_all { width: 700px; }

	#sidebar #searchform input[type="text"] { width: 77%; }

	.primary_content_wrap #sidebarLeft ul .recent-post-item img { width: 144px; }
		
	.wrap_content.models .boxList li { margin: 0 0 15px 15px !important; width: 239px !important; }
		.wrap_content.models .boxList li:nth-child(2n+1) { margin-left: 0 !important;}

		.wrap_content.models .boxList li .featured-thumbnail img {  height: 310px; min-width: 239px; }
		
	.wrap_content.models .boxList li .wrapInfo {  width: 69%; }
	#wrapAttachmentPhoto a img { min-height: 79px; }
	
	
	.homeRightPart .wrapPortEntryInner, #sidebarLeft .wrapPortEntryInner {
	  clear: both;
	  display: block;
	  margin-left: 0;
	}

	.boxInfo {  margin-bottom: 20px; }	
	
	
	#content.models .attachment-post-thumbnail {
	  margin: 0 0 25px 0;
	}




	#gallery .portfolio li h6 a {
	  font-size: 11px;
	}

	/*  ************************* #gallery.one_column **********************/

	#gallery.one_column .portfolio li span.image-border {
	  height: 178px;
	  width: 346px;
	}
		#gallery.one_column .portfolio li a.image-wrap {
		  height: 180px;
		  width: 346px;
		}
			#gallery.one_column .portfolio li a.image-wrap img {
			  height: 168px;
			  width: 100%;
			}
			#gallery.one_column .zoom-icon {
			  height: 168px;
			  width: 346px;
			}
		#gallery.one_column .folio-desc {
		  width: 43%;
		}

	/*  ************************* #gallery.two_columns **********************/
	
	#gallery.two_columns .portfolio li {
	  width: 309px;
	  margin-right: 25px;
	}
		#gallery.two_columns .portfolio li span.image-border {
		  height: 165px;
		  width: 309px;
		}
			#gallery.two_columns .portfolio li a.image-wrap {
			  height: 165px;
			  width: 309px;
			}
				#gallery.two_columns .portfolio li a.image-wrap img {
				  height: 165px;
				  width: 100%;
				}
				#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
				  height: 165px;
				  width: 309px;
				}

	/*  ************************* #gallery.three_columns **********************/

	#gallery.three_columns .portfolio li {
	  width: 199px;
	}
		#gallery.three_columns .portfolio li span.image-border {
		  height: 106px;
		  width: 199px;
		}
			#gallery.three_columns .portfolio li a.image-wrap {
			  height: 106px;
			  width: 199px;
			}
				#gallery.three_columns .portfolio li a.image-wrap img {
				  height: 106px;
				  width: 100%;
				}
				#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
				  	height: 106px;
			  		width: 199px;
				}
				/* .folio-desc > p {
				  min-height: 66px;
				} */
	
	/*  ************************* #gallery.four_columns **********************/

	#gallery.four_columns .portfolio li {
	  width: 143px;
	}
		#gallery.four_columns .portfolio li span.image-border {
		  height: 83px;
		  width: 143px;
		}
			#gallery.four_columns .portfolio li a.image-wrap {
			  height: 85px;
			  width: 143px;
			}
				#gallery.four_columns .portfolio li a.image-wrap img {
				  height: 73px;
				  width: 100%;
				}
				#gallery.four_columns .zoom-icon {
				  	height: 73px;
			  		width: 143px;
				}

	/*  *********************** single portfolio ******************/

	.grid_gallery_inner {
	  width: 472px;
	}
		.grid_gallery .gallery_item {
		  width: 40%;
		  margin-right: 14px;
		}
			.grid_gallery_inner .gallery_item:nth-child(2n) {
				margin-right: 0;
			}
	.single-portfolio .zoom-icon {
	  height: 123px;
	  width: 185px;
	}


	/*  ************************* blog pages style ******************/

	#commentform textarea { width: 437px; }
		
	.wrap_cf.main .wpcf7-form input[type="text"],
	.wrap_cf.main .wpcf7-form input[type="email"],
	.wrap_cf.main .wpcf7-form textarea {
	  margin-left: 0;
	  width: 301px !important;
	}	
		.wrap_cf.main .wpcf7-form textarea {
		  margin-left: 0;
		  width: 301px !important;
		}	

		.wrap_cf.main span.wpcf7-not-valid-tip {
		  width: 301px !important;
		}
	
	.gallery_post {  height: 300px !important; }

		/* .blog #content article.post-holder .gallery_post,
		.author #content article.post-holder .gallery_post,
		.archive #content article.post-holder .gallery_post {
		  height: 226px !important;
		} */

		.gallery_post .g_item {  width: 498px !important; }

			.g_item > img {  width: 448px;  height: 290px; }

	article.post-holder .g_pagination + .entry-content {
  float: right;
  margin-top: -166px;
  width: 169px;
}
	.search article.post-holder .g_pagination + .entry-content {
  float: right;
  margin-top: -138px;
  width: 238px;
}
	/*  **********************************************/

	.blog #content article.post-holder .post-content {
	  padding-left: 323px;
	}
	
	.archive #content article.post-holder .featured-thumbnail img {
	  width: 310px;
	}

	/*  **************************************************/


/*  ****************************** END OF SUBPAGE CONTENT *****************/






/*  ****************************** FOOTER ********************************/
	#footer > div:nth-child(2) { margin-left: 0; }

/*  ****************************** END OF FOOTER *****************/




/*  ********************** END OF FILE ******************/
}


@media screen and (min-width: 768px) and (max-width: 979px) and (-webkit-min-device-pixel-ratio:0) 
{  
	 
}