/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 479px) {
.container {
	width:300px !important;
	}

#slider-wrapper .grid_12,
#before-block_page .grid_12,
#header .grid_12,
#after_menu_area .grid_12{
	margin-bottom: 0
}	


/* Header
---------------------------------------- */
#top-header {
	height:87px;
	}

#header {
  background: url("../images/bg_header_480.png") repeat-x scroll left top transparent;
  height: 427px;
  -webkit-background-size: 180px;
  background-size: 180px;
}

/* --------- Logo ------ */
.logo {
  margin: 0;
  padding: 6px 0 0;
  text-align: center;
  width: 100%;
  height: 72px;
  -webkit-background-size: 308px;
  background-size: 308px;
}	
	.logo img{
	  	margin: 0 0 0 8px;
    	padding: 0;
    	width: 255px;
	}
		.logo .tagline {
			display:none;
		}

/*----------------------- TOP --------------*/
#phone_info {
  float: right;
  margin: -31px 0 0 0;
  padding: 0 0 0;
}
	#phone_info p, #wrap_phones {
	  color: #0A0707;
	  font-size: 15px;
	  line-height: 15px;	
	  text-align: center;
	}
		#wrap_phones{
			float: none;
			margin: 7px 0 0 0;
			padding: 0 0 0 28px;
		} 
		#wrap_phones span {
		  font-size: 13px;
		  line-height: 13px;
		}
.right_side {
  background: #e5dccd;
}
.wrap_h2 {
  background-position: left 77%;
}

/* Primary navigation */
nav.primary {
	clear:both;
	width:100%;
	margin: -24px 0 28px;
	text-align:center;
	padding:10px 0;	
}
	/* Navigation select styling */
	nav.primary .responds {
		background: none repeat scroll 0 0 #472C1B;
		color: #FFDDB9;
		cursor: pointer;
		display: block;
		font-size: 26px;
		height: 44px;
		line-height: 41px;
		text-align: center;
		font-family: 'Racing Sans One', cursive;
		border: 3px solid rgb(80, 51, 38);
		-webkit-border-radius: 7px;
		-moz-border-radius: 7px;
		border-radius: 7px;
		background: #472c1b; /* Old browsers */
		background: -moz-linear-gradient(top, #472c1b 0%, #845e47 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#472c1b), color-stop(100%,#845e47)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, #472c1b 0%,#845e47 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, #472c1b 0%,#845e47 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top, #472c1b 0%,#845e47 100%); /* IE10+ */
		background: linear-gradient(to bottom, #472c1b 0%,#845e47 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#472c1b', endColorstr='#845e47',GradientType=0 ); /* IE6-9 */
	}

	#topnav{
		display: none;
		position: absolute;
		height: 260px;
		/* width: 420px; */
	    z-index: 9999;
	    left: 0;
	}
		.sf-menu li {
		  background: none;
		  display: block;
		  float: left;
		  margin: 0;
		  width: 100%;
		}
			.sf-menu > li > a {
				margin-left: 0;
				text-align: center;
				padding: 0;
				background: #472c1b;
				height: 36px;
				font-size: 18px;
				line-height: 18px;
			}
				.sf-menu > li > a > span {
					color: #a47a5d;
				}
				.sf-menu > li.current-menu-item > a > span, 
				.sf-menu > li:hover > a > span{
				  	color: #ffddb9;
				}
				
			.sf-menu ul {
			  background: none repeat scroll 0 0 #533420;
			  border: 1px solid #3B2115;
			  min-width: 113px;
			  padding: 0;
			  right: 0;
			  width: 99%;
			}
				.sf-menu ul li li {
				  min-width: 113px
				}
				.sf-menu ul li a{
					text-align: center;
					min-width: 113px;
					font-size: 16px
				}
			.sf-menu li:hover ul,
			.sf-menu li.sfHover ul {
				left:			0%;
				top:			35px; /* match top ul list item height */
				z-index:		99;
			}		

	
	/* Top search */
	#widget-header #searchform .searching {
	  width: 254px;
	}
	
	
	/* Header widget */
	#widget-header {
		padding:15px 0 15px 0;
		font-size:10px;
		text-align:center;
		width: 100%;
		}
		.widget-header{
			margin-left: 0;
			float: none
		}
		.widget-header li {
			padding:0 0 0 2px;
			}

	/* Social Network */
	#widget-header .social-networks li {
	  display: inline-block;
	  margin: 24px 0 0;
	  text-align: center;
	}	
	.widget-header li:first-child {
	  margin-left: 13px !important;
	}	

	
	
	/* Slider
	---------------------------------------- */
#slider-wrapper {
  background-size: 325px;
  padding: 20px 0 0;
  height: 117px;
}
.camera_wrap {
  height: 120px !important;
  margin-bottom: 0!important;
}
	.camera_fakehover {
	  height: 84.5%;
	  min-height: 80px!important
	}
		.camera_target{
			height: 110px;
			border-radius: 2px;
		}
			.camera_wrap img {
			  height: 110px !important;
			}
	.camera_pag {
	  display: none;
	}
	.camera_commands {
	  right: 7px;
	  top: 25%;
	}

	/* Excerpt */
	#excerpt h2 {
	  font-size: 19px;
	  line-height: 24px;
	  margin-bottom: 21px;
	  margin-top: 10px;
	  text-align: center;
	}
	.after_slider_box h2 {
	  font-size: 27px;
	  font-weight: 200;
	  line-height: 29px;
	  margin-bottom: 15px;
	}

/* Before Content Area */
#before_content_area .before_holder {
  background: none;
}

#before_content_area a.more {
  margin: 20px auto 0 110px;
}

/* Home Content area */
#home_content_area .indent_right {
  border: none;
  padding-left: 0px;
}	


#home_content_area .indent_right .caption {
  float: left;
  margin-bottom: 27px;
  width: 185px;
}

#my_poststypewidget-2 {
  margin-right: 0;
  width: 100%;
}

.post_project li img.thumb {
  max-width: 96%;
}

	
	
	#content .indent {
		padding:0 25px 35px;
		}

	.indent_left {
	  padding: 0 25px;
	}	
	.indent_left > div h2 {
	  font-size: 30px;
	  line-height: 30px;
	}
	
	#before_content_area {
		margin:0;
		}
	#home_content_area .indent {
		padding:0;
		}
	.table_block {
	  display: block;
	}

	
	/* Flickr widget */
	.flickrImages a {
		width:49px;
		height:49px;
		}
	
	/* Request a quote */
	.box-text {
		width:100%;
		float:none;
		}
	.box-button {
		width:100%;
		float:none;
		text-align:center;
		padding-left:0;
		padding-right:0;
		}
		.box-button .button {
			float:none;
			}
	
	/* Post */
	.featured-thumbnail {
		float:none;
		margin:0 0 0 0;
	}
	.blog .featured-thumbnail, .archive .featured-thumbnail, .search .featured-thumbnail, .single .featured-thumbnail {
	  width: 50% !important;
	}
	.single.single-portfolio .grid_gallery_inner .featured-thumbnail {
	  width: 100%!important;
	}
		.featured-thumbnail img {
		  width: 50%!important;
		}
			.blog .featured-thumbnail img, .archive .featured-thumbnail img, .search .featured-thumbnail img, .single .featured-thumbnail img {
			  width: 97%!important;
			}
			.blog .post-thumb .featured-thumbnail , .archive .post-thumb .featured-thumbnail, .search .post-thumb .featured-thumbnail, .single .post-thumb .featured-thumbnail, .gallery_post .featured-thumbnail, .search-results .featured-thumbnail{
		  width: 100% !important;
		}

	.extra-wrap {
	  clear: both;
	  overflow: hidden;
	}	

	.featured-thumbnail .fright {
		float:none;
		clear:left;
	}
	.featured-thumbnail.large {
		width:auto;
		height:auto;
		margin:0 0 10px 0;
	}
	
	
	/* Single Team */
	.single-team .img-wrap img {
		width:auto;
		height:auto;
		float:left;
		margin:0 10px 5px 0;
		}
	/* .single-team .extra-wrap {
		display:inline;
		} */

	/* Recent Post */
	.recent-posts.team li {
	  margin: 0 0 25px;
	  width: 100%;
	}	
	.recent-posts.team li .thumb-wrap {
	  width: 100%;
	}
	.recent-posts.team li .thumb-wrap img {
	  margin: 0;
	  width: 94%;
	  max-width: 94%
	}
	.teacher li {
	  margin-bottom: 25px;
	  padding-left: 0;
	  width: 94%;
	}
	ul.recent-posts li h5 {
	  padding: 0 0 0 150px;
	  clear: none;
	}
	ul.recent-posts li .excerpt{
		padding: 0 0 0 150px;
	}

	/* Fullwidth with sidebar */
	.fullwidth-sidebar .post-holder {
	  background: none repeat scroll 0 0 transparent;
	  padding: 25px 0 0 20px;
	  width: 100%;
	}
	.post_project li {
	  width: 98%;
	}
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
		}
	.comment-author {
		padding-bottom:0;
		}
	
	#commentform input[type="text"], #commentform textarea {
	  max-width: 250px;
	  min-width: 198px;
	  width: 92%;
	}
	#commentform input[type="submit"] {
	  margin: 13px 0 0;
	}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone,
	.lightbox {
		margin-right:0;
		width:100%;
		height:auto;
		}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img,
	.lightbox img {
		width:100%;
		height:auto;
		}
	
	.lightbox i {
		right:22px;
		}
	
	
	.folio_cycle .folio_item figure.thumbnail img {
		width:100%;
		height:auto;
		}
	
	.post_list li .thumb-wrap {
		width:100%;
		height:auto;
		}
		.post_list li .thumb-wrap img {
			width:100%;
			height:auto;
			}


.entry-header .wrap_h1{
	background: none;
} 
.post-holder .entry-title {
	font-size: 24px!important;
	line-height: 24px!important;
	background: none;
	}			
		
/* Comments */
	.commentlist ul.children {
		margin-left:0;
		}
	
	
	/* Aside Box */
	.box-holder {
		margin:0 -15px -57px -15px;
		padding:27px 15px 27px 15px;
		}
	
	.latestpost li .featured-thumbnail {
		margin:0 0 20px 0;
		float:none;
		width:100%;
		height:auto;
		}
		.latestpost li .featured-thumbnail img {
			width:100%;
			height:auto;
			}
			

/* 404 */
#error404 {
  float: left;
  padding: 30px 0 17px;
  width: 100%;
}
.error404-num {
  font-size: 60px;
}
.text-404 strong {
  font-size: 22px;
}
.globus {
  margin-bottom: 44px;
  margin-top: 0px;
  width: 90%;
}

#searchform input[type="submit"] {
  margin: 10px 70px 0;
}
.no-results #searchform input[type="text"] {
  width: 92%;
}
.no-results #searchform input[type="submit"] {
  margin: 10px 70px 0;
}
#error404 #searchform > input[type="text"] {
  margin: 0;
  width: 92.5%;
}
#error404 #searchform > input[type="submit"] {
  margin: 10px 71px;
}



/* Portfolio
---------------------------------------- */
.zoom-icon {
  height: 135px;
  width: 269px;
}
	.single-portfolio .zoom-icon {
	  height: 183px;
	  width: 300px;
	}
	.blog .zoom-icon, .archive .zoom-icon, .single .zoom-icon, .search .zoom-icon {
	  height: 135px;
	  width: 269px;
	}
	.single .zoom-icon {
	  height: 183px;
	  width: 100%;
	}

ul.portfolio-meta-list li {
  font-size: 16px;
}
.single-oldernewer {
  font-size: 16px;
}
nav.oldernewer {
  font-size: 0;
  margin-bottom: 20px;
}
	.single-oldernewer a{
		font-size: 13px;
	}

.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 {
	  width: 100%;
	}
		.grid_gallery_inner {
		  width: 100%;
		}
			.grid_gallery .gallery_item {
			  margin: 0 0 15px;
			  width: 100%;
			}

			
			
	.one_third {
	  width: 100%;
	}


/* 1 column portfolio*/
#gallery.one_column .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.one_column .portfolio li a.image-wrap {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .portfolio li span.image-border {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 97%;
	}
	#gallery.one_column .portfolio li a.image-wrap .zoom-icon {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .folio-desc {
	  margin: 15px 0 0 0;
	  width: 100%;
	}

/* 3 columns portfolio*/
#gallery.three_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
	}
		#gallery.three_columns .portfolio li a img {
			width:100%;
			height:auto;
			}
	#gallery.three_columns .zoom-icon {
		width:100%;
		height:148px;
		}		
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
}
	#gallery.four_columns .portfolio li span.image-border {
	   height: 179px;
	   width: 269px;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width: 100%;
		height: 180px;
		}
		#gallery.four_columns .portfolio li a img {
			width:97.3%;
			height: 96%;
		}
	#gallery.four_columns .zoom-icon {
		width:100%;
		height:180px;
		}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
	  height: 100%;
	  width: 100%;
	}
	#gallery.two_columns .portfolio li span.image-border {
	  height: 100%;
	  width: 100%;
	}
	#gallery.two_columns .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	}
	#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
	  height: 100%;
	  width: 100%;
	}	

/* 3 columns portfolio*/

.gallery_post .g_item .featured-thumbnail img {
  float: none;
  width: 97% !important;
}

	/* Page navi */
	.wp-pagenavi {
	  margin-bottom: 10px;
	}	

/* Carousel */
.es-carousel ul li h4 {
	display:none;
	}
.es-carousel ul li .excerpt {
	display:none;
	}
.es-carousel ul li .link {
	display:none;
	}	

	
/* Contact Page */
#page-content .grid_7 {
  width: 220px;
  margin: 0 
}

.info {
  float: right;
  width: 100%;
}	
	
/* Contact form */
.wpcf7 p {
  width: 100%;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 92.5%;
}

.wpcf7-not-valid-tip {
  height: 20px !important;
  padding: 10px 0 4px 10px !important;
  width: 256px !important;
}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}
		
	
/* Secondary Sidebar
---------------------------------------- */
#secondary-sidebar {
  width: 100%;
}

/*---------------------- CONTENT ---------------------*/
.home .container_12 div[class*="grid"] div[class*="grid"]{
  margin-left: 0;
  margin-bottom: 30px;
}

h1 {
  background-position: -109px 5px;
  font-size: 26px !important;
  line-height: 29px !important;
  padding-top: 7px;
}
#primary {
  padding-top: 25px;
}
.archive #content .wrap_h1 {
  background: none repeat scroll 0 0 transparent;
  margin: 0 0 15px;
}
	.archive h1 {
	  font-size: 18px!important;
	  line-height: 18px!important;
	  background-position: -51px 5px;
	  padding-top: 7px;
	  padding-right: 0;
	}
		.archive #content h1 {
			background: none;
		}

.search .header-title .wrap_h1{
	background: none;
}
	.search .header-title .wrap_h1 h1{
		background: none;
		font-size: 21px!important;
		margin-bottom: 10px;
	}

.blog .header-title {
  margin: 0 0 35px;
}
	.archive .header-title {
	  margin: 0;
	}

#have_posts{
	display: none;
}
.primary_content_wrap {
  width: 300px;
  -webkit-background-size: 300px;
  background-size: 300px;
  margin-top: -28px;
}

#caption_block {
  display: none;
}

#notepad a.btn_submit {
  margin-left: 58px;
}

.alignleft {
  width: 97% !important;
}

ul.recent-posts li {
  margin-left: 0!important;
}

.primary_content_wrap .container_12 .grid_12 {
	margin-bottom:0;
}

.entry-header h2.entry-title a {
  font-size: 18px;
  line-height: 18px;
}
.entry-header b {
  margin: 10px 0 0;
}
.post-meta {
  font-size: 12px;
  line-height: 12px;
}
	.post-meta time {
	  padding: 0 0 0 5px;
	}

iframe {
  width: 97%;
  height: 200px;
}

.audiojs {
  width: 100%;
}
	.audiojs .scrubber {
	  width: 38%;
	}
#notepad input[type="submit"] {
  margin: 25px 53px 0;
}
/* ------------------ Footer ------------*/

#footer {
  padding-bottom: 0;
}
	#wrap_footer_navi #menu-footer_menu {
	  float: none;
	  right: 0;
	}
		#menu-footer_menu li, #menu-footer_menu li:first-child {
		  float: none;
		  margin: 0 0 5px 0;
		  left: 0;
		}
			#menu-footer_menu li a {
			  font-size: 20px;
			  line-height: 20px;
			}

	#footer-text {
	  margin-left: 0;
	  margin-bottom: 18px;
	  font-size: 9px;
	  line-height: 9px;
	}

	#social_networks-2 {
	  margin-left: 0;
	}
		.social-networks li:first-child {
		  padding: 0;
		}
			.social-networks li:first-child a img {
    			margin: 0;
			}

	.site-name {
	  margin-left: 95px;
	}

	#copyright .right_side {
	  margin: 15px 0 0;
	  width: 100%;
	}

	#newsletterwidget-2 input[type="text"], #newsletterwidget-2 input[type="email"] {
	  width: 94%;
	}




}