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


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

body {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	}
	
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:10px 0;
	}
	.sf-menu {
		display:none;
		}
	
	/* Navigation select styling */
	select.mnav {
		margin:15px 0;
		}
	
	/* Logo */
	.logo {
		
		}
	.logo img{
		width:120px;
		height:auto;
		}
	.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;
		}

		
.primary_content_wrap .indent {
	padding:40px 0 40px 0;
	}

	
/* Advanced Text Widget */
.adv-text-box {
	margin-bottom:0;
	}

#second-content-area {
	background:url(../images/content-bg-280.gif) 50% 100% no-repeat;
	padding-bottom:0;
	}
	#second-content-area .grid_12 {
		margin-bottom:0;
		}

/* Posts Type widget */
.post_list {
	
	}
.post_list li {
	margin:0 0 40px 0;
	width:100%;
	}


/* Request a quote */
.top-box {
	padding:0 16px 0 86px;
	}
.box-text {
	font-size:16px;
	line-height:22px;
	}
	
/* Slider
---------------------------------------- */
.flexslider-holder {
	width:auto;
	height:115px;
	margin:20px 0;
	}
#slider-wrapper .container_12 {
	min-height:165px;
	}
.flex-control-nav {
	bottom: -33px;
	}
.flex-caption {
	display:none;
	}
.flex-direction-nav li a { bottom: 50%; margin-bottom:-18px;}
	
	/* 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;
		display:block;
		}
		.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;
		}
	
	.team-pic {
		float:none !important;
		margin:0 0 20px 0 !important;
		display:block;
		width:auto !important;
		height:auto !important;
		}
	.team-pic img {
		width:100% !important;
		height:auto !important;
		}
	
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
		}
	.comment-author {
		padding-bottom:0;
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:255px;
		max-width:255px;
		min-width:255px;
		}
	
	
	/* Team */
	.recent-posts.team li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
		}
	
	/* Services */
	.recent-posts.services li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
		}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone {
		margin-right:0;
		width:266px;
		}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img	{
		width:100%;
		height:auto;
		}
	
	
	.banner-small {
		
		}
		.banner-small 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;
		}
	
	
	#sidebar .inside {
		padding:0;
		}
	
	
	.error404-num {
		font-size:150px;
		}
			

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


/* 3 columns portfolio*/
#gallery .portfolio li {
	margin-right:0;
	}
.zoom-icon {
	display:none;
	}
a[rel^='prettyPhoto'],
a[rel^='prettyPhoto'] img {
	-webkit-tap-highlight-color:transparent;
	}
	

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:264px;
	height:204px;
	float:none;
	}
#gallery.one_column .zoom-icon {
	width:264px;
	height:204px;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
		#gallery.one_column .folio-desc p.excerpt {
			height:3em;
			overflow:hidden;
			}
			
/* 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:266px;
		height:204px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}
	#gallery.four_columns .zoom-icon {
		width:266px;
		height:204px;
		}

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

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

	
/* Google map */
.frame iframe {
	width:266px;
	height:140px;
	}
	
/* Contact form */
.wpcf7-form p.field input {
	width:255px;
	}
.wpcf7-form textarea {
	float:left;
	width:255px;
	max-width:255px;
	min-width:255px;
	}
.wpcf7-not-valid-tip {
	width:264px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:5px 0 5px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
		
	
/* Footer
---------------------------------------- */
nav.footer {
	float:none;
	text-align:center;
	padding:0 0 10px 0;
	}

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