/*
Theme Name: RaneriPress
Theme URI: http://www.raneri.it/
Description: CSS customization of the default WordPress Theme.
Version: 1.0
Author: Raneri Web Design
Author URI: http://www.raneri.it/
Tags: custom css, custom header, fixed width, two columns, widgets
*/

body{
width: 100%;
background: #fff url(images/stripe.jpg) repeat-x;
font-family: trebuchet ms, sans;
font-size: 12px;
color: #5f5f5f;
text-align: center;
margin: 0;
padding: 0;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.8em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: Arial,Georgia, Sans-Serif, Verdana ;
	font-weight: normal;
	}

h1 {
	font-size: 20px;
	text-align: left;
	padding-top: 20px;
	padding-bottom: 0px;
	line-height: 30px;
	padding-left:0;
	margin: 0;
}
  
h2 {
	font-size: 18px;
	clear:both;
	}
  
h3 {
	font-size: 1.6em;
	clear:both;
	padding:0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: #777777;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #aaa;
	}

code {
	font: 0.9em 'Courier New', Courier, Fixed;
	padding: 10px;
	border: 1px solid #eee;
	display: block;
	background:#fff;
	}

acronym, abbr, span.caps
{
	font-size: 1.1em;
	letter-spacing: .07em;
	}

a, a:visited, a:link{
text-decoration: none;
color: #0158FD;
}

a:hover{
color: #ff0000;
}
	
h1 a, h2 a, h3 a, h1 a:hover,h2 a:hover, h3 a:hover{
	border: none;
	background: none;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

pre {
	width: 500px;margin-right: 250px;
}

#contenitore{
width: 100%;
background: url(images/stripe.png) no-repeat top center;
margin: 0 auto;
margin-top: 0;
}

#topsito{
background: url(images/top_sito.png) no-repeat;
width:997px;
height:17px;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
padding: 0;
overflow:hidden;
}

#page{
width: 997px;
text-align: left;
margin:0 auto;
}

#centersito{
background: url(images/center_sito.png) repeat-y;
width:997px;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
padding: 0;
overflow:hidden;
}

#header{
clear: both;
width: 970px;
height: 250px;
margin-left: 15px;
background: #fff;
float: left;
}

#header img{
float: right;
}

#header h1{
margin:0 0 0 35px;
padding-top: 130px;
font-size: 40px;
color: #666666;
}

.description{
display:block;
margin:0 0 0 40px;
padding-top:5px;
font-size: 19px;
color: #999999;
}

#image_blog{
width: 700px;
height: 225px;
background: url(images/header.jpg) no-repeat top right;
float: left;
}

#separatore{
display: block;
margin-left: 10px;
}
	
#main{
padding: 0;
width:100%;
margin: 0 auto;
}

#content {
font-size: 13px;
width:640px;
float: left;
}

#lang{
width: 712px;
text-align:right;
margin:0 auto;
padding-top:7px
}

#lang img{
margin-left:5px;
}

#menu{
width: 970px;
height: 43px;
margin-left: auto;
margin-right: auto;
background: url(images/menu.jpg);
}

#menu ul{
width: 931px;
height: 43px;
margin: 0 auto 0 auto;
padding: 0;
}

#menu li{
float: left;
width: 133px;
height: 33px;
margin-left: auto;
margin-right: auto;
margin-top: 6px;
background: url(images/bottone_menu.png) no-repeat;
text-align: center;
line-height: 37px;
color: #3A88DD;
font-size: 14px;
cursor:pointer;
list-style: none;
}

#menu li a{
color: #3A88DD;
font-weight:normal;
border:none;
text-decoration:none;
}

#menu a:hover{
color: #F68B07;
}

#titolo{
width:300px;
float:left;
}

#titolo a{
	color:#000000;
}
  
#bot_contenitore{
padding: 0;
background-image: url(images/bot_contenitore.png);
background-repeat: no-repeat;
width: 757px;
height:16px;
margin:0 auto;
margin-top: 0;
margin-bottom: 0;
}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 0;
	padding:0;
	list-style:none;
	
	}
	
#sidebar a {
	border: none;
	background: none;	
	display: block;
	padding: 5px 5px;
	border-bottom:1px solid #eee;
	background: url(images/meta.gif) no-repeat 5px 7px;
	padding-left: 20px;
}
#sidebar a:hover {
	border-bottom: 1px solid #c47373;
	background: #E8C8C8 url(images/meta.gif) no-repeat 5px 7px;
}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;	
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	
	}

#sidebar ul p, #sidebar ul select {
	margin: 0;
	}

#sidebar ul ul, #sidebar ul ol {
	margin:0px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin:0;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#flickr_badge_image3 {
	 margin-top: -16.15em;
	 #margin-top: -16.25em;
}

#flickr_badge_image1, #flickr_badge_image2 {
	margin-left: 0em;
}

#flickr_badge_image3, #flickr_badge_image4 {
	margin-left: 8.2em;
}

#sidebar .textwidget {
	margin: 6px;
}

#s{
width:145px;
}

#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#content #searchform #s {
	width: 200px;
	padding: 4px;
	font: 1.1em arial, verdana, sans-serif;
	background: #ddd;
	color: #333;
	border: 1px solid #bbb;
	}

#content #searchsubmit {
	padding: 3px 10px;
	background: #666;
	border: 1px solid #777;
	color: #ccc;
	font: 1.1em arial, verdana, sans-serif;
	font-weight: bold;
	}	

* html #sidebar a {
	height: 1px;
}
	
#sidebar .archives a, #sidebar .cat-item a, #sidebar .cat-item a:hover,
#sidebar #archives ul li a {
	background: url(images/cat.gif) no-repeat 5px 7px;
	padding-left: 20px;	
}

#sidebar .cat-item a:hover, #sidebar .archives a:hover,
#sidebar #archives ul li a:hover {
	background: #E8C8C8 url(images/cat.gif) no-repeat 5px 7px;
}
#sidebar .linkcat a, #sidebar .linkcat a:hover, 
#sidebar .blogroll a {
	background: url(images/fav.gif) no-repeat 5px 7px;
	padding-left: 20px;	
}

#sidebar .linkcat a:hover,
#sidebar .blogroll a:hover {
	background: #E8C8C8 url(images/fav.gif) no-repeat 5px 7px;
}

/* for flickr pictures 2 x 3 */

#sidebar .flickr_badge_image {
	padding-top: 10px;
}


#sidebar div.flickr_badge_image a {
	background: #fff;
	padding: 5px;
	border: 1px solid #eee;
	display: inline-block;
}
#sidebar div.flickr_badge_image a:hover {
	border: 1px solid #ddd;
	background: #fdfdfd;
}

#sidebar ul li h2 {
	font-family: Arial, 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.6em;
	color: #999;
	padding: 5px 5px;
	border-bottom: 3px solid #eee;
	}
  
#commentform p {
	font-family: Arial, 'Lucida Grande', Verdana,  Sans-Serif;
	}

#sidebar {
	font: 1.2em Arial,'Lucida Grande', Verdana, Sans-Serif;
  background:#ffffff;
	}

#sidebar #wp-calendar a {
	text-decoration: none;
	background: #eee;
	margin: 0;
	padding:0;
	}
#sidebar #wp-calendar a:hover {
	background: #E8C8C8;

	}	

#sidebar #wp-calendar caption {
	font: bold 1.3em  Arial,'Lucida Grande', Verdana, Sans-Serif;
	text-align: left;
	margin-top: 6px;
	}

#sidebar #wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	text-align: center;
	border-bottom:1px solid #eee;
	}

#searchdiv {
float:right;
}

#commentform{
	margin-bottom: 60px;
}	
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	border: 1px solid #ccc;
	}

#commentform textarea {
	margin-top:5px;
	width: 100%;
	padding: 2px;
	border: 1px solid #ccc;
	}

#commentform #submit {
	margin-top: 5px;
	padding: 5px;
	background: #666;
	border: 1px solid #777;
	font-weight: bold;
	font-size: 1em;
	color:#ccc;
	}
  
#sidebar li#rssfeeds{
	padding-left: 18px;
	margin-left: 0px;
	margin-top: 10px;
	background:url(images/rss.gif) left center no-repeat;
}
#sidebar li#rssfeeds a, #sidebar .textwidget a, #sidebar #tag_cloud a, #sidebar p a {
	background: none;
	display:inline-block;
	margin:0;
	padding:0;
}


#sidebar #tag_cloud a{
	margin:5px 5px 0 6px;
}

#sidebar li#rssfeeds a:hover, #sidebar .textwidget a:hover, #sidebar #tag_cloud a:hover, #sidebar p a:hover{
	background: #e8c8c8;
}

#sidebar #wp-calendar {
	margin:6px;
	padding:0;
}

#pagemenu {	
	width: 757px;
  margin:0 auto;
	background: #ccc;
	border-top: 1px solid #ddd;
	font-size: 1.2em;
}

#pagemenu ul#page-list {
	list-style: none;
	padding: 0px 10px;	
	margin: 0 auto;
	width: 757px;	
	margin-top: 6px;
	display:block; /* ignored by IE  remove space bug on FF, Chrome */
	_display: inline-block; /* remove spacing bug IE 6 */
	#display: inline-block; /* remove spacing bug IE 7 */
	
}

#pagemenu ul li.page_item a, #pagemenu ul li.cat-item a {
	color: #888;
	font-weight: bold;
	padding: 0px 20px;
	text-decoration: none;	
	border: none;
	background:#eee;
	
}

#pagemenu ul li.page_item a:hover, #pagemenu ul li.cat-item a:hover {
	text-decoration: none;
	color: #333;
	background: #fafafa;
	
}

#pagemenu ul li.page_item, #pagemenu ul li.cat-item { background: #ddd;}

#pagemenu ul li.current_page_item, #pagemenu ul li.current_page_item a, #pagemenu ul li.current_page_item a:hover, #pagemenu ul li.current-cat, #pagemenu ul li.current-cat a, #pagemenu ul li.current-cat a:hover { 
	color: #000; 
	background: #fafafa;
	}
	
#pagemenu ul li.current_page_item li a {
	background:#eee;
	color: #888;
}

#pagemenu  #page-list {
	margin:0; padding:0;
}
		
	#pagemenu #page-list li {
		padding:0px;
		float:left;
		list-style: none;
		line-height:28px;
		display: inline;
		margin-left: 5px;
		_margin-left: 5px;
		#margin-left: 5px;
	}
	
	#pagemenu #page-list li a, #page-list li ul li a{		
	    display:block		
	}
	
	#pagemenu #page-list li:hover {
		background:#eee;
	}


#pagemenu #page-list li ul {
	position: absolute;
	width: 12em;
	left: -999em;
	border: 1px solid #ddd;
	border-top: none;
	margin:0;
	padding:0; 
	
}
#pagemenu #page-list li:hover ul, #pagemenu #page-list li.sfhover ul {
	left: auto;
	z-index:1000;	
}
#pagemenu #page-list li ul li {
    background: #eee;
	border-top: 1px solid #ddd;
	line-height:28px;	
	width:12em;
	margin:0px;
}
#pagemenu #page-list li:hover, #pagemenu #page-list li.hover {
    position: static;
}
#pagemenu #page-list li ul ul {
	margin: -29px 0 0 12em;
}
#pagemenu #page-list li:hover ul ul, #pagemenu #page-list li.sfhover ul ul {
	left: -999em;
}
#pagemenu #page-list li:hover ul, #pagemenu #page-list li li:hover ul, #pagemenu #page-list li.sfhover ul, #pagemenu #page-list li li.sfhover ul {
	left: auto;
}
#pagemenu #page-list li:hover ul ul, #pagemenu #page-list li:hover ul ul ul, #pagemenu #page-list li.sfhover ul ul, #pagemenu #page-list li.sfhover ul ul ul {
	left: -999em;
}
#pagemenu #page-list li:hover ul, #pagemenu #page-list li li:hover ul, #pagemenu #page-list li li li:hover ul, #pagemenu #page-list li.sfhover ul, #pagemenu #page-list li li.sfhover ul, #pagemenu #page-list li li li.sfhover ul {
	left: auto;
} 

#botsito{
background: url(images/bot_sito.png) no-repeat;
width:997px;
height:11px;
overflow:hidden;
margin: 0 auto 10px auto;
padding: 0;
}

#footer{
background: url(images/footer.jpg) no-repeat;
width: 965px;
height: 20px;
font-size: 11px;
font-weight: bold;
color: #fff;
margin-left: auto;
margin-right: auto;
text-align: center;
line-height: 20px;
}

.trattino{
background-image: url(images/trattino.png);
background-repeat: no-repeat;
width: 22px;
height: 21px;
}
  
.narrowcolumn p {
	clear:both;
	}

.narrowcolumn .entry {
	line-height: 1.4em;
	width: 100%;
	}

.narrowcolumn .postmetadata {
	text-align: left;
	}


h2.pagetitle {
	font-size: 1.8em;
	color:#666;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em Arial, 'Lucida Grande', Verdana, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	background:#fdfdfd;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.2em;
	text-transform: none;
	}

.commentmetadata {
	font-size: 0.9em;
	font-weight: normal;
	}
.commentlist li.alt {	
	background:#fefefe;	
}

.narrowcolumn {
	padding: 0px 30px;
	margin: 0px auto;
	width: 590px;	
	}

.post {
	margin: 0 0 30px;	
	/*border-bottom: 3px solid #eee;*/
	}

.post hr {
	display: block; 
	border: none;
	border-top: 1px dotted #ccc;
	}
	
.narrowcolumn .postmetadata {
	padding:0;
	margin:0;
	padding: 20px 0 40px;
	}

.narrowcolumn .postmetadata2 {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 13px 0 16px 0;
}

.postmetadata {
	clear: both;
	font-size: 0.8em;
}

.clear {
	clear: both;
}

h2 {
	margin: 10px 0 2px 0;
	padding-top: 10px;
	}


#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

  .entry img {
	padding: 5px;
	max-width: 100%;
	border: 1px solid #eee;
	}

/*	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 {
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 5px;
	margin: 0 0 5px 15px;
	}

img.alignleft {
	padding: 5px;
	margin: 0 15px 5px 0;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

.entry {
text-align:justify;
	border-top: 1px solid #eee;
	margin-top: 15px;
	padding-top: 5px;
	float: left;	
	margin-bottom: 20px;
}

.entry p {
	padding: 7px 0 7px 0;
	margin:0;
}
.entry p a.img {
	border:none;
	background:none;
}
.entry p a.img:hover {
	border:none;
	background:none;
}


/* end */

html>body .entry ul {
	margin-left: 50px;
	padding: 0px 0 0px 0 30px;
	padding-left: 10px;
	
	}

html>body .entry li {
	margin: 0;
	}

/*.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}*/

.entry  ol, .entry ul {
	padding:0;
	margin:  5px 0 5px 50px;
	}

.entry ol li, .entry ul li {
	margin: 0;
	padding: 0;
	}
	

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	list-style: none;
	padding: 20px;
	border: 1px solid #eee;	
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar{	
width: 250px;
float: right;
margin: 20px 30px 0px 0;
	
	}

#sidebar form {
	margin: 0;
	}
	

/* End Sidebar */



/* Begin Calendar */
#sidebar #wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 190px;
	}

#sidebar #wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#sidebar #wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#sidebar #wp-calendar a {
	display: block;
	}

#sidebar #wp-calendar caption {
	text-align: right;
	width: 190px;
	padding-right: 10px;
	}

#sidebar #wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#sidebar #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 #ccc;
	}

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;
	}

.hidden {
	display: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	
	
	}
	
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.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;
}


/* End captions */

img.wp-smiley {
	border:none;
	padding: 0;
}

.entry a.more-link {
	padding: 1px 6px;
	background:#ddd;
	color: #666666;
	border-bottom: 1px solid #ccc;
	font-size:0.8em;
	font-weight: bold;
	float:right;
	}
.entry a.more-link:hover {
	background: #E8C8C8;
	border-bottom: 1px solid #c47373;
	color:#333333;
}


/* Header Menu */

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}


.clearfix {
    display: inline-block;
}

.widget_tag_cloud a{
display:inline !important;
background:none !important;
padding:0 !important;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

#sidebar .page_item ul li, #sidebar .cat-item ul li{
	padding-left: 15px;
} 