/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 959px) {

html,
body {
	min-width:768px;
	}
.container {
	width:768px !important;
	}

/* Header
---------------------------------------- */
.logo{
	background-position: 46% 0;
}
	.logo span {
	  margin: 0 20px 0 0;
	}

.logo h2 {
  font-size: 18px;
}

nav.primary {
  left: 34%;
}
	
#topnav li a {
  padding: 0 14px;
}

.sf-menu li {
  margin: 0;
  padding: 0 0 0 5px;
}
	.sf-menu li:first-child {
	  margin: 0;
	  padding: 0;
	}
		.sf-menu li a {
		    padding:0 17px;
		    font-size: 16px;
		}
.sf-menu a.sf-with-ul {
  padding-right: 35px;
}	


.sf-menu li:hover > a, .sf-menu li.sfHover > a, .sf-menu li > a:focus, .sf-menu li > a:hover, .sf-menu li > a:active, .sf-menu li.current-menu-item > a {
  background-position: left 49px;
}

.widget-header {
  margin-left: 36px;
}


/* Excerpt */
#excerpt h2 {
  font-size: 36px;
}

/*  ************************* SLIDER CAPTION ******************/

h2 {
	padding-bottom: 0;
}

/*  ******************************** PHONE_INFO ****************/
#phone_info {
  margin-top: -89px;
}
	#phone_info p {
		font-size: 13px;
		line-height: 18px;
		margin-bottom: 0;
	}
	#phone_info p.phone {
		font-size: 24px;
		line-height: 30px;
	}
/*  **************************************************/


/*  ******************** Slider ******************************/
#slider-wrapper {
  height: 420px;
}
#wrap_section_slider.on #slider-wrapper,
#wrap_section_slider #slider-wrapper {
  height: 434px;
}
.flexslider-holder {
	margin: 0 auto;
	width: 768px;
}
.flexslider {
  width: 768px;
}
.flex-direction-nav li {
  top: 110px;
}
.flex-direction-nav li a.prev {
		left: 650px;
	}
	.flex-direction-nav li a.next {
	 	left: 695px;
	}

#slider-wrapper #sliderCaption h1,
#slider-wrapper #sliderCaption h2 {
  font-size: 44px;
  line-height: 50px;
}	
/*  **************************************************/

input[type="text"] {
  width: 130px;
}

/*  **************************************************/

#before_content_area {
	margin:0;
	}
#before_content_area h4 {
  font-size: 34px;
  margin-left: 20px;
}
#before_content_area h4 span {
  font-size: 16px;
  line-height: 19px;
}	

#before_content_area a.more {
  margin: 20px auto 0 60px;
}

/*  **************************************************/

#sidebar .widget #testi-controls {
  margin-top: -47px;
  right: -5px;
}

/*  **************************************************/
/* Recent Post */
.recent-posts.team li {
  margin: 0 13px 25px 0;
  width: 151px;
}
.recent-posts.team li .thumb-wrap {
  width: 151px;
}

/* Post Project */
.fullwidth-sidebar .post-holder {
  width: 74.7%;
}
.post_project li {
  width: 499px;
}


/* Indent Right */
#home_content_area .indent_right h2 {
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 10px;
}

/* Note Book */
.note_book {
  background: url("../images/note768.png") no-repeat scroll 0 0 transparent;
  height: 330px;
  padding: 50px 0 0 15px;
  width: 157px;
}
.note_book a {
  background: url("../images/read_note768.png") no-repeat scroll 0 0 transparent;
  margin: 20px 0 0 22px;
  width: 127px;
}
.note_book pre {
  font-size: 18px;
  line-height: 23px;
}
/* Aside Box */
.box-holder {
	margin:-27px -10px -27px -21px;
	padding:27px 10px 27px 20px;
	}

.post_list li .thumb-wrap {
	display:block;
	width:100%;
	height:auto;
	}
	.post_list li .thumb-wrap img {
		width:100%;
		height:auto;
		}



/* Address */
.info {
  width: 205px;
}

/* 404 */
.error404-num {
  font-size: 110px;
}
.text-404 strong {
  font-size: 31px;
}
#searchform input[type="submit"] {
  right: 9px;
}




/* Portfolio
---------------------------------------- */

.grid_gallery .gallery_item {
  width: 17%;
}

/* Default layout 3 columns */
#gallery .portfolio li {
  margin: 0 20px 25px 0;
  width: 208px;
}
	#gallery .portfolio li a.image-wrap {
	  height: 123px;
	  width: 185px;
	}
	.zoom-icon {
	  height: 126px;
	  width: 139px;
	}
		.single-portfolio .zoom-icon {
		  height: 326px;
		  width: 485px;
		}
		.search .zoom-icon, .archive .zoom-icon, .blog .zoom-icon, .single .zoom-icon{
		  height: 243px;
		  width: 490px;
		}
			.single .zoom-icon {
			  height: 101%;
			  width: 101%;
			}
			.search .zoom-icon:before {
			  left: 50%;
			}


		#gallery.three_columns .folio-desc h4 {
		  font-size: 15px;
		}

/* 1 column portfolio*/
#gallery.one_column .portfolio li span.image-border {
  float: left;
  height: 185px;
  width: 351px;
}
	#gallery.one_column .portfolio li a.image-wrap {
	  height: 185px;
	  width: 355px;
	}
		#gallery.one_column .portfolio li a.image-wrap img {
		  float: left;
		  height: auto;
		  width: 96%;
		}
	#gallery.one_column .zoom-icon {
	  height: 185px;
	  width: 351px;
	}
	#gallery.one_column .folio-desc {
	  width: 48%;
	}


		
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
  margin-right: 20px;
  width: 362px;
}
	#gallery.two_columns .portfolio li a.image-wrap {
	  height: 215px;
	  width: 362px;
	}
	#gallery.two_columns .portfolio li span.image-border {
	  height: 215px;
	  width: 362px;
	}
		#gallery.two_columns .portfolio li a.image-wrap img {
		  width: 97%;
		}
	#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
	  height: 215px;
	  width: 362px;
	}

/* 3 columns portfolio*/
#gallery.three_columns .portfolio li {
	width: 31.2%;
	}
	#gallery.three_columns .portfolio li span.image-border {
	  height: 167px;
	  width: 235px;
	}
		#gallery.three_columns .portfolio li a.image-wrap {
		  height: 167px;
		  width: 235px;
		}
			#gallery.three_columns .portfolio li a.image-wrap img {
			  width: 96%;
			}
				#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
					height: 167px;
		  			width: 235px;
				}

/* 4 columns portfolio*/
	#gallery.four_columns .portfolio li {
	  width: 169px;
	}
		#gallery.four_columns .portfolio li span.image-border {
		  height: 91px;
		  width: 168px;
		}
			#gallery.four_columns .portfolio li a.image-wrap {
			  height: 91px;
			  width: 168px;
			}
				#gallery.four_columns .portfolio li a.image-wrap img {
				  width: 94%;
				}
					#gallery.four_columns .zoom-icon {
					  height: 91px;
					  width: 168px;
					}

/* Comment form */
.commentlist ul.children {
	margin-left:20px;
	}
	
#commentform input[type="submit"] {
  margin-left: 0;
}


/*  **************************************************/	
/* Contact form */

.wpcf7-form p.field input {
	width:210px;
	}
.wpcf7-form textarea {
	min-width:91.5%;
	}
span.wpcf7-not-valid-tip {
  background: #F5D5D5!important;
border: 1px solid #FF0000!important;
font-size: 14px!important;
line-height: 10px!important;
left: 0!important;
padding: 13px 0 13px 21px!important;
position: absolute;
top: -15px!important;
width: 341px!important;
z-index: 100;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 94%;
}




/* Search Forms
---------------------------------------- */
#wrap_sidebar #searchform{
  position: relative;
  width: 145px;
}
.no-results #searchform,
#error404 #searchform {
	width: 350px;
}
#searchform .searching {
	width:130px;
	margin:0 0 10px 0;
	}	

#error404 #searchform input[type="text"],
.no-results #searchform input[type="text"] {
	width: 87%;
	border-color: #989695;
}
	#error404 #searchform input[type="submit"],
	.no-results #searchform input[type="submit"] {
		right: 3%;
		top: 5px;
	}

#wrap_sidebar #searchform input[type="text"]{
	width: 67%;
}	
	#wrap_sidebar #searchform input[type="submit"]{
		right: 10px;
	  	top: 5px;
	}
	


/*---------------- CONTENT -------------*/

#page_inner {
    background: url("../images/bg_page_inner_768.jpg") repeat-y scroll left top;
    width: 768px;
}
	.page-template-page-blog_with_leftSidebar-php #page_inner {
	  background: url("../images/bg_page_inner_768.jpg") repeat scroll -595px top #FFFFFF;
	}
	.page-template-page-blog_with_twoSidebar-php #page_inner {
	  background: url("../images/bg_page_inner_LRS_768.jpg") repeat-y scroll center top #FFFFFF;
	}
		.page-template-page-blog_with_leftSidebar-php #wrap_sidebar #searchform {
		  width: 185px;
		}
		.page-template-page-blog_with_leftSidebar-php #wrap_sidebar #searchform input[type="submit"] {
		  right: 20px;
		}

#wrap_sidebar {
  padding: 0 9px 0 20px;
}
	.page-template-page-blog_with_leftSidebar-php #page_inner #wrap_sidebar {
	  padding: 0 0px 0 0;
	}

.alignnone {
  height: 130px;
}
.social-networks img {
  margin: 0 0 0 5px;
}

.featured-thumbnail img {
  width: 100% !important;
}

.primary_content_wrap ul li {
	font-size: 12px;
}

.page-template-page-blog_with_twoSidebar-php #page_inner .entry-header b a{
  font-size: 10px;
}
.page-template-page-blog_with_twoSidebar-php .post-meta {
  font-size: 10px;
  line-height: 10px;
}

#after-slider a.button, a.donate_btn {
  padding: 0 36px;
}

.blog .post-thumb .featured-thumbnail ,
.archive .post-thumb .featured-thumbnail,
.search .post-thumb .featured-thumbnail,
.single .post-thumb .featured-thumbnail,
.gallery_post .featured-thumbnail{
  width: 100% !important;
}

/* .blog .featured-thumbnail,
.archive .featured-thumbnail,
.search .featured-thumbnail,
.single .featured-thumbnail {
  width: 98.5% !important;
} */
	.blog .featured-thumbnail img,
	.archive .featured-thumbnail img,
	.search .featured-thumbnail img,
	.single .featured-thumbnail img {
	  width: 100% !important;
	}
.entry-header h2.entry-title a {
  font-size: 18px;
}

.page-template-page-blog_with_leftSidebar-php .featured-thumbnail,
.page-template-page-blog_with_rightSidebar-php .featured-thumbnail {
  width: 98% !important;
}

.post-meta {
  font-size: 12px;
}

.page-template-page-blog_with_withoutSidebar-php .post-content {
  margin-left: 400px;
}

#after-slider {
  width: 748px;
}
	#after-slider a.button {
	  padding: 0 15px;
	}
	#after-slider h2 {
	  font-size: 25px;
	  line-height: 25px;
	}



.audiojs .scrubber {
  width: 64%;
}

iframe {
  width: 98%;
  height: 300px;
}

.wrap_cf .wpcf7-form input[type="text"], .wrap_cf .wpcf7-form input[type="email"], .wrap_cf .wpcf7-form textarea {
  width: 94%;
}
span.wpcf7-not-valid-tip {
  width: 94%;
}
.es-carousel ul li{
	margin-right: auto!important;
}

.toggle .trigger {
  padding-top: 5px;
}

#testi-cycle .testi_item {
  width: 172px !important;
}

/*-------------------- FOOTER ---------------*/
#footer {
  padding-bottom: 15px;
}


#footer ul li a {
  font-size: 14px;
}

#footer .wpcf7-form input[type="text"], #footer .wpcf7-form input[type="email"] {
  margin-right: 12px;
  width: 62%;
}
#footer .wpcf7-not-valid-tip {
  padding: 7px 0 7px 12px !important;
  font-size: 8px!important;
}


/*  **************************************************/
.footer_info {
  font-size: 11px;
}

#footer #social_links li {
  margin-left: 5px;
}









}