/* #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;
}

#wrap_top_header, .colorscheme1 #wrap_top_header {
  height: 70px; 
  background-position: -300px top;
  -webkit-background-size: 1175px;
  background-size: 1175px;
}
	.colorscheme2 #wrap_top_header {
	  background-position: -300px -70px;
	  height: 70px;
	}
	.colorscheme3 #wrap_top_header,
	.colorscheme4 #wrap_top_header,
	.colorscheme5 #wrap_top_header,
	.colorscheme6 #wrap_top_header,
	.colorscheme7 #wrap_top_header {
	  background-position: -300px top;
	  -webkit-background-size: 1175px;
  		background-size: 1175px;
	  height: 70px;
	}

#header .wrap {
  height: 254px;
}


/* ---------------------Logo ---------------- */
.logo{
	height: 83px;
}
.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;
	}	
	.logo img, .colorscheme1 .logo img {
	  width: 135px;
	}


/*----------------------- TOP --------------*/

#header #searchform input[type="text"] {
  color: #fff;
}

/*  ------------ Navigations -----------
---------------------------------------- */
.responds {
  display: block;
}
/* Primary navigation */
nav.primary {
	background: none;
	height: 47px;
	top: 5px;
	left:59%;
}
/* Navigation select styling */
nav.primary .responds {
/*   background: none repeat scroll 0 0 #4e91c0;
border: 1px solid #4990c2; */
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-family: 'Raleway',serif;
  font-size: 26px;
  height: 44px;
  line-height: 44px;
  text-align: center;
}
	
	#topnav {
	  position: absolute;
	  display: none;
	  background: #57a1d6;
	  min-width: 200px;
	  left: -70px;
	}
		.colorscheme2 #topnav {
		  background-color: #875959;
		}
		.colorscheme3 #topnav {
		  background-color: #6c9a30;
		}
		.colorscheme4 #topnav {
		  background-color: #ed581e;
		}
		.colorscheme5 #topnav {
		  background-color: #323232;
		}
		.colorscheme6 #topnav {
		  background-color: #a99d80;
		}
		.colorscheme7 #topnav {
		  background-color: #225494;
		}


		#topnav li {
			background: url("../images/bg_primary_nav_li2.png") repeat-x left top;
		}

		.sf-menu li {
		  display: block;
		  float: left;
		  width: 100%;
		}
			.sf-menu li:first-child {
			  border-top: none;
			}
			.sf-menu > li > a {
				margin-left: 0;
				text-align: center;
			}
				.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, .colorscheme1 .sf-menu ul {
			  right: 0;
			  width: 160px;
			}
				.colorscheme2 .sf-menu ul {
				  background-color: #875959;
				}
				.colorscheme3 .sf-menu ul {
				  background-color: #6c9a30;
				}
				.colorscheme4 .sf-menu ul {
				  background-color: #ed581e;
				}
				.colorscheme5 .sf-menu ul {
				  background-color: #323232;
				}
				.colorscheme6 .sf-menu ul {
				  background-color: #a99d80;
				}
				.colorscheme7 .sf-menu ul {
				  background-color: #225494;
				}

.sf-menu li, .sf-menu li a{
	position: static;
}
.sf-menu .sub-menu li, .sf-menu .sub-menu li a{
	position: relative;
}


				.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
---------------------------------------- */
#wrap_section_slider #slider-wrapper {
  background-position: center -43px;
  background-size: 1000px auto;
  height: 280px;
}
	#wrap_section_slider.on #slider-wrapper {
		-webkit-background-size: 1000px;
		background-size: 1000px;
		height: 300px;
		background-position: center -23px;
	}

.flexslider-holder {
	margin: 0 auto;
	width: 420px;
}
.flexslider {
  width: 420px;
}
.flex-direction-nav li {
  top: 60px;
}
.flex-direction-nav li a.prev {
		left: 330px;
	}
	.flex-direction-nav li a.next {
	 	left: 375px;
	}
/*  **************************************************/	
	#wrap_section_slider #sliderCaption {
		top: 115px;
	}
		#wrap_section_slider.on #sliderCaption {
			top: 120px;
		}
		#wrap_section_slider #sliderCaption h1 {
			  font-size: 15px;
			  line-height: 18px;
			}
			#wrap_section_slider #sliderCaption h2 {
			  font-size: 20px;
			  line-height: 24px;
			  padding-bottom: 0;
			}
			#wrap_section_slider #sliderCaption p {
			  font-size: 12px;
			  line-height: 14px;
			}
	
	
/*  **************************************************/
#header_bottom,
.colorscheme1 #header_bottom {
	-webkit-background-size: 1000px;
	background-size: 1000px;
	height: 104px;
	background-position: center -105px;
	margin-top: -110px;
}
	.colorscheme2 #header_bottom,
	.colorscheme3 #header_bottom,
	.colorscheme4 #header_bottom,
	.colorscheme5 #header_bottom,
	.colorscheme6 #header_bottom,
	.colorscheme7 #header_bottom {
		-webkit-background-size: 1000px;
		background-size: 1000px;
		height: 104px;
		margin-top: -110px;
	}
/*  **************************************************/

/* Before Content Area */
#before_content_area .before_holder {
  background: none;
}

#before_content_area a.more {
  margin: 20px auto 0 166px;
}

/*  *********************** Phone_Info Block **********************/

#phone_info {
	display: none;
}

/*  **************************************************/


/*------------------------------------*/
/* 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: 97%;
  margin-bottom: 15px;
}
	.single-portfolio .two_third .featured-thumbnail img {
	  width: 99.5%;
	}
		
.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%;
}

/*  **************************************************/
#testi-cycle .testi_item {
  width: 400px !important;
}
/*  **************************************************/
	
/* 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%;
	}
}			

div.pp_pic_holder {
 /*  left: 11px !important; */
  width: auto !important;
}
	div.ppt {
	  width: 94%!important;
	}

	.pp_content {
	  width: 98.5% !important;
	}
		#pp_full_res img {
			width: 100%!important;
		}
		.pp_content_container .pp_details {
		  width: 100%!important;
		}


/* 1 column portfolio*/
#gallery.one_column .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.one_column .portfolio li a.image-wrap {
	  height: 203px;
	  width: 385px;
	}
	#gallery.one_column .portfolio li span.image-border {
	  height: 203px;
	  width: 385px;
	}
	#gallery.one_column .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 97.5%;
	}
	#gallery.one_column .portfolio li a.image-wrap .zoom-icon {
	  height: 203px;
	  width: 385px;
	}
	#gallery.one_column .folio-desc {
	  margin: 15px 0 0 0;
	  width: 100%;
	}

	/*  **************************************************/
			
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
	  height: 228px;
	  width: 385px;
	}
	#gallery.two_columns .portfolio li span.image-border {
	  height: 228px;
	  width: 385px;
	}
	#gallery.two_columns .portfolio li a.image-wrap img {
	  margin-bottom: 0;
	  width: 97.5%;
	}
	#gallery.two_columns .portfolio li a.image-wrap .zoom-icon {
	  height: 230px;
	  width: 385px;
	}	
	#gallery.two_columns .folio-desc {
	  margin: 15px 0 0 0;
	  width: 100%;
	}

/*  **************************************************/


/* 3 columns portfolio*/
#gallery.three_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.three_columns .portfolio li span.image-border {
		height: 273px;
	  width: 390px;
	}
		#gallery.three_columns .portfolio li a.image-wrap {
		  height: 273px;
		  width: 390px;
		}
			#gallery.three_columns .portfolio li a.image-wrap img {
			  margin-bottom: 0;
			  width: 97.5%;
			}
			#gallery.three_columns .portfolio li a.image-wrap .zoom-icon {
			  height: 273px;
			  width: 390px;
			}


/*  **************************************************/
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.four_columns .portfolio li span.image-border {
		height: 205px;
	  width: 390px;
	}
		#gallery.four_columns .portfolio li a.image-wrap {
		  height: 206px;
		  width: 390px;
		}
			#gallery.four_columns .portfolio li a.image-wrap img {
			  margin-bottom: 0;
			  width: 97.5%;
			}
			#gallery.four_columns .portfolio li a.image-wrap .zoom-icon {
			  height: 206px;
			  width: 390px;
			}

/*  **************************************************/

.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: 263px;
			  width: 389px;
			}
			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: 372px !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: 345px;
}

#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%;
	}



#footer #searchform input[type='text'] {
	box-shadow: none;
	border: 1px solid #5593C1;
}	
#footer #searchform input[type='submit'] {
	background: url(../images/bg_SF_btn_submit2.png) 0 0 no-repeat;
}


/*--------------------------------------------------*/


/* 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;
	}



.blog .header-title {
  margin: 0 0 15px;
}

#have_posts{
	display: none;
}

.wrap_content {
  padding:0;
}
	.search-no-results .wrap_content {
	  padding: 0 0 20px;
	}

	.page-template-page-fullwidth-php .wrap_content {
	  padding-bottom: 0;
	}


		.author .pagenavi {
		  padding: 0 0 30px 0;
		} 

aside#sidebar {
  background: none repeat scroll 0 0 transparent;
  margin: 0 !important;
  padding: 25px 15px 0;
  border-bottom: 1px solid #EBEDEE;
}

	aside#sidebar2 {
	  margin: 0 !important;
	  padding: 0 15px 20px;
	}
	.page-template-page-fullwidth_withLeftSidebar-php aside#sidebar2 + div.grid_9 {
		margin-bottom: 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 {
			  margin-bottom: 0;
			}


#sidebar .widget #testi-controls {
  margin-top: -30px;
}


.alignleft, .alignnone, .alignright {
  width: 100% !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;
}

	.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 {
	background: #fff;
	width: 420px;
	top: 0;
}
/*  **************************************************/
#home-content .news_list .featured-thumbnail {
  padding-bottom: 5px;
}
	#home-content .news_list li {
	  margin-top: 20px;
	}
		#home-content .news_list li:first-child {
		  margin-top: 0;
		}
/*  **************************************************/
#after-slider {
  margin-top: 0;
  width: 420px;
  height: 320px;
}
	#after-slider a.button {
	  height: 72px;
	  line-height: 72px;
	  right: 77px;
	  top: 100%;
	}


#middle-blocks {
  padding-bottom: 0;
}
	#middle-blocks .grid_12 {
		padding: 0;
	}

#home-content .content {
  width: 420px;
}
	#home-content .content:first-child {
	  padding-bottom: 0;
	}
	#home-content .featured-thumbnail {
	  margin-bottom: 15px;
	}

#carousel .es-carousel {
	width: 290px;
	
}

.post-content {
  padding-left: 0;
}


/* ------------------ Footer ------------*/
#footer {
  padding-bottom: 0;
}
	.footer_info {
	  float: left;
	  padding-top: 0;
	}

	 #footer h4,
	 .colorscheme1 #footer h4,
	 .colorscheme2 #footer h4,
	 .colorscheme3 #footer h4,
	 .colorscheme4 #footer h4,
	 .colorscheme5 #footer h4,
	 .colorscheme6 #footer h4,
	 .colorscheme7 #footer h4 {
		color: #fff;
	}

	#footer .grid_3.alpha h4,
	.colorscheme1 #footer .grid_3.alpha h4 {
	    	color: #478EC1;
	}
	.colorscheme2 #footer .grid_3.alpha h4 {
		color: #875959;
	}
	.colorscheme3 #footer .grid_3.alpha h4 {
		color: #6c9a30;
	}
	.colorscheme4 #footer .grid_3.alpha h4 {
		color: #ed581e;
	}
	.colorscheme5 #footer .grid_3.alpha h4 {
		color: #323232;
	}
	.colorscheme6 #footer .grid_3.alpha h4 {
		color: #a99d80;
	}
	.colorscheme7 #footer .grid_3.alpha h4 {
		color: #225494;
	}

	#footer .grid_6, .colorscheme1 #footer .grid_6, 
	#footer .grid_6 a, .colorscheme1 #footer .grid_6 a {
	    	color: #E3E6E8;
	}

	#footer {
		height: auto;
	}
		#footer .grid_6.f_area4 h4 {
		  text-align: left;
		}

	#footer #social_links li {
	  float: left;
	  margin: 0 10px  0 0 ;
	}

	#footer-text {
	  margin-left: 0;
	  margin-bottom: 15px;
	}
	#footer ul {
	  padding-bottom: 0;
	}

	#footer .grid_2,
	#footer .grid_3,
	#footer .grid_4,
	#footer .grid_6 {
	  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%;
	}
















} 