/*  
Theme Name: PierpaoloSilvestri.it
Theme URI: http://www.pierpaolosilvestri.it
Description: Based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 1.0
Author: Matteo Peraccini, Richard Perry and Michael Heilemann
Author URI: http://ricperry.homeip.net

	Rich.Kubrick v1.0
	 http://ricperry.homeip.net/news/

	This theme was originally designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/
	
	This theme has been gracefully modified to allow a more satisfying
	custom color scheme.  Changes made are the ability to change the
	sidebar background color and the footer background color, similar
	to the way it has always been possible to change the header
	background color.

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
	
	Have fun, and don't be afraid to contact me if you have questions.
*/



/* Begin Typography & Colors */

* {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

body {
	font-size: 80%; /* Resets 1em to 10px */
	font-family: 'Georgia', Verdana, Arial, Sans-Serif;
	font-family:"Courier New", Courier, monospace;
	background-color: #336699; /*#356BFF;*/
	background-image:url(images/background_texture.jpg);
	background-repeat:repeat-x;
	color: #666666;
	text-align: center;
	padding-bottom: 20px;
	}

#page {
	background-color: #ffffff;
	text-align: left;

	}


#content {
	font-size: 1.2em;
	width: 665px;
	margin: 0 auto;	
	}

.narrowcolumn p, .widecolumn p { /*per explorer */
	line-height: 1.3em;
	padding-bottom: 15px;
	}
	

	
.narrowcolumn p.modifica, .widecolumn p.modifica {
	text-align: right;	
	}
.narrowcolumn p.modifica a, .widecolumn p.modifica a {
	color: #FF0000;	
	}

.narrowcolumn p a, .widecolumn p a {
	background-image:url(images/dashed_grey.gif);
	background-position:left bottom;
	padding-bottom:1px;
	background-repeat:repeat-x;
	}
	
.narrowcolumn p a:hover, .widecolumn p a:hover {
	background-color: #99ccff;
	color:#FFFFFF;
	text-decoration:none;
	}
.narrowcolumn a.thumbnail, .widecolumn a.thumbnail, .narrowcolumn a:hover.thumbnail, .widecolumn a:hover.thumbnail {
background-color:transparent !important;
background-image:none !important;
border:0px !important;
margin-right:5px !important;
padding:0px !important;
}

	
.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

small {
	font-size: 1,3em;
	line-height: 1,3em;
	}


h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 {
	}

h1, #headerimg .description {
	text-decoration: none;
	color: white;
	position:absolute;
	top: -3000px;
	}

h2, h2 a, h2 a:visited {
	font-weight: bold;
	font-size: 110%;
	}

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

.entry p a:visited {
	}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
	border: 1px solid #CCCCCC;
	}
	
.commentlist li {
	}

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

.commentlist p {
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

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, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

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

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

#wp-calendar caption {
	font: bold 1.3em;
	text-align: center;
	}

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



/* Begin Structure */
body {
	
	 
	}

#page {
	background-color: white;
	margin: 20px auto;
	background-image: url(images/footer.png);
	background-position:bottom;
	background-repeat:no-repeat;
	width: 700px;
	}
	
#admin {
	width: 665px;
	margin: 0 auto;
	height: 30px;
	line-height: 30px;
	}
	
#admin a {
	font-weight: bold;
	color:#999999;
	}
	
#admin a:hover {
	font-weight: bold;
	color: #666666;
	}
	
#header {
	background-image:url(images/header_back.png);
	background-repeat: no-repeat;
	background-position:top center;
	margin: 0 auto;
	height: 238px;
	width: 665px;
	background-color:#7885A4;
	}

#filmato_pier_nuovo {
	display: block;
	margin: 10px auto;
	text-align:center;
	height: 63px;
	clear: both;

}

#headerimg {
	background-image:url(images/header_title.png);
	background-repeat:no-repeat;
	height: 160px;
	}

#headerimg a {
	display:block;
	width: 100%;
	height: 160px;
}
	
#menu {
	width: 665px;
	height: 40px;
	margin: 0 auto;
}

#menu .current {

}

.narrowcolumn {
	float: left;
	width: 470px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 0 auto;
	width: 500px;
	}
	
.post {
	margin: 0px auto 40px auto;
	text-align: justify;
	width: 100%;
	display: block;
	}



.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#footer {
	margin: 0 auto;
	padding-top: 10px;
	width: 665px;
	clear: both;
	background-image:url(images/dashed_grey.png);
	background-position:top;
	background-repeat:repeat-x;
	text-align:center;
	}

#foot_banner {
	width: 300px;
	height: 33px;
	text-align:center;
	margin: 0px auto;
}

#footer #pace {
	display:inline;
	height:32px;
}

#footer object{
	margin: 0xp;
	border: 0px;

	}

#footer #stats {
	border:0pt none;
	clear:both;
	display:inline;
	margin:0pt;
	padding:0pt;
}

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



/* Begin Menu Items */


	
#menu ul {
	margin-top: 10px;
}

#menu li {
	list-style:none;
	margin-right: 6px;
	height: 20px;
	line-height: 20px;
}

#menu li a {
	font-size: 18px;
}

/* End Menu Items */



/*	Begin Headers */


.narrowcolumn h2 {
	display: block !important;
	background-color: transparent !important;
	width: 100% !important;
	margin-bottom: 10px !important;
	background-image:url(images/dashed_grey.png) !important;
	background-position:left bottom !important;
	background-repeat:repeat-x !important;
	line-height: 30px !important;
	color: #666666 !important;
	}

.narrowcolumn .linkcat {
	margin-bottom: 30px;	
}

.narrowcolumn .linkcat li {
	margin-bottom: 10px;	
}

.linkcat {
	list-style: none;
}
	
#linkcat-2 h2 {
	margin-bottom: 10px;
	background-image:none;
	line-height: 30px;
	background-color: #51B848;
	color:#FFFFFF;
	}
	
#linkcat-3 h2 {
	margin-bottom: 10px;
	background-image:none;
	line-height: 30px;
	background-color: #F8B574;
	color:#FFFFFF;
	}

#linkcat-5 h2 {
	margin-bottom: 10px;
	background-image:none;
	line-height: 30px;
	background-color: #FF0033;
	color:#FFFFFF;
}

.narrowcolumn #linkcat-2, .narrowcolumn #linkcat-3 {
	/*display: none;
*/}
	
.widget_recent_entries h2, #categories h2 {
	background-image:none;
	line-height: 30px;
	background-color: #93C1E4;
	color:#FFFFFF;
	}

#recent-comments h2{
	background-image:none;
	line-height: 30px;
	background-color: #75D08C;
	color:#FFFFFF;
	}

.widget_recent_entries h2{
	margin-bottom: 10px;
	background-image:none;
	line-height: 30px;
	background-color: #93C1E4;
	color:#FFFFFF;
	}

.narrowcolumn h3 {
	margin-bottom: 10px;
	background-image:url(images/dashed_grey.png);
	background-position:bottom;
	background-repeat:repeat-x;
	line-height: 30px;
}

h2.pagetitle { /*serve per gli Archivi */
	text-align: center;
}


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



/* Begin Images */
p img {
	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;
	display: inline;
	}
	
	
.alignleft {
	float: left;
	display: inline;
	}

/* 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, .entrytext {
	margin-top: 20px;
}

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

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar div {
	margin-bottom: 20px;
}
	
#sidebar #recent-posts li  {
	list-style-image:url(images/lista_puntata.png);
	list-style-position:inside;
}

.narrowcolumn li, .widecolumn li  {
	font-style:italic;
	list-style-image:url(images/lista_puntata.png);
	list-style-position:inside;
	}

#sidebar #categories li {
	list-style-image:url(images/lista_puntata.png);
	list-style-position:inside;
}

#sidebar #recent-posts li {
	list-style-image:url(images/lista_puntata.png);
	list-style-position:inside;
	margin-bottom: 3px;
	background-image:url(images/dashed_grey.png);
	background-position:left bottom;
	background-repeat:repeat-x;
	
}

#sidebar #recentcomments li {
	list-style-image:url(images/lista_verde.png);
	list-style-position:inside;
	margin-bottom: 3px;
	background-image:url(images/dashed_grey.png);
	background-position:left bottom;
	background-repeat:repeat-x;
	
}

#sidebar #linkcat-2 li {
	list-style: none;
	}

	
#sidebar #linkcat-3 li {
	list-style-image:url(images/lista_arancio.png);
	list-style-position:inside;
	}
	
#sidebar #linkcat-5 li {
	list-style-image:url(images/lista_rosso.png);
	list-style-position:inside;
	}

#sidebar #links li {
	list-style: none;
}

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

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

#sidebar ul ul ul, #sidebar ul ol {
	}

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

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	
	}
/* End Entry Lists */



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

#sidebar #searchform #s {
	width: 115px;
	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;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	
	padding: 10px;
	}

.commentlist {
	
	text-align: justify;
	}

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

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

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;

	}

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



/* Begin Sidebar */
#sidebar
{
	float: right;	width: 160px;
	}

#sidebar form {
	
	}
/* 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 {
	background-color: #FFFFB8;
	border: 1px solid #F2F26F;
	width: 420px;
	padding-top:65px;
	margin: 0px auto 20px auto;
	background-image:url(images/megafono.png);
	background-repeat:no-repeat;
	background-position:10px 10px;
	font-style:italic;
	line-height: 0,5em;
	}
	
blockquote p, blochquote ul, blockquote ol { /*per explorer*/
	margin-left: 130px;
	padding-bottom: 0px;
	line-height: auto;
	margin-right: 10px;
	}
	
blockquote>p, blochquote>ul, blockquote>ol { /*per firefox*/
	margin-left: 130px;
	padding-bottom: 0px;
	line-height: auto;
	margin-right: 10px;
	}

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

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	text-align: center;
	margin: 0px auto 30px auto;
	display: block;
	height: 20px;
	}
/* End Various Tags & Classes*/

