/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
.indent-right {padding:0;}

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
	clear:both;
	width:408px;
	margin:0;
	text-align:center;
	padding:5px;
}

/* Logo */
.logo {
	padding:12px 0 0;
	margin-bottom:15px;
	}
.logo img{
	width:150px;
	height:auto;
	}
	.logo .tagline {
		display:block;
		margin-left:57px;
		position:relative;
		z-index:2;
		}

/* Top search */
#top-search form {width:395px;}
#top-search .input-search {width:360px;}
	
/* Slider
---------------------------------------- */
#slider-wrapper {padding:0; margin-top:-52px;}
.slider-bg {padding:55px 0 5px;}
.flex-control-nav {bottom:auto; top:15px;}
.flexslider-holder{height:194px;}
.flexslider {width:100%; height:auto;}
.flexslider:after,
.flexslider:before {display:none; background:none;}

.box-text {margin-bottom:5px;}
.top-box h2 {padding-top:0px;}


/* Team */
	.recent-posts.team li {
		margin:0 5% 30px 0;
		width:30%;
		}
	.recent-posts.team li:nth-child(2n) {float:left; margin-right:5%;}
	.recent-posts.team li:nth-child(3n) {float:none; margin-right:0;}


	.recent-posts.researches li .thumb-wrap {width:150px; margin:3px 20px 3px 3px;}
/* Flickr widget */
.flickrImages a {
	width:69px;
	height:69px;
	}


.post-thumb {
	width:150px;
	height:121px;
	float:left;
	margin-right:10px;
	}

/* Post */
.post-meta .fright {
	float:right;
	clear:none;
	}

/* Testimonials list*/
article.testimonial {
	padding:10px 10px 10px 105px;
	background-position:100px 10px;
	}
	blockquote.testi-single {padding:10px 10px 10px 105px; background-position:100px 10px;}
	.testi-pic {
		left:10px;
		top:10px;
		width:70px;
		height:70px;
		}

/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	width:404px;
	margin-right:3px;
	}
	
/* SlidesJS */
.slides_container {
	width:420px;
}
.slides_container .item {
	width:420px;
	height:250px;
}
.slides_container .item .thumbnail img {
	width:100%;
	height:auto;
	}

/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:370px;
	max-width:370px;
	min-width:370px;
	}
.children #commentform input[type="text"],
.children #commentform textarea {
	width:370px;
	max-width:370px;
	min-width:370px;
	}

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

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio .folio-desc {padding:8px 0 0 3px;}
	#gallery .portfolio li a.image-wrap {
		width:406px;
		height:252px;
		}
		#gallery .portfolio li img {
			height:auto;
			width:100%;
			}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:408px;
	height:239px;
	float:none;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			
			
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:405px;
		height:243px;
		}	
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:200px;
	margin-right:17px;
	}
#gallery.four_columns .portfolio li.even {
	margin-right:0;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:192px;
		height:119px;
	}
	
.featured-thumbnail {
	float: left;
    height: 138px;
    margin: 3px 10px 3px 3px !important;
    width: 138px;
}
.post-holder .featured-thumbnail, 
.post-holder.single-post .featured-thumbnail {height:111px;}
	.featured-thumbnail .img-wrap {overflow:hidden;}
	.featured-thumbnail .img-wrap img {height:auto;}
	.featured-thumbnail span,
	.featured-thumbnail span a	{display:block;}

		
/* Contact form */
.wpcf7-form p.field input {
	width:400px;
	}
.wpcf7-form textarea {
	float:left;
	width:400px;
	max-width:400px;
	min-width:400px;
	}
.wpcf7-not-valid-tip {
	width:400px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:5px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	height:16px !important;
	line-height:16px !important;
	}

		
/* Google map */
#map {
	width:420px;
	height:170px;
	overflow:hidden;
	margin-bottom:10px;
	}
	
	
/* Sidebar
---------------------------------------- */
#sidebar {padding-top:20px;}
#searchform .searching {
	width:260px;
	}
	
/* 404
-------------------------------------*/
.error404-num {font-size:220px;}
#error404 {padding:0 0 20px;}
#error404 hgroup {padding-top:20px;}

    /*Detailed Quote Contact Form*/
    .wpcf7-form p.field.detailed-quote {
        margin-bottom: 10px;
    }
    .wpcf7-form p.field .right-field{
        margin-left:0px;
    }
    .wpcf7-form p.field .right-field-narrow{
        margin-left:0px;
    }
    .wpcf7-form p.field.detailed-quote span{
        min-width: 60px;
    }
    .wpcf7-form p.field .detailed-quote-check-box input{
        width:20px;
    }
    .wpcf7-form p.field.detailed-quote input.half{
        width:290px;
    }
    .wpcf7-form p.field.detailed-quote input.half.right-field{
        margin-left: 0px;
    }
    .wpcf7-form p.field.detailed-quote input.quarter{
        width:290px;
    }

    select.detailed-quote-selector{
        width: 290px;
        margin-bottom: 20px;
    }

    .wpcf7-form p.field.detailed-quote input{
       margin-bottom: 20px;
    }
    /*Float Widget*/
    #float-widget {
        margin-top: 2px;
    }
    /*landing page quot*/
    div#landing{
        width: 298px;
    }

    .override_contact_form .wpcf7-form textarea{
        width: 385px;
    }
    .custom-override-faq .wpcf7-form p.field input.half{
        width:240px;
        margin-bottom: 10px;
    }
    .override_contact_form .wpcf7-form p.field .right-field-narrow {
        margin-left: 0;
        margin-top: 20px;
        float: none;
    }
}