/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {
#main {
  background: #0f0e17;
}
.home #main {
  background: #0f0e17;
  height: 100%;
}
.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_wrapper {
  	background-position: -275px top;
}	
	.header_widget{
		margin-bottom: 0!important;
	}
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding: 0;
	}
		.sf-menu {
			display:none;
			}
	
/* Logo */
.logo {
	width:100%;
	text-align:center;
	margin: 10px 15px 0!important;
	}
	.logo img{
		height:auto;
		}
	.logo h1,
	.logo h2 {
		font-size:30px;
		}
		.logo .tagline {
			display:none;
			}
	
	/* Navigation select styling */
	select.mnav {
		width:80%;
		clear:both;
		margin:21px 0 0;
		color: #000000;
	}

	/* Top search */
	#top-search {
		margin-top:12px;
		}
	#top-search .input-search {
		width:130px;
		margin-right:0;
		}
	#top-search #submit {
		width:20px;
		height:20px;
		padding:0;
		background:url(../images/search-icon.gif) 0 0 no-repeat;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		position:absolute;
		right:0;
		top:8px;
		}
	
	
	/* Header widget */
	#widget-header {
		padding:10px 0 0;
		font-size:10px;
		text-align:center;
		margin-top: 0;

		}
		.widget-header li {
			padding:0 0 0 2px;
			}

.listen_live {
  	margin: 0 60px;
}
	.listen_live a {
		background-size: 80%;	  
	}		
	
	
	/* Slider
	---------------------------------------- */
	.flexslider-holder {
		height:145px;
		}
		.flex-caption {
		  display: none
		}
		.flex-control-nav {
		  display: none;
		}
.flexslider .slides img{
    height: 100%!important;
}
/* 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_wrap {
	padding: 0 0 15px;
}
#home_content_area .indent_right {
  border: none;
  padding-left: 0px;
  margin-top: 20px;
}	


#home_content_area .indent_right .caption {
  float: left;
  margin-bottom: 27px;
  width: 185px;
}

.divider_right,
.divider_center {
  background: none;
}	
	#content .indent {
		padding:0;
		}
	
	#before_content_area {
		margin:0;
		}
	#home_content_area .indent {
		padding:0;
		}
	
	/* 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:left;
		margin: 0 20px 10px 0;
	}
		.featured-thumbnail img {
			width:auto;
			height:auto;
			}
			.blog .featured-thumbnail img {
				width:100%;
			}
			.archive .featured-thumbnail img {
				width:100%;
			}
		.type-post .featured-thumbnail {
			float:left;
			margin: 0 30px 10px 0;
		}	
		.archive .type-post .featured-thumbnail {
			float:none;
		}
		.blog .type-post .featured-thumbnail {
			float:none;
		}
	.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;
		}
	
	
	/* Comments */
h2#comments {
  font: 18px/18px "Open Sans";
}	
	.normal {
		display: block;
        margin: 10px 0 0 0 ;
        font: 22px/25px "Open Sans";
    }

	li.comment .comment-body {
		padding: 33px 25px 18px 22px;
	}

	.comment-meta {
		position: static;
		margin: 0 0 30px 90px;
	}
	.comment-author {
		padding-bottom:0;
		margin: 0 0 0 90px; 
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:100%;

		min-width:240px;
		}
	
	
	/* 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;
		}
	
	.tabs .tab {
			padding:20px 0;
			background:#020202 url(../images/tab-bg-small.png) 50% -30% no-repeat;
		}
		.tabs .tab .entry {
			margin: 0 15px 20px 15px;
			width: 270px;
			}
			.tabs .tab .entry img {
				width:100%;
				height:auto;
				}
	
	
	/* 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;
			}
			

/* Portfolio
---------------------------------------- */

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:259px;
	height:147px;
	float:none;
	}
#gallery.one_column .zoom-icon {
	width:269px;
	height:157px;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:94%;
		height:244px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}
	#gallery.four_columns .zoom-icon {
		width:100%;
		height:257px;
		}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:259px;
		height:147px;
		}
	#gallery.two_columns .zoom-icon {
		width:269px;
		height:157px;
		}



	
/* Google map */
#map {
	width:265px;
	height:265px;
	}
	
/* Contact form */
.wpcf7-form input[type="text"], .wpcf7-form textarea {
	max-width: 95%;
	width: 95%;
}
.wpcf7-form p.field input {
	width:245px;
	}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}
.wpcf7-not-valid-tip {
	  top: 1% !important;
	  width: 95% !important;
}		


/*====================== FOOTER =====================*/

#before_footer_wrap {
  	background-position: center bottom;
  	height: auto;
}
	#before_footer_wrap ul {
	  	border-bottom: 1px solid #1D1C2C;
	}

#footer{
	height: auto;
}


.site-name {
  margin-left: 33px;
}	
#copyright .right_side {
  margin: 15px 0 0;
  width: 100%;
}
#menu-footer-menu{
	text-align: center;
}
#footer-text {
  float: none;
  padding-top: 10px;
  text-align: center;
}
#searchform .searching {
	background: none repeat scroll 0 0 #15112A;
	border: 1px solid #23152b;
	border-bottom: 1px solid #502F62;
	margin-right: 0;
	width: 95%;
}
#searchform .submit {
	margin: 15px 0 0 90px;
}
.site-name > img {
  margin: 20px 0 0 0;
}


/*=========================== CONTENT =======================*/
.header-title h1 {
	margin: 30px 0 30px 14px;
}
	.blog .header-title h1 {
		margin: 30px 0;
	}

.alignleft {
  	margin: 5px 40px 15px 0;
}

.es-carousel figure {
  	padding: 0;
}
	.es-carousel ul li .thumbnail {
	  	border: 2px solid #FFFFFF;
	}
		.es-carousel ul li .thumbnail:hover {
		    border: 2px solid #8F7AA4;
		}

.es-nav span {
    	left: 247px;
    	top: -31px;
 	}	
 	.es-nav span.es-nav-prev {
	    left: 0px;
	}

	.post_list figure {
	  	padding: 0 25px 0 0;
	}

.post-holder.single-post figure.featured-thumbnail{
	padding: 0;
}
.post-holder footer .button {
	margin: 0 15px 0 0;
}

.nomargin{
	margin-left: 0!important;
}
	.nomargin > h2{
		margin-left: 14px!important;
	}

.footer_sign {
  	padding: 0 0 0 105px;
}
#footer-text {
  	margin: 0 20px;
}

.error404-num {
	font: bold 170px/170px "Open Sans";
	padding-right: 95px;
	display: block;
	clear: both;
	margin: 0 0 25px;
}

/*-------------------- Carousel ----------------------*/
.es-carousel {
	padding-bottom: 0px;
}
	.es-carousel ul li h4 {
		display:none;
	}
	.es-carousel ul li .excerpt {
		display:none;
	}
	.es-carousel ul li .link {
		display:none;
	}	





























}