/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {

.container{
	width: 300px!important;
	margin: 0 auto
}
html, body, #main, #footer {
  min-width: 300px;
}
.primary_content_wrap .container img {
  width: 100%;
  height: auto
}

.container .solu img,
.comment-author img{
	width: auto!important
}
/* 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/logo300.jpg) no-repeat;
	display: block;
	width: 265px;
	height: 85px;
}
.logo{
	margin-left: 4px
}
.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: 84%;
}

	
/* Primary navigation */
nav.primary {
  margin: 15px 0 0 0;
  padding: 17px 0 0;
  text-align: center;
  width: 100%;
  background: url(../images/nav_300.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: 183px;
		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: 120px;
  width: 300px;
}
.flexslider-holder {
	height:120px;
	width: 300px
	}

#slider-wrapper {
  margin-top: 20px;
}	
.flex-caption {
  top: 0;
}
.flex-caption p {
  display: none
}
.flex-caption h1 {
  font-size: 23px;
  line-height: 23px;
}
.flex-caption h1 span {
  font-size: 23px;
  line-height: 23px;
}
.flex-caption h2 {
  font-size: 23px;
  line-height: 23px;
}
.flex-caption a {
  display: none;
}
.flex-control-nav {
  display: none;
}

/* Testimonials */
.quote {
  width: 100%;
}
/* project Banner */
#project_banners .projects_holder {
  float: none;
  margin: 0 auto 15px;
  width: 300px
}
#project_banners .container div:first-child {
  margin: 0 auto 15px;
}

	/* Post */
	.featured-thumbnail {
		float:none;
		margin:0 0 20px 0;
		}
		.featured-thumbnail img {
			width:100%;
			height:auto;
			margin-bottom: 20px
			}
	.featured-thumbnail .fright {
		float:none;
		clear:left;
		}
	.featured-thumbnail.large {
		width:auto;
		height:auto;
		margin:0 0 10px 0;
		}
	
	
	/* Single Team */
	.single-team .img-wrap img {
		width:auto;
		height:auto;
		float:left;
		margin:0 10px 5px 0;
		}
	.single-team .extra-wrap {
		display:inline;
		}
	
	
	/* Comments */
	.comment-meta {
		position:static;
		padding-bottom:1em;
		}
	.comment-author {
		padding-bottom:0;
		}
		.comment-meta {
		  width: 122px;
		}
	
	#commentform input[type="text"],
	#commentform textarea {
		width:230px;
		max-width:230px;
		min-width:230px;
		}
	
	

	/* Latest Post */
				
	ul.latestpost li {
	  height: 230px;
	}
/* 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:270px;
		height:140px;
		}
	.zoom-icon {
		width:270px;
		height:140px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}
			.line {
			  display: none
			}

/* Partners */
.part.grid_2{
	margin: 0 
}
.part img{
	width: auto!important
}
	
/* 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;
	}
.wpcf7-form img{
	width: auto!important
}	
		
	
/* Footer
---------------------------------------- */
.footer{
	background: url(../images/foot_right.gif) left top repeat-x;
	padding-top: 8px;
}
.foot_left,
.foot_right{
	display: none;
}
.logo-foot .site-name {
  float: left;
  background: url(../images/logo300.jpg) no-repeat;
  width: 265px
}
.logo-foot img{
	display: none;
}

#text-13 {
  float: left;
  width: 290px;
}
#simple-email-subscription {
  float: left;
  margin-top: 25px;
  width: 100%;
}

#footer-text {
  background: none;
  float: left;
  margin: 0;
  padding-left: 3	5px;
  width: 245px;
}
.links {
  margin-left: 0;
  padding-bottom: 15px;
  padding-left: 0;
  padding-top: 0;
}
#footer-text p.copy {
  margin-bottom: 0;
}

}