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

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

.home #main {	
	background-size:1900px auto;
	}

/* Header
	---------------------------------------- */
#header {
	min-height:170px;
	}

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

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

/* Logo */
.logo {
	padding-bottom:0;
	margin-top:30px;
	}
.logo h1,
.logo h2 {
	font-size:60px;
	letter-spacing:-1px;
	padding-top:5px;
	}
.logo img{
	max-width:170px;
	height:auto;
	}
	.logo .tagline {
		display:block;
		}
.logo .tagline {
	line-height:54px;
	}

/* Top search */
#top-search {

	}
#top-search .input-search {
	width:150px;
	}
#top-search #submit {
	
	}

/* Header widget */
#widget-header {
	padding:5px 0 15px 0;
	}

	
	
/* Slider
---------------------------------------- */
.flexslider-holder {
	height:300px;
	background-size:420px auto;
	}
.flex-direction-nav li .next {right: -75px; display:block;}
.flex-direction-nav li .prev {left: -75px; display:block;}
.flexslider-container {width:270px; height:169px; margin-left:-135px; top:16px;}

.flex-caption {width: 420px; left: -75px; top:225px; font-size:20px; line-height:1.2em;}


/* Content
---------------------------------------- */

.circle {
	width:160px;
	float:left;
	background-size:210px auto;
	padding:35px 25px 20px 25px;
	}
	.circle .textwidget {
		display:block;
		}
		
/* Posts Type widget */
.post_list {
	margin-bottom:-30px;
	}
	.post_list li {
		float:none;
		margin:0;
		padding:0 0 30px 0;
		width:100%;
		}
		.post_list li .thumb-holder {
			float:left;
			margin:0 20px 0 0;
			width:220px;
			height:auto;
			}
		.post_list li .post_content {
			margin-bottom:10px;
			}

/* Flickr widget */
.flickrImages a {
	width:69px;
	height:69px;
	}


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

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

/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:404px;
	}
	
/* SlidesJS */
.slides_container {
	width:420px;
}
.slides_container .item {
	width:420px;
	height:250px;
}
.slides_container .item .thumbnail img {
	width:100%;
	height:auto;
	}
	
/* Team */
.team-post .extra-wrap {
	display:inline;
	}
.team-post .post-thumb  {
	margin:0 20px 5px 0;
	}

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

#commentform input[type="text"],
#commentform textarea {
	width:395px;
	max-width:395px;
	min-width:395px;
	}
.children #commentform input[type="text"],
.children #commentform textarea {
	width:395px;
	max-width:395px;
	min-width:395px;
	}
	
/* 404 */
.error404-num {
	font-size:220px;
	}
	
/* Portfolio
---------------------------------------- */

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

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:404px;
	height:235px;
	float:none;
	}
#gallery.one_column .zoom-icon {
	width:404px;
	height:235px;
	}
	#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:404px;
		height:262px;
		}
	#gallery.two_columns .zoom-icon {
		width:404px;
		height:262px;
		}			
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:193px;
	margin-right:17px;
	}
#gallery.four_columns .portfolio li.even {
	margin-right:0;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:185px;
		height:137px;
		}
	#gallery.four_columns .zoom-icon {
		width:185px;
		height:137px;
		}

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

		
/* Google map */
#map {
	width:420px;
	height:290px;
	}
	
	
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:260px;
	margin:0 10px 0 0;
	}
	
/* Footer
---------------------------------------- */
#widget-footer .textwidget {
	padding-right:10px;
	}
#widget-footer .grid_3 {
	width:190px;
	float:left;
	margin:0 10px 30px 10px;
	}

#widget-footer .grid_3 {
	display:-moz-inline-box;
	display:inline-block;
	zoom:1;
	vertical-align:top;
	margin:0 17px 40px 0;
	width:200px;
	}
* + html #widget-footer .grid_3 {
	display:inline;
	}
#widget-footer .grid_3:nth-child(2n) {
	margin-right:0;
	}

}