/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 479px) {



/*  ********************* GENERAL *****************************/

	html,
	body {
		min-width:320px;
	}

	.container {  width: 320px; padding-bottom: 10px;}

	.home .primary_content_wrap {  margin-top: 0;  top: -6px; }
	#wrap_all { width: 320px; padding-bottom: 30px; }	
		#wrap_all .container_12 {   padding: 0; }
			#wrap_all .container_12 div[class*="grid"] { margin-left: 0; }
	
	#wrap_all { width: 280px; }

	#main h1 {  font: italic bold 30px/40px 'Droid Serif',sans-serif; }

/*  *********************** END OF GENERAL ************************/




/*  ************************ HEADER ************************/	
	
	.logo {  float: none; margin-bottom: 20px; }
	
	.topHeaderInfo {   float: none;  margin-left: 20px;  }

	.topLinksHolder > div {   float: none; }
		.topLinksHolder p {  text-align: center; }
		.topLinksHolder > div[id*="social_networks"] { margin-left: 33px; margin-top: 12px; }

	#header > .container_12 .grid_12 {   -webkit-background-size: 280px 63px; background-size: 280px 63px; }

	/*  ********************** Navigation ****************************/
		
		#navHolder {
		  height: 87px;
		}

		nav.primary {
		  height: 56px;
		  margin-left: 0;
		  width: 280px;
		}


		nav.primary .responds {
		  background: url("../images/bg_mobileResponse.png") no-repeat scroll 0 0 transparent;
		  color: #FFFFFF;
		  display: block;
		  font: 26px/78px 'Droid Serif';
		  height: 49px;
		  margin: 0 auto;
		  text-align: center;
		  width: 165px;
		}

		nav.primary .responds span {font-size: 0;}


	#topnav {
	  background: none repeat scroll 0 0 #77aed2;
	  display: none;
	  left: 0;
	  min-width: 250px;
	  position: absolute;
	  height: auto;
	  width: 100%;
	  padding: 0;
	}
		#topnav li, #topnav .sub-menu li {
		  background: none repeat scroll 0 0 transparent;
		  border-bottom: 1px solid #91c0de;
		  margin: 0;
		  padding: 0;
		}
			#topnav > li:last-child, #topnav .sub-menu > li:last-child {
			  border-bottom: none;
			}

		#topnav li:hover, #topnav li.current-menu-item {
			background: none;
			-webkit-border-radius: 0 !important;
			-moz-border-radius: 0 !important;
			border-radius: 0 !important; 
		}

		#topnav > li > a {
			color: #fff;
    		font: 14px/35px 'Droid Serif' !important;
			padding: 0 !important;
			background: none !important;
			margin-top: 0;	
			border: none;		
		}
			#topnav li.current-menu-item > a,
			#topnav li.current-menu-item:hover > a,
			#topnav li:hover a { 
			  	background: none;
				color: #c4eaff;
    			font: 14px/35px 'Droid Serif';
    			text-align: center;
    			height: auto;
			}

		
				
				

	/*  **************************************************/
		#topnav .sub-menu {
			/* border: 1px solid #514d48; */
		}
			.sf-menu ul {
			  right: 0;
			  width: 100%;
			  background: #5d9ac2;
			  padding: 0;
			}


		.sf-menu li {
		  display: block;
		  float: left;
		  width: 100%;
		}
			.sf-menu > li:first-child {
			  border-top: none;
			}
			.sf-menu > li > a {
				margin-left: 0;
				text-align: center;
			}

			.sf-menu li:hover ul,
			.sf-menu li.sfHover ul {
				left:			0%;
				top:			35px; /* match top ul list item height */
				z-index:		99;
			}

		.sf-menu .sub-menu .sub-menu {
		  left: 0;
		}
			/* .sf-menu .sub-menu .sub-menu li {
			  border-top: 1px solid #726d67;
			} */
				#topnav .sub-menu li:hover, #topnav .sub-menu li li:hover {
				  background: none;
				}

				.sf-menu .sub-menu .sub-menu li:first-child {
				  border-top: none;
				}
				 #topnav .sub-menu li a, .sub-menu li li a {
				  text-align: center;
				  color: #fff;
				  line-height: 35px;
				}				
					#topnav .sub-menu li:hover a, #topnav .sub-menu li li a {
					  background: none;
					  color: #c4eaff;
					}
		#topnav .sub-menu li {  border-top: none; }
	
	/*  ********************** End of Navigation *************************/


/*  ************************ END OF HEADER ************************/







/*  ************************ HOME CONTENT ************************/
	
	.home .primary_content_wrap .container:first-child {  margin-bottom: 25px; padding-bottom: 23px; }

	#wrap_section_slider {  min-height: 117px;  }
		#slider-wrapper { min-height: 117px;  }
			.camera_wrap {  height: 117px !important; }
				#slider-wrapper .camera_fakehover {  height: 100%; }
				.camera_pag {  bottom: -19px; }
				.camera_wrap img { height: 117px !important; }


	#slider-wrapper .camera_target_content {  display: none; }
	
	#sliderShadow {   -webkit-background-size: 280px auto;  background-size: 280px auto;  bottom: -25px;  height: 25px;  left: 10px; }

	/*  **************************************************/
	
	.caroHolder {  width: 300px; }
		.caroHolder .container_12 { padding: 0; }

	#wrap_carousel {  height: 196px;  width: 280px; }	
		.es-carousel-wrapper {  width: 280px; }
			.es-carousel { height: 166px;  width: 280px; }
				.es-carousel ul li {  padding: 10px 15px; height: 176px !important;  margin: 0 9px !important; width: 230px !important; -webkit-background-size: 539px auto; background-size: 539px auto; }
					.es-carousel ul li:hover { background-position: -279px 0; }						

					.es-carousel ul li h4 a {  font: italic bold 18px/24px "Droid Serif"; }

				.es-nav { margin: 11px auto 0; }	
					.es-nav span {  top: 177px; }
						.es-nav span.es-nav-next {  right: 107px; }
						.es-nav span.es-nav-prev {  left: 107px; }	

	/* 	 **************************************************/	
		
	#home-content {  width: 280px; padding-bottom: 15px; }	
			#home-content .container_12 { padding: 0; }
				#home-content .container_12 > div[class*="grid"] { margin: 0; }
					#main .homeLeftPart img { width: 96%; }	
				#home-content .homePageCenter, #home-content .homeLeftPart { margin-bottom: 10px !important; }			
				#home-content .homeRightPart { margin-top: 10px !important; }
					#main .homeRightPart div[id*="text"] h2 {  font: italic bold 25px/73px "Droid Serif";  width: 78%; }
					.homeRightPart div[id*="text"] {  padding: 25px; }

				#beforeFooterArea h2 {  text-align: center; }
				#beforeFooterArea a {  float: none;  margin: 16px 25px; }	


/*  ************************ END OF HOME CONTENT ************************/



/*  ***************************** SUBPAGES CONTENT ***************/
	
	.alignleft {
	  margin: 0 0 15px 0 !important;
	  width: 96% !important;
	}

	.wrap_content {
		padding: 0;
	}
		.wrap_content .news_block + p, .wrap_content .news_block + p > a {
			margin-bottom: 0;
		}

	.featured-thumbnail {
	  float: left;
	  /* width: 97%; */
	  margin-bottom: 15px;
	}
		#commentform input[type="text"], #commentform textarea {
		  width: 92%;
		}

	#sidebarLeft { margin-left: 0;  width: 224px; }	

	/*  **************************************************/

	div.pp_pic_holder {
	  width: auto !important;
	}
		div.ppt {
		  width: 94%!important;
		}

		.pp_content {
		  width: 98.5% !important;
		}
			#pp_full_res img {
				width: 100%!important;
			}
			.pp_content_container .pp_details {
			  width: 100%!important;
			}

	/*  **************************************************/

	.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
	  float: none;
	  margin-right: 0;
	}
		.two_third, .one_third {
		  width: 100%;
		} 
			
		nav.oldernewer {
		  font-size: 7px;
		}
			.single-oldernewer a{
				font-size: 9px;
			}

	/*  ********************* sidebar ***********************/

	#sidebar {
	  background-position: -120px 0;
	  background-size: 400px auto;
	  margin-top: 40px;
	  width: 215px;
	}


	/*  ************************* #gallery.one_column **********************/

	#gallery.one_column .portfolio li span.image-border {
	  height: 140px;
	  width: 279px;
	}
		#gallery.one_column .portfolio li a.image-wrap {
		  height: 142px;
		  width: 280px;
		}
			#gallery.one_column .portfolio li a.image-wrap img {
			  height: 130px;
			  width: 96%;
			}
			#gallery.one_column .zoom-icon {
			  height: 140px;
			  width: 279px;
			}

		#gallery.one_column .folio-desc {
		  margin-left: 0;
		  margin-top: 15px;
		  width: 100%;
		}

	/*  ************************* #gallery.two_columns **********************/
	
	#gallery.two_columns .portfolio li {
	  width: 280px;
	  margin-right: 0;
	}
		#gallery.two_columns .portfolio li span.image-border {
		  height: 158px;
		  width: 279px;
		}
			#gallery.two_columns .portfolio li a.image-wrap {
			  height: 160px;
			  width: 280px;
			}
				#gallery.two_columns .portfolio li a.image-wrap img {
				  height: 148px;
				  width: 96%;
				}
				#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
				  height: 158px;
				  width: 279px;
				}

	/*  ************************* #gallery.three_columns **********************/

	#gallery.three_columns .portfolio li {
	  width: 280px;
	  margin-right: 0;
	}
		#gallery.three_columns .portfolio li span.image-border {
		    height: 183px;
    		width: 279px;
		}
			#gallery.three_columns .portfolio li a.image-wrap {
			  	height: 185px;
    			width: 280px;	
    		}
				#gallery.three_columns .portfolio li a.image-wrap img {
				  height: 173px;
				  width: 96%;
				}
				#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
				  	height: 183px;
    				width: 279px;
				}
	
	/*  ************************* #gallery.four_columns **********************/

	#gallery.four_columns .portfolio li {
	  margin-right: 0;
    	width: 280px;
	}
		#gallery.four_columns .portfolio li span.image-border {
		  	height: 148px;
    		width: 279px;
		}
			#gallery.four_columns .portfolio li a.image-wrap {
			  height: 150px;
    			width: 280px;
			}
				#gallery.four_columns .portfolio li a.image-wrap img {
				  height: 138px;
				  width: 96%;
				}
				#gallery.four_columns .zoom-icon {
				  	height: 148px;
    				width: 279px;
				}

	/*  **************************************************/
	.grid_gallery {
	  margin-left: 0;
	}
	.grid_gallery_inner {
	  width: 280px;
	}
		.grid_gallery .gallery_item {
		  margin-right: 0;
		  margin-left: 0;
		  width: 100%;
		}
			.grid_gallery_inner .gallery_item:nth-child(2n) {
				margin-right: 0;
			}
	.single-portfolio .zoom-icon {
	  height: 189px;
	  width: 279px;
	}

	.featured-thumbnail.single-gallery-item img {
	  width: 96%;
	}

	/*  **************************************************/

		.gallery_post {  height: 180px !important; }
			.gallery_post .g_item {  width: 320px !important; }
				.g_item > img {  width: 270px;  height: 170px; }


	/*  ********************** ********/

	.wrap_content iframe {
	  width: 267px;
	  height: 200px;
	}

	.wrap_cf.main .wpcf7-form input[type="text"],
	.wrap_cf.main .wpcf7-form input[type="email"],
	.wrap_cf.main .wpcf7-form textarea {
	  width: 257px !important;
	}
		span.wpcf7-not-valid-tip {
		  width: 257px !important;
		}

	.wrap_cf.main div.wpcf7-response-output {
	  width: 165px;
	}	

	/*  **************************************************/

	.error404-num {
	  font-size: 165px;
	}


	#error404 #searchform {
	  width: 280px;
	}
	#error404 #searchform input[type="text"] {
	  width: 92%;
	}

	/*  **************************************************/

	.search-results .post-content, .author .post-content, .blog .post-content {
	  padding-left: 0;
	}
		.author #recent-author-posts .post-content .excerpt, .search-results #content .post-content .excerpt {
  			display: block;
		}

	.entry-header b {
	    float: left;
	    margin-top: 10px;
	 	position: relative;
	}

	.search-results article.post-holder .featured-thumbnail img {
	  width: 280px;
	}

	.author #recent-author-posts .post-content .excerpt,
	.search-results #content .post-content .excerpt,
	.archive #content .post-content .excerpt {
	  margin-bottom: 0;
	}

	#content article {
	  padding-top: 0px;
	}

	.archive .post-content {
	  padding-left: 0;
	}

	.single .entry-header b {
	  margin: 10px 0 0;
	}

	.primary_content_wrap article.post-holder .featured-thumbnail img {
		width: 268px;
	}
	.blog #content article.post-holder .featured-thumbnail img,
	.author #content article.post-holder .featured-thumbnail img,
	.search #content article.post-holder .featured-thumbnail img {
	  width: 268px;
	}
  
  	.primary_content_wrap .container_12 .divider {
	  margin-top: 50px;
	} 

  	#respond {
	  margin-top: 0;
	  padding-top: 0;
	}

	#commentform input[type="submit"] {
	  margin: 15px 0 0;
	}	
		.comment-meta {  font: 12px/35px 'Arial';	}

		#commentform p {
		  margin: 0 0 20px;
		}
	/*  **************************************************/	

	.no-results #searchform {
	  width: 280px;
	}

/*  ***************************** END OF SUBPAGES CONTENT ***************/










/*  ************************ FOOTER ************************/

	#wrapper_footer {  width: 320px; }

	#footer {
	  -webkit-background-size: 320px auto;
	  background-size: 320px auto;
 	  width: 320px;
 	  height: 175px;
	}
	nav.footer {  margin-top: 20px;	}
		#menu-footer_menu {  text-align: center; }
			#menu-footer_menu li {  display: inline-block;  float: none; }
				#menu-footer_menu li a {  font: 12px/16px "Droid Serif";  padding: 0 9px;  }
					#menu-footer_menu li:last-child a { padding-right: 5px; }
					#menu-footer_menu li:first-child a {  padding-left: 6px; }

	#footer_info {  margin: 0; }	
	#footer_info #searchform input[type="text"] { width: 86%; }	

	#footer-text, #footer-text a {  padding: 10px 0;  text-align: center; font-size: 12px; }

/*  ************************ END OF FOOTER ************************/



/*  *********************** END OF FILE *******************/
} 



@media screen and (max-width: 479px) and (-webkit-min-device-pixel-ratio:0) 
{  
	 #wrap_carousel {  height: 176px; }
}	