/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
.container {
	width:420px !important;
	}
#slider-wrapper .grid_12,
#before-block_page .grid_12,
#header .grid_12,
#after_menu_area .grid_12{
	margin-bottom: 0
}

html,
body {
	min-width:420px;
}

/* Header
---------------------------------------- */
#top-header {
	height:87px;
	}
#header {
  min-height: 175px;
  position: relative;
  z-index: 99999;
}

/* ---------------------Logo ---------------- */
.logo{
	background-position: 50% 0;
}
.logo h1,
.logo h2 {
	text-align:left;
	font-size: 16px;
	}
	.logo span {
	  margin-right: 11px;
	}
	.logo .tagline {
		display:block;
	}
	.logo h2 em {
	  font-size: 9px;
	}	
/*----------------------- TOP --------------*/

#switch_slider{
	display: none;
}

#top{
	height: 110px;
}
	#top #searchform {
	  float: none;
	  margin: 0 auto;
	  top: 18px;
	}

#header #searchform input[type="text"] {
  color: #fff;
}

/*  ------------ Navigations -----------
---------------------------------------- */
.responds {
  display: block;
}
/* Primary navigation */
nav.primary {
	background: none;
	height: 47px;
}
/* Navigation select styling */
nav.primary .responds {
  background: none repeat scroll 0 0 #83786E;
  border: 1px solid #A79E98;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-family: 'Merriweather',serif;
  font-size: 26px;
  height: 44px;
  line-height: 41px;
  text-align: center;
}
	
	#topnav {
	  position: absolute;
	  width: 93%;
	  display: none;
	  background: #463d33;
	}
		.sf-menu li {
		  background: none;
		  display: block;
		  float: left;
		  margin: 0;
		  width: 100%;
		  border-top: 1px solid #696158;
		}
			.sf-menu li:first-child {
			  border-top: none;
			}
			.sf-menu > li > a {
				margin-left: 0;
				text-align: center;
				padding: 5px 0;
				background: none;
				font-size: 20px;
				line-height: 36px;
				color: #ece8e1;
			}
				.sf-menu > li:hover > a {
					color: #a0988b;
				}
				.sf-menu > li > a > span {
					color: #a47a5d;
				}
				.sf-menu > li.current-menu-item > a > span, 
				.sf-menu > li:hover > a > span{
				  	color: #ffddb9;
				}
				
			.sf-menu ul {
			  background: none repeat scroll 0 0 #534b41;
			  border-top: 1px solid #3B2115;
			  border-bottom: 1px solid #3B2115;
			  padding: 0;
			  right: 0;
			  width: 100%;
			}
				.sf-menu ul li li {
				  min-width: 113px
				}
				.sf-menu ul li a,
				.sf-menu ul li ul li a{
					text-align: center;
					min-width: 113px;
					font-size: 16px;
					padding: 12px 13px;
				}
			.sf-menu li:hover ul,
			.sf-menu li.sfHover ul {
				left:			0%;
				top:			35px; /* match top ul list item height */
				z-index:		99;
			}

		.sf-menu .sub-menu .sub-menu {
		  left: 0;
		}
			.sf-menu .sub-menu .sub-menu li {
			  border-top: 1px solid #726d67;
			}
				.sf-menu .sub-menu .sub-menu li:first-child {
				  border-top: none;
				}


/* Top search */
#top-search {

	}
#top-search .input-search {
	width:150px;
	}
#top-search #submit {
	
	}

/* Header widget */
#widget-header {
	padding:20px 0 20px 0;
	font-size:11px;
	text-align:center;
	}
	.widget-header {
	  float: right;
	  margin-left: 0;
	}
	#widget-header #searchform .searching {
	  width: 205px;
	}
	#widget-header .social-networks li {
	  margin: 5px 0 0 0 ;
	  text-align: left;
	}
	
	
/* Slider
---------------------------------------- */
#slider-wrapper {
  display: none;
}

/* Before Content Area */
#before_content_area .before_holder {
  background: none;
}

#before_content_area a.more {
  margin: 20px auto 0 166px;
}


/*------------------------------------*/
/* Before Block title */
#before-block_page h1 {
  font-size: 18px;
  line-height: 98px;
  margin: 0
}
.post-thumb {
  float: left;
  height: 100%;
  margin-right: 20px;
  width: 100%;
}


#excerpt h2 {
  font-size: 34px;
  line-height: 35px;
  padding: 10px 0 0;
  text-align: center;
}
/* ----------------- Home Content area --------------- */
#home_content_area .indent_right {
  border: none;
  padding-left: 0px;
}	

/* ----------------- Post -------------- */
.featured-thumbnail {
  float: left;
  width: 98%;
}
	.home .box_2 .featured-thumbnail {
	  float: left;
	  width: 30%;
	}
		.two_third .featured-thumbnail img {
		  width: 100%;
		}
		
.extra-wrap {
  clear: both;
  overflow: hidden;
}		
.featured-thumbnail .fright {
	float:none;
	clear:left;
	}
.featured-thumbnail.large {
	width:auto;
	height:auto;
	margin:0 0 10px 0;
	}

a.donate_btn {
  left: 60px;
}

.post-holder {
  margin-bottom: 15px;
}
	.search-results .post-holder {
	  margin-bottom: 40px;
	}
.post-holder footer {
	
	}
	.post-holder footer .button {
		margin-right:6px;
		}
	.post-holder footer .link {
		margin-right:6px;
		}

.latestpost li .featured-thumbnail {
	width:140px;
	height:138px;
	margin:0 20px 0 0;
	float:left;
	}
	.latestpost li .featured-thumbnail img {
		width:auto;
		height:auto;
		}

/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:100%;
	height:auto;
	}

.tabs .tab {
	padding:20px 10px;
	background:#020202 url(../images/tab-bg-small.png) 50% -200px no-repeat;
}
.tabs .tab .entry {
	width:180px;
	height:auto;
	margin-bottom:20px;
	margin: 0 10px 20px 10px;
	}
	.tabs .tab .entry img {
		
		}

/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"], #commentform textarea {
  width: 94%;
}

.children #commentform input[type="text"],
.children #commentform textarea {
	width:94%;
	max-width:318px;
	min-width:318px;
	}


/* 404 */
#error404 {
  float: left;
  padding: 30px 0 20px;
  width: 100%;
}
.error404-num {
  font-size: 130px;
}
.text-404 strong {
  font-size: 35px;
}
.globus {
  margin-bottom: 44px;
  margin-top: 0px;
  width: 90%;
}


	
/* Portfolio
---------------------------------------- */
/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio li a.image-wrap {
	  height: 218px;
	  width: 328px;
	}
	.zoom-icon {
	  height: 196px;
	  width: 391px;
	}	
	.blog .zoom-icon, .archive .zoom-icon, .single .zoom-icon, .search .zoom-icon {
	  height: 194px;
	  width: 390px;
	}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}

@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{  
	.single-portfolio .zoom-icon:before {
		left: 47%;
		top: 50%;
	}
}			



/* 1 column portfolio*/
#gallery.one_column .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.one_column .portfolio li a.image-wrap {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .portfolio li span.image-border {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 98%;
	}
	#gallery.one_column .portfolio li a.image-wrap .zoom-icon {
	  height: 100%;
	  width: 100%;
	}
	#gallery.one_column .folio-desc {
	  margin: 15px 0 0 0;
	  width: 100%;
	}

@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{
	#gallery.one_column .portfolio li span.image-border {
		height: 205px;
	}
	#gallery.one_column .portfolio li a.image-wrap {
		height: 205px;
		width: 100%;
	}
	#gallery.one_column .portfolio li a.image-wrap .zoom-icon {
		height: 205px;
		width: 100%;
	}
	#gallery.one_column .portfolio li a.image-wrap img {
		height: auto;
	}

}			
			
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
	  height: 100%;
	  width: 100%;
	}
	#gallery.two_columns .portfolio li span.image-border {
	  height: 100%;
	  width: 100%;
	}
	#gallery.two_columns .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 98%;
	}
	#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
	  height: 230px;
	  width: 390px;
	}	
@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{
	#gallery.two_columns .portfolio li span.image-border {
		height: 231px;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		height: 231px;
		width: 100%;
	}
	#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
		height: 230px;
	  width: 390px;
	}
}
/* 3 columns portfolio*/
#gallery.three_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.three_columns .portfolio li span.image-border {
	  height: 100%;
	  width: 100%;
	}
	#gallery.three_columns .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 98%;
	}
	#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
	  height: 273px;
	  width: 390px;
	}

@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{ 

	#gallery.three_columns .portfolio li a.image-wrap img {
			height: auto;
	}
	#gallery.three_columns .portfolio li span.image-border {
		height: 270px;
	}
	#gallery.three_columns .portfolio li a.image-wrap {
		height: 270px;
		width: 99%;
	}
		#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
			height: 270px;
			width: 386px;
		}

}	

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
  width: 183px;
}
	#gallery.four_columns .portfolio li:nth-child(even) {
		margin-right:0; 
	}

	#gallery.four_columns .portfolio li span.image-border {
	  height: 98px;
	  width: 185px;
	}
		#gallery.four_columns .portfolio li a.image-wrap {
		  height: 98px;
		  width: 185px;
		}
			#gallery .portfolio li a.image-wrap img {
			  height: auto;
			  width: 95%;
			}
				#gallery.four_columns .zoom-icon {
				  height: 98px;
				  width: 184px;
				}

.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
  float: none;
  margin-right: 0;
}
	.two_third {
	  width: 100%;
	}
		.grid_gallery_inner {
		  width: 100%;
		}
			.grid_gallery .gallery_item {
			  margin: 0 0 15px;
			  width: 100%;
			}
				.two_third .gallery_item figure.featured-thumbnail {
				  width: 98% !important;
				}

			.single-portfolio .zoom-icon {
			  height: 100%;
			  width: 106%;
			}
			nav.oldernewer {
			  font-size: 10px;
			}
				.single-oldernewer a{
					font-size: 13px;
				}
	.one_third {
	  width: 100%;
	}

		
/* Contact form */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 94.5%;
}
.wpcf7-form p.field input {
	width:360px;
	}
span.wpcf7-not-valid-tip {
  height: 19px !important;
  left: 0 !important;
  padding: 9px 0 8px 15px !important;
  width: 376px !important;
  top: -101%!important;
}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}

@media screen and (-webkit-min-device-pixel-ratio:0) /*----- Safari ------*/
{  
 span.wpcf7-not-valid-tip {
 	top: -23%!important;
 }
}

/*----------------- SEARCH -------------*/
#searchform input[type="text"] {
  width: 94.5%;
}

#wrap_sidebar #searchform input[type="text"] {
  width: 88%;
}
.no-results #searchform, #error404 #searchform {
  position: relative;
  width: auto;
}
	.no-results #searchform input[type="text"],
	#error404 #searchform input[type="text"] {
		width: 88%;
	}
/*--------------------------------------------------*/


/* Contact Page */
#page-content .grid_7 {
  width: 340px;
  margin: 0 
}

.info {
  float: right;
  width: 100%;
}	
	
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:260px;
	}


/*------------------------------------*/

/*------------------------- CONTENT ---------------------------*/
.home .container_12 div[class*="grid"] div[class*="grid"]{
  margin-left: 0;
  margin-bottom: 30px;
}

.wrap_block div[class*="grid"] p:last-child{
	margin-bottom: 30px!important;
}
	.wrap_block div[class*="grid"]:last-child p:last-child{
		margin-bottom: 10px!important;
	}


h1 {
  font-size: 26px!important;
  line-height: 29px!important;
  background-position: -51px 5px;
  padding-top: 7px;
}


.blog .header-title {
  margin: 0 0 35px;
}

#have_posts{
	display: none;
}

.wrap_content {
  padding-bottom: 30px;
}
	.page-template-page-fullwidth-php .wrap_content {
	  padding-bottom: 0;
	}

	.pagenavi {
	  padding: 15px 0 0;
	}
		.author .pagenavi {
		  padding: 0 0 30px 0;
		} 

aside#sidebar {
  background: none repeat scroll 0 0 #EBEBE9;
  padding: 25px 15px 30px;
  margin: 0!important;
}
	.page-template-page-blog_with_twoSidebar-php #page_inner #sidebar2 #wrap_sidebar {
	  padding: 0;
	}
	aside#sidebar2 {
	  background: none repeat scroll 0 0 #EBEBE9;
	  padding: 50px 15px 20px; 
	  margin: 0!important;
	}
	#wrap_sidebar {
	  padding: 0;
	}
		.page-template-page-blog_with_leftSidebar-php #page_inner #wrap_sidebar {
		  padding: 0;
		}
			.page-template-page-fullwidth-php .wrap_content #content article:last-child,
			.page-template-page-blog_with_leftSidebar-php .wrap_content #content article:last-child,
			.page-template-page-blog_with_rightSidebar-php .wrap_content #content article:last-child,
			.page-template-page-blog_with_twoSidebar-php .wrap_content #content article:last-child,
			.page-template-page-blog_with_withoutSidebar-php .wrap_content #content article:last-child {
			  margin-bottom: 0;
			}

.alignleft, .alignnone, .alignright {
  width: 98% !important;
}
	.alignnone{
		height: 235px;
	}
		.home .alignnone {
		  height: auto;
		}

ul.recent-posts li {
  margin-left: 0!important;
}

.primary_content_wrap .container_12 .grid_12 {
	margin-bottom:0;
}

.audiojs .scrubber {
  width: 57%;
}

.entry-header h2.entry-title a {
  font-size: 20px;
  line-height: 20px;
}
.post-meta {
  font-size: 12px;
  line-height: 12px;	
}
.entry-header b {
  float: left;
  margin-top: 15px !important;
  position: inherit;
}

iframe {
  width: 98%;
  height: 255px;
}
.wrap_content iframe {
  margin: 4px 0 10px;
  width: 98%;
}
#commentform input[type="submit"] {
  margin: 13px 0 0 0;
}

.blog .featured-thumbnail,
.archive .featured-thumbnail,
.search .featured-thumbnail {
  width: 98% !important;
}
.page-template-page-blog_with_leftSidebar-php .featured-thumbnail,
.page-template-page-blog_with_rightSidebar-php .featured-thumbnail,
.page-template-page-blog_with_twoSidebar-php .featured-thumbnail,
.page-template-page-blog_with_withoutSidebar-php .featured-thumbnail {
  width: 98% !important;
}
	.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;
	}

#page_inner,
.page-template-page-blog_with_leftSidebar-php #page_inner,
.page-template-page-blog_with_rightSidebar-php #page_inner,
.page-template-page-blog_with_twoSidebar-php #page_inner {
	background: #fff;
	width: 420px;
	top: 0;
}

#after-slider {
  margin-top: 0;
  width: 420px;
  height: 320px;
}
	#after-slider a.button {
	  height: 72px;
	  line-height: 72px;
	  right: 77px;
	  top: 100%;
	}
	#after-slider .box_1 .text,
	#after-slider .box_1 h2 {
	  width: 100%;
	  font-size: 17px;
	  padding-bottom: 0;
	}
		#after-slider .box_1 h2 {
			font-size: 25px;
		}

#middle-blocks {
  padding-bottom: 0;
}
	#middle-blocks h2 {
	  line-height: 52px;
	}

#home-content .content {
  width: 420px;
}
	#home-content .box_1 {
	  margin: 0 10px;
	  width: 400px;
	}
	#home-content .box_2 {
	  margin: 30px 10px 0;
	  width: 400px;
	}
	#home-content .wrap {
	  display: block;
	}	
	.home #sidebar {
	  padding: 42px 10px 0px;
	  width: 400px;
	  height:100%;
				
	}

#carousel .es-carousel {
	width: 290px;
	
}

.page-template-page-blog_with_withoutSidebar-php .post-content {
  margin-left: 0;
}
.page-template-page-blog_with_withoutSidebar-php .featured-thumbnail {
  width: 98% !important;
}
/* ------------------ Footer ------------*/
#footer {
  padding-bottom: 0;
}
	.footer_info {
	  float: left;
	}

	#footer-text {
	  margin-left: 0;
	  margin-bottom: 15px;
	}
	#footer ul {
	  padding-bottom: 0;
	}

	#footer .grid_2,
	#footer .grid_3,
	#footer .grid_4 {
	  margin-bottom: 30px;
	}
		#footer .container_12 .grid_12 div[class*="grid"]:last-child {
			margin-bottom: 0;
		}

	#footer .wpcf7-not-valid-tip {
	  font-size: 15px !important;
	  line-height: 20px;
	  padding: 8px 6px 2px !important;
	  width: 88% !important;
	}
		#footer textarea + span.wpcf7-not-valid-tip {
		  width: 96% !important;
		}

	#social_networks-2 {
	  margin-left: 0;
	}
		.social-networks li:first-child {
		  padding: 0;
		}
			.social-networks li:first-child a img {
    			margin: 0;
			}

	.site-name {
	  margin-left: 95px;
	}

	#copyright .right_side {
	  margin: 15px 0 0;
	  width: 100%;
	}
















} 