/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

.container{
	width: 420px!important;
	margin: 0 auto
}
html, body, #main, #footer {
  min-width: 420px;
}

/* Header
---------------------------------------- */
#top-header {
	height:150px;
	}
.primary_content_wrap {
  padding: 30px 0 40px;
  position: relative;
  z-index: 8;
}	

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
  margin: 15px 0 0 0;
  padding: 23px 0 0;
  text-align: center;
  width: 100%;
  background: url(../images/nav.gif) left top repeat-x;
  height: 43px
}

nav.primary .responds{
	display: block;
	height: 43px;
	text-align: center;
	font-size: 26px;
	cursor:pointer;
	color: #c2c2c2;
	font-family: 'ProximaNovaLtRegular';
	}
	.sf-menu {
	  line-height: 1;
	  width: 100%;
	  margin-top: 0px;
	  padding-right: 0;
	  background: none
	}
	#topnav{
		display: none;
		position: absolute;
		height: 260px;
		z-index: 9999
	}
	.sf-menu > li {
	  margin: 0;
	  text-align: center;
	  width: 100%;
	  padding-left: 0;
	  background: none
	}
	.sf-menu > li > a {
	  margin-left: 0;
	  text-align: center;
	  padding-left: 0
	}
	.sf-menu > li > a:hover {
	}
	.sf-menu ul {
	  background: #000;
	  min-width: 113px
	}
	.sf-menu ul li li {
	  min-width: 113px
	}
	.sf-menu ul li a{
		text-align: center;
		min-width: 113px;
		font-size: 16px
	}
	.sf-menu li:hover ul,
	.sf-menu li.sfHover ul {
		left:			31%;
		top:			55px; /* match top ul list item height */
		z-index:		99;
	}
	.sf-menu > li > span {
	  bottom: 10px;
	  display: block;
	  height: 2px;
	  left: 0;
	  position: absolute;
	  width: 100%;
	}
	.sf-menu > li > a:hover,
		.sf-menu > li.sfHover > a,
		.sf-menu > li.current-menu-item > a{
			margin-top: 0px;
			height: 27px;
			}
/* Logo */
.logo {
	width:100%!important;
	text-align:center;
	margin:25px 0 0 0;
	}
.logo h1,
.logo h2 {
	font-size:30px;
	text-align:center;
	}
.logo {
	padding-bottom:0;
	}
.logo img{
	height:auto;
	width: 52%
	}
	.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-container {
  height: 156px;
}
.flexslider-holder {
	height:156px;
	}

/* Flickr widget */
.flickrImages a {
	width:69px;
	height:69px;
	}


/* Under Slider */
.under_slider {
  height: 265px;
  padding: 25px 0;
}

/* Carousel */	
.es-carousel-wrapper {
  position: relative;
  width: 390px;
}
.es-carousel {
  float: right;
  overflow: hidden;
  width: 410px;
}
.es-carousel ul li{
	width: 150px!important;
	margin-left: 43px
}
.es-carousel ul li a img {
  height: auto;
}
.overlay h2 {
  font-size: 14px;
  margin-top: 54px
}
.text-styled {
  width: 100%;
  clear: both;
  padding-top: 20px
}
.text-styled p.moretext {
  margin-top: 0px;
}

.es-nav {
  left: 366px;
  position: absolute;
  top: 186px;
}


.post-thumb {
	width:150px;
	height:110px;
	float:left;
	margin-right:20px;
	}

/* Before Content */
#before_content h1 {
  width: 340px;
  margin-bottom: 25px
}	

/* Content Home */
.content_home {
  padding: 5px 0 40px;
}
.content_home .widget-area{
	margin-top: 30px
}

/* 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 {
	
	}
	ul.latestpost li {
	  height: 190px;
	}
	.post-holder footer .button {
		padding:0 10px;
		margin-right:6px;
		}
	.post-holder footer .link {
		margin-right:6px;
		}

.latestpost li .featured-thumbnail {
	height:128px;
	margin:0 20px 0 0;
	float:left;
	}
	.latestpost li .featured-thumbnail img {
		width:auto;
		height:auto;
		}
		.latestpost li div.excerpt {
		  font-size: 13px;
		}

/* 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;
	}
.extra-wrap {
  display: inline;
}
	
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	margin-bottom: 75px!important
	}
	#gallery .portfolio li a.image-wrap {
		width:390px;
		height:242px;
		}
	.zoom-icon {
		width:390px;
		height:242px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}
			.line {
			  display: none
			}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:410px;
	height:230px;
	float:none;
	}
#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 {
		width:410px;
		height:220px;
		}
	#gallery.two_columns .zoom-icon {
		width:410px;
		height:220px;
		}			
			
/* 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 {
		width:182px;
		height:175px;
		}
	#gallery.four_columns .zoom-icon {
		width:182px;
		height:175px;
		}

		
		
/* Contact form */
.wpcf7-form p.field input {
	width:360px;
	}
.wpcf7-form textarea {
	float:left;
	width:382px;
	max-width:382px;
	min-width:382px;
	}
.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;
	}

		
/* Google map */
#map {
	width:370px;
	height:280px;
	}
	
	
/* Sidebar
---------------------------------------- */
#searchform{
	width: 180px
}
#searchform .searching {
	width:158px;
	}
/* Footer */	
#widget-footer h4{
}

}