div#fot { float: left; width: 100%; font-size: 12px; background-color: #fff; }
div#fot h1 { background-image: url(../img/title_fot.gif); background-repeat: no-repeat; margin: 10px 0px 10px 0px; }
div#fot h1 span { visibility: hidden; }
div#fot p { margin: 10px; font-size: 12px; }

div#fot div#fotLeft { width: 470px; float: left; margin: 0px; padding-bottom: 20px; }
div#fot div#fotLeft h3 { margin: 0px 5px 10px 10px; font-size: 14px; color: #000; text-align: center; }
div#fot div#fotLeft p { margin: 0px 0px 3px 10px; line-height: 130%; }
div#fot div#fotLeft p.show { margin: 10px 0px 0px 10px; padding: 5px; background-color: #ffffe0; line-height: 120%; font-variant: small-caps; font-size: 12px; border: 1px solid #ddd; }
div#fot div#fotLeft p img { float: right; margin: 5px 0px 5px 5px; }
div#fot div#fotLeft ul { list-style-type: none; list-style-image: url(../img/aec/spot.gif); margin-left: 25px; font-size: 12px; padding: 0px; }
div#fot div#fotLeft ul li { margin: 0px 0px 0px 15px; }

div#fot div#fotLeft p#fotWarning { margin: 5px 5px 5px 5px; font-size: 11px; font-weight: bold; text-align: center; }

div#fot div#fotRight { width: 249px; background-color: #f5f5f5; float: right; margin: 0px 5px 10px 0px; border: 2px solid #e6e6e6; }
div#fot div#fotRight h3 { background-color: #412876; color: #fff; margin: 0px 0px 10px 0px; padding: 5px;text-align: center; font-size: 12px; font-weight: bold; }
div#fot div#fotRight p { margin: 0px 5px 5px 5px; font-size: 11px; }

div#fot div.fotImage { margin: 0px 5px 10px 0px; text-align: center; }

div#fot p#fotPhotogallery { font-variant: small-caps; font-size: 12px; margin: 0px; text-align: center; }

/* conto energia */
div#fot_ce { float: left; width: 100%; font-size: 12px; background-color: #fff; text-align: center; }
div#fot_ce h1 { background-image: url(../img/title_fot_ce.gif); background-repeat: no-repeat; margin: 10px 0px 10px 0px; }
div#fot_ce h1 span { visibility: hidden; }
div#fot_ce p { text-align: left; margin: 10px; font-size: 12px; }
div#fot_ce p img { float: left; margin: 0px 10px 0px 10px; }


div#fotContoEnergia { margin: 15px 0px 20px 0px; }
div#fotContoEnergia ul { float: right; margin-top: -45px; }
div#fotContoEnergia h3 { background-image: url(../img/fot/contoenergia.gif); background-repeat: no-repeat; background-position: center; margin: 0px; padding-left: 10px; width: 110px; height: 40px; }
div#fotContoEnergia h3 span { visibility: hidden; }

/* bando piccole medie imprese */
div#fotPmi { margin: 15px 0px 15px 0px;}
div#fotPmi p { margin: 10px 0px 0px 10px; padding-bottom: 10px;}
div#fotPmi h2 { margin: 5px 0px 5px 10px; padding-top: 5px; border-top: 1px solid #ddd; color: #595959; font-size: 12px; font-variant: small-caps; font-weight: bold; }
div#fotPmi ul { float: right; margin-top: -50px; margin-right: 20px; }
div#fotPmi h3 { background-image: url(../img/fot/pmi.gif); background-repeat: no-repeat; background-position: center; margin: 0px; padding-left: 10px; width: 110px; height: 40px; }
div#fotPmi h3 span { visibility: hidden; }

/* Riassunto conto energia */
div#fotCarCE { width: 672px; border: 1px solid #ddd; padding: 10px; margin: 0px auto; background-color: #f5f5f5; voice-family: "\"}\""; voice-family: inherit; width: 650px; }
div#fotCarCE p { margin: 5px 0px 5px 0px; line-height: 120%; }
div#fotCarCE h3 { margin: 0px; font-size: 18px; font-weight: bold; color: #626262; }
div#fotCarCE h4 { margin: 15px 0px 0px 0px; font-size: 14px; font-weight: bold; color: #A52A2A; text-align: left; }
div#fotCarCE ul { margin-top: 10px; margin-bottom: 10px; text-align: left; }
div#fotCarCE ul li { margin: 5px 0px 5px 0px; }

div#fotCarCE table { background-color: #FFFFE3; border-collapse: collapse; border: 2px solid #412876; margin: 15px auto; width: 550px; voice-family: "\"}\""; voice-family: inherit; width: 574px; }
div#fotCarCE table thead th { font-variant: small-caps; font-size: 11px; height: 35px; background-color: #FFFFB5; border-bottom: 1px solid #ACACAC; }
div#fotCarCE table tbody td { height: 35px; border-bottom: 1px solid #ACACAC; }

div#fotCarCE table#ce-a td { font-size: 11px; border: 1px solid #ACACAC; }

div#fotRifLeg { margin: 10px auto; width: 670px; }
div#fotRifLeg p strong { font-size: 15px; font-weight: bold; font-variant: small-caps; margin: 0px 0px 5px 0px; color: #585858; }
div#fotRifLeg p { margin: 0px; }
div#fotRifLeg p#avv { margin-top: 10px; font-size: 11px; font-weight: bold; }

/* Photogallery */
div#fot_g { float: left; width: 100%; font-size: 12px; background-color: #fff; text-align: center; }
div#fot_g h1 { background-image: url(../img/title_fot_gal.gif); background-repeat: no-repeat; margin: 10px 0px 10px 0px; }
div#fot_g h1 span { visibility: hidden; }
div#fot_g p { text-align: left; margin: 10px; font-size: 12px; line-height: 130%; }
div#fot_g p#disclamer { text-align: right; margin: -7px 15px 10px 0px; font-size: 11px; color: #808080; font-style: italic; }

div#fot_gallery { position: relative; width: 720px; height: 412px; background-color: #F5F5DC; border: 2px solid #A8A82F; margin: 10px auto; }
div#fot_gallery p { margin: 0px; font-weight: normal; width: 420px; height: 290px; text-align: center; position: absolute; left: 276px; top: 90px; color:#000; background-color: #ddd; font-size: 16px; font-style: italic; color: #808080; border: 1px solid #000; }
div#fot_gallery p span { display: block; margin-top: 120px; }
a.gallery, a.gallery:visited {display: inline; color: #000; text-decoration: none; border: 1px solid #000; width: 75px; height: 60px; float: left; margin: 3px 5px; position: relative; }

a.slide1 {background: url(../img/fot/photogallery/small/1s.jpg); }
a.slide2 {background: url(../img/fot/photogallery/small/2s.jpg); }
a.slide3 {background: url(../img/fot/photogallery/small/3s.jpg); }
a.slide4 {background: url(../img/fot/photogallery/small/4s.jpg); }
a.slide5 {background: url(../img/fot/photogallery/small/5s.jpg); }
a.slide6 {background: url(../img/fot/photogallery/small/6s.jpg); }
a.slide7 {background: url(../img/fot/photogallery/small/7s.jpg); }
a.slide8 {background: url(../img/fot/photogallery/small/8s.jpg); }
a.slide9 {background: url(../img/fot/photogallery/small/9s.jpg); }
a.slide10 {background: url(../img/fot/photogallery/small/10s.jpg); }
a.slide11 {background: url(../img/fot/photogallery/small/11s.jpg); }
a.slide12 {background: url(../img/fot/photogallery/small/12s.jpg); top: 68px; left: -261px; }
a.slide13 {background: url(../img/fot/photogallery/small/13s.jpg); top: 68px; left: -261px; }
a.slide14 {background: url(../img/fot/photogallery/small/14s.jpg); top: 68px; left: -261px; }
a.slide15 {background: url(../img/fot/photogallery/small/15s.jpg); top: 136px; left: -522px; }
a.slide16 {background: url(../img/fot/photogallery/small/16s.jpg); top: 136px; left: -522px; }
a.slide17 {background: url(../img/fot/photogallery/small/17s.jpg); top: 68px; left: 173px; }
a.slide18 {background: url(../img/fot/photogallery/small/18s.jpg); top: 137px; left: -87px; }
a.slide19 {background: url(../img/fot/photogallery/small/19s.jpg); top: 137px; left: -87px; }
a.slide20 {background: url(../img/fot/photogallery/small/20s.jpg); top: 137px; left: -87px; }
a.slide21 {background: url(../img/fot/photogallery/small/21s.jpg); top: 206px; left: -347px; }
a.slide22 {background: url(../img/fot/photogallery/small/22s.jpg); top: 206px; left: -347px; }
a.slide23 {background: url(../img/fot/photogallery/small/23s.jpg); top: 206px; left: -347px; }

a.gallery span {visibility: hidden; display: block; position: absolute; width: 400px; top:185px; left:25px; background-color: inherit; text-align:center; font-family: Georgia, "Times New Roman", Times, serif; cursor: default; border: 1px solid #000; }

a.slide1 span {left: 270px; top: 86px; }
a.slide2 span {left: 183px; top: 86px;}
a.slide3 span {left: 96px; top: 86px;}
a.slide4 span {left: 9px; top: 86px;}
a.slide5 span {left: -78px; top: 86px;}
a.slide6 span {left: -165px; top: 86px;}
a.slide7 span {left: -252px; top: 86px;}
a.slide8 span {left: -339px; top: 86px;}
a.slide9 span {left: 270px; top: 18px;}
a.slide10 span {left: 183px; top: 18px;}
a.slide11 span {left: 96px; top: 18px;}
a.slide12 span {left: 270px; top: -50px;}
a.slide13 span {left: 183px; top: -50px;}
a.slide14 span {left: 96px; top: -50px;}
a.slide15 span {left: 270px; top: -118px;}
a.slide16 span {left: 183px; top: -118px;}
a.slide17 span {left: 97px; top: -118px;}
a.slide18 span {left: 270px; top: -187px;}
a.slide19 span {left: 183px; top: -187px;}
a.slide20 span {left: 96px; top: -187px;}
a.slide21 span {left: 269px; top: -256px;}
a.slide22 span {left: 182px; top: -256px;}
a.slide23 span {left: 95px; top: -256px;}

a.gallery:hover {white-space:normal; border:1px solid #f00; z-index:100; cursor: default;}
a.gallery:hover span {visibility:visible; z-index:100; width: 420px; height: 290px; color: #000; background-color: #ddd; font-size: 13px; font-weight: normal; }
a.gallery:hover span img {margin: 10px 0px 5px 0px; border: 1px solid #000; position:relative; z-index:50;}