/*  #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:21px 0px 0px 5px;
		text-align:center;
		padding:20px 0;
	}
	
	/* Logo */
	.logo {
		margin: 0 0 0 5px;
		padding-bottom:15px;
		}
	.logo img{
		width:100px;
		height:auto;
		}
	.logo h1,
	.logo h2 {
		font-size:35px;
		}
		.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;
		}
	
.error404-num {
	font-size: 180px;
}

	/* Slider
	---------------------------------------- */

#slider-wrapper {
	background: none;
	height: auto;
	overflow: hidden;
}

.flexslider-holder {
	background: url(images/loading.gif) no-repeat 50% 50%;
	width: auto;
	margin: 0 !important;
	position: static;
}
.flexslider .slides .flex_banner_itemslide img {
    height: auto;
    left: 0;
    margin: 0 !important;
    max-width: 100%;
    position: static;
}
.flex-direction-nav {
	display: none !important;
}






#slider-code {
	width: 300px;
	height: 215px;
	overflow: visible;
}

	#slider-code .viewport {
		width: 300px;
		height: 215px;
	}
	
	#slider-code ul.overview li {
		background: none;
		float: left;
		width: 145px;
		height: 215px;
		margin: 0 10px 0 0;
		padding: 0;
		vertical-align: top;
	}
	
		#slider-code ul.overview li img {
			float: left;
			width: 125px;
			height: auto;
			border: 10px solid #373739;
		}




/*.primary_content_wrap img {
	max-width: 280px !important;
}
*/

#gallery .portfolio li a.image-wrap img {
    height: 300px;
    width: 300px;
}


.line-ver-1 {
	background: none;
}

.line-ver-2 {
	background: none;
}

.line-ver-3 {
	background: none;
}

.line-ver-4 {
	background: none;
}

.one_half img {
    width: 100%;
}



	
	/* 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;
		overflow:hidden;
		margin-right:0;
		}
		.featured-thumbnail img {
			width:100%;
			height:auto;
			}
	.post-meta .fright {
		float:none;
		clear:left;
		}
	.featured-thumbnail.large {
		width:auto;
		height:auto;
		margin:0 0 10px 0;
		}
	
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
		}
	.comment-author {
		padding-bottom:0;
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:280px;
		max-width:280px;
		min-width:280px;
		}
	
	/* Comment Form */
	.commentlist ul.children {
		margin-left: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;
		}
	
	/* Testimonials list*/
	article.testimonial {
		padding:18px 30px 30px 85px;
		background-position:70px 12px;
		}
		.testi-pic {
			left:10px;
			top:10px;
			width:50px;
			height:50px;
			}
			.testi-pic img {
				padding:2px;
				width:100%;
				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;
		}
		
	
	/* 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 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;
			}
	
	
	/* Comments */
	.commentlist ul.children {
		margin-left:0;
		}
			

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

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

/* 1 column portfolio*/

#gallery.one_column .portfolio li {
	width:310px;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.one_column .portfolio li a.image-wrap {
		width:310;
		height:auto;
		}
		#gallery.one_column .portfolio li a img {
			width:100%;
			height:auto;
			}
			
			#gallery.one_column .portfolio li .folio-desc {
				margin: 0;
			}
			
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:310px;
	float:none;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:280px;
		height:174px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}

/* 2 columns portfolio*/

#gallery.two_columns .portfolio li {
	width:280px;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:280px;
		height:128px;
		}
		#gallery.two_columns .portfolio li a img {
			width:100%;
			height:auto;
			}

/* 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:285px;
	}
.wpcf7-form textarea {
	float:left;
	width:285px;
	max-width:285px;
	min-width:285px;
	}
		
.text h1 {
	font-size: 65px;
}
	
/* Footer
---------------------------------------- */
nav.footer {
	float:none;
	text-align:center;
	padding:0 0 10px 0;
	}

#widget-footer {
	width: 56%;
	margin: 0 auto;
	overflow: hidden;
	float: none;
	padding: 0 0 0 15px;
}

#footer-text {
	width:100%;
	float:none;
	overflow: hidden;
	margin: 0;
	text-align:center;
	}
.one_half, .one_third, .three_fifth {
	width:100% !important;
	
}
.portfolio_content p{
	width:96%;
	
}
.rslides img {

	max-height:250px !important;
}
.contact h4 {
    float: left;
    width: 20%;
	margin-bottom:10px;
}
.grid_24{
margin-bottom:0px;
}

}
