img {
   behavior: url("http://www.8-p.it/plugin/pngbehavior.htc");
}
/*   
    8-p layout - version 1.0

    This theme was designed and built by Matteo Boria,
    whose blog you will find at http://8-p.it/

    The CSS, XHTML and design is released under GPL:
    http://www.opensource.org/licenses/gpl-license.php
*/



body {
    font-size: 11px; /* Resets 1em to 10px */
    font-family: Verdana, Arial, Sans-Serif;
    background-color: #DCDCDC;
    color: #333;
    text-align: center;
    }

#page {
    background-color: white;
    border: 1px solid #959596;
    text-align: left;
    background: url("templates/8-p/images/8-p_bck.gif") repeat-y top; border: none;
	width:760px;
    }

#header {
    background: url("templates/8-p/images/8-p_header.gif") no-repeat bottom center;
    margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 135px; width: 758px;
    }

#content {
    font-size: 1.2em
    }

img.categoryIcon {
    float: right;
    border: 0px;
    margin: 5px;
}

#serendipityQuickSearchTermField {
    width: 90%;
}

.widecolumn .entry p {
    font-size: 1.05em;
    }

.narrowcolumn .entry, .widecolumn .entry {
    line-height: 1.4em;
    }

.widecolumn {
    line-height: 1.6em;
    }
    
.graybox {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    }

#footer {
    background-color: #eee;
    background: url("templates/8-p//images/8-p_footer.gif") no-repeat bottom; border: none;
    }

h1, h2, h3, .description  {
    font-family: Verdana, Arial, Sans-Serif;
    font-weight: bold;
    }

h1 {
    font-size: 20px;
}

.description {
    font-size: 17px;
}

h2 {
    font-size: 17px;
    }

h2.pagetitle {
    font-size: 17px;
    }

#sidebar h2 {
    font-family: Verdana, Arial, Sans-Serif;
    font-size: 14px;
	margin-bottom:5px;
}

h3 {
    font-size: 1.3em;
    }

h1, h1 a, h1 a:hover, .description {
    text-decoration: none;
    color:#990000;
	background-color: transparent;
}

h2 a:hover{
	text-decoration:underline;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
    text-decoration: none;
    }

.commentlist li, .serendipity_commentForm input, .serendipity_commentForm textarea {
    font: 0.9em Verdana, Arial, Sans-Serif;
    }
    
.commentlist li {
    font-weight: bold;
    }

.commentlist cite, .commentlist cite a {
    font-weight: bold;
    font-style: normal;
    font-size: 1.1em;
    }

.commentlist p {
    font-weight: normal;
    line-height: 1.5em;
    text-transform: none;
    }

.serendipity_commentForm {
    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    }

.commentmetadata {
    font-weight: normal;
    }

#sidebar {
    font: 10px Verdana, Arial, Sans-Serif;
    vertical-align: top;
    }

.small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
    color: #777;
    }
    
code {
    font: 1.1em 'Courier New', Courier, Fixed;
    }

acronym, abbr, span.caps
{
    font-size: 0.9em;
    letter-spacing: .07em;
    }

a:link, a:visited{
    color: #871E1E;
    text-decoration: none;
}
a:visited{
	color:#7C726E;
}
 
.entrytext a:link, .entrytext a:visited{
	background-color:#FFF9ED;
}
.entrytext a:visited{
	background-color:#F7F7F7;
}
.postmetadata a:link, .postmetadata a:visited{
	background-color: transparent;
} 
.post h2 a:link, .post h2 a:visited{
	background-color: transparent;
}
h2 a:hover, h3 a:hover{
	text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}
 
#wp-calendar #prev a {
    font-size: 9pt;
    }

#wp-calendar a {
    text-decoration: none;
    }

#wp-calendar caption {
    font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
    text-align: center;
    }

#wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    }
/* End Typography & Colors */



/* Begin Structure */
body {
    margin: 0;
    padding: 10px 0 10px 0; 
    }

#page {
    background-color: #F7F5F1;
    margin: 0px auto 0px auto;
    padding: 0;
    width: 760px;
    }
    
#header {
    padding: 0;
    margin: 0px auto 0px auto;
    height: 135px;
    width: 100%;
}
#headerimg h1{ margin:0;}

#headerimg {
	padding: 50px 0px 10px 112px;
	color:#990000;
}

.narrowcolumn {
    float: left;
    padding: 5px 0 0 20px;
    margin: 0;
    width: 505px;
    }

.widecolumn {
    padding: 10px 0 20px 0;
    margin: 5px 0 0 150px;
    width: 450px;
    }
.post_head{
	background-image:url("templates/8-p/images/post_head_bck.gif");
	background-repeat:no-repeat;
	margin:10px 0 0 0;
	height:15px;
	line-height:15px;
}
.post {
	background-image:url("templates/8-p/images/post_main_bck.gif");
	background-repeat:repeat-y;
    margin: 0;
    text-align:left;
	font-size:11px;
	padding: 2px 20px 0 20px;
}
.post_foot{
	background-image:url("templates/8-p/images/post_foot_bck.gif");
	background-repeat:no-repeat;
	margin:0;
	height:20px;
	line-height:20px;
}

.widecolumn .post {
    margin: 0;
    }

.narrowcolumn .postmetadata {
    padding-top: 5px;
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 10px;
    line-height: 12px;
	border-top: 2px dotted #EEEEEE;
	margin:20px 0 0 0;
}

.widecolumn .postmetadata {
    margin: 30px 0;
    }
    
#footer {
    padding: 0;
    margin: 0 auto;
    width: 760px;
    clear: both;
    }

#footer p {
    margin: 0;
    padding: 20px 0;
    text-align: center;
    }
/* End Structure */



/*  Begin Headers */


h2 {
    margin: 0;
}

h2.pagetitle {
    margin-top: 30px;
    text-align: center;
}

#sidebar h2 {
    margin: 5px 0 0;
    padding: 0;
    }

h3 {
    padding: 0;
    margin: 30px 0 0;
    }

h3.comments {
    padding: 0;
    margin: 40px auto 20px ;
    }
/* End Headers */



/* Begin Images */
p img {
    padding: 0;
    max-width: 100%;
    }

/*  Using 'class="alignright"' on an image will (who would've
    thought?!) align the image to the right. And using 'class="centered',
    will of course center the image. This is much better than using
    align="center", being much more futureproof (and valid) */
    
img.centered {
    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 {
    float: right;
    }
    
.alignleft {
    float: left
    }
/* End Images */



/* Begin Lists

    Special stylized non-IE bullets
    Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
    margin-left: 0px;
    padding: 0 0 0 30px;
    list-style: none;
    padding-left: 10px;
    text-indent: -10px;
    } 

html>body .entry li {
    margin: 7px 0 8px 10px;
    }

.entry ul li:before, #sidebar ul ul li:before {
    }

.entry ol {
    padding: 0 0 0 35px;
    margin: 0;
    }

.entry ol li {
    margin: 0;
    padding: 0;
    }

.postmetadata ul, .postmetadata li {
    display: inline;
    list-style-type: none;
    list-style-image: none;
    }
    
#sidebar ul, #sidebar ul ol {
    margin: 0;
    padding: 0;
    }

#sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    
	
}

#sidebar li.sidebarBlock{
	background-image:url("templates/8-p/images/8-p_sidebarli_header.gif");
	background-repeat:no-repeat;
	margin-bottom: 10px;
	padding:4px 15px 5px 10px;
}
#sidebar li.sidebarBlockGoog{
	background-image:url("templates/8-p/images/8-p_sidebarli_headerGoog.gif");
	background-repeat:no-repeat;
	margin-bottom: 10px;
	padding:10px 0px 10px 10px;
}

#sidebar ul p, #sidebar ul select {
    margin: 5px 0 8px;
    }

#sidebar ul ul, #sidebar ul ol {
    margin: 5px 0 0 10px;
    }

#sidebar ul ul ul, #sidebar ul ol {
    margin: 0 0 0 10px;
    }

ol li, #sidebar ul ol li {
    list-style: decimal outside;
    }

#sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
    }
#serendipity_categories_list li{
	line-height:11px;
	/*vertical-align:middle;*/
	margin:5px 0 0 0;
	padding:0;
	}
#serendipity_categories_list li input{
	vertical-align:middle;
	margin:0px 3px 0 0;
	}
#serendipity_categories_list img{
	vertical-align:text-bottom;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
    margin: 10px auto;
    padding: 5px 3px; 
    text-align: center;
    }

#sidebar #searchform #s {
    width: 130px;
    padding: 2px;
    }

#sidebar #searchsubmit {
    padding: 1px;
    }

.entry form { /* This is mainly for password protected posts, makes them look better. */
    text-align:center;
    }

select {
    width: 130px;
    }

.serendipity_calendarDay {
    text-align: center;
}
.serendipity_calendarDay a{
	font-weight:bold;
}

.serendipity_commentsValue input, 
.serendipity_commentsValue select {
    width: 100%;
    padding: 2px;
    }

.serendipity_commentsValue textarea {
    width: 100%;
    padding: 2px;
    }

.serendipity_commentForm submit {
    margin: 0;
    float: right;
    }
	
.category_submit input{
	background-color:#F7EBD3;
	color:#333333;
	border:1px solid #D6C095;
	border-top:1px solid #FFFFFF;
	border-left:1px solid #FFFFFF;
	font-size:11px;
	padding:1px;
}
/* End Form Elements */



/* Begin Comments*/
.graybox {
    margin: 0;
    padding: 10px;
    }

.commentlist {
    padding: 0;
    text-align: justify;
    }

.commentlist li {
    margin: 15px 0 3px;
    padding: 5px 10px 3px;
    list-style: none;
    }

.commentlist p {
    margin: 10px 5px 10px 0;
    }

.serendipity_commentForm {
    margin: 5px 0;
    }

.serendipity_commentsLabel {
    vertical-align:top;
    }

.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
    }

.commentmetadata {
    margin: 0;
    display: block;
    }
/* End Comments */



/* Begin Sidebar */
#sidebar
{
    padding: 13px 0 10px 0;
    margin: 0 7px 0 540px;
	width: 210px;
    }

#sidebar form {
    margin: 0;
    }
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
    empty-cells: show;
    margin: 10px auto 0;
    width: 155px;
    }

#wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
    }

#wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
    }

#wp-calendar a {
    display: block;
    }

#wp-calendar caption {
    text-align: center;
    width: 100%;
    }

#wp-calendar td {
    padding: 3px 0;
    text-align: center;
    }

#wp-calendar td.pad:hover { /* Doesn't work in IE */
    background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
    cursor: help;
    }

acronym, abbr {
    border-bottom: 1px dashed #999;
    }

blockquote {
    margin: 15px 30px 0 10px;
    padding-left: 20px;
    border-left: 5px solid #ddd;
    }

blockquote cite {
    margin: 5px 0 0;
    display: block;
    }

.center {
    text-align: center;
    }

hr {
    display: none;
    }

a img {
    border: none;
    }

.navigation {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
    }
/* End Various Tags & Classes*/



/*--aggiunte lightbox--*/
#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 10px;
	padding-top: 5px;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 
#overlay img{ border: none; }

#overlay{ background-image: url(templates/8-p/js/overlay.png); }

* html #overlay{
	background-color: #000000;
	back\ground-color: transparent;
	background-image: url(/templates/8-p/js/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="templates/8-p/js/overlay.png", sizingMethod="scale");
}

