/*
Theme Name: Nerino
Theme URI: http://www.diplod.it/templates-open-source/
Description: Simple and accessible theme by <a href="http://www.diplod.it">Davide Del Monte</a>. Widget ready, icons on external links.
Author: Davide Del Monte
Author URI: http://www.diplod.it/
Tags: white, blue, orange, accessible, fixed width, two columns, widgets, widget ready, simple, clean, valid CSS, valid XHTML, right sidebar, link icons, iconize, adsense, adsense ready
Version: 2.2
Released under <a href="http://www.opensource.org/licenses/gpl-license.php">GPL license</a>.
*/

/********************************************
   CREDITS:   			http://www.styleshout.com/
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0; 	padding: 0;
	font: normal .75em/1.6em Verdana, 'Trebuchet MS', Tahoma, sans-serif;
	color: #444;
	text-align: center;
	background: #fff;	
}

/* links */
a {
	color:#CB4721; 
	background-color: inherit;
	text-decoration: none;
	outline: none;
}
a:hover {
	background-color: inherit;
	text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font: normal 1em Georgia, "Times New Roman", Times, serif;
	color:#111;
	letter-spacing:-1px;
}
h1 { font-size: 2.2em; } 
h2 { font-size: 1.8em; color:#74743D; }
h3 { font-size: 1.6em; color:#C34E23; letter-spacing: 0px;}
p, h1, h2, h3 {
	margin: 10px 15px;
	padding: 0;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
}

/* images */
img {
	padding: 5px;
	margin: 5px;
}
img.no-format {
	border: none;
	padding: 0;
	margin: 0;
}
a img {
	border: none;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */   
  background: #FCFCF9;
  border: 1px solid #EFEFEF;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 40px;  	
  	font: bold 1.1em/1.2em 'Trebuchet MS', Sans-serif;   
	background: #fff url(icons/quote.gif) no-repeat top left;
	color: #15487a;
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 10px;	
}
th strong {
	color: #FFF;
}
th {
	background: #882D2D;
	height: 19px;
	padding-left: 6px;
	padding-right: 6px;
	color: #FFF;
	text-align: left;
	border-left: 1px solid #EDC9C9;
	border-bottom: 1px solid #FFF;
}
tr {
	height: 20px;
	background: #F3F3F3;
}
td {
	padding-left: 5px;
	padding-right: 5px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
/* end - table */

/* form elements */
form {
	margin: 15px;
	padding: 0;
	border: 1px solid #EFEFEF; 
	background: #F8F8F8;	
}
label {
	display:inline;
	font-weight:bold;
	margin: 3px 0;
}
input {
	padding: 4px;
	margin: 3px 2px;
	border: 2px solid #EFEFEF;
	font: normal 1.1em Verdana, 'Trebuchet MS', Tahoma, sans-serif;	
	color: #666666;
}
textarea {
	width: 80%;
	padding: 4px;
	border: 2px solid #EFEFEF;
	font: normal 1.1em Verdana, 'Trebuchet MS', Tahoma, sans-serif;
	height:100px;
	display:block;		
	color: #666666;
}
input.button { 
	margin: 3px 0;
	font: bold 1.1em Arial, Sans-serif; 
	border: 2px solid #EFEFEF;
	padding: 2px 3px; 	
	background: #dadada;
}
input:focus, input:active, textarea:focus, textarea:active {
	border: 2px solid #f3a251;
	background: #ffeddc;
	color: #000;
}

/* search form */
#searchform {
	background-color: transparent;
	border: none;	
	margin: 0; padding: 5px 0 15px 0;	
	width: 230px;	
}
#searchform p { margin: 0; padding: 0; }
#searchform input.textbox { 
	width: 120px;
	color: #333; 
	height: 18px;
	padding: 2px;	
	vertical-align: top;
}
input#stringa {
	background: #fff url(icons/zoom.png) no-repeat center left;
	padding-left: 18px !important;
}
input#stringa:focus, input#stringa:active {
	background-color: #ffeddc;
}
#searchform input.button { 
	font: bold 12px Arial, Sans-serif; 
	color: #333;	
	width: 60px;
	height: 26px;
	padding: 3px 5px;	
	vertical-align: top;
	border: 2px solid #666;
}

/***********************
	  LAYOUT
************************/

#header-content, #footer-content, #content {
	width: 810px;		
}
#header-wrap, #footer-wrap, #content-wrap {
	width: 810px;	
}

/* header */
#header-wrap {
	height: 203px;
	text-align: justify;
	background-image: url(images/sky.jpg);
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 auto;
}	

#header-content {
	position: relative;
	margin: 0 auto; 
	padding: 0;
}
#header-content #logo {
	position: absolute;
	width: 790px;
	text-align: center;
	font: normal 40px/65px Georgia, "Times New Roman", Times, serif;
	letter-spacing: -1px; 
	color: #FFF;
	background: transparent;
	padding: 0 10px;
	margin: 0;
	top: 80px; left: 0px;
}
#header-content #logo a {
	text-decoration: none;
	color: #FFF;
	background: transparent;
}
#header-content #slogan {
	position: absolute;
	width: 810px;
	text-align: center;
	font: normal 12px 'Trebuchet MS', Tahoma, sans-serif;
	letter-spacing: 0px;
	color: #24578B;	 
	margin: 0; padding: 0;
	top: 140px; left: 0px;
}

/* header menu */
#header-content ul {
	position: absolute;
	left: 0px; top: 32px; 
	font: bold 12px Georgia, "Times New Roman", Times, serif;
	list-style: none;
	margin: 0; padding: 0;		
	text-transform: uppercase;		
}
#header-content li {
	display: inline;
}
#header-content li a {
	float: left;
	display: block;
	padding: 6px 10px;	
	color: #F3A251; 
	text-decoration: none;
}
#header-content li a:hover {
	color: #F88F26;
	background: url(images/a-hover2.gif) repeat-x bottom;
}
#header-content li a#current  {	
	color: #666;	
}

#header-content #header-links {
	position: absolute;
	top: 20px; right: 60px;	
	color: #8E5F2F;
	font-size: 90%;
}
#header-content #header-links p {
	margin: 0; padding: 0;
}
#header-content #header-links a {	
	color: #A4A4A4;
	text-decoration: none;
}
#header-content #header-links a:hover {
	color: #F3A251;
}

/* content */
#content-wrap {
	clear: both;
	background: #FFF;
	float: left;
	padding-bottom: 30px;
	width: 100%;
}
#content {
	text-align: left;	
	margin: 0 auto;
	padding: 0;	
}

/* sidebar */
#sidebar {
	float: left;
	width: 240px;
	margin: 0 0 10px 0;
	padding: 10px;
	font-size: .95em;
	background: #f7f7f7 url(images/sidebarbg.gif) no-repeat center top;
	overflow: hidden;
}
#sidebar h2 {
	font: normal 1.7em Georgia, "Times New Roman", Times, serif;
	color: #15487a;
	padding: 0;
	margin: 30px 0 10px 5px;	
	letter-spacing:-1px;	
}
#sidebar ul {
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	list-style: none;
}
#sidebar ul.sidelist ul li {
	list-style: none;
	border-top: 1px solid #dadada;
	padding: .5em 10px;
}
#sidebar ul ul li:hover {
	background: #FFEDDC;
}
#sidebar ul ul ul.children {
	margin: .6em 0 0 0;
}
#sidebar ul ul ul.children li{
	text-align: left;
	margin: 0 0 0 0;
	padding: .5em 0 .5em 15px;
	background: url(images/subcat.gif) no-repeat top left;
}
#sidebar ul ul li:hover {
	background: #356aa0 url(images/afooter-hover.gif) repeat-x bottom left;
	color: #fff;
}
#sidebar ul ul li:hover a {
	color: #fff;
	background: transparent;
}
#sidebar ul a {
	text-decoration: none;
	font-weight: bold;
}
#sidebar ul a:hover {
	text-decoration: underline;
}
/* main */
#main {
	margin: 0 20px 10px 0; 
	padding: 0;		
	width: 520px;
	float: left;
	overflow: hidden;
}
#main h1 { 
	font: normal 2.1em Georgia, "Times New Roman", Times, serif;
	color: #111; 	
	padding: 0 0 5px 0;
	margin: 0 15px;
	letter-spacing:-1px;
}
#main h1 a {
	color: #111;
	text-decoration: none;
}
#main p, #main h1, #main h2, #main h3, #main blockquote, #main form, #main table {
	margin-left: 0;
}
#main form p {
	margin: 15px;
}
#main ul li {
	list-style: none;
	background: url(images/bullet_orange.gif) no-repeat top left;
	padding-left: 16px;
}

/* footer */
#footer-wrap {
	position: relative;
	clear: both;
	padding: 0;
	font: normal .90em 'Trebuchet MS', Tahoma, sans-serif;
	text-align: left;	
	background: transparent url(images/footerbg.gif) repeat-x top left;
	color: #666;
	width: 100%;
	float: left;	
}
#footer-wrap p {
	margin-left: 0;
}
#footer-wrap h2 {
	font: bold 1.3em 'Trebuchet MS', Tahoma, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0px;
	color: #f3a251;
	margin-left: 5px;
}
#footer-content {	
	margin: 0 auto;
	padding: 5px 10px 0 10px;
	background: url(images/footer-contentbg.gif) no-repeat top left;
}
#footer-content a {
	color: #C8935D;
}
#footer-content a:hover {
	color: #666;
	text-decoration: none;
}
#footer-content ul {
	list-style: none;
	margin: 0; padding: 0;	
	width: 98%;
}
#footer-content ul.columns li {
	border-bottom: 1px solid #dadada;	
}
#footer-content ul.columns li.top {
	border-top: 1px solid #dadada;	
}
#footer-content ul.columns li a {
	display: block;
	line-height: 2em;
	font-weight: normal;
	padding-left: 5px;
	width: 98%;
	color: #666;
}
#footer-content ul.columns li a:hover {
	background: #356aa0 url(images/afooter-hover.gif) repeat-x bottom left;
	color: #FFF;
	text-decoration: none;
}
#footer-content .col {
	width: 230px;
	padding: 0 0 30px 0;
	float: left;
}
#footer-content .space-sep {
	margin-right: 10px;
}
#footer-content .col2 {
	width: 280px;
	padding: 0 0 30px 0;	
	display: inline;
	float: right;
}
#footerimg {
	float: right;
	display: block;
	width: 60px;
	height: 120px;
	margin-right: 15px;
}
#footerimg span.nerino {
	background: url(images/favicon.gif) no-repeat 0 0;
	display: block;
	width: 60px;
	height: 60px;
}
#footerimg span.nerino:hover {
	background: url(images/favicon.gif) no-repeat 0 -60px;
}
#footerimg span.wp {
	background: url(images/wp.gif) no-repeat 0 0;
	display: block;
	width: 60px;
	height: 60px;
}
#footerimg span.wp:hover {
	background: url(images/wp.gif) no-repeat 0 -60px;
}

/* alignment classes */
.align-left  {	text-align: left; }
.align-right {	text-align: right; }
/* WP alignment classes & WP caption */
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.alignleft {
   float: left;
}
.alignright {
   float: right;
}
.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
}
.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}
.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}
img.avatar {
	float: left;
	padding: 0;
	margin: 0 5px 5px 0;
}

/* additional classes */
.clear { clear: both; }
.orange { color: #F3A251; }

.post-footer {
	clear: both;
	font-size: 95%;
	border-top: 2px solid #f3a251;
	border-bottom: 2px solid #f3a251;
	background: #ffeddc; 
	padding: 3px 10px;
	margin: 20px 15px 40px 15px;	
}
.post-footer .readmore {
	background: url(icons/page.png) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;	
}
.post-footer .category {
	background: url(icons/tag_orange.png) no-repeat left center; 
	padding-left: 20px; margin: 0 10px 0 5px;	
}
.post-footer .tag {
	background: url(icons/tag.png) no-repeat left center; 
	padding-left: 20px; margin: 0 10px 0 5px;	
}
.post-info {
	margin-bottom: 15px;
	line-height: 1.3em;
	height: 40px;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	overflow: hidden;
}
.post-info:hover {
	background: #f7f7f7;
}
.post-date {
	background: url(icons/calendar.gif) no-repeat center left;
	float: left;
	height: 31px;
	text-align: left;
	padding: 0 0 5px 40px;
	width: 60%;
}
.post-comments {
	background: url(icons/comment.gif) no-repeat center right;
	float: right;
	height: 31px;
	text-align: right;
	padding: 0 40px 5px 0;
	width: 20%;
}

/*comments*/
ol.commentlist li {
	border-top: 2px solid #EFEFEF;
	border-bottom: 2px solid #EFEFEF;
	padding: 0 0 0 10px;
	margin: 0 0 15px 0;
	overflow: auto;
	width: 400px;
	list-style: none;
}
ol.commentlist li.alt {
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	background: #f7f7f7;
}
ol.commentlist li.autore {
	border-top: 2px solid #F3A251;
	border-bottom: 2px solid #F3A251;
	background: #FFEDDC;
}
p.aut-commento {
	margin: 0; 
	padding: 0;
}
p.num-commento {
	float: right;
	margin: 0;
	padding: 2px 6px;
	text-align: center;
	font: bold 2em/1.5em Georgia, "Times New Roman", Times, serif;
	color: #275B90;
	background: #EFEFEF;
}
.alt p.num-commento {
	background: #ccc;
}
.autore p.num-commento {
	background: #F3A251;
	color: #666;
}
p.commentmetadata {
	padding: 0;
	margin: 0;
}
p.commentmetadata a {
	background: none;
}
h2.title-comments {
	padding-left: 35px;
	height: 31px;
	background: url(icons/comments.gif) no-repeat left;
}
h2.title-comments a, p.p-comments a {
	background: transparent;
	text-decoration: none;
}
p.p-comments {
	border-top: 1px solid #dadada;
	padding-top: 5px;
	margin-top: 0;
}
input#author {
	background: #fff url(icons/vcard.png) no-repeat center left;
	padding-left: 18px;
}
input#author:focus, input#author:active {
	background-color: #ffeddc;
}
input#email{
	background: #fff url(icons/email.png) no-repeat center left;
	padding-left: 18px;
}
input#email:focus, input#email:active {
	background-color: #ffeddc;
}
input#url {
	background: #fff url(icons/house.png) no-repeat center left;
	padding-left: 18px;
}
input#url:focus, input#url:active {
	background-color: #ffeddc;
}
/*navigation*/
.navigation {
	font-size: 95%;
	height: 20px;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	background: #f7f7f7; 
	margin: 0 15px 10px 0;
	overflow: hidden;
}
.nav-header {
	position: absolute;
	top: 182px;
	font-size: 95%;
	height: 40px;
	background: transparent url(images/nav-bg.gif) no-repeat bottom center;
	margin: 0;
	overflow: hidden;
	width: 100%;
	height: 22px;
}
.nav-header .nav-sx, .nav-header .nav-dx {
	background: transparent;
	color: #fff;
	padding: 0 12px 2px 12px;
	max-width: 370px;
	overflow: hidden;
	max-height: 20px;
	overflow: hidden;
}
.nav-header .nav-sx a, .nav-header .nav-dx a {
	color: #fff;
}
