/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

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

	/*---------------------------------------- 
					Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:20px 0;
	}
	
	.sf-menu {display:none!important;}

#header {height:265px;}
.row-logo {height:188px;}
.row-menu {height:77px;}

/* Logo */
.logo {
	padding:28px 0 0 0px;
	position:relative;
	margin:0 auto;	
}
/* ----------------------------------------
				Top search
---------------------------------------- */		
#top-search {top:114px;}
.bg-form {width:300px;}	
#top-search .input-search {width:237px;}
	
.button {margin-bottom:30px;}	

	/* Flickr widget */
	.flickrImages a {
		width:49px;
		height:49px;
	}
/*----------------------------------------
				Slider
---------------------------------------- */	
#slider-wrapper {height:134px;}
.camera_wrap .camera_pag .camera_pag_ul li, 
.camera_wrap .camera_pag .camera_pag_ul li > span, 
.camera_prev, 
.camera_next  {background-color:#111111;}
	
/*----------------------------------------
				Request a quote
---------------------------------------- */
	.box-text {
		width:100%;
		float:none;
	}
	.box-button {
		width:100%;
		float:none;
		text-align:center;
		padding-left:0;
		padding-right:0;
	}
		.top-box h1 {
			font-size:36px;
			line-height:40px;
			margin-bottom:20px;
			text-align:center;
		}
			.top-box h1 span {margin-top:0px;}

/*----------------------------------------
			Recent Posts
---------------------------------------- */
.latestpost li {
	margin:0 0px 30px 0;
	width:300px;
}
	.latestpost li .featured-thumbnail img{
		width:290px;
		height:auto;
	}	
/*----------------------------------------
			Post Holder
---------------------------------------- */
	.post-holder {margin-right:0px;}
	.post-holder .featured-thumbnail {
		float:none;
		overflow:hidden;
		margin-right:0;
	}
		.post-holder .featured-thumbnail img {
			width:290px;
			height:auto;
		}
	
	.wp-pagenavi {padding:40px 0 40px 0;}
	
	.post-holder.services .featured-thumbnail,
	.post-holder.clients .featured-thumbnail {float:left; margin:5px 20px 10px 0;}
	
	.single-post.services .featured-thumbnail img, 
	.post-holder.services .featured-thumbnail img {
		width:66px;
		height:71px;
	}
	.single-post.clients .featured-thumbnail img, 
	.post-holder.clients .featured-thumbnail img {
		width:134px;
		height:63px;
	}
	
	.single-post.team .featured-thumbnail {
		float:none;
		margin-right:0px;
	}
		.single-post.team .featured-thumbnail img{
			width:290px;
			height:auto;
		}
	.post-meta .fright {
		float:none;
		clear:left;
	}
	.featured-thumbnail.large {
		width:290px;
		height:auto;
		margin:0 0 10px 0;
	}

/*----------------------------------------
				 Comments
---------------------------------------- */
.commentlist {padding:0 0px 74px 0; margin:0;}
#content .commentlist ul.children {margin:0 0 0 5px;}

.reply {margin-left: 15px;}	
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
	}
	.comment-author {
		padding-bottom:0;
	}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:263px;
	}
	
	.author-info {margin-right:0;}
	.author-info .avatar {
		margin:0 20px 10px 0;
	}
/*----------------------------------------
			Sidebar
---------------------------------------- */
#sidebar {padding-top:40px;}
#sidebar .bg-form {width:300px;}
#searchform .searching {width:237px;}

/*----------------------------------------
			Recent Posts Latest
---------------------------------------- */	
.recent-posts.latest li {
	margin:0 0px 18px 0;
	width:300px;
}
	.recent-posts.latest li .featured-thumbnail img{
		width:290px;
		height:auto;
	}
/*----------------------------------------
				News
---------------------------------------- */
	.recent-posts.news li .extra-wrap {overflow:visible;}
	.recent-posts.news li h2 {padding: 6px 0 0 0;}
	
	/* Team */
	.recent-posts.team li {
		float:none;
		width:auto;
		margin:0 0 30px 0;
		}
		.recent-posts.team li .featured-thumbnail {
			width:120px;
			height:auto;
			overflow:hidden;
			float:left;
			margin:0 20px 0 0;
			}
	
	/* Services */
	.recent-posts.services li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
	}
		.recent-posts.services li .featured-thumbnail {float:left;}
	
	/* Testimonials list*/
	article.testimonial, .testi-single{
		padding: 270px 20px 20px 43px;
		background-position:10px 260px;
	}
		article.testimonial .featured-thumbnail, .testi-single .featured-thumbnail {
			left:45px;
			top:20px;
		}
			article.testimonial .featured-thumbnail img, .testi-single .featured-thumbnail img{
				width:200px;
				height:auto;
			}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone {
		margin-right:0;
		width:284px;
	}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img	{
		width:100%;
		height:auto;
	}
	
	.alignleft {
		float:none;
		margin:5px 0px 20px 0;
	}

	.hr {margin:20px 0px 57px;}	
	.sm_hr {margin:28px 0px 35px;}	
	
	/* Related Posts */
	.related-posts li {
		width:auto;
		float:none;
		margin:0 0 .5em 0;
	}
	.related-posts li:first-child {margin-left:0;}
	.related-posts li .featured-thumbnail {display:none;}
	
	
	/* SlidesJS */
	.slides_container {
		width:300px;
	}
	.slides_container .item {
		width:300px;
		height:250px;
	}
	.slides_container .item .thumbnail img {
		width:100%;
		height:auto;
		}
	
	
	/* Address */
	.address {margin-bottom:30px;}
	.address dt {
		width:auto;
		margin:0 0 20px 0;
		padding:0 0 0 55px;
		font-size:12px;
		float:none;
	}
	.address dd {
		float:none;
		width:auto;
		padding:0 0 0 43px;
		margin:0 0 20px 0;
	}
		.address dd span {width:100px;}
	
	
/*----------------------------------------
					404
---------------------------------------- */
.error404-num {
	font-size:180px;
}
/*----------------------------------------
				Portfolio
---------------------------------------- */
/* Default layout 3 columns */
#gallery .portfolio li {
	width:100%;
	margin:0 0px 30px 0;
}
	#gallery .portfolio li a.image-wrap {
		width:290px;
		height:142px;
	}
		#gallery .portfolio li a.image-wrap img {
			width:290px;
			height:142px;
		}
/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:290px;
	height:151px;
	float:none;
}
	#gallery.one_column .portfolio li a.image-wrap img {
		width:290px;
		height:151px;
	}
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:290px;
		height:152px;
	}
		#gallery.four_columns .portfolio li a img {
			width:290px;
			height:152px;
		}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:290px;
		height:151px;
	}
	#gallery.two_columns .portfolio li a img {
		width:290px;
		height:151px;
	}

/* Carousel */
.es-carousel ul li h4 {
	display:none;
	}
.es-carousel ul li .excerpt {
	display:none;
	}
.es-carousel ul li .link {
	display:none;
	}	

.post_list .featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}

.latestpost .featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}


/* Post Formats
---------------------------------------- */

/* Image Post Format */
.image-post-format img {
	width:100%;
	overflow:hidden;
	}

/* Gallery Post Format */
.slides_container_gallery {
	width:300px;
	height:150px;
	}
	.slides_container_gallery .g_item {
		width:300px;
		}	

/* Audio Format Type */
.audiojs .scrubber {
	width:130px;
	}

	
	
/* Google Map */
.google-map {
	position: relative;
	padding-bottom: 46.25%;
	height: 0;
	overflow: hidden;
	margin:0 0 2% 0;
}
.google-map iframe,  
.google-map object,  
.google-map embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
	
/* Contact form */
.wpcf7-form p.field input {
	width:278px;
}
.wpcf7-form textarea {
	width:278px;
}
.wpcf7-not-valid-tip {
	width:286px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:8px 0 9px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
		
	
/*----------------------------------------
				Footer
---------------------------------------- */
nav.footer {
	float:none;
	display:block;
	text-align:center;
	padding:10px 0 0 0;
	margin:0;
}
	nav.footer ul li {
		float:none;
		display:inline-block;
		padding:0 0 0 6px;
		margin:0;
	}

#footer-text {
	width:auto;
	float:none;
	text-align:center;
	margin:0 0 0px 0;
}

}