/*  
Theme Name:Davide Ferrero Theme
Theme URI: http://www.davideferrero.com/
Description:Davide Ferrero blog theme
Version: 2.0
Author: Davide Ferrero
Author URI: http://www.davideferrero.com/
*/
/* STRUTTURA */

body{font-size:80%;color:#000000;}
#header h1,#header h2,#header h3{color:#333333;}
#header h2{font-size:190%;}

#page{background:#ffffff;padding:0.5em;padding-left:1em;}

#header-fixed{height: auto !important;height:200px;min-height:200px;}
#header{margin-top:1em;padding-bottom:2em;}
.header-img{position:relative;background:url(_img/logo.png) no-repeat;width:650px;height:90px;z-index:2;}
.header-text{position:absolute;top:1em;z-index:1;padding-left:0.1em;margin-top:2.5em;}

#search-form{position:relative;margin-top:0.4em;}

/* =Menu
-------------------------------------------------------------- */

#access {
	background:#ffffff;
	margin: 0 auto;
	display:block;
	float:left;
}
#access .menu-header,
div.menu {
	font-size:120%;
	margin-left:12px;
}
#access .menu-header ul,
div.menu ul {
	list-style:none;
	margin:0;
}
#access .menu-header li,
div.menu li {
	float:left;
	position:relative;
}
#access a {
	display:block;
	text-decoration:none;
	color:#333333;
	padding:0 10px;
	line-height:38px;
}
#access ul ul {
	display:none;
	position:absolute;
	top:38px;
	left:0;
	float:left;
	width:180px;
	z-index:99999;
}
#access ul ul li {
        width:auto !important;
        width:180px;
	min-width:180px;
}
#access ul ul ul {
	left:100%;
	top:0;
}
#access ul ul a {
	background:#333333;
        color:#cccccc;
	height:auto;
	line-height:1em;
	padding:10px;
	width: 160px;
}
#access li:hover > a,
#access ul ul :hover > a {
	color:#fff;
	background:#333;
}
#access ul li:hover > ul {
	display:block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color:#333333;
        background:#aaaaaa;
}

* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color:#fff;
}
/* End Menu */

.sub-banner{
    border-top:1px solid #eeeeee;
    padding-top:1em;
    margin-top:2em;
    margin-bottom:5em;
}

.post{text-align:justify;padding-bottom:4em;margin-bottom:5em;}

.post-title{font-weight:bold;color:#333333;font-size:180%;}
.post-title a{text-decoration:none;color:#333333;}
.post-title a:hover,.post-title a:focus{color:#aaaaaa;}

.post-date{font-size:80%;color:#484848;margin-bottom:1em;}

.alignleft,img.alignleft{float:left;margin:5px 10px 5px 0;}
.alignright,img.alignright{float:right;margin:5px 0 5px 10px;}
.aligncenter,div.aligncenter,img.aligncenter{text-align:center;display:block;margin:10px auto;}

.commentlist,.commentlist ul{list-style-type:none;list-style-position:inside;}
.commentlist .alt{background:#cccccc;}
.commentlist .comment{padding:0.5em;border:1px dotted #333333;margin-top:1em;margin-bottom:1em;}
.commentlist li ul li{background:#cccccc;}
.commentlist li.alt ul li{background:#ffffff;}
.commentlist li.alt ul li ul li{background:#cccccc;}
.commentlist li ul li ul li{background:#ffffff;}
.clear-both{clear:both;}
.postmetadata{padding:0.5em;}
