/*
Theme Name: Energia e Ambiante Benevento
Theme URI: http://energiaeambiente.wp.neikos.it
Description: Tema per il sito Energia e Ambiente Benevento sviluppato da Neikos srl
Author: Neikos s.r.l.
Version: 1
*/

#dummy-element{width:2px;} /* Necessary to check if StyleSheet has loaded */  

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic);

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Customized Adjustments of Foundation for WordPress
:: Styling Basic WordPress Outputs
:: Customize Foundation Style Pagination for WP-Pagenavi
:: Customize for BuddyPress
:: Your Customized Style
*/

/* ---------------------------------------------------
   Customized Adjustments of Foundation for WordPress
--------------------------------------------------- */
 	body { background:#000 }
	/* Foundation-specific presentation CSS by ZURB */
	body { padding-bottom: 60px; width: 100%; background: #000; border: none; max-width: 100%; }
	div.reverie-header { margin: 0 0 30px 0; padding: 20px 0 0 0; }
	div.reverie-header h1 { margin-bottom: 0; padding: 0; }
	div.reverie-header h1 a { color: #181818; }
	div.reverie-header h1 a:hover { color: #181818; }
	div.reverie-header .subheader { margin-bottom: 9px; }
	div.highlight { margin-bottom: 12px; }
	img.beta { position: absolute; top: 0px; right: 0px; }

/* -----------------------------------------
   Styling Basic WordPress Outputs
----------------------------------------- */
	
	/* Resizing the Blog Post */
	.post-box p { line-height: 21px; font-size: 14px; font-size: 1.4rem; clear:both; }
	.post-box h1 { font-weight: bold; font-size: 30px; font-size: 3rem; line-height: 1; margin-bottom: 2px; }
	.post-box h2 { font-weight: bold; font-size: 26px; font-size: 2.6rem; line-height: 1; margin-bottom: 2px; }
	.post-box h3 { font-size: 22px;	font-size: 2.2rem; }
	.post-box h4 { font-size: 18px;	font-size: 1.8rem; }
	
	/* Add Divider for Listed Posts */
	.divider { background:url(images/divider.png) no-repeat center top; height:36px; margin:20px 0 27px; }	
	
	/* Add Align Class for Images */
	img.alignright { float: right; margin: 0 0 18px 18px; }
	img.alignleft { float: left; margin: 0 18px 18px 0; }
	img.aligncenter { display: block; margin: 18px auto; }
	
	/* Add HTML5 Caption Class for Images */
	figure.figure {	background: #EEE; margin: 0 0 18px;	-webkit-border-radius: 3px;	-moz-border-radius: 3px; display: inline-block; }
	figure.figure figcaption { padding: 8px 10px; font-size: 13px; font-size: 1.3rem; line-height: 18px; color: #555; }
	figure.alignright.figure { float: right; margin: 0 0 18px 18px; }
	figure.alignleft.figure { float: left; margin: 0 18px 18px 0; }
	
	/* Sidebar Adjustment */
	.sidebar-section { padding-bottom: 10px; padding-top: 20px;	font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	
	/* Footer Nav */
	.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	.footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; }
	
	/* Breadcrumb Adjustment */
	ul.breadcrumbs li span { padding-left: 12px; }
	ul.breadcrumbs li a { padding-left: 0; }

/*  -------------------------------------------------------
    Customize Foundation Style Pagination for WP-Pagenavi
    ---------------------------------------------------- */ 
    
    div.wp-pagenavi { display: block; height: 24px; margin-left: -5px; color: #555; }
    div.wp-pagenavi a, div.wp-pagenavi span { float: left; display: block; padding: 6px 7px 4px; height: 24px; color: #555; font-size: 15px; font-size: 1.5rem; margin-left: 5px; }
    div.wp-pagenavi span.pages { padding-left: 0; }
    div.wp-pagenavi .current, div.wp-pagenavi a:hover { border-bottom: solid 2px #00a6fc; color: #141414; }
    div.wp-pagenavi span.unavailable:hover { border-bottom: none; }
    
    
/*  ---------------------------
    :: Customize for BuddyPress
    --------------------------- */

	.padder label + textarea { margin-top: 0; }
	.padder #item-body #message-threads .thread-avatar img { max-width: 50px; }
	ul.item-list.activity-list li.new_blog_post { padding-bottom: 15px; }
    .padder select { display: inline-block; }
    .padder div.item-list-tabs { margin: 25px 0; }
    .padder form#whats-new-form textarea { height: 30px; }
    .padder .button { display: inline; }
    
	
/*  --------------------------
    Your Customized Style
    ----------------------- */
	
body {
	font-family: 'Lato', sans-serif;
	background:#000 url(images/night/body_background.gif) 0 -20px repeat-x;
	color:#fff;
}

.clear {
	clear:both;
}

a {
	color:#B2BBC0;
}

a:hover {
	color:#666;
}

div.reverie-header h1 a {
	background:url(images/night/logo.gif) top left no-repeat;
	position:absolute;
	top:20px;
	left:0;
	height:150px;
	width:500px;
	text-indent:-9999px;
}

div.reverie-header h4 {
	display:block;
	position:absolute;
	text-indent:-9999px;
}

div.reverie-header {
	height:140px;
	display:block;
	margin:0;
	position:relative;
}

div.reverie-header a.benevento {
	bottom: -66px;
    height: 70px;
    position: absolute;
    right: 0;
    width: 133px;
	background:url(images/night/comunebn.png) top left no-repeat;
	z-index:10;
	text-indent:-9999px;
}

div.reverie-header .banner {
	height:150px;
	width:260px;
	background:url(images/night/banner.png) top left no-repeat;
	top:15px;
	right:0;
	position:absolute;
	padding:20px;
	color:#fff;
	font-size:25px;
	font-weight:bold;
}

/**/

header nav {
	height:50px;
	display:block;
	background:#75917F;
	position:relative;
}

header nav a {
	color:#fff;
}

header nav a:hover {
	color:#ccc;
}

header ul.nav li a {
	padding:16px 5px;
	margin:0;
	display:block;
	border-right:1px solid #fff;
	font-weight:bold;
}


header ul.nav li {
	position:relative;
	display:block;
	float:left;
	margin:0;
}

header ul.sub-menu li.level-1.submenu a{
	background:#52745F url(images/night/arrow.png) right center no-repeat !important;
}

header ul.sub-menu li.level-1.submenu ul.sub-menu li.level-2 a{
	background:#52745F!important;
}

header ul.sub-menu li.level-1.submenu ul.sub-menu li.level-2.submenu a{
	background:#52745F url(images/night/arrow.png) right center no-repeat !important;
}

header ul.sub-menu li.level-1.submenu ul.sub-menu li.level-2.submenu ul.sub-menu li.level-3 a{
	background:#52745F!important;
}


header ul.nav ul.sub-menu {
	position:absolute;
	top:-9999px;
	left:0;
	background:#000;
	width:auto!important;
	z-index:3000;
	background:none;
		-webkit-box-shadow:  5px 5px 5px 0px rgba(0, 0, 0, 0.5);
        box-shadow:  5px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

header ul.nav ul.sub-menu a{
	background:#52745F;
	border-right:1px solid #fff;
	width:200px;
	display:block;
	padding:10px;
	float:none;
}

header ul.nav li:hover ul.sub-menu {
	top:50px;
}

header ul.nav li a:hover {
	background:#3D414C;
}

header ul.nav ul.sub-menu li ul.sub-menu {
	position:absolute;
	top:-9999px;
	left:0;
	background:#000;
	width:auto!important;
	z-index:3000;
	background:none;
}

header ul.nav ul.sub-menu li:hover ul.sub-menu {
	top:0;
	left:220px;
}

header ul.nav li:hover ul.sub-menu li ul.sub-menu li ul.sub-menu {
	top:-9999px!important;
}

header ul.nav li ul.sub-menu li ul.sub-menu li:hover ul.sub-menu {
	top:0!important;
	left:220px;
}

header ul.nav ul.sub-menu a:hover{
	/*background:#5E843C url(images/arrow.png) center right no-repeat;*/
}


header ul.nav {
	height:auto!important;
	height:50px;
	min-height:50px;
	margin:0;
	padding:0;
}

/**/

#searchform {
    position: absolute;
    right: 140px;
    top: 11px;
}

#searchform input {
	border:1px solid #4A672F;
	width:160px;
}

/**/

#sidebar {
	width:300px;
	padding:20px 0 0 0;
}

#sidebar article{
	display:block;
}

#sidebar article header {
	font-size:20px;
	padding:5px 20px;
	display:block;
}

#sidebar article section {
	background:#19472A url(images/night/background_foglie_middle.png) bottom right no-repeat;
	display:block;
	padding:20px;
	margin:0 0 20px 0;
}

#sidebar a.more-link {
	color:#fff!important;
}

#sidebar .games article section {
	background:none;
	display:block;
	padding:20px;
	margin:0 0 20px 0;
	overflow:hidden;
}

#sidebar .games article section img{
	float:right;
}

#sidebar .lang {
	background:#19472A url(images/night/background_foglie_middle.png) bottom right no-repeat;
	display:block;
	padding:20px;
	margin:0 0 20px 0;
}

#sidebar .lang a{
	color:#fff;
}

/**/

.column, .columns {
	margin:0;
}

.post-box article.hentry {
	display:block;
	float:left;
	width:46%;
	padding:2%;
}

.post-box article.hentry h2{
	font-size:15px;
	display:block;
	padding:10px 0;
}

.post-box .sticky h2 a{
	font-size:20px;
	padding:15px 0;
	display:block;
}

.post-box time {
	color:#fff;
	font-size:15px;
}

/*single*/

#content.news .post-box, #content.pagine .post-box, #content.archivi .post-box {
	background:#19472A;
}

#content.news .post-box h1, #content.pagine .post-box h1, #content.archivi .post-box h1 {
	color:#ccc;
	padding:10px 0;
}

#content.news .post-box article.hentry {
	display:block;
	float:none;
	width:96%;
	padding:2%;
}

/*pagine*/

#content.pagine .post-box, #content.archivi .post-box{
	padding:20px;
}

#content.pagine ul#navigation {
	background:#19472A;
	overflow:hidden;
}

#content.pagine ul#navigation li {
	display:inline;
	float:left;
	width:200px;
}

#content.pagine ul#navigation a {
	padding:20px;
	color:#fff;
	font-size:20px;
	font-weight: bold;
	display:block;
}

#content.pagine ul#navigation a:hover {
	background:#4A672F;
		-webkit-box-shadow:  5px 5px 5px 0px rgba(0, 0, 0, 0.5);
        box-shadow:  5px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

#content.pagine ul#navigation li ul a{
	padding:10px 20px;
	font-size:15px
}

/*archivi*/

#content.archivi .post-box .hentry {
	width:100%;
	padding:10px 0;
	border-bottom:1px solid #19472A;
}

hr {
	border:1px solid #000;
}

#content .archivio {
	background:#3D414C;
	padding:20px;
	display:block;
	overflow:hidden;
	clear:both;
}

#content .archivio a{
	color:#fff;
	font-size:15px;
}

#content .rss {
	float:right;
}

#content .cittadinanza {
	background:#19472A url(images/night/background_foglie_dark.png) bottom right no-repeat;
	margin:10px 0;
	display:block;
	padding:20px;
	overflow:hidden;
}

#content .cittadinanza article header h2 a{
	font-size:25px;
	color:#fff!important;
}

#content .cittadinanza img{
	float:left;
	margin:0 20px 0 0;
}

#footerone {
	width:100%;
	background:#19472A url(images/night/background_foglie_light.png) bottom left no-repeat;
	clear:both;
	padding:20px 0;
	margin:0 0 20px 0;
	font-size:12px;
}

#footerone .container {
	width:980px;
	height:auto!important;
	min-height:300px;
	height:300px;
	display:block;
	margin:0 auto;
	padding:0;
}

#footerone #sitemap {
	width:600px;
	float:left;
}

#footerone #sitemap ul{
	float:left;
    padding: 0 20px 0 0;
    width: 180px;
	display:inline;
}

#footerone #sitemap ul li{
	margin:0;
}

#footerone #sitemap h3{
	font-size:15px;
	color: #B2BBC0;
}

#footerone .social {
	width:300px;
	float:right;
}

#footerone .social .links {
	background:#3D414C;
	padding:10px;
	display:block;
}

#footerone .social .partner a{
	margin:10px 10px 10px 0;
	display:block;
	text-align:right;
	float:right;
}

/**/

#content .sticky {
	background:#19472A;
	padding:2%;
	/*border-bottom:1px solid #A9D167;*/
	margin:0 0 10px 0;
	overflow:hidden;
	float:none;
	width:96%;
}

#content .sticky img {
	float:left;
	margin:0 20px 0 0;
}

/* modifica per pagina eventi e news */

#eventi_news .sticky {
	width:46%!important;
	float:left;
	background:none;
	border:0;
}
#eventi_news .sticky img {
	float:none!important;
	margin:18 auto!important;
}

#eventi_news .sticky h2 a {
    display: block;
    font-size: 15px!important;
    padding:0 0 10px 0!important;
}

h3.eventi {
	padding:20px;
	color:#fff;
	font-size:30px;
	background:#000;
}

/**/


/* partner */

.partner {
	width:320px;
}
		
.partner .agende21 {
	background:url(images/night/agende_21.png) top left no-repeat;
	height:120px;
	width:150px;
	display:block;
	float:left;
	padding:0;
	margin:0;
}

.partner .catmed {
	background:url(images/night/cat_med.png) top left no-repeat;
	height:120px;
	width:150px;
	display:block;
	float:left;
	padding:0;
	margin:0;
}
.partner .patto {
	background:url(images/night/patto_sindaci.png) top left no-repeat;
	height:120px;
	width:150px;
	display:block;
	float:left;
	padding:0;
	margin:0;
}

.partner .zero {
	background:url(images/night/rifiuti_zero.png) top left no-repeat;
	height:30px;
	width:150px;
	display:block;
	float:left;
	padding:0;
	margin:0;
}

.partner .engage {
	background:url(images/night/engage.png) top left no-repeat;
	height:30px;
	width:150px;
	display:block;
	float:left;
	padding:0;
	margin:0;
}


/**/

#style-switcher {
	background: url(images/switch.png) bottom left no-repeat;
	height:61px;
	width:160px;
	margin:0 0 130px 0;
	position:relative;
	padding:0 140px 0 0;
}

#style-switcher h2{
	font-size:18px;
	color:#ccc;
	padding:0;
}

#style-switcher span{
	font-size:11px;
	padding:0;
	line-height:11px!important;
	margin:0;
	color:#fff;
}

#style-switcher #day a {
	position:absolute;
    height: 36px;
    left: 168px;
    position: absolute;
    top: 11px;
    width: 57px;
	text-indent:-9999px;
}


#style-switcher #night a{
	position:absolute;
    height: 38px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
	text-indent:-9999px;
}


#qtranslate-chooser {
	position:absolute;
	top:9px;
	right:320px;
}


#qtranslate-chooser li{
	display:inline;
	float:left;
	margin:10px;
}


#sidebar .consiglio article section {
	background:#3D414C;
	line-height:15px;
	color:#fff;
}
#sidebar .consiglio article section .more-link {
	display:block;
	margin:10px 0 0 0;
}

h5 a {
	color:#fff;
}

.cittadinanza time {
	color:#fff;
	font-size:11px;
}

/**/

form label {
	float:left;
	width:150px;
}

form input {
	float:left;
}

.entry-content ul{ margin-left: 30px; list-style-type: disc; }
.entry-content sup, .entry-content sub { font-size:10px; }
.entry-content sup{ vertical-align: super; }
.entry-content sub{ vertical-align: sub; }
div#trattamento {
	background-color:#AAC866;
	repeat-x;
	position:absolute;
	top:250px;
	left:50%;
	z-index:100;
	width:520px;
	display:none;
	height:330px;
	color:black;
	font-size:10px;
	margin-left:-260px;
}