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

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

	h2 {margin-bottom:10px;}
	
	.indent-left {padding:0;}
	.indent-right {padding:0;}
	
	.list-1 {margin-bottom:25px;}
	
	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:288px;
		margin:0;
		text-align:center;
		padding:5px;
	}
	
	/* Logo */
	.logo {
		padding:15px 0;
		margin:0;
		}
	.logo img{
		width:100px;
		height:auto;
		}
	.logo h1,
	.logo h2 {
		font-size:1.5em;
		}
		.logo .tagline {
			display:none;
			}
			
	.top-menu {padding:15px 0 0;}
		
	
	/* Top search */
	#top-search {padding:5px 5px 0 5px; float:none;}
	#top-search form {width:275px;}
	#top-search .input-search {
		width:240px;
		margin-right:0;
		}
		
	#searchform .searching {width:165px; margin-right:10px;}
	
	
	/* Header widget */
	#widget-header {
		text-align:center;
		}
	
	
	/* Slider
	---------------------------------------- */
	#slider-wrapper {margin-top:-47px;}
	.slider-bg {padding:55px 0 10px;}
	.slider {width:300px; overflow:hidden;}
	.flexslider-holder {height:139px;}
	.flexslider {width:100%; height:auto;}
	.flexslider:after,
	.flexslider:before {display:none; background:none;}
	.flex-control-nav {bottom:auto; top:15px; right:10px;}
	.flex-caption {display:none;}
	
body.home .primary_content_wrap,
.primary_content_wrap {padding:20px 0;}
	
.top-box {margin-bottom:10px; padding-bottom:15px; background:url(../images/hr.gif) 0 100% repeat-x;}
.top-box p {margin:0 0 8px; overflow:hidden;}

.border-bot {padding:0; margin:0; background:none;}
		
	
	/* Flickr widget */
	.flickrImages a {
		width:49px;
		height:49px;
		}
	
	/* Request a quote */
	.box-text {
		width:100%;
		float:none;
		margin-bottom:5px;
		}
	.box-button {
		width:100%;
		float:none;
		text-align:right;
		padding-left:0;
		padding-right:0;
		}
		.box-button .button {
			float:none;
			}
	
	/* Post */
	.post-holder,
	.post-holder.single-post	{margin-bottom:20px; padding-bottom:20px;}
	
	.post-thumb {
		float:none;
		margin-right:3px;
		margin-bottom:10px;
		}
		.post-thumb img {
			width:100%;
			height:auto;
			}
	.post-meta .fright {
		float:none;
		clear:left;
		}
	.post-thumb.large {
		width:auto;
		height:auto;
		margin:3px 3px 10px 3px;
		}
		
	.post_list.decorate figure span {width:292px; overflow:hidden;}
	.featured-thumbnail {float:none; margin:3px 3px 10px;}
	.single-post .featured-thumbnail.no-hover {margin:3px auto 10px; width:138px;}
	.recent-posts.researches li {margin:0 0 20px;}
	.recent-posts.researches li .thumb-wrap {margin:3px 3px 15px 3px;}
	
	
	/* Research Solutions */
	.recent-posts.research-solutions li {
		margin:0 10% 0px 0;
		width:45%;
		float:none;
		display:inline-block;
		}
	.recent-posts.research-solutions li:nth-child(2n) {float:none; margin-right: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;
		height:150px;
		min-height:150px;
		}
	
	
	.post_list {background:url(../images/hr.gif) 0 100% repeat-x; padding-bottom:15px; margin-bottom:15px;}
	/* Team */
	.recent-posts.team li {
		margin:0 10% 30px 0;
		width:45%;
		display:inline-block;
		float:none;
		}
	.recent-posts.team li:nth-child(2n) {float:none; margin-right:0;}
	
	/* Services */
	.recent-posts.services li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
		}
	
	/* Testimonials list*/
	article.testimonial {
		padding:18px 0px 15px 85px;
		margin-bottom:15px;
		background-position:70px 12px;
		}
		.testi-pic {
			left:10px;
			top:10px;
			width:50px;
			height:50px;
			}
			.testi-pic img {
				padding:1px;
				width:100%;
				height:auto;
				}
		.name-testi {padding:0;}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone {
		margin-right:3px;
		margin-bottom:20px;
		width:282px;
		}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img	{
		width:100%;
		height:auto;
		}
		
	.spacer {height:20px;}
	
	
	/* 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 {
		padding-left:0;
		}
			

/* Portfolio
---------------------------------------- */
#gallery .portfolio li a.image-wrap {
	width:290px;
	height:181px;
}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:290px;
	height:170px;
	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:282px;
		height:175px;
		}
		#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:285px;
		height:172px;
		}

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

article.testimonial {font-size:13px;}
blockquote.testi-single {padding:10px 10px 10px 75px; background-position:70px 10px;}
/* Google map */
#map {
	width:300px;
	height:140px;
	overflow:hidden;
	margin-bottom:10px;
	}
	
/* Contact form */
.wpcf7-form p.field input {
	width:285px;
	}
.wpcf7-form textarea {
	float:left;
	width:285px;
	max-width:285px;
	min-width:285px;
	height:150px;
	min-height:150px
	}
.wpcf7-not-valid-tip {
	width:285px !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;
	}
	
#sidebar {padding-top:15px;}

/*404
--------------------------------------------*/
#error404 {padding:0;}
.error404-num {font-size:150px;}
#error404 hgroup {padding-top:20px;}
		
	
/* Footer
---------------------------------------- */
#back-top-wrapper {display:none; width:0; height:0; overflow:hidden;}
#footer {height:auto;}
.footer-bg {padding:20px 0 0;}
nav.footer {
	float:none;
	text-align:center;
	padding:0 0 10px 0;
	}

#footer-text {
	width:100%;
	text-align:center;
	}
	
#widget-footer {float:none;}
#widget-footer ul.social-networks {width:100%; text-align:center;}
#widget-footer ul.social-networks li {float:none; display:inline; background-position:0 3px;}
#copyright {float:none;}
}

.hr {margin:10px 0 15px;}