/* #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;
}
.primary_content_wrap .container img {
  max-width: 100%;
  height: auto
}

/* Header
---------------------------------------- */
#header {
	position:relative;
	z-index:9;
	width: 100%;
	background: url(../images/top_768.png) -50px top no-repeat;
}
.top_left{
	display: none;
}
.top_right{
	display: none;
}

/* Logo */
.logo img{
	display: none
}
#logo{
	background: url(../images/logo420.jpg) no-repeat;
	display: block;
	width: 300px;
	height: 85px
}

.top-header{
	padding-top: 120px
}
.socials {
  margin:0px;
  padding: 0;
  height: 50px
}
.phone {
  padding: 5px 0 5px 30px;
  background: url(../images/phone.png) no-repeat scroll left 0px transparent;
}
/* Top search */
#header #searchform {
  width: 100%;
  padding-top: 5px
}
#header #searchform .searching {
  width: 88%;
}

/* Header widget */
#widget-header {
	padding:20px 0 20px 0;
	font-size:11px;
	text-align:center;
	}


/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
  margin: 15px 0 0 0;
  padding: 17px 0 0;
  text-align: center;
  width: 100%;
  background: url(../images/nav_420.png) repeat-x scroll left top transparent;
  height: 43px
}
.home nav.primary{
	margin-top: 0
}

nav.primary .responds{
	display: block;
	height: 37px;
	text-align: center;
	cursor:pointer;
	color:#6a433b;
	font-size:25px;
	font-family: 'open_sansbold_italic';
	line-height:20px;
	}
	nav.primary .responds:hover{
		color: #fff
	}
	.sf-menu {
	  line-height: 1;
	  width: 100%;
	  margin-top: 0px;
	  padding-right: 0;
	  background: none
	}
	#topnav{
		display: none;
		position: absolute;
		height: 433px;
		z-index: 9999;
		background: url(../images/responds_menu.gif);
		width: 303px;
		margin-left: 59px
	}
	.sf-menu > li.home_nav{
		margin: 0
	}
	.sf-menu > li.home_nav a {
	  background: none;
	  text-indent: 0;
	  text-align: center;
	  width: 100%
	}
		.sf-menu > li.home_nav a:hover{
			background: none
		}

	.sf-menu > li {
	  margin: 0;
	  text-align: center;
	  width: 100%;
	  padding-left: 0;
	  background: none;
	  height: 54px
	}
	.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:			00%;
		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;
			}
		

/* Slider
---------------------------------------- */
.flexslider-container {
  height: 156px;
  width: 420px;
}
.flexslider-holder {
	height:156px;
	width: 420px;
	}

#slider-wrapper {
  margin-top: 20px;
}	
.flex-caption {
  top: 25px;
}
.flex-caption p {
  display: none
}
.flex-caption h1 {
  font-size: 30px;
  line-height: 30px;
}
.flex-caption h1 span {
  font-size: 30px;
  line-height: 30px;
}
.flex-caption h2 {
  font-size: 30px;
  line-height: 30px;
}
.flex-caption a {
  display: none;
}
.flex-control-nav {
  top: inherit;
  right: inherit;
  bottom: 0!important;
  left: 0!important;
}

/* Testimonials */
.quote {
  width: 100%;
}

/* project Banner */
#project_banners .projects_holder {
  float: none;
  margin: 0 auto 15px;
}
#project_banners .container div:first-child {
  margin: 0 auto 15px;
}

/* 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;
	}


/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:347px;
	max-width:347px;
	min-width:347px;
	}
.children #commentform input[type="text"],
.children #commentform textarea {
	width:360px;
	max-width:360px;
	min-width:360px;
	}
.extra-wrap {
  display: inline;
}

.grid_8 .grid_2{
	margin: 0
}
	
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	margin-bottom: 30px!important
	}
	#gallery .portfolio li a.image-wrap {
		width:390px;
		height:200px;
		}
	.zoom-icon {
		width:390px;
		height:200px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}
			.line {
			  display: none
			}
			
			
/* Contact form */
.wpcf7-form p.field input {
	width:360px;
	}
.wpcf7-form textarea {
	float:left;
	width:367px;
	max-width:367px;
	min-width:367px;
	}
.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;
	}

		
	
/* Footer
---------------------------------------- */
.footer {
  background: none;
  padding-top: 0;
}
.foot_left,
.foot_right{
	display: block;
}
.logo-foot .site-name {
  float: left;
  background: none;
  width: auto
}
.logo-foot img{
	display: block;
}

#text-13 {
  float: left;
  width: 420px;
}
#simple-email-subscription {
  float: left;
  margin-top: 25px;
  width: 100%;
}

#footer-text {
  background: none;
  float: left;
  margin: 0;
  padding-left: 83px;
  width: 345px;
}
.links {
  margin-left: 0;
  padding-bottom: 15px;
  padding-left: 0;
  padding-top: 0;
}
#footer-text p.copy {
  margin-bottom: 0;
}


}