html, body{margin:0; padding:0;}
body{font-family:'TeXGyreBonumRegular', Georgia, "Times New Roman", Times, serif; font-size:12px}

a img{border:0}

/****************SLIDESHOW SFONDI*********************/

#slideshow {
    position:relative;
    top:0; bottom:0; left:0; right:0;
	z-index:-100;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
}

#slideshow IMG.last-active {
    z-index:9;
}

#slideshow img {
	/* Set rules to fill background 
	min-height: 768px;
	min-width:1024px;*/
	/* Set up proportionate scaling 
	width: 100%;
	height: auto;*/
			
	/* Set up positioning */
	position: fixed;
	bottom: 0;
	left: 0;
}
		
@media screen and (max-width: 1024px){
	img.bg {
	left: 50%;
	margin-left: -512px; 
}
}

.gabbia{width:1000px; margin:0 auto;}
.cont{
	margin-left:40px; background-color:#dedede; 
	padding:30px 50px;
	-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	margin-bottom:124px;
}
.cont a{color:#3790d5;}
h1.titolo{margin-top:56px}
#header{text-align:center; padding-top:30px;}
#menu2{text-align:right; margin-bottom:5px}
#menu2 a{text-decoration:none; color:#000;}

a#btn_hp{display:block; width:40px; padding:16px 0; float:left;}

#testo{font-size:14px; line-height:20px}
#testo h1{font-size:24px; font-weight:normal; text-transform:uppercase;}


#footer{position:fixed; bottom:0; background:url(../images/bg_footer.png) repeat-x left bottom; left:0; right:0; padding-bottom:5px}
#footer .cont{padding:10px 50px; margin-bottom:12px; background-color:#a9aca7; color:#fff;}
#footer p{margin:0; text-align:center}
#footer .cont p{text-align:justify;}

