/*  #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
}
.container_12{
	padding: 0 0 0 10px
}

html,
body {
	min-width:300px;
}

#main {
  width: 300px;
}

/*  **************************************************/
#wrapper_top {
	background: url("../images/bg_block1.jpg") repeat-y scroll center top transparent;
}
#wrapper_center {
	background: url("../images/bg_block2.jpg") repeat-y scroll center top transparent;
}
#wrapper_top, #wrapper_center {
	-webkit-background-size: 460px 343px;
	background-size: 460px 343px;
}

#wrapper_footer {
	background: url(../images/bg_block4.jpg) center top repeat-x;
	-webkit-background-size: 450px 647px;
	background-size: 450px 647px;
}
/* Header
---------------------------------------- */
/*  **************************************************/
#top {
	height: 24px;
}
	#top .soc_links p {
	  display: none;
	}
	#top .phone {
	  padding-top: 7px;
	  width: 120px !important;
	}
		#top .phone p {
			font-size: 9px;
			line-height: 11px;
			padding: 0;
		}

	#top .soc_links {
	  font-weight: normal;
	  text-align: right;
	  width: 170px!important;
	}
		#top .soc_links ul > .soc_link {
			  background-size: 24px 46px!important;
			  width: 24px;
			  height: 15px;
			}
				#top .soc_links ul li:hover {
				  background-position: 0 -23px !important;
				}

/*  **************************************************/	
#top-header {
	height:87px;
	}

#header {
  min-height: 180px;
  position: relative;
  z-index: 99999;

}

/* --------- Logo ------ */
#logo_nav {
    background-size: 1px 75px;
    height: 75px;
    width: 100%;
}
.logo {
    margin-top: 26px;
}

.logo img, .colorscheme1 .logo img {
    width: 110px;
}

/*----------------------- TOP --------------*/

.responds {
  display: block;
}

/*  **************************************************/
/* Primary navigation */

/* Navigation select styling */


nav.primary {
    background: none repeat scroll 0 0 transparent;
    height: 47px;
    left: 55%;
    top: 15px;
}
	nav.primary .responds {
	    color: #808080;
	    cursor: pointer;
	    display: block;
	    font-family: 'Titillium Web',sans-serif;
	    font-size: 26px;
	    height: 44px;
	    line-height: 44px;
	    text-align: center;
	}

	#topnav {
	    background: none repeat scroll 0 0 #F2F3F5;
	    display: none;
	    left: -126px;
	    min-width: 250px;
	    position: absolute;
	}
		#topnav li:hover {
		    background: none repeat scroll 0 0 #E4E4E4;
		}

		#topnav li a {
		    line-height: 40px;
		}

		.sf-menu li {
		  display: block;
		  float: left;
		  width: 100%;
		  background: url("../images/bg_primary_nav_li2.png") repeat-x left top;
		}
			.sf-menu li:first-child {
			  border-top: none;
			}
			.sf-menu > li > a {
				margin-left: 0;
				text-align: center;
			}
			#topnav li a {
			  font: 15px/45px "Open Sans";
			  padding: 0 18px;
			  transition: all 0.3s ease-out 0s;
			}
				#topnav li a:hover {
					background: none;
				}
				.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 {
			  right: 0;
			  width: 248px;
			}
			#topnav .sub-menu {
			    border: 1px solid #E8E9EB;
			}
				
				.sf-menu ul li li {
				  min-width: 113px
				}
				.sf-menu ul li a,
				.sf-menu ul li ul li a{
					text-align: center;
					min-width: 113px;
					font-size: 16px;
					padding: 12px 13px;
				}

			.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;
			}
				.sf-menu .sub-menu .sub-menu li:first-child {
				  border-top: none;
				}

	
	/* 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;
			}
#widget-header #searchform .searching {
	  width: 205px;
	}
	#widget-header .social-networks li {
	  margin: 5px 0 0 0 ;
	  text-align: left;
	}
	/* 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 ******************/
#wrap_section_slider {
  min-height: 200px;
}

	.camera_wrap {
		width: 300px !important;
	}

#slider-wrapper .camera_target_content {
  height: 35px;
}	
	#slider-wrapper .camera_caption {
	  width: 300px;
	}
		#slider-wrapper .camera_caption > div {
		  font-size: 13px;
		  line-height: 15px;
		}
	
		#slider-wrapper .camera_caption h1 {
		  font-size: 15px;
		  line-height: 18px;
		}
		#slider-wrapper .camera_caption h2 {
		  font-size: 20px;
		  line-height: 24px;
		  padding-bottom: 0;
		}
		#slider-wrapper .camera_caption p {
		  font-size: 12px;
		  line-height: 14px;
		}
#slider-wrapper .camera_prev {
  left: 20px;
}
#slider-wrapper .camera_next {
  right: 20px;
}		
/*  **************************************************/
#wrap_carousel {
	display: none;
}
/*  **************************************************/

#wrap_after_sl_area div[id*="text"] {
  border:none;
  margin: 0;
  padding-right: 0;
  width: 188px;
}


#red_block {
  height: 140px;
  padding-top: 15px;
}
	#red_block p {
	  font-size: 18px;
	  font-weight: bold;
	  line-height: 26px;
	  text-align: center;
	}
	#red_block #qoute {
	  left: 23px;
	  position: absolute;
	  top: 55px;
	}
		#red_block a.get_quote {
		  width: 215px;
		}

/*  **************************************************/

	/* 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;
}

/* Post */
.featured-thumbnail {
  float: left;
  margin-bottom: 15px;
  width: 96%;
}


#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 */

.blog .featured-thumbnail,
.archive .featured-thumbnail,
.search .featured-thumbnail {
  width: 97% !important;
}
	.single.single-portfolio .grid_gallery_inner .featured-thumbnail {
	  width: 100%!important;
	}
		.blog .featured-thumbnail img,
		.archive .featured-thumbnail img,
		.search .featured-thumbnail img,
		.single .featured-thumbnail img {
		  width: 99%!important;
		}
		.featured-thumbnail.single-gallery-item img {
		    width: 97%!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;
} 
	
/* 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;
			}

/*  **************************************************/			
.blog .header-title {
margin: 0 0 15px;
}			
/*  **************************************************/

/*  **************************************************/
.testimonials div.testi_item {
  width: 280px !important;
}
/*  **************************************************/


/* 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%;
}

#header #searchform input[type="text"] {
  color: #fff;
}

/* Portfolio
---------------------------------------- */
.zoom-icon {
  height: 135px;
  width: 269px;
}
	
	.blog .zoom-icon, .archive .zoom-icon, .single .zoom-icon, .search .zoom-icon {
	  height: 135px;
	  width: 269px;
	}

.single.single-portfolio .zoom-icon {
	  height: 191px;
	  width: 280px;
	}

.single-portfolio .zoom-icon:before {
  left: 49%;
  top: 48%;
}

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%;
	}

@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{  
	.single-portfolio .zoom-icon:before {
		left: 48%;
		top: 50%;
	}
}

/*  **************************************************/

/* 1 column portfolio*/
#gallery.one_column .portfolio li {
	width:100%;
	margin-right:0;
}
	#gallery.one_column .portfolio li span.image-border {
	  height: 149px;
	  width: 280px;
	}
		#gallery.one_column .portfolio li a.image-wrap {
		  height: 149px;
		  width: 280px;
		}
		#gallery.one_column .portfolio li a.image-wrap img {
		  width: 96.5%;
		}
		#gallery.one_column .portfolio li a.image-wrap .zoom-icon {
		  height: 149px;
		  width: 280px;
		}
	#gallery.one_column .folio-desc {
	  margin: 15px 0 0 0;
	  width: 100%;
	}

/*  **************************************************/

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li span.image-border {
	  height: 167px;
	  width: 280px;
	}
		#gallery.two_columns .portfolio li a.image-wrap {
		  height: 167px;
		  width: 280px;
		}
			#gallery.two_columns .portfolio li a.image-wrap img {
			  margin-bottom: 0;
			  width: 96.5%;
			}
			#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
			  height: 167px;
			  width: 280px;
			}	

/*  **************************************************/

/* 3 columns portfolio*/
#gallery.three_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.three_columns .portfolio li span.image-border {
	  height: 197px;
	  width: 280px;
	}
		#gallery.three_columns .portfolio li a.image-wrap {
		  height: 197px;
		  width: 280px;
		}
			#gallery.three_columns .portfolio li a.image-wrap img {
			  margin-bottom: 0;
			  width: 96.5%;
			}
			#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
			  height: 197px;
			  width: 280px;
			}	

/*  **************************************************/

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width: 280px;
	margin:0 0 30px 0;
	float:none;
}
	#gallery.four_columns .portfolio li span.image-border {
	   height: 149px;
	   width: 280px;
	}
		#gallery.four_columns .portfolio li a.image-wrap {
			width: 280px;
			height: 149px;
		}
		#gallery.four_columns .portfolio li a img {
			width:96.5%;
		}
		#gallery.four_columns .zoom-icon {
			width: 280px;
			height: 149px;
		}

/*  **************************************************/



/* 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%;
}
.wrap_cf .wpcf7-form input[type="text"],
.wrap_cf .wpcf7-form input[type="email"],
.wrap_cf .wpcf7-form textarea {
  width: 92%;
}

span.wpcf7-not-valid-tip {
  height: 19px !important;
  left: 0 !important;
  padding: 10px 0 9px 15px !important;
  top: -16px !important;
  width: 262px !important;
}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}
	
#recent-author-comments ul {
    margin-left: 15px;
}

.page-template-page-fullwidth_withLeftSidebar-php aside#sidebar2 + div.grid_9 {
	margin-bottom: 0 !important;
}

.blog a.button, .category a.button, .search-results a.button {
    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;
}
.wrap_block div[class*="grid"] p:last-child{
	margin-bottom: 30px!important;
}
	.wrap_block div[class*="grid"]:last-child p:last-child{
		margin-bottom: 10px!important;
	}

aside#sidebar {
  border-bottom: 1px solid #EBEDEE;
  margin-top: 25px;
}
	aside#sidebar2 {
	  margin: 0!important;
	}

	#wrap_sidebar {
	  padding: 0;
	}

.alignleft, .alignright, .alignnone {
  width: 97% !important;
}

#primary {
  padding-top: 25px;
}
.post-content {
  padding-left: 0;
}

.wrap_content iframe {
  width: 97%;
}

#have_posts{
	display: none;
}



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 {
  float: left;
  margin-top: 15px !important;
  position: inherit;
}
.post-meta {
  font-size: 10px;
  line-height: 12px;
}
	.post-meta time {
	  padding: 0 0 0 5px;
	}

iframe {
  width: 97%;
  height: 200px;
}

.audiojs {
  width: 100%;
}
	.audiojs .scrubber {
	  width: 38%;
	}
#page_inner,
.page-template-page-blog_with_leftSidebar-php #page_inner,
.page-template-page-blog_with_rightSidebar-php #page_inner,
.page-template-page-blog_with_twoSidebar-php #page_inner {
	background: #fff;
	width: 300px;
	top: 0;
}

#after-slider {
  margin-top: 0;
  width: 300px;
  height: 350px;
}
	#after-slider a.button {
	  right: 62px;
	  top: 98%;
	  padding: 0 10px;
	}

	#after-slider .box_1 .text,
	#after-slider .box_1 h2 {
	  width: 100%;
	  font-size: 17px;
	  padding-bottom: 0;
	}
		#after-slider .box_1 h2 {
			font-size: 25px;
		}

#middle-blocks {
  padding-bottom: 0;
}


/*  **************************************************/
#home-content .content {
  width: 85%;
  padding-bottom: 0;
}
	#home-content .grid_4 {
		margin-top: 25px;
	}
		#home-content .grid_4:first-child {
		  margin-top: 0;
		}


/*  **************************************************/	

#interior_ideas img {
  width: 94%;
}

#cat_block ul li {
  font-size: 14px;
  line-height: 18px;
}


#interior_ideas a {
    background-size: 60px 118px;
    height: 60px;
    width: 60px;
    right: 20px;
    top: 50%;
}
	#interior_ideas a:hover {
	    background-position: 0 -60px;
	}


/*  **************************************************/
.single-testi #content article.testimonial {
  margin-bottom: 0;
  padding: 290px 0 30px;
}
/*  **************************************************/

.home .alignnone {
  height: auto;
}

	.page-template-page-fullwidth-php .wrap_content {
	  padding-bottom: 0;
	}
		.page-template-page-fullwidth-php .wrap_content #content article:last-child {
		
		  margin-bottom: 0;
		}

#recent-author-comments ul li {
  font-size: 12px;
}

#wrap_sidebar #searchform input[type="text"] {
  width: 83%;
}	

.wrap_block .block_info{
	margin-bottom: 20px;
}

.box_3 h2 {
  font-size: 13px;
}


/*  **************************************************/
#middle-blocks .grid_12 {
  border-bottom: 1px solid #EBEDEE;
  padding: 0;
}
/*  **************************************************/




/* ------------------ Footer ------------*/

#footer {
  width: 300px;

}
	.footer_info {
	  float: left;
	  padding-top: 0;
	}
		.footer_info  #footer-text a:first-child {
		  display: inline-block;
		  margin: 0 10px 0 0;
		}

#footer .textwidget .block_info {
    float: none;
    margin-top: 25px;
}
#footer .textwidget img {
  margin-left: -19px;
  width: 55%;
}

#footer #searchform input[type="text"] {
  width: 92%;
}
	#footer-text {
	  margin-left: 0;
	  margin-bottom: 15px;
	}
	#footer ul {
	  padding-bottom: 0;
	}

	#footer .grid_4 {
		margin-top: 25px;
	}
		#footer .grid_4:first-child {
			margin-top: 0;
		}
		#footer .grid_4:last-child {
			display: none;
		}


	#footer .wpcf7-not-valid-tip {
	  font-size: 15px !important;
	  line-height: 20px;
	  padding: 8px 6px 2px !important;
	  width: 88% !important;
	}
		#footer textarea + span.wpcf7-not-valid-tip {
		  width: 96% !important;
		}

	#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;
	}

/*  **************************************************/
/*  **************************************************/
.no-results #searchform,
#error404 #searchform {
  position: relative;
  width: auto;
}
	.no-results #searchform input[type="text"],
	#error404 #searchform input[type="text"] {
	  width: 92%;
	}

/*  **************************************************/
#footer .grid_4:first-child #my_logowidget-2 {
  float: none;
  margin-left: -16px;
}







}