/*
Theme Name: GreenSun
Theme URI: http://smthemes.com/greensun/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.1
License: Creative Commons 3.0
Theme date: 05/29/2014
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:#fff;
}
body {	
	color:#252525;
	position:relative;
}
a {
	color:#0a0a0a;
}
a:hover {
	color:#00ee1d;
}
a.post_ttl, .post-caption h1 {
	color:#fff;
	font-size:33px;
	text-transform:uppercase;
	font-family: 'Oswald';
	padding:0 14px;
}
h2 a.post_ttl:hover{
	color:#00ee1d;
}



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


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:25px;
	line-height:25px;
	color:#606060;
}
.searchbtn {
	height:25px;
	width:17px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background:#fff;
	margin:0;
	border:1px solid #8c8c8c;
}

/*------------------------------ CONTENT ------------------------------*/
.articles .post-caption h2.has_thumbnail, .articles .post-caption h1.has_thumbnail{
	position:absolute;
	bottom:0;
	padding:14px 1px !important;
	line-height:35px;
}
.caption-position.has_thumbnail {
	height:229px;
	position:absolute;
	top:20px;
	width:100%;
}
.single .articles .post-caption h1, .page .articles .post-caption h1{ padding:14px ;  }
.articles .post-caption h2, .articles .post-caption h1{
	background:url(images/back-post-caption.png);
	width:100%;
	line-height:33px;
	padding:14px !important;
}
.articles .post-caption h2.has_thumbnail, 
.articles .post-caption h1.has_thumbnail { 
	width:663px; 
}
.page.post-caption h2, 
.page.post-caption h1 {
	width:97% !Important; 
}
.content-r .page.post-caption h2, 
.content-r .page.post-caption h1, 
.content-l .page.post-caption h2, 
.content-l .page.post-caption h1 { 
	width:96% !Important; 
}
.content-r2 .page.post-caption h2, 
.content-r2 .page.post-caption h1, 
.content-l2 .page.post-caption h2, 
.content-l2 .page.post-caption h1, 
.content-lr .page.post-caption h2, 
.content-lr .page.post-caption h1 { 
	width:93% !Important; 
}
.feedback { width:333px !important; }
.page .articles .post-caption h1 { width:627px; }
.one-post{
	position:relative;
	margin-bottom:50px;
}
#commentform #submit, input.readmore, a.readmore {
	background: #2a2a2a;
	color:#fff;
	text-transform:uppercase;
	font-family: 'Oswald';
	font-size:24px;
	border:none;
	box-shadow:0 0 3px #6f6f6f;
	padding:10px 15px;
	margin-right:3px;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	color:#00ee1d;
	text-decoration:none;
}
.featured_image{
	margin-top:20px; 
	position:relative; 
	border:1px solid #474747 !important; 
	margin-bottom:10px !important;
	padding:0 !important;
	width:663px;
	height:227px;
}
.googlemap {
	padding:0;
	border:1px solid #474747;
}
.widget_posts ul li img,.widget_flickr a {
	border:1px solid #474747;
	padding:0;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:0px;
	text-align:center;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'arial';
	font-size:19px;
}
a.page-numbers {
	color:#2a2a2a;
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers {
	color:#00ee1d;
	background: #2a2a2a;
	box-shadow:0 0 3px #6f6f6f;
}
.post-meta {
	margin:5px 0 !important;
} 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:url(images/footer.png) left top;
	color:#fff;	
}

#footer a{
	color:#333333;
}
#footer a:hover {
	color:#333333;
}

#footer h3{
	color:#067018;
	font-size:21px;
	text-transform:uppercase;
	font-family: 'Oswald';
}

#footer .container {
}

.footer_txt {
	background:#333;
	color:#333333;
}
#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;
}
.sidebar a{
	text-decoration:none;
}
.sidebar a:hover {
	text-decoration:underline;
}
#content .widget .caption h3 {
	color:#067018;
	font-size:33px;
	text-transform:uppercase;
	font-family: 'Oswald';
	padding:0 14px;
}
#content .widget {
	
}
.tabs_captions .scaption{
	background:#2a2a2a;
	color:#fff;
	border:none;
	padding:5px 10px !important;
	font-size:25px;
	text-transform:uppercase;
	font-family: 'Oswald';
}
.tabs_captions .scaption.active, .tabs_captions .scaption:hover{
	color:#00ee1d;
}
.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 {
		margin-top:40px;
	}
	#content .container {
	}
	#logo {
		position:absolute;
	}
	.menusearch {
		width:260px;
		position:absolute;
		right:0;
		top:15px;
	}
	#header {
		background:url(images/header.png) 50% 107px no-repeat;
		-moz-background-size: 100%; /* Firefox 3.6+ */
		-webkit-background-size: 100%; /* Safari 3.1+ è Chrome 4.0+ */
		-o-background-size: 100%; /* Opera 9.6+ */
		background-size: 100%;
	}
	.no-slider #header { background:none;}
	#all {
		background:url(images/top.png) left top repeat-x;
	}
	.no-slider #all {
		background-image:url(images/no-slider.png);
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:107px;
		position:relative;
		z-index:21;
	}
	
	
	#secondarymenu {
		float:right;
		margin-top:60px;
	}
	#secondarymenu a {
		padding:0 9px;
		color:#090909;
		font-size:15px;
	}
	#secondarymenu a:hover{
		color:#00e41c;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:56px;
		margin:0 auto;
		position:relative;
		z-index:18;
		padding:0 8px;
	}
	#mainmenu li a {
		padding:7px 20px;
		text-transform:uppercase;
		font-size:28px;
		color:#fff;
		font-family:'oswald';
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#00ee1d;
	}


	#header li ul {	top:20px; }
	#header #mainmenu li ul { top:57px; }
	
	#header li ul .transparent {	}
	#header li ul .inner { background:#6c6c6c;	}
	#header #mainmenu li ul .transparent {	}
	#header #mainmenu li ul .inner {	}
	
	#header ul.children li a, #header .sub-menu li a {
		color:#fff; 
		padding:0 20px;
		text-align:left;
		text-transform:none !important;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		color:#00ee1d;
		text-decoration:underline;
	}
	
	#header #mainmenu ul.children li a, #header #mainmenu .sub-menu li a {}
	#header #mainmenu ul.children li a:hover, #header #mainmenu .sub-menu li a:hover {
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		position:relative;
		width:940px;
		padding:0 30px;
		margin:0 auto;
	}
	.slider {
	}
	.fp-next, .fp-prev {
		margin:0 -17px;
		width:44px;
		height:390px;
	}
	.fp-title a{
		font-size:84px;
		text-transform:uppercase;
		text-decoration:none;
		font-family: 'Oswald';
	}
	
	.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:484px;
		width:970px;
	}
	.fp-content-fon {
		border:none;
		background:none;
		height:0;
		width:0;
		left:0;
		bottom:0;
	}
	.fp-content { 
		left:10px;
		right:10px;
		height:300px;
		bottom:0;
		text-align:left;
	}
	.fp-content p, .fp-content p a{
		font-size:35px;
		color:#fff;
		text-transform:uppercase;
		font-family: 'Oswald';
	}
	.fp-nav {
		right:30px;
		bottom:30px;
		left:auto;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	
	#footer .footer_txt .container {
		
	}
}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#logo {
		float:left;
		margin-left:15px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-top:35px;
		margin-right:15px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
		
	}
	#secondarymenu li a{
		padding:15px;
		font-size:15px;
	}
	#header li ul{
		padding:0 0 0 15px;
	}
	#header li ul li a{
		padding:0;
	}	
	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		font-family: 'Oswald';
		color:#393939;
		text-decoration:none;
		font-size:20px;
		padding:10px 15px;
		display:block;
	}

	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
	
	}
	#logo {
		margin-top:5px;
		margin-bottom:-35px;
	}
	.searchbtn {
		width:auto !important;
	}
	.caption-position.has_thumbnail{ height:auto; max-width:100%; top:auto;}
	#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%;
	}
}