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

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

.header{max-width:300px;padding:10px 10px 1px;}
#main{max-width:320px;}
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:10px 0;
	}
	
	/* Logo */
	.logo {
	width:100%;
		}
	.logo h1,
	.logo h2 {
		font-size:1.5em;
		}
		.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;
		}

#content {padding: 20px 0 15px;}

.team-list.recent-posts{
	overflow:hidden;
	background: #eceae9;
	padding:20px 20px 25px;
	position:relative; 
	margin:5px 0 0 0; 
	z-index:99}
	.team-list.recent-posts li{
		float:left;
		width:115px;
		min-height:190px;
		margin:0 15px 0px 0;}
			.team-list.recent-posts li .featured-thumbnail{ float:none;}	
	
	/* Slider
	---------------------------------------- */
	.flexslider-holder {
		height:133px;
		}
		
.flex-caption { display:none;}
.flex-control-nav {position: absolute; bottom: 5px; left:13px;}	
	/* 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 25px;
		background-position:70px 12px;
		}
		article.testimonial .featured-thumbnail{ display:none;}
		.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{ padding-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;
			}
	
	
	/* Comments */
	.commentlist ul.children {
		margin-left:0;
		}
			

.col1{width:100%;float:none;}
.top-box h2{ font:300 20px/24px 'Lato', sans-serif;}	
	.top-box h2 span{font-size:23px; display:inline-block;}
	
.page-home .grid_3{ padding-top:40px;}

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

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

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

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

/* 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{ padding-bottom:30px;}
.wpcf7-form p.field input {
	width:285px;
	}
.wpcf7-form textarea {
	float:left;
	width:285px;
	max-width:285px;
	min-width:285px;
	}
.wpcf7-not-valid-tip {
	width:280px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:4px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:none !important;
	}

.error404-num {font-size: 180px;}	
#error404 {
	padding:0 0 30px 0;
}
	#error404 hgroup {
		margin:0;
		padding-top:0;}		
	
	/* Footer
---------------------------------------- */
#footer {padding:24px 0 50px;}
		
#widget-footer .social-networks{ margin:0; padding:20px 0 10px; text-align:center;}
#widget-footer .social-networks li { width:16px; height:16px; overflow:hidden; padding:0;}	
	#widget-footer .social-networks li a img{ margin:0 5px 0 0;}
	
#logo-footer{ display:none;}

	/* Footer text */
	#footer-text {margin-top:0; text-align:center;}
	#widget-footer .social-networks{ margin:0;}
	
}