/*
Theme Name: GreenWin
Theme URI: http://domeek.ru/
Author: Raceman
Author URI: http://domeek.ru/
Description: Template by Raceman
Version: 2.0
License: Creative Commons 3.0
Theme date: 03/19/2013
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(css/font.css);

html {
	background:#f3edd3;
}
body {	
	color:#252525;
	position:relative;
	background:url(images/back-top.png) repeat-x ;
	font-family:'pt_sansregular';
	font-size:13px;
}
a {
	color:#307b05;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
a.post_ttl, .post-caption h1 {
	color:#307b05;
	font-family: 'pt_sansregular';
	font-weight:bold;
	font-size:24px;
}
h2 a.post_ttl:hover{
	text-decoration:underline;
}



/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:23px;
	line-height:25px;
	color:#a3a3a3;
	width:198px;
}
.searchbtn {
	height:25px;
	width:17px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background: rgb(190,191,142); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(190,191,142,1) 0%, rgba(239,240,179,1) 18%, rgba(239,240,179,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(190,191,142,1)), color-stop(18%,rgba(239,240,179,1)), color-stop(100%,rgba(239,240,179,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bebf8e', endColorstr='#eff0b3',GradientType=0 ); /* IE6-9 */
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #90b75d;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
.post-meta a{
	text-decoration:underline;
}
.articles .post-caption h2, .articles .post-caption h1{
	padding:7px 0 !important;
}
.articles .post-body{
	position:relative;
}
#commentform #submit, input.readmore, a.readmore {
	background:url(images/readmore.png) no-repeat right;
	color:#307b05;
	font-family:'pt_sansregular';
	text-transform:uppercase;
	font-size:14px;
	padding:4px 18px;
	border:none;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	text-decoration:underline;
}
.featured_image {
	margin-top:15px;	
	padding:8px;
	border:none;
	background:#b9d67e;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
}
.googlemap {
	padding:8px;
	border:none;
	background:#b9d67e;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
}
.widget_posts ul li img,.widget_flickr a {
	border:2px solid #b9d67e;
	padding:0;
	background:#b9d67e;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:left;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Arial';
}
a.page-numbers {
	color:#000;
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers {
	color:#307b05;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:#84ac5e;
	border-top:5px solid #307b05;
	color:#fff;
}
#footer h3{
	font-family: 'pt_sansregular';
	text-transform:uppercase;
	font-weight:bold;
	font-size:14px;
}
#footer .container {
	
}
#footer .inner a{
	color:#32561d;
}
#footer .footer_txt {
	background:#307b05;
	color:#fff;
}
#footer .footer_txt a{
	color:#fff;
}
#footer .footer_txt .container {
}
.footer-widgets {
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:5px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:5px;
}

#content .widget .caption h3 {
	padding:0 5px;
	color:#307b05;
	font-family: 'pt_sansregular';
	font-weight:bold;
	font-size:24px;
}
#content .widget {
}
.content-r #main_content, .content-r2 #main_content{
	padding:0 30px 20px 0;
}
.content-l #main_content, .content-l2 #main_content{
	padding:0 0 20px 30px;
}
.content-lr #main_content{
	padding:0 30px 20px;
}
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-prev {
	background-position:right 50%;
	width:27px;
	
}

	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:0;
	}
	#content {
		
	}
	#content .container {
		padding:0;
		width:1000px;
		padding-top:20px !important;
	}
	#logo {
		float:left;
	}
	.menusearch {
		width:260px;
		margin-top:30px;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:70px;
		position:relative;
		z-index:11;
	}
	
	
	#secondarymenu {
		float:right;
		position:relative;
		margin-top:21px;
		margin-right:15px;
	}
	#secondarymenu a {
		padding:12px 9px;
		font-family:'arial';
		color:#000;
		font-size:16px;
	}
	#secondarymenu a:hover{
		color:#378e00;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:62px;
		z-index:18;
	}
	#mainmenu li a {
		padding:17px 30px 17px 20px;
		font-size:22px;
		font-family: 'pt_sansregular';
		text-transform:uppercase;
		color:#262626;
		background:url(images/menu-li.png) no-repeat right;
	}
	#mainmenu li:last-child a{
		background:none;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#378e00;
	}


	#header #mainmenu li ul {
		top:49px;
	}
	#header li ul {
		top:39px;
	}
	#header li ul .transparent {
		
	}
	#header li ul .inner {
		background:#c9dd96;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		padding:0;
	}
	#header ul.children li, #header .sub-menu li {
		color:#000 !important;
		background:none !important;
		text-align:left;
		padding:0 !important;
		text-transform:none !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a, .sub-menu li a {
		color:#000 !important; 
		padding:0 !important;
		background:none !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		color:#378e00 !important;
		text-decoration:underline !important;
		border:none !important;
		box-shadow:none !important;
	}
	
	#header #mainmenu li ul .inner {
		background:#c9dd96;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		margin-left:15px;
	}
	#header #mainmenu ul.children li a, #mainmenu .sub-menu li a {
		color:#000 !important;
		background:none !important;
		text-align:left;
		padding:0 5px !important;
		text-transform:none !important;
	}
	#header #mainmenu ul.children li a:hover, #mainmenu .sub-menu li a:hover {		
		color:#378e00 !important;
		text-decoration:underline;
		border:none !important;
		box-shadow:none !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		position:relative;
		width:1136px;
		height:480px;
		margin:0 -68px;
	}
	.slider {		
		position:absolute;
	}
	.fp-next, .fp-prev {
		margin:0 -17px;
		width:44px;
		height:390px;
	}
	.fp-title{
		font-size:13px;
	}
	
	.fp-prev-next-wrap {
		margin:0 0px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:480px;
		width:1136px;
	}
	.fp-content-fon {
		border:none;
		height:100%;
		background:url(images/slider.png) no-repeat center;
		opacity:1;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
		text-align:left;
		font-size:13px;
	}
	.fp-content{
		left:125px;
		bottom:30px;
	}
	.fp-nav {
		bottom: 40px;
		left: 180px;
		right: auto;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}

}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#main_content{
		padding:0 15px 20px !important;
	}
	#logo {
		float:left;
		margin-left:15px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-top:27px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
		padding:15px;
	}
	#secondarymenu li a{
		font-size:15px;
		color:#262626;
		font-family:'arial';
	}

	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#262626;
		text-decoration:none;
		font-size:15px;
		text-transform:uppercase;
		padding:3px 15px 5px;
		display:block;
	}

	#header ul.children li a, .sub-menu li a {
		color:#262626 !important;
		text-transform:none !important;
	}
	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
	
	}
	#main_content{
		padding:0 30px 20px !important;
	}
	.mobile-menu{
		background:#C9DD96;
	}
	#logo {
		margin-top:5px;
		margin-bottom:-35px;
	}
	.searchbtn {
		width:auto !important;
	}
	#secondarymenu-container {
		padding-top:6px;
	}
	#secondarymenu, #mainmenu {
		background:#fff;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #d7d7d7;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#363636;
		text-decoration:none;
	}
	.fp-next, .fp-prev {
		margin:0 -5px;
	}
	.footer-widgets .widgetf:first-child {
		border:none;
	}
	
	#footer {
		width:100%;
	}
	.widgetf {
		border-top:1px solid #d3d3d3;
	}
	.articles .post-date {
		float:none;
	}
	.articles dt p img {
		display:none;
	}
	.fp-nav {
		bottom:-18px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	}
}