/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {

html, body{
	min-width: 300px
}
.container {
	width:300px !important;
	}

/* Header Search
---------------------------------------- */
#header #searchform {
  position: absolute;
  right: 0;
  top: 0;
}

/* Logo */
.logo {
  float: left;
  margin: 0 0 0 43px;
}		
.top-header {
  line-height: 26px;
  margin-left: 34px;
  padding-bottom: 21px;
  padding-top: 1px;
  text-align: center;
  width: 84%;
  float: none;
  clear: both;
}

/* Searchform Header */
#header #searchform {
  width: 182px;
}
	#header #searchform .searching {
	  width: 115px;
	}

/* 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: 30px;
	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 20px;
}	
	.after_nav_area h3 {
	  font-size: 28px;
	  line-height: 29px;
	  margin-bottom: 5px;
	  width: 260px;
	}		
		.after_nav_area .textwidget {
		  font-size: 12px;
		  line-height: 16px;
		  margin-left: 0;
		  width: 260px;
		}

/* Slider
---------------------------------------- */
#slider-wrapper {
  background: url("../images/slider300.jpg") no-repeat scroll center top transparent;
}
	.flexslider-holder {
	  height: 160px;
	  padding-top: 19px;
	  width: 260px;
	}
	.flex-caption {
	  display: none;
	}
		.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: none;
		}

/* 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: 260px;
}

/* 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: 222px;
}

.extra-wrap {
  overflow: visible;
}
	
	/* Images */
	.frame.alignleft,
	.frame.alignright,
	.frame.alignnone,
	.lightbox {
		margin-right:0;
		width:98%;
		height:auto;
		}
	.frame.alignleft img,
	.frame.alignright img,
	.frame.alignnone img,
	.lightbox img {
		width:98%;
		height:auto;
		}

	/* Post */
	.featured-thumbnail {
		float:none;
		margin:0 0 20px 0;
		}
		.featured-thumbnail img {
			width:97%;
			height:auto;
			margin-bottom: 20px
			}
	.featured-thumbnail .fright {
		float:none;
		clear:left;
		}
	.featured-thumbnail.large {
		width:auto;
		height:auto;
		margin:0 0 10px 0;
		}

	
/* Portfolio
---------------------------------------- */
/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	height: 305px
	}
	#gallery .portfolio li a.image-wrap {
		width:252px;
		height:143px;
		}
		#gallery .portfolio .folio-desc h4 {
		  font-size: 16px;
		}
		.zoom-icon {
			width:252px;
			height:143px;
			}
			#gallery .portfolio li img {
				width:100%;
				height:auto;
				}
				.line {
				  display: none
				}

/* Contact form */
.wpcf7-form p.field input {
	width:245px;
	}
.wpcf7-form textarea {
	float:left;
	width:240px;
	max-width:240px;
	min-width:240px;
	}
.wpcf7-not-valid-tip {
	width:255px !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;
	}

#commentform textarea {
  max-width: 218px;
  min-width: 218px;
  width: 218px;
}
.comment-meta {
  bottom: 25px;
  color: #999999;
  left: 0;
  position: absolute;
  text-align: right;
  width: 248px;
}	
		
/* 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-text {
  color: #648CC1;
  float: left;
  margin: 10px 0 0 29px;
  text-align: center;
  width: 225px;
}
.socials {
  float: left;
  margin-left: 52px;
}

}