/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

html, body{
	min-width: 420px
}
.container {
	width:420px !important;
	}

/* Header Search
---------------------------------------- */
#header #searchform {
  position: absolute;
  right: 0;
  top: 0;
}

/* Logo */
.logo {
  float: left;
  margin: 0 0 0 90px;
}		
.top-header {
  line-height: 26px;
  margin-left: 34px;
  padding-bottom: 21px;
  padding-top: 1px;
  text-align: center;
  width: 84%;
  float: none;
  clear: both;
}

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  height: 60px;
}

nav.primary .responds{
	display: block;
	text-align: left;
	font-size: 20px;
	cursor:pointer;
	color: #276db8;
	font-family: 'open_sansbold';
	text-transform: uppercase;
	padding-left: 70px;
	line-height: 52px;
	height: 50px
	}
	.sf-menu {
	  line-height: 1;
	  width: 100%;
	  margin-top: 0px;
	  padding-right: 0;
	  background: #ffffff
	}
	#topnav{
		display: none;
		position: absolute;
		height: 350px;
		z-index: 9999
	}
	.sf-menu > li {
	  margin: 0;
	  text-align: center;
	  width: 100%;
	  height: 50px;
	  padding-left: 0;
	  background: url("../images/nav.gif") left 0px repeat;
	}
	.sf-menu > li.current-menu-item {
	  background: url("../images/nav.gif") left 0px repeat
	}
	.sf-menu > li > a {
	  font-size: 16px;
	  line-height: 37px;
	  margin-left: 0;
	  text-align: center;
	  padding: 8px 0 0 0;
	  height: 40px
	}
	.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:			0%;
		top:			48px; /* match top ul list item height */
		z-index:		99;
	}

/* After Nav Area */
.after_nav_area {
  background: url("../images/slider420.jpg") no-repeat scroll center top transparent;
  border-bottom: 1px solid #FFFFFF;
  height: 164px;
  margin-top: -10px;
  padding: 23px 45px;
}	
.after_nav_area h3 {
  font-size: 30px;
  line-height: 34px;
  width: 310px;
}
.after_nav_area .textwidget {
  font-size: 12px;
  line-height: 16px;
  margin-left: 0;
  width: 335px;
}

/* Slider
---------------------------------------- */
#slider-wrapper {
  background: url("../images/slider420.jpg") no-repeat scroll center top transparent;
  margin-top: -10px;
  position: relative;
}
.flexslider-holder {
	height:207px;
	width: 360px;
	padding-top: 34px
	}
.flex-caption {
  left: 20px;
  top: 18px;
  width: 33%;
  display: block;
}
.flex-caption p {
  display: none
}	
.flex-caption h1 {
  font-size: 20px;
  line-height: 20px;
  padding-bottom: 5px;
}
.flex-caption h2 {
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 18px;
  margin-bottom: 12px;
  margin-top: 0
}
.flex-caption a {
  display: none
}

.tape {
  display: none
}
.flex-direction-nav{
	display: block;
}
.flex-direction-nav li .next {
  background-position: -22px -37px;
  right: -34px;
}
.flex-direction-nav li .prev {
  background-position: 4px -37px;
  left: -30px;
}

/* Primary content */
.primary_content_wrap {
  padding: 30px 20px
}

/* Before Content */
#before_content {
  height: 372px;
  margin-bottom: 25px;
}

#before_content .widget a {
  display: block;
  margin: 0 auto 5px;
  text-decoration: none;
  width: 190px;
  float: none;
}
#my_postwidget-2 {
  border-left: medium none;
  float: left;
  padding-left: 0;
  padding-top: 40px;
  width: 380px;
}

/* Quote */
#content .quote em {
  font-size: 12px;
  line-height: 22px;
}
#content .quote a {
  font-size: 12px;
  line-height: 22px;
}

/* Page Content */
#page-content img{
	width: 98%;
	height: auto
}
.oppor img{
	width: auto!important
}

/* Location */
.location {
  margin-bottom: 25px;
  width: 340px;
}

.extra-wrap {
  overflow: visible;
}
/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:98%;
	height:auto;
	}


/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:338px;
	max-width:338px;
	min-width:338px;
	}
.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;
	height: 352px
	}
	#gallery .portfolio li a.image-wrap {
		width:372px;
		height:212px;
		}
	.zoom-icon {
		width:372px;
		height:212px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}
		
		
/* 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;
	}

	
/* Sidebar
---------------------------------------- */
#sidebar {
  color: #707070;
  float: left;
  font-size: 12px;
  line-height: 18px;
  padding: 20px 0 0;
  width: 100%;
}
#text-3 img {
  width: 100%;
}

/* Footer */
#footer {
  padding: 30px 20px;
}	
.logo-foot {
  float: none;
  margin: 10px 0 0 30px;
  width: 100%
}
.logo-foot img{
	margin: 0 auto
}
#footer-text {
  color: #648CC1;
  margin: 20px 0 0 55px;
  width: 257px;
}
.socials {
  margin-left: 90px;
  float: none
}

}