/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {


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

	html,
	body {
		min-width:440px;
		margin-top: 0 !important;
	}

	body { padding: 0 !important; }

	#primaryWrapContent { padding-left: 20px; padding-right: 20px; }

	.home #home-content .span3 { margin-bottom: 30px; } 

	#main h1 { font-size: 26px; line-height: 30px; }

	#main h2 { font-size: 29px; line-height: 36px; }
	.entry-header h2.entry-title a { font-size: 14px; line-height: 20px; }	

	#main h3 { font-size: 15px; line-height: 20px; margin-bottom: 7px; }
		#main h3 span { font-size: 11px; line-height: 15px; }

	.hr { margin: 0 0 30px; padding-top: 30px; }

	#main h4, .list.numeric_list .numeric_ItemCaption { font-size: 12px; line-height: 16px; margin: 0 0 8px; }
	.spacer { height: 30px; }

	#pageTitle { font-size: 22px; line-height: 24px; margin: 16px 0 0 20px; height: 24px; }
	#breadcrumbs { padding: 9px 0; margin-left: 20px; }
		#breadcrumbs a, #breadcrumbs span { font-size: 9px; line-height: 12px; }

	#main #sidebar h2, #main #sidebarLeft h2, #main #sidebarRight h2 {
	  font-size: 24px;
	  line-height: 30px;
	}	

	.alignnone, .alignright, .alignleft { display: block; } 

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




/*  ************************ HEADER ************************/

	#header { width: 100%; height: 160px; }
	.logo { float: none; }
	#logo { display: block; text-align: center; }

	#header div[id*="social_networks"] { display: none; }

		
	/*  ********************** Navigation ****************************/
		
		/* #wrap_TopMenu { width: 480px !important; } */
		#navHolder {
		  height: 87px;
		}

		nav.primary {
		  height: 35px;
		    margin-left: 0;
		    padding: 20px 0 10px;
		    width: 100%;
		    margin-top:0;	
		    margin-bottom: 30px;	
		}

		nav.primary .responds { display: block; } 
		
	#topnav {
	  display: none;
	  left: 0;
	  min-width: 250px;
	  position: absolute;
	  height: auto;
	  width: 100%;
	  top: 91px;
	  background: #F2F0EF;
	}
		#topnav li, #topnav .sub-menu li {
		  background: none !important;
		  margin: 0;
		  padding: 0;
		  width: 100%;
		  float: none;
		  height: auto;
			border-bottom: 1px solid #fff;		
		}
		
		#topnav > li > a, #topnav .sub-menu li a, .sub-menu li li a {
			color: #1A1B1D;
    		font: 14px/30px "Roboto Slab", sans-serif;
			padding: 0;
			margin-top: 0;	
			border: none;	
			text-align: center;	
			position: relative;
			height: auto;
			display: block;
			-webkit-border-radius: 0;
			-moz-border-radius: 0;
			border-radius: 0;
		}
			#topnav > li.current-menu-item > a { margin-top: 0; background: #CC4B51;  color: #fff; line-height: 30px; }
				#topnav > li:hover > a { background: #C0151F; color: #fff; }
	/*  **************************************************/
		#topnav .sub-menu .sub-menu {
			/*  margin: 0 auto; width: 360px; */
		}
			.sf-menu ul, .sf-menu ul {
			  right: 0;
			  width: 100%;
			  background: #DBDAD9;
			  padding: 0;
			}


		.sf-menu li {
		  display: block;
		  float: none;
		  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:	0; /* match top ul list item height */
				z-index:		99;
				height: auto;
				position: relative;
			}
				#topnav .sub-menu {  padding: 0;  background: #fff;}

				#topnav .sub-menu li {
					background: url(../images/bg_subLi.jpg) center bottom no-repeat;
					border: none;					
				}

				#topnav .sub-menu li a { padding: 0; text-align: center;}

				#topnav .sub-menu li:hover > a,
				#topnav .sub-menu li li:hover > a,
				#topnav .sub-menu li.current-menu-item > a {
					color: #fff;
					background: #D31D26;
				}	

				ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
				  left: 0;
				  right: 0;
				  top: 30px;
				}
	/*  ********************** End of Navigation *************************/


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




/*  ************************ HOME CONTENT ************************/
	
	#home-content .span5 h2.hSide { margin-left: 0; margin-top: 30px; }

	div.tes { width: 100%; height: 150px !important; }

	#sliderWrap .metaslider img { height: auto; }
	#sliderWrap .metaslider .caption-wrap { width: 215px; }
	#sliderWrap .metaslider .caption-wrap h3 { font-size: 23px; line-height: 26px; }
	#sliderWrap .metaslider .caption-wrap p { font-size: 19px; line-height: 26px; }	

	#sliderWrap .metaslider .caption-wrap:before {
		-webkit-background-size: 190px auto;
		background-size: 190px auto;
		width: 244px;
	}	
	#sliderWrap .metaslider .caption { margin-top: 100px; }
	
	#sliderWrap .rslides_nav.next { right: -20px; height: 16px; }
	#sliderWrap .rslides_nav.prev { left: 0; height: 16px; }

	.home #wrapHeader { height: auto; }
	/* #shape { top: -129px; } */

	#sliderWrap { margin-bottom: 55px; }

	#main div[id*="my_fredcarouselwidget"] > h2 {  font-size: 28px; line-height: 30px; margin-bottom: 25px; }
	#caroWrap { padding-left: 20px; padding-right: 20px; margin-bottom: 30px; padding-bottom: 45px; }

		.list_carousel li .imgHolder {
		  float: none;
		  margin-bottom: 15px;
		  display: block;
		}
	.list_carousel li .slidertitle a { display: block; text-align: center; }
	#main .list_carousel li .excerpt h4, .list_carousel li .excerpt { text-align: center; }

	#main #sloganArea h1 { font-size: 26px; line-height: 28px; }
		#main #sloganArea h2 { font-size: 17px; line-height: 20px; }


	#sloganArea div[id*="text"] .row > .span4 {
		max-width: 368px;
		margin: 0 auto 30px;
	}	
		#sloganArea div[id*="text"] .row > .span4:after { border-width: 0 184px 45px; }

	#sloganArea div[id*="text"] { margin-bottom: 15px; }

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







/*  ***************************** SUBPAGES CONTENT ***************/

	.breadcrumbsHolder { min-height: 36px; top: 27px; }

	#primaryWrapContent { position: relative; } 

		.single-portfolio #primaryWrapContent { padding-top: 0; }
			.single-portfolio #primaryWrapContent > * { margin-top: -20px; }


	#sidebar #searchform input[type="text"] { width: 91%; }
	
	.latestpost li { width: 99%; }

	#sidebarLeft {  margin-top: 0; }

	.recent-posts.testiList li { margin-bottom: 20px; }	

	#sidebar, #sidebarLeft { padding: 0 15px 10px !important; }

	article.post-holder .g_pagination + .entry-content {
	  float: right;
	  margin-top: 0;
	  width: 359px;
	}
	.search article.post-holder .g_pagination + .entry-content {
	  float: right;
	  margin-top: -92px;
	  width: 195px;
	}

	.list.numeric_list .numeric_ItemCaption { 
		font: 300 15px/14px 'Roboto',sans-serif;
	  	margin: 0 0 10px;
	}


	.check-list li,
	#sidebarBlog .check-list li,
	#sidebarLeft .check-list li,
	#sidebarRight .check-list li {
	  margin: 0 0 10px;
	}
		.check-list li a,
		#sidebarBlog .check-list li a,
		#sidebarLeft .check-list li a,
		#sidebarRight .check-list li a {
		  font-size: 12px;
		  line-height: 16px;
		}
	
	#sidebarRight { margin-bottom: 30px;}
	ul .recent-post-item:last-child { margin-bottom: 20px; }

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

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


	#wrapAttachmentPhoto a img { min-height: 58px; }

	#sidebarLeft ul li { margin: 0 0 15px 0!important; float: left; }

	#sidebarLeft li .wrapPortEntryInner a { font: 15px/24px "Eagle Lake" !important; }


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

	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: 10px;
		  margin-bottom: 3.5em;
		}
			.single-oldernewer a{
				font-size: 13px;
			}

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

	#sidebar, #sidebarLeft {
	  margin-top: 30px;
	  width: 100%;
	  padding: 0 0 20px 0!important;
	  margin-bottom: 30px;
	}
		#sidebarLeft {
			margin-left: 0;
			padding-top: 0;
			margin-top: 0;
		} 
		.page-template-page-fullwidth_withTwoSidebar-php #sidebarLeft,
		.page-template-page-fullwidth_withTwoSidebar-php #sidebar {  padding: 0 15px 0; }
		.page-template-page-fullwidth_withTwoSidebar-php .wrap_content { margin-top: 25px; padding: 0 20px; }
		.page-template-page-painter_withRightSidebar-php .wrap_content { padding: 0 20px 10px; }

		#sidebar .recent-post-item { margin-left: 0; }		
		.toggle .box { height: 80px; }

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

		#gallery.one_column .portfolio li span.image-border {
		  height: 100%;
		  width: 100%;
		}
			#gallery.one_column .portfolio li a.image-wrap {
				height: 100%;
		  		width: 99%;
			}
				#gallery.one_column .portfolio li a.image-wrap img {
				  height: auto;
				  margin-bottom: 0;
				  width: 99.7%;
				}

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

	/*  ************************* #gallery.two_columns **********************/
	
		#gallery.two_columns .portfolio li a.image-wrap {
		  height: 100%;
		  min-height: 220px;
		  width: 99%;
		}

		#gallery.two_columns .portfolio li {
		  margin-right: 0;
		  width: 100%;
		}
			#gallery.two_columns .portfolio li a.image-wrap img {
			  height: auto;
			 /*  width: 100%; */
			}

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

		#gallery.three_columns .portfolio li {
		  margin-right: 0;
		  width: 100%;
		}
			#gallery.three_columns .portfolio li a.image-wrap {
			  height: 100%;
			  min-height: 220px;
			  width: 99%;
			}	
			#gallery.three_columns .portfolio li a.image-wrap img {
			  height: auto;
			  width: 100%;
			}
	/*  ************************* #gallery.four_columns **********************/

		#gallery.four_columns .portfolio li {
		  margin-right: 0;
		  width: 100%;
		}
		#gallery.four_columns .portfolio li a.image-wrap {
  height: 100%;
  min-height: 220px;
  width: 99.5%;
}
			#gallery.four_columns .portfolio li a.image-wrap img {
			  height: auto;
			 /*  width: 100%; */
			}

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

		.grid_gallery {
  margin-left: 0;
}

	.grid_gallery_inner {
	  width: 100%;
	}
		.grid_gallery .gallery_item {
		  width: 46%;
		  margin-right: 33px;
		  margin-left: 0;
		}
			.featured-thumbnail.single-gallery-item img {
			  width: 100%;
			}
			.grid_gallery_inner .gallery_item:nth-child(2n) {
				margin-right: 0;
			}
	
	#primaryWrapContent .portfolio .two_third > img {
	  width: 100%;
	}
	.gallery_post {  height: 260px !important; }

		.gallery_post .g_item {  width: 100% !important; height: auto !important;	}
			#primaryWrapContent .g_item > img {
	  height: auto;
	  width: 100%;
	}

	.search .gallery_post {
	  height: 74px !important;
	  width: 150px;
	}

		.single-portfolio .page-header {
	  margin-top: 60px;
	}


	/*  ************************ search page **********************/
	
	.no-results #searchform, #searchform {
	  margin-bottom: 0;
	  max-width: 280px;	
	}
	#searchform input[type="text"] { width: 258px; }
	
	.author #recent-author-posts .post-content .excerpt,
	.search-results #content .post-content .excerpt {
	  display: table;
	}

	/*  ********************** contact page **************/

	.wrap_content iframe {  width: 100%; }

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

	.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;
		}

	.single-post .primary_content_wrap article.post-holder .featured-thumbnail img,
	.archive .primary_content_wrap article.post-holder .featured-thumbnail img {
	  width: 180px !important;
	}	

	#content article {
	  padding-top: 0;
	}
	#content article.first {
	  padding-top: 20px;
	}
	.primary_content_wrap .container_12 .divider {
	  margin-top: 50px;
	} 

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

	#sidebarLeft ul li.recent-post-item .post-entry img { max-width: 400px; }

	#commentform p { margin: 0 0 15px 0; }

	/*  **************************************************/
	
	#error404 {
	  margin: 0 20px 0;
	  padding: 0;
	  text-align: center;
	}	
		.error404-num { font-size: 222px; }
		#error404 #searchform {  width: 353px; margin-bottom: 20px; }
		.search-no-results #wrap_all #searchform input[type="text"],
		.error404 #error404 #searchform input[type="text"] {
		    width: 258px !important;
		}
			
	.post-meta { font-size: 10px; }		
	.entry-header b a { font-size: 10px; }
	time { font-size: 10px; }

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

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

	.pagenavi {  padding: 50px 0 30px; }

	.palaroidBox { 
		clear: both;
		overflow: hidden;
		height: auto !important;		
	}
	.palaroidBox img { float: left; margin: 0 15px 15px 0; }
	.palaroidBox p { display: table; }
	.palaroidBox.span2 > br { display: none; }

	.wrap_cf .wpcf7-form span.wpcf7-form-control-wrap {
		display: inline-block !important;
	}	
	.wrap_cf .wpcf7-form input[type="text"], .wrap_cf .wpcf7-form input[type="email"], .wrap_cf .wpcf7-form textarea {
	  width: 418px;
	}

	.span3 #searchform input[type="text"] { width: 258px; }

	.clearfix.box p {
  clear: both;
  display: block;
}

#blockNiceHolder > article.post-holder,
#content > article.post-holder,
#recent-author-posts > article.post-holder {
  margin: 30px 0 0;
}

#sidebarBlog, #sidebarRight { margin-top: 40px; }

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



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

	#footer { padding-top:0; }
		#footer > div { padding: 0 20px; }

	#footerMan { display: none; }
	#footer-text { text-align: center; }
	#footer .textwidget { text-align: left; }

	#footer ul.social-networks {
	  float: none;
	  margin: 15px 0;
	  padding: 0;
	  text-align: center;
	}

	#footer .site-name { display: block; width: 100%; text-align: center; }	
	#footer h2 { margin-bottom: 15px; margin-top: 30px; }

	#footer .span5 > div { float: none !important; text-align: center; margin-top: 25px !important; }

	#footer #searchform { margin: 0 auto; width: 200px; }
		#footer #searchform input[type="text"] { margin-bottom: 0; width: 177px; }


	#footer .wpcf7-form-control-wrap { max-width: 400px; }
		#footer .wpcf7-form input[type="text"],
		#footer .wpcf7-form input[type="email"],
		#footer .wpcf7-form input[type="phone"],
		#footer .wpcf7-form textarea { width: 378px; }

	#footer #bottomFooter { text-align: center; padding: 0 0 120px 0; }		
		#footer #bottomFooter .textwidget { text-align: center; }

		#bottomFooter > .container .row > div:first-child { display: none; } 
			#footer #bottomFooter > .container .row > div { margin-top: 25px; } 

	#bottomFooter .copyrights { height: 100px; }
		#bottomFooter .copyrights .span12 > a { float: none; }
		#bottomFooter .copyrights .span12 > div { float: none; padding-top: 15px; }	

	ul.social-networks li { display: inline-block; float: none; }	

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




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

/* 
 @media screen and (min-width: 480px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio:0) 
 {  
 
 }	 */ 