/*  
Theme Name: jairo
Theme URI: 
Description: Il tema di jairo
Version: 0.20
Author: Massimo romagnoli
Author URI: megistus.it
*/


/* reset version: 2.8.0r4	======================================================================*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/*------------------------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

fieldset { padding: .5em; }
select option{ padding:0 5px; }
select, option { color:black; }
.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:3px; font-size:1px; line-height:1px; }
/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

body{
  background:#f5f5f5;
  color:#777;
  font-size:11px;
  font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
  
}

/* This class sets the width and position for all rows */
.inside{
    margin-left:100px;


}

a{
  color:#666; text-decoration:none;
}
a:hover{
  color:#444;
}


h1{
  color:#CCC;
  font-size:20px;
  font-weight:normal;
  margin:0 0 0.5em;
}

h2, h3{
  font-size:1.15em;
  color:#FFF;
  font-weight:normal;
}
#primary h2{
  color:#CCC;
}

p{
  line-height:1.75em;
}

#primary ul li{
  list-style-type:square;
  margin:0.5em 0 0.5em 2em;
}

blockquote{
  margin-left:1em;
  padding-left:1em;
  border-left:2px solid #CCC;
  color:#CCC;
}

pre{
  width:100%;
  padding:1em 0;
  overflow:auto;
  border-top:1px dotted #333;
  border-bottom:1px dotted #333;
}

table{
  width:100%;
  border-spacing:2px;
  margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
  background:#CCC;
  color:#000;
  text-align:left;
}
table td{
  background:#333;
  color:#FFF;
}
table caption{
  text-align:left;
  color:#FFF;
  margin-bottom:-1em;
  margin-top:1em;
}

.rule{
  border-top:1px solid #CCC;
  height:1px;
  font-size:1px;
  line-height:1px;
  margin:1.5em 0;
}

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header{
  clear:both;
  overflow:hidden;
  padding:0 0 80px 0;
}
#header .inside{
  padding:30px 0 0;

}

#header h2 a{
  display:block;
  width:470px;
  height:80px;
  background:transparent url(images/jairovaldati.png) no-repeat top left;
  text-indent:-9999px;
  overflow:hidden;
}

h2{font-size:18px;}
.box{padding:0 0 30px 320px;}
#header .description, #menu{
  padding:0;
  margin:0;
  line-height:1em;
}
#header .description{
    position:absolute; width:500px; top:96px; left:123px; color:#bbb;
}
#header .description h1{font-size:11px;margin:0;}
/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/

#primary{
  padding:0 0 30px 0;
  color:#808080;
}

#primary.onecol-stories .primary{
  float:left;
  width:50%;
}
#primary.onecol-stories .secondary{
  float:right;
  width:40%;
  margin:0 0 0 10%;
}

#primary.twocol-stories .story{
    margin-left:100px;
    position:relative;
    padding-bottom:50px;
}
* html #primary.twocol-stories .story{
  margin-left:2%;
}

.inside .item{position:relative;padding-bottom:20px}
.list h3, .single h1{
  font-size:20px;
  margin:0 0 10px;
  font-weight:normal;
  color:#CCC;
  
  
}

.list .story h3, .single .story h1{ display:block;
  width:210px; position:absolute;text-align:right; left:0; top:-7px;
}


.inside h3 a, .inside h1{
  color:#999;
  text-decoration:none;
}


.inside .details .read-on{
  /*background:url(images/readon_black.gif) 100% 60% no-repeat;*/
  padding-right:20px;
}
.inside .details a{
  color:#999;
  text-decoration:none;
}
/* Single Post Styles */


.story .featured p{
  border-bottom:1px solid #333333;
  border-top: 1px solid #333333;
  padding:0.5em 0 0.6em 0;
  line-height:1.5em;
  margin:1em 0 0 0;
}
.story .featured dl{
  margin:0 0;
  border-bottom:1px solid #333333;
  padding:0.5em 0 0.6em 0;
}
.story dt{
  display:inline;
  margin:0;
  padding:0;
  color:#AAA;
}
.story dd{
  display:inline;
  margin:0;
  padding:0;
}
.story dd a{ color:#808080; }
.story dd a:hover{ color:#FFF; }

/*-----------------------------------------------------------------------------------------------
  Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
  background:url("images/dot_bright.gif") repeat-x scroll left top transparent;
  padding:0 0 0 220px;
  margin-top:100px;
}

.comment-head{
  border-bottom:1px solid #ededed;
  padding:0.8em 0 1.0em 0;
}
.comment-head h2{
  font-size:1.5em;
  margin:0;
}
.comment-head a{
  text-decoration:none;
  color:#868686;
}
.comment-head .details{
  font-size:0.95em;
}

ol#comments{
  list-style-type:none;
  margin:2em 0;
}
ol#comments li{
  list-style-type:none;
  margin:2em 0;
}

ol#comments li .avatar {
  border: 1px solid #222;
  padding: 2px;
}

#comments cite{
  float:left;
  width:22%;
  font-style:normal;
  text-align:right;
}
* html #comments cite{ width:30.6%; }
#comments cite span{
  display:block;
}
#comments cite span.avatarspan{ float: left; }
#comments cite .author{ font-size:1.2em; }
#comments cite .author a{
  text-decoration:none;
}
#comments cite .admin-tools{
  margin:5px 0;
}
#comments cite .admin-tools a{
  float:right;
  margin:0 5px;
  padding:0px 3px 3px;
  background:#666;
  border:1px solid #999;
  text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
  margin:1em 0;
  padding:0.5em;
  border:1px solid #333;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
  display:block;
  padding-top:68px;
  background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
  float:left;
  width:60%;
  margin-left:1.9%;
  border-left:1px solid #868686;
  padding: 0 0 0 2%;
}
#comments .content p{
  margin:0 0 1em 0;
}
#comments .content h3{
  margin:0;
  font-size:1em;
}

#comment-form{

}
input.textfield{
  width: 15em;
  margin:5px 0;
}
textarea.commentbox{
  width:26em;
  height:10em;
  padding:0.25em;
  margin:5px 0;
  font-size:1.25em;
  font-family:Arial, Helvetica, sans-serif;
}

label.text{
    padding-left:10px;
}
.formactions input.submit{ 
  margin:0;
  padding:0 0.5em;
}
.formactions .spinner{
  float:right;
  margin:-8px -20px 0 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#ancillary{
  padding:2em 0 0 0;
  background:#ededed;
}
#ancillary h2{
  color:#ccc;
}
#ancillary .block{
  float:right;
  width: 30%;
  margin:0 0 0 3%;
}

#ancillary .first, * html #ancillary .first{
  clear:both;
  margin:0;
  float:left;
}
#ancillary .block-separator{
  clear:both;
  height:2.5em;
}

#ancillary .block h2, #ancillary .block h3{
  margin:0 0 1em 0;
}

ul ul{padding-left:20px;}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
  list-style-type:none;
  margin:1.5em 0 2em 0;
  background:transparent url(images/dot.gif) repeat-x left top;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
  list-style-type:none;
  margin:0;
  padding:0.5em 0;
  background:transparent url(images/dot.gif) repeat-x left bottom;
}
ul.dates .date{
  color:#858585;
  padding:0 1.5em 0 0;
}

ul.counts .count{
  float:right;
  color:#858585;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
  color:#BFBFBF;
  text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
  color:#000;
}
#ancillary a{color:#666;}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
  list-style-type:none;
  margin:0;
}

ul.pages ul{
  margin:0;
}
ul.pages ul li{
  border:none;
  margin-left:2em;
  list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
  clear:both;
  color:#999;
  padding:2em 0 3em 0;
  background:#ededed;
}
#footer .inside{
  background:url(images/dot_dot.gif) repeat-x 0 0;
  padding:1em 0;
}
#footer p{
  margin:0;
  font-size:0.95em;
}
#footer p.copyright{ float:left; }
#footer p.attributes{ float:right; padding-right:20px;}
#footer p.attributes a{
  padding:0 0 0 1em;
  text-decoration:none;
  color:#525252;
}
#footer p.attributes a:hover{
  color:#000;
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
  float:right;
  width:200px;
  margin:1em 0 0 0;
  -moz-opacity:0.4;
  text-align:right;
  display:none;
}
#search:hover{
  -moz-opacity:1.0;
}
#search .searchimg{
  float:left;
  width:14px;
  height:13px;
  background:url(images/search.gif) 0 0 no-repeat;
  position:relative;
  top:4px;
}
#search input{ 
  width:175px; 
  font-size: 0.85em; 
  background:#CCC;
  margin-top:2px;
}
#search input:focus{
  background:#FFF;
}

#searchform{
  margin:1em 0;
}

#searchform #s{
  background:#222;
  border:none;
  border-bottom:1px solid #333;
  width:30em;
  color:#666666;
  padding:0.25em;
}

#searchform #searchsubmit{
  background:#000;
  color:#666;
  border:none;
  font-size:0.9em;
  text-transform:uppercase;
  letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
  width:30%;
  background:#333;
  padding:0 0 0 0;
  float:right;
  -moz-opacity:0.9;
  border-top:1em solid #000;
}
#search-results h3{
  font-weight:bold;
  text-align:left;
  margin:0;
  padding:0 0 1em 0;
  background:#000;
  
}
#search-results small{
  display:block;
  text-align:left;
  font-size:0.9em;
  padding:0.5em 1em 0.7em 1em;
  border-top:1px solid #666;
  border-bottom:1px solid #555;
}
#search-results small a{
  color:#CCC;
}
#search-results ul li{
  list-style-type:none;
  padding:0 1em 0.5em 1em;
  margin:0.5em 0;
}
#search-results ul li:hover{
  background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
  text-decoration:none;
  border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
  margin:0 7px 0 0;
  top:1px;
}

img.centered, img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.alignright {
    padding-top:20px;
  float: right;
}

.alignleft {
padding-top:20px;
padding-right:20px;
  float: left;
}
.aligncenter, div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}



.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  color: #000;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}



.gallery {
    clear:both;    
}

.list .gallery {  
    overflow:hidden;
    height:158px;
}
.postcontent .prev, .postcontent .next{position:absolute; top:162px;    text-indent: 	-9999em;
	background:		url('images/arrows-prevnext.png') no-repeat 0 0; width:20px; height:10px; overflow:hidden;}
.postcontent .prev{right:50px;}
.postcontent .next{right:20px; background-position: -20px 0}

.gallery-icon {
    /*float:left;
    width:202px;
    padding:0; margin:0;
    height:152px;
    overflow:hidden;*/
    display:inline;
}

.gallery .gallery-item {
    /*float: left;*/
    margin: 0;
    text-align: right;	
    /*width:132px;*/	
    clear:both;
}
.gallery img {
    border: 1px solid #ccc;
    margin:0; padding:0;
}
.gallery .gallery-caption {
    margin-left: 0; height:30px; overflow:hidden;text-align:left; padding-right:10px;
}
#primary .gallery ul li{
    list-style:none;
    margin:0;
}



#navigation{position:absolute; left:543px; top:40px;}


.postcontent{position:relative;padding-left:220px;background:transparent url("images/dot_bright.gif") repeat-x scroll left bottom;}


/* superfish */

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
	margin-bottom:	1em;
}
.sf-menu a {
	/*border-left:	1px solid #fff;
	border-bottom:		1px solid #f9f9f9;*/
	padding: 		3px 1em 3px 0;
	text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#999;
}
.sf-menu li {
	background:		#f5f5f5;
}

.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background:		#f0f0f0;
	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		inline;
	/*right:			.75em;*/
	/*top:			1.05em;*/
	width:			10px;
	height:			10px;
	overflow:		hidden;
    /*line-height:    8px;
    padding:0 6px;*/
    text-indent: 	-9999em;
	background:		url('images/arrows-999.png') no-repeat -10px -100px;
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.4em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
/*.sf-shadow ul {
	background:	url('images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}*/
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}


/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
.sf-vertical, .sf-vertical li {
	width:	10em;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
	left:	10em; /* match ul width */
	top:	0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 0;
	opacity: 0.85;
    background:#fff;
    font-size:11px; 
    padding:3px 8px; 
    color:#000;
}
#tooltip h3{color:#000; font-size:12px; }



.wp-paginate {padding:0 0 30px 280px; margin:0;}
.single .wp-paginate{padding:30px 0 30px 200px;}

.wp-paginate li {display:inline; list-style:none;}
.wp-paginate a {color:#666; margin-right:4px; padding:2px 1px; text-align:center; text-decoration:none;}
.wp-paginate a:hover, .wp-paginate a:active {background:#e0e0e0;}
.wp-paginate .title {margin-right:6px;}
.wp-paginate .gap {margin-right:4px;}
.wp-paginate .current {background:#e0e0e0; margin-right:4px;}
.wp-paginate .page {}
.wp-paginate .prev, .wp-paginate .next {}

/* style overrides for comments pagination */
.wp-paginate-comments {}
.wp-paginate-comments li {}
.wp-paginate-comments a {}
.wp-paginate-comments a:hover, .wp-paginate-comments a:active {}
.wp-paginate-comments .title {}
.wp-paginate-comments .gap {}
.wp-paginate-comments .current {}
.wp-paginate-comments .page {}
.wp-paginate-comments .prev, .wp-paginate-comments .next {}


#ancillary .block .linkcat h2{margin:0; font-size:14px; padding-left:20px;}