/* CSS Document */

body {
	margin: 0;
	padding: 0;
	color: white;
	min-width: 950px;
	background-image: url(img/sfondo.png); /* sfondo di base */
	font: small Arial, Helvetica, Verdana, sans-serif;
	}

#wrapper {
		background-image: url(img/sfondo.png);
		width: 950px;
		margin-left: auto;
		margin-right: auto;
		padding: 0px;
		height: auto;
		/*background-color: #FFFFFF;*/ 
		/* background-color: #fdf8f2;    Pagina bianca sull sfondo */
		}
		
#header-top{
			background-image: url(img/barra-top.png); /* sfondo header-top */
			background-repeat: no-repeat;
			height: 40px;
			}
			
#header-top a:hover {
			text-decoration:none;
			color:#ffffff;
			}			
				
#header-top a:link, #header-top a:visited {
				text-decoration: underline;   /* formattazione collegamenti */
				/*background-color: #fdf8f2;*/
				color: #000000;
				}

#header-top table{
				margin-top: 5px;
				}

#header-top .text  {
			width: 100px;
			border: 1px solid #000000;
			}
			
#header-top .btn {
			margin-top: 0px;
			/*text-align: right;
			border: 1px solid #45bac0;
			background-color: #256290;
			color: white;*/
			}	
		
#header-middle{
				background-image: url(img/barra-middle.png);
				background-repeat: no-repeat;
				height: 147px;
				}
				
			/* menu Header-button*/	
#header-button {
	background-image: url(img/barra-bottom.png); 
	/*background:#7FAACA url(img/bg-nav.jpg) repeat-x;*/
	/*border-bottom:1px solid #999999;*/
	padding-top:5px;
	padding-bottom:5px;
	/*padding-top:2em;*/
}

#header-button ul, #header-button ul li {
	list-style:none;
	margin:0;
	padding:0;
}

#header-button ul {
	text-align:center;
	padding:0.5em 0;
}

#header-button ul li {
	display:inline;
	margin-right:0.5em;
}

#header-button ul li.last {
	margin-right:0;
}

#header-button ul li a {
	background:#FFFFFF url(img/bg-tab.jpg) repeat-x;
	color:#0033FF;
	border-color:#999999;
	border-style:solid;
	border-width:1px 1px 0 1px;
	text-decoration:none;
	/*padding:0.5em 1em;*/
	padding-top:2px;
	padding-left:4px;
	padding-right:4px;
	padding-bottom:2px;
}

#header-button ul li a:hover {
	color:#003366;
	background:#FFFFFF;
}

#header-button ul li a.active,
#header-button ul li a.active:hover {
	color:#FFFFFF;
	background:#BCBCBC;  
}

		/* end menu Header-button*/
				

/*#sidebar  {	float: right;
			width: 155px;
			background-color: #546673/*#256290;
			color: black;
			}*/

#sidebar h3 {
			font-size: 110%;
			/*background-image: url(img/29.jpg);
			background-repeat: no-repeat;*/
			border-bottom: 1px solid #FF9900;/* #000099;*/
			margin-top: 10px;
			padding: 1px/*0.2em 0 0.2em 10px*/;
			font-weight: normal; 		
			}
			
/*#newsletter{
		background-color:#546673;
			}*/
			
#newsletter{
		width:180px;
		background:url(img/boxBk.png) no-repeat bottom left;
		padding-bottom:15px;
			}
			
#newsletter div{
		background:url(img/boxBk.png) repeat-x top left;
    	padding:15px 15px 0;
			}
			


#newsletter h4{
			margin-left:5px;
			margin-bottom: 5px;
			color:#000000/*#FFFFFF*/;
			}
			
			
#newsletter h3{
			border-bottom:1px solid #FF9900;
			color:#000000/*#FFFFFF*/;
			}

#sidebar{float: right;
		color: #000000;
		}
		
#sidebar div.modular {
		width:180px;
		background:url(img/boxBk.png) no-repeat bottom left;
		padding-bottom: 15px;
		margin-bottom: 10px;
			}
			
#sidebar div.modular div{
		background:url(img/boxBk.png) repeat-x top left;
    	padding:15px 15px 0;
			}
			

#sidebar form{
				padding-top: 5px;
				padding-bottom: 50px;
				height: 20px;
			}
		
#sidebar .text  {
			width: 100px;
			border: 1px solid #000000;
			}
			
#sidebar .btn {
			margin-top: 0px;
			/*text-align: right;
			border: 1px solid #45bac0;
			background-color: #256290;
			color: white;*/
			}	

#sidebar ul {
			list-style-image: url(img/bottone.png);
			margin-left: 0;
			padding-left: 0px;
			}
			
#sidebar p, #sidebar li {
			font-size: 90%;
			line-height: 1.4em;
			}
			
#sidebar ul a:link, #sidebar ul a:visited {
			color: white;
			}
			
#sidebar .date {
			font-weight: bold;
		}


			
#sidebar .mont-image {
				float: right;
				margin: 0 30px 0 20px;
				}
				
#sidebar p.more  {
			clear: right;
			margin: 0 30 px 0 0;
			text-align: right;
			}

#sidebar p.more a:link, #sidebar p.more a:visited {
			color: white;
			background-image: url(img/bottone.png);
			background-repeat: no-repeat;
			background-position: center left;
			padding-left: 14px;
			}
			

							
#sidebar2 {
			float: left;
			width: 159px;
			/*border-top: 1px solid #b9d2e3;
			border-left: 1px solid #b9d2e3;*/
			color: black;
			margin: 0;
			padding: 0;
		  }
				
#sidebar2 .inner  {
			margin-top: 0px;
			}
			
#sidebar2 .inner a:hover  {
			color: #FF9900;
			}
			
#sidebar2 .inner a:visited{
			text-decoration: none; 
			}
		
#sidebar2 .inner a:link{
			text-decoration:none;

			}

			
#sidebar2 .news h3 {
			margin: 10px;
			}
			
#sidebar2 .textbanner2 h3 {
			margin: 10px;
			}

#navreg  {
		list-style: none;
		margin: 0;
		padding: 0;
		background-color:#546673;
		}
		
#navreg  li{
		border-bottom: 1px solid #b9d2e3;
		padding: 0.4em 0 0.2em 0;
		margin-top: 5px;
		font-size: 90%;
		}

#nav  {
		list-style: none;
		margin: 0;
		padding: 0;
		/*background-color:#546673;*/
		}
		
#nav  li{
		/*border-bottom: 1px solid #b9d2e3;*/
		/*padding: 0.4em 0 0.2em 0;*/
		margin-top: 5px;
		font-size: 90%;
		}

#nav span{
		width:130px
		}
/* // link button  */	
	
		a.button{
			float:left;
			font-size:110%;
			font-weight:bold;				
			border-top:1px solid #999;
			border-left:1px solid #999;
			border-right:1px solid #333;
			border-bottom:1px solid #333;
			color:#333;		
			width:auto;
			}	
		a.button:hover{	
			border-top:1px solid #333;
			border-left:1px solid #333;
			border-right:1px solid #999;
			border-bottom:1px solid #999;	
			color:#333;					
			}	
		a.button span{
			background:#d4d0c8 url(img/bg_btn.gif) repeat-x;			
			float:left;
			line-height:24px;
			height:24px;	
			padding:0 10px;							
			border-right:1px solid #777;
			border-bottom:1px solid #777;					
			}		
		a.button:hover span{
			border:none;						
			border-top:1px solid #777;
			border-left:1px solid #777;		
			background:#d4d0c8 url(img/bg_btnOver.gif) repeat-x;	
			cursor:pointer;	
			}
		
		a.button2{
			float:left;
			font-size:110%;
			font-weight:bold;				
			border-top:1px solid #999;
			border-left:1px solid #999;
			border-right:1px solid #333;
			border-bottom:1px solid #333;
			color:#333;		
			width:auto;
			}	
		a.button2:hover{	
			border-top:1px solid #333;
			border-left:1px solid #333;
			border-right:1px solid #999;
			border-bottom:1px solid #999;	
			color:#333;					
			}	
		a.button2 span{
			background:#d4d0c8 url(img/bg_btn.gif) repeat-x;			
			float:left;
			line-height:24px;
			height:24px;	
			padding:0 10px;							
			border-right:1px solid #777;
			border-bottom:1px solid #777;					
			}		
		a.button2:hover span{
			border:none;						
			border-top:1px solid #777;
			border-left:1px solid #777;		
			background:#d4d0c8 url(img/bg_btnOver.gif) repeat-x;	
			cursor:pointer;	
			}
			
		a.over{
			float:left;
			font-size:110%;
			font-weight:bold;				
			border-top:1px solid #999;
			border-left:1px solid #999;
			border-right:1px solid #333;
			border-bottom:1px solid #333;
			color:#333;		
			width:auto;
			}
		a.over:hover{	
			border-top:1px solid #999;
			border-left:1px solid #999;
			border-right:1px solid #333;
			border-bottom:1px solid #333;	
			color:#333;					
			}	
		a.over span{
			background:#d4d0c8 url(img/bg_btnOver.gif) repeat-x;			
			float:left;
			line-height:24px;
			height:24px;	
			padding:0 10px;							
			border-right:1px solid #777;
			border-bottom:1px solid #777;
			color:#ff9900;					
			}			
		
		a.over:hover span{
			border:none;						
			border-right:1px solid #777;
			border-bottom:1px solid #777;		
			background:#d4d0c8 url(img/bg_btnOver.gif) repeat-x;	
			cursor:pointer;	
			}				
			
		
	/* // End link button  */
		
#nav2 {
		list-style: none;
		margin-left: 0px;
		padding-bottom: 0px;
		/*border-left: 2px solid #000000;*/
		/*border-top: 2px solid #000000;*/
		/*background-color:#647683;*/
		}
		
#nav2  li{
		/*border-top: 1px solid #b9d2e3;*/
		/*border-bottom: 1px solid #b9d2e3;*/
		/*padding: 0.4em 0 0.2em 0;*/
		font-size: 90%;
		}
		
#nav2 span{
		width:90px
		}
		
#banner2{
		margin: 0px;
		}
	
#newstext {
			margin: 0px;
			}	
					
/*#newstext h4 {
		color: #ff4e00;
		font-size: 100%;
		font-weight: bold;
		}*/
			
#main {
		width: 100%;
		margin-top: 2px;
		background-image: url(img/sidebarbg.png);
		background-position: top right;
		background-repeat: repeat-y;
	}				
				
#main2 {
		/*background-image: url(img/sidebarbg2.png);
		background-position: bottom left;
		background-repeat: repeat-y;*/
	}	
	

#content  {
			
			margin: 0px 160px 0px 160px;
			/*border-top: 1px solid #b9d2e3;
			border-right: 1px solid #b9d2e3;
			border-left: 1px solid #b9d2e3;*/
			color: black;
			min-height: 450px; /*altezza minima del content*/
			height: auto;
		}
		
		
#content a:link, #content a:visited {
				text-decoration: none;
				color: #3d4a53;/*#546673;*/
				}
				
						
#mainfeature  {
			background-image: url(img/foglio.png);
			background-repeat: no-repeat;
			margin-top: 0px;
			margin-left: 5px;
			margin-right: 5px;
			min-height: 450px;
			height: auto;
		}
		
#mainfeature  p{
			text-align:justify;
			margin-top:10px;
			margin-right:10px;
			margin-left: 10px;
		}
		
#mainfeature img {
			float: left;
			margin-top: 30px;
			margin-left: 15px;
			margin-right: 15px;
			width:200px; 
			height: 150px;
			border: 3px solid  #0022ff;
			}


		/* // Gallary  */
	img{border:none;}
		
	ul#gallery, ul#gallery li{
			margin:0;
			padding:0;
			list-style:none;
			}
	ul#gallery{
			width:400px;
			height:375px;
			position:relative;
			background:#e1e1e1 url(images/bg_preview.gif) no-repeat 50% 40%;
			}			
		ul#gallery li{
			float:left;
			display:inline;
			margin-top:300px;
			}	
			
		ul#gallery li.gallery2{
			float:left;
			display:inline;
			margin-top:1px;
			}	
								
		ul#gallery a span{
			display:none;
			}
		ul#gallery a:hover{
			background:none;
			z-index:100;
			}	
		ul#gallery a:hover span{
			position:absolute;
			width:400px;
			height:300px;
			float:left;
			top:0;
			left:0;
			display:block;
			}				
					
	/* // end gallery  */

#footer {
		width: 100%;
		border-top: 1px solid #b9d2e3;
		border-bottom: 1px solid #b9d2e3;
		margin-top: 10px;
		clear: both;
		}

#footer table td{
		font-size: 90%;
		color: #0022FF;
		margin: 0;
		padding: 0.2em 0 0.2em 0;
		}
		
#clearone {
		clear: both;
		height: 1px;
		}
		
		
		
		
		
		

		