/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 959px) {

.container{
	width: 768px;
	margin: 0 auto
}
html, body, #main, #footer {
  min-width: 667px;
}
/* Header
---------------------------------------- */
.sf-menu > li {
  width: 149px;
}
.sf-menu > li > span {
  width: 148px;
}

.primary_content_wrap {
  padding: 10px 0 40px;
  position: relative;
  z-index: 8;
}

/* Slider
---------------------------------------- */
.flexslider-holder {
  height: 314px;
  width: 705px;
}
.flexslider-container {
  height: 314px;
}

/* Carousel */	
.es-carousel-wrapper {
  position: relative;
  width: 728px;
}
.es-carousel {
  float: right;
  overflow: hidden;
  width: 490px;
}
.es-carousel ul li {
	margin-left: 5px
}
.es-carousel ul li a img {
  height: auto;
}
.overlay h2 {
  font-size: 14px;
  margin-top: 54px
}
.text-styled p.moretext {
  padding-top: 0px;
}

/* Before Content */
#before_content_area {
	margin:0;
	}
#before_content h1 {
   
  margin: 0 30px 0 0!important;
}
/* Content Home  */	
.content_home{
	font-size: 11px
}
.content_home h2 {
  font-size: 21px;
  line-height: 27px;
}

/* Latest Post
---------------------------------------- */
.latestpost li div.excerpt {
  font-size: 13px;
}	
.latestpost li a {
  font-size: 11px;
}
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:227px;
	margin:0 25px 50px 0;
	}
	#gallery .portfolio li a.image-wrap {
		width:227px;
		height:141px;
		}
	.zoom-icon {
		width:227px;
		height:154px;
		}


/* Comment form */
.commentlist ul.children {
	margin-left:20px;
	}
	
	
/* Contact form */
.wpcf7-form p.field input {
	width:210px;
	}
.wpcf7-form textarea {
	float:left;
	width:207px;
	min-width:207px;
	}
input[type="text"], textarea {
  width: 88%;
}	
.wpcf7-not-valid-tip {
	width:220px !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
---------------------------------------- */
#searchform .searching {
	width:130px;
	margin:0 0 10px 0;
	}	
#searchform {
  width: 150px;
}

/* Footer */	
.socials a {
  width: 20%;
}
#footer-text{
	font-size: 10px
}
	
}