/* @override http://www.allavoro.net/assets/css/main.css */

@import url('lib/reset.css');
@import url('lib/typography.css');
@import url('lib/forms.css');

/*----------------------------------
	GENERAL STYLES
	Stili per i tag
----------------------------------*/
body { margin: 0; padding: 0; background: #AFDFE5 url(../images/sfondo.jpg) repeat-x;}

h1,h2 { font-family: Georgia, Times New Roman, serif; font-weight: normal; }

blockquote { margin-top: 0; padding-top: 0; }

.innerWrapper	{ width: 900px; margin: 0 auto; position:relative;}
.innerSidebar	{ margin: 0 10px; }
.spanner		{ clear: both; }

div.hr hr,
div.hr2 hr2 { display: none; }

div.hr 		{ height: 15px; margin: 20px 0; background: #fff url(../images/hr.png) no-repeat scroll center; }
div.hr2 	{ height: 3px; border-bottom:1px dotted #ccc; margin-bottom: 10px; }

/*----------------------------------
	PAGE STRUCTURE
	Stili per gli elementi strutturali
----------------------------------*/
#wrapper 		{}
#contentWrapper	{ position: relative; margin-top: 140px; z-index: 3; }
#header			{ position: absolute; width: 100%; top: 0; height: 140px;}
#footer			{ height: 100px; text-align: center; color: #fff; background:url(../images/footer.jpg) no-repeat center;}

#mainColumn		{ width: 560px; float: left; margin-left: 25px; background:url(../images/main.jpg) repeat-y;}
#sidebar		{ width: 270px; float: right; margin-right: 25px; }


/*----------------------------------
	PAGE COMPONENTS
	Stili per gli elementi nelle pagine
----------------------------------*/
#nav 	   { width:900px; margin-left:20px;}
#nav ul    { margin: 0; padding: 0;}
#nav ul li { margin: 0; padding: 0; list-style-type: none; text-align:center; display: inline;}

#contentWrapper .innerWrapper { background:url(../images/sfondo-wrapper.png) repeat-y;}
#footer .innerWrapper { width: 820px; margin: 0 auto; position:relative; padding:20px;}

#header .innerWrapper{
	 background: url(../images/sfondo-wrapper.png) repeat-y top right scroll;
	 height: 140px;
}


.presentazione-home{
	height: 30px;
}
.presentazione-home h1 { height: 50px;font-size: 2.5em; line-height: 1; margin-bottom: 0.4em; color: #00B0D8; display: block; width: 350px; padding-left:0; position: relative; }
.presentazione-home p { width: 350px; padding-left: 30px; top: -110px; position: relative; }


.presentazione h1		{ position: relative; }
.presentazione h1 span 	{ display: block; position: absolute; top: 0px; left: -90px; width: 60px; padding: 8px 10px 4px 6px; line-height: 1.2em;  font-weight: normal; font-size: 11px; text-align: center; color: white; background-color: #BFD73B; border-left: 4px solid #8CA12B; border-bottom: 2px solid #8CA12B; font-family: Helvetica Neue, Arial, sans-serif; }
.presentazione h1 span strong	{ display: block; font-size: 20px; }


#sidebar			{position: relative; top: 0;}
#sidebar h4 		{ padding: 0 10px; }
#sidebar .module	{ margin-bottom: 13px; }
#sidebar .banner	{ border: 1px solid gray; height: 60px;}

#searchbar          {margin-right: 45px;}
#cerca{height: 90px; width: 200px; position:absolute; right:45px; text-align:center;background:url(../images/newsletter.jpg) no-repeat; padding-top:10px; color:#FFFFFF; font-weight:bold;
}
#cerca ul		{ margin: 0; padding: 0;}
#cerca ul li	{ list-style-type: none; float: left;}

#newsletter{background: #986893; padding:5px 15px; margin-bottom: 15px; text-align: center;}
#newsletter p.join{ color: #fff;}

.search{
background:url(../images/cerca.jpg) no-repeat; width:270px; height:45px;
}
.search ul li{
list-style-type:none; float:left;}

.search-value{margin-top:12px; margin-right:7px;}
/* My Comment */
/*----------------------------------
	OVERRIDES
	Stili per gli overrides
----------------------------------*/
#nav a 				    { font-family: Georgia, Arial, sans-serif;color:#fff; background:url(../images/a-sfondo.jpg) no-repeat; margin:0 2px 0 0;  float: left; height:90px;width: 70px; white-space: nowrap; font-weight: normal; text-align:center; margin-right:5px; display:block;}

#nav a:hover 			{ font-family: Georgia, Arial, sans-serif;color:#fff; background:url(../images/a-hover.jpg) no-repeat; margin:0 2px 0 0; float: left; height:90px; width: 70px; margin-right:5px;display:block;}

#nav a.home 		{ margin:35px 0 0 0; width: 240px; white-space: nowrap;float: left; padding: 0; background: none; height:90px;}
#nav a.home:hover 		{ margin:35px 0 0 0; float: left; padding: 0; background: none; height:90px;}

.logo 		{ 
float:left;
margin:0 0 0 0;}

#nav li.active a {
background:url(../images/a-hover.jpg) no-repeat; color: #fff;
}


#nav a span{ margin:67px 0 0 0; display:block;}
#nav ul{display:inline;
margin:0;
padding:0;}

#sidebar h4.news	{ font-family: Georgia, Arial, sans-serif;
	 padding:20px 0 0 10px;
	width: 270px;
	height: 50px;
	color: #fff;
	background:url('../images/news.jpg') no-repeat;
	margin-bottom: -10px;
}

#sidebar h4.mostRead { font-family: Georgia, Arial, sans-serif;
	 padding:20px 0 0 10px;
	width: 270px;
	height: 50px;
	color: #fff;
	background:url('../images/mostRead.jpg') no-repeat;
	margin-bottom: -10px;
}

#sidebar h4.consulenza { font-family: Georgia, Arial, sans-serif;
	 padding:20px 0 0 10px;
	width: 270px;
	height: 50px;
	color: #fff;
	background:url('../images/consulenza.jpg') no-repeat;
	margin-bottom: -10px;
}

#sidebar h4 a{
	color: #FFF;
}



#news dt{background:url('../images/list-news.png') no-repeat; padding-left:10px; background-position: left; margin-left: -7px; }

.ajax_gallery_page {
}

#gallery_dl {
margin:0;
padding:0;
width:100%;
margin-left:18px;
}

#gallery_dl dd.gallery_img {
background-color:#999999;
height:110px;
width:70px;
}
#gallery_dl dt, #gallery_dl dd {
float:left;
margin:0 20px 20px 0;

}

.text{ width:540px;
height:100%;
float:left;

}

.text ul{
list-style-type:none;}

.testo{
float:left; padding:5px;}