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

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

.home #main {	
	background-size:1400px auto;
	}
	
/* Header
	---------------------------------------- */
#header {
	min-height:150px;
	}
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:10px 0;
	}
	
	/* Logo */
	.logo {
		padding-bottom:15px;
		margin-top:30px;
		}
	.logo img{
		max-width:120px;
		height:auto;
		}
	.logo h1,
	.logo h2 {
		font-size:36px;
		letter-spacing:0;
		padding-top:5px;
		}
		.logo .tagline {
			display:none;
			}
		
	
	/* 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:5px 0;
		text-align:center;
		}
	
	
	/* Slider
	---------------------------------------- */
	.flexslider-holder {
		height:225px;
		background-size:300px auto;
		}
	.flex-direction-nav li .next {right: -50px; display:none;}
	.flex-direction-nav li .prev {left: -50px; display:none;}
	.flexslider-container {width:193px; height:120px; margin-left:-97px; top:12px;}
	
	.flex-caption {width: 300px; left: -54px; top:165px; font-size:18px; line-height:1.2em;}
	
	
/* Content
---------------------------------------- */
.primary_content_wrap {
	padding-bottom:0 !important;
	}

.indent {
	padding:0;
	}

#content .inside {
	padding:0;
	}
#content .inside-small {
	padding:0;
	}

#before_content_area {
	margin-bottom:70px;
	}

/* Posts Type widget */
.post_list {
	margin-bottom:-30px;
	}
	.post_list li {
		overflow:hidden;
		float:none;
		margin:0;
		padding:0 0 30px 0;
		}

.circle {
	width:110px;
	height:auto;
	float:left;
	background-size:150px auto;
	padding:50px 20px 20px 20px;
	}
	.circle .textwidget {
		display:none;
		}

/* Team */
.recent-posts.team li {
	width:100%;
	float:none;
	margin:0 0 20px 0;
	}	
	.recent-posts.team li .thumb-wrap {
		float:left;
		margin:0 20px 0 0;
		width:130px;
		height:auto;
		}
	.recent-posts.team li .excerpt {
		height:80px;
		overflow:hidden;
		}
	.recent-posts.team li h5 {
		margin-bottom:.5em;
		}
.clients img {
	width:46%;
	height:auto;
	margin:0 2% 10px 2%;
	}
		
	/* 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 */
	.post-thumb {
		float:none;
		margin-right:0;
		}
		.post-thumb img {
			width:100%;
			height:auto;
			}
	.post-meta .fright {
		float:none;
		clear:left;
		}
	.post-thumb.large {
		width:auto;
		height:auto;
		margin:0 0 10px 0;
		}
	
	
	/* Comments */
	.comment-meta {
		position:static;
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:277px;
		max-width:277px;
		min-width:277px;
		}
	
	
	/* Team */
	.recent-posts.team li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
		}
	

	
	/* 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;
		}
	
	
	/* SlidesJS */
	.slides_container {
		width:300px;
	}
	.slides_container .item {
		width:300px;
		height:250px;
	}
	.slides_container .item .thumbnail img {
		width:100%;
		height:auto;
		}
	
	
	/* Address */
	.address dt {
		width:auto;
		margin:0 0 20px 0;
		font-size:12px;
		float:none;
		}
	.address dd {
		float:none;
		width:auto;
		margin:0 0 20px 0;
		}
		.address dd span {
			width:100px;
			}
	
	
	/* Comments */
	.commentlist ul.children {
		margin-left:0;
		}
	
/* 404 */
.error404-num {
	font-size:160px;
	}	

/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio li a.image-wrap {
		width:284px;
		height:198px;
		}
	.zoom-icon {
		width:284px;
		height:198px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}


/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:284px;
	height:165px;
	float:none;
	}
#gallery.one_column .zoom-icon {
	width:284px;
	height:165px;
	}
	#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:284px;
		height:212px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}
	#gallery.four_columns .zoom-icon {
		width:284px;
		height:212px;
		}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:284px;
		height:184px;
		}
	#gallery.two_columns .zoom-icon {
		width:284px;
		height:184px;
		}

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

	
/* Google map */
#map {
	width:300px;
	height:240px;
	}
	
/* Contact form */
.wpcf7-form p.field input {
	width:275px;
	}
.wpcf7-form textarea {
	float:left;
	width:275px;
	max-width:275px;
	min-width:275px;
	}
.wpcf7-not-valid-tip {
	width:284px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
		
	
/* Footer
---------------------------------------- */
#copyright .grid_12 {
	margin-bottom:0;
	}
#widget-footer .textwidget {
	padding-right:0;
	}
nav.footer {
	float:none;
	padding:0 0 10px 0;
	}

#footer-text {
	width:auto;
	float:none;
	}
}