/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
#main {
  background: url("../images/bg.jpg") repeat-x scroll center -302px #DDD5B7;
}
.home #main {
  background: url("../images/bg.jpg") repeat-x scroll center -242px #DDD5B7;
  height: 100%;
}
.container {
	width:420px !important;
	}
#slider-wrapper .grid_12,
#before-block_page .grid_12,
#header .grid_12,
#after_menu_area .grid_12{
	margin-bottom: 0
}	

/* Header
---------------------------------------- */
#top-header {
	height:87px;
	}

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
	clear:both;
	width:100%;
	margin:0;
	text-align:center;
	padding:10px 0;
}

/* Logo */
.logo {
	width:100%;
	text-align:center;
	margin:0 0 10px 0;
	}
.logo h1,
.logo h2 {
	font-size:30px;
	text-align:center;
	}
.logo {
	padding-bottom:0;
	}
.logo img{
	height:auto;
	}
	.logo .tagline {
		display:block;
		}
		
/* Navigation select styling */
select.mnav {
	width:85%;
	clear:both;
	margin:15px 0;
}

/* Top search */
#top-search {

	}
#top-search .input-search {
	width:150px;
	}
#top-search #submit {
	
	}

/* Header widget */
#widget-header {
	padding:20px 0 20px 0;
	font-size:11px;
	text-align:center;
	}
	
	
/* Slider
---------------------------------------- */

.flexslider-holder {
	height:125px;
	margin-top: -15px
	}
	.flex-caption {
	  display: none
	}
	.flex-control-nav {
	  display: none;
	}

/* Before Content Area */
#before_content_area .before_holder {
  background: none;
}

#before_content_area a.more {
  margin: 20px auto 0 166px;
}

/* Before Block title */
#before-block_page h1 {
  font-size: 18px;
  line-height: 98px;
  margin: 0
}
.post-thumb {
	width:150px;
	height:110px;
	float:left;
	margin-right:20px;
	}

.divider_right,
.divider_center {
  background: none;
}	

/* Home Content area */
#home_content_area .indent_right {
  border: none;
  padding-left: 0px;
}	

/* Post */
.featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}
	.featured-thumbnail img {
		width:auto;
		height:auto;
		}
.featured-thumbnail .fright {
	float:none;
	clear:left;
	}
.featured-thumbnail.large {
	width:auto;
	height:auto;
	margin:0 0 10px 0;
	}
.post-holder footer {
	
	}
	.post-holder footer .button {
		margin-right:6px;
		}
	.post-holder footer .link {
		margin-right:6px;
		}

.latestpost li .featured-thumbnail {
	width:140px;
	height:138px;
	margin:0 20px 0 0;
	float:left;
	}
	.latestpost li .featured-thumbnail img {
		width:auto;
		height:auto;
		}

/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:100%;
	height:auto;
	}

.tabs .tab {
	padding:20px 10px;
	background:#020202 url(../images/tab-bg-small.png) 50% -200px no-repeat;
}
.tabs .tab .entry {
	width:180px;
	height:auto;
	margin-bottom:20px;
	margin: 0 10px 20px 10px;
	}
	.tabs .tab .entry img {
		
		}

/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:360px;
	max-width:360px;
	min-width:360px;
	}
.children #commentform input[type="text"],
.children #commentform textarea {
	width:360px;
	max-width:360px;
	min-width:360px;
	}

	
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio li a.image-wrap {
	  height: 253px;
	  width: 380px;
	}
	.zoom-icon {
		width:420px;
		height:285px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
  float: none;
  height: 216px;
  width: 379px;
}
#gallery.one_column .zoom-icon {
	width:410px;
	height:230px;
	}
	#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 {
	  height: 216px;
	  width: 379px;
	}
	#gallery.two_columns .zoom-icon {
		width:390px;
		height:230px;
		}			
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:182px;
	margin-right:17px;
	}
#gallery.four_columns .portfolio li.even {
	margin-right:0;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
	  height: 169px;
	  width: 176px;
	}
	#gallery.four_columns .zoom-icon {
		width:192px;
		height:185px;
		}
		#gallery.four_columns h4 {
		  font-size: 15px;
		  margin-bottom: 10px;
		}

		
		
/* Contact form */
.wpcf7-form p.field input {
	width:360px;
	}
.wpcf7-form textarea {
	float:left;
	width:360px;
	max-width:360px;
	min-width:360px;
	}
.wpcf7-not-valid-tip {
	width:370px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:4px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}

		
/* Google map */
#map {
	width:370px;
	height:280px;
	}
	
	
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:260px;
	}

/* Footer */
.site-name {
  margin-left: 95px;
}	
#copyright .right_side {
  margin: 15px 0 0;
  width: 100%;
}

}