/* #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 !important; padding-right: 20px !important; }

	#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; }

	#main #sidebar h2, #main #sidebarLeft h2, #main #sidebarRight h2 {
	  font-size: 24px;
	  line-height: 30px;
	}	

	.alignnone, .alignright, .alignleft { display: block; } 

	.contacts .hentry > .span6 + .span6 { margin-top: 40px; }

	.folio-desc a.read { margin-top: 0; } 

/*  *********************** END OF GENERAL ************************/




/*  ************************ HEADER ************************/

	#header { width: 100%; height: 160px; }
	.logo { float: none; }
	#logo { display: block; text-align: center; }
		
	/*  ********************** Navigation ****************************/
		
		#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;	
			border-top: 0;	
		}
		#topnav > li.current_page_item, #topnav > li:hover { border-top: none; }
		#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: #7AB800;  color: #fff; line-height: 30px; }
				#topnav > li:hover > a { background: #7AB800; color: #fff; }

	/*  **************************************************/

			.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: #B9C815;
				}	

				ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
				  left: 0;
				  right: 0;
				  top: 30px;
				}
	/*  ********************** End of Navigation *************************/

	#leftHand, #rightHand {
		-webkit-background-size: auto 347px;
		background-size: auto 347px;
		height: 347px;
	}

	@media screen and (min-width: 480px) and (max-width: 500px) {
		#leftHand, #rightHand {
			-webkit-background-size: auto 300px;
			background-size: auto 300px;
			height: 300px;
		}
	}
	 
/*  ************************ END OF HEADER ************************/




/*  ************************ HOME CONTENT ************************/
	
	#sliderWrap .metaslider img { height: auto; }

		#sliderWrap { height: 347px; }	
	.home #wrapHeader { height: auto; }

	#main div[id*="my_fredcarouselwidget"] > h2 {  font-size: 28px; line-height: 30px; margin-bottom: 25px; }
	#caroWrap { padding-left: 20px; padding-right: 20px; margin-bottom: 0; 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; }
	
	.span5 + .span1 { margin-bottom: 30px; }

	#sliderWrap .metaslider .caption { bottom: 42px; }
		#sliderWrap .metaslider .caption-wrap h3 { font-size: 18px; padding: 10px 25px; margin-bottom: 15px; }
		#sliderWrap .metaslider .caption-wrap p { font-size: 15px; line-height: 18px; }
	
	#sliderWrap .flex-control-nav { bottom: 10px; }

	.list_carousel li { padding-bottom: 20px; margin-bottom: 20px;}

/*  ************************ END OF HOME CONTENT ************************/







/*  ***************************** SUBPAGES CONTENT ***************/
	
	


	.teamBoxes .row .span3:last-child { margin-bottom: 0; }
	.wrap_content {
  padding-bottom: 0;
}

	#primaryWrapContent { position: relative; padding-top: 20px; } 

		.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: 0;}
	ul .recent-post-item:last-child { margin-bottom: 0 !important; }

	#primaryWrapContent { padding-bottom: 35px; }
	.partnersBoxes.row { margin-left: -20px; }
	#breadcrumbs .breadcrumb { padding: 0 0 0 7px; }

	.post-meta a, .post-meta time, .wrapMeta b a {
	  font-size: 11px;
	  line-height: 14px;
	}

/*  **************************************************/
	.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; }
		.page-template-page-ecomarket_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;
			}

	/*  **************************************************/

		.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: 30px;
		}


	/*  ************************ 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;
}

#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 h2 { text-align: center; }

		#footer div[id*="social_networks"] { margin-bottom: 40px; }
		#footer ul { width: 100%; }
			#footer ul.social-networks li {
			  float: none;
			  margin: 0 0 27px;
			  text-align: center;
			  width: 100%;
			}
				#footer ul.social-networks li:first-child a { margin-left: 14px; }

	#footer div[id*="text"] ul li {
	  margin: 0 auto;
	  width: 35%;
	}

	.ribbonBlock {
	  float: none;
	  overflow: hidden;
	  top: 0;
	  margin: 40px auto 0;
	}
	
	#bottomFooter {
	  padding: 25px 0 0;
	  width: 100%;
	}

	#bottomFooter .copyrights { margin-right: 20px; }
	#bottomFooter a.site-name { margin-left: 20px; }

/*  ************************ END OF FOOTER ************************/




/*  *********************** END OF FILE *******************/
} 

/* 
 @media screen and (min-width: 480px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio:0) 
 {  
 
 }	 */ 