body { background-color:#6e6e6e; text-align: center; }
#main div, td, p { background-color: #e7e3e2; color: #000000; font-family: Arial, Verdana,  Helvetica, san-serif; font-size: 11px; line-height: 15px; text-align: left; vertical-align: top; margin: 0px; padding: 0px;  }
#main #popupcontent p { background-color:#FFFFFF; padding:10px 10px 0px;}
a { color: #D22B1B; font-weight: bold; text-decoration: none; }
a:hover {text-decoration: underline;}
h1 /*titolo*/ { font-weight: bold; font-size: 20px;  margin-top: 0px; padding-top: 0px;  padding-bottom: 12px; padding-left: 0px; line-height:28px}
h2 /*data sopra il titolo*/ {font-weight: bold; font-size: 16px;  height: 20px; margin: 0px;   padding-left: 10px;}
h3/*titolo "ultima news"*/ { font-size: 14px; font-weight: bold; line-height: 16px; padding-bottom: 34px; padding-left: 10px;}
h4 /*data "ultima news"*/ { font-size: 14px; font-weight: normal; line-height: 16px; height: 0px;  padding-left: 10px;}
img {margin: 0px; padding: 0px;}

div#main { margin: 0pt auto; background: transparent none repeat scroll 0%; width: 772px;}

div#separatore { width: 495px; height: 3px; border-top: 3px solid #bebebe; padding: 10px 0px; float:left;}


/*contenitore head + contenuti*/
div#contenitore { width: 772px; background-color: #6e6e6e; border:1px solid #fff; text-align: left; vertical-align: top; margin: auto; margin-top: 20px; position: relative; float:left;}

/*--------------------------------------------------------*/
/*contenitore head*/
div#contenitore #head {width: 770px; height: 211px; position: relative; margin: 1px 1px 0px 1px;}
div#contenitore #head[id] {margin: 1px 1px 0px 1px; float:left;}

div#contenitore #head #link {position: absolute;right: 0px; top: 0px; text-align: right; height: 17px; padding-top: 15px; padding-right: 32px; }
div#contenitore #head #link a { font-weight: normal; padding: 0px 5px;  }



/*--------------------------------------------------------*/
/*contenitore contenuti*/
div#contenitore #content { width: 770px; margin: 0px 1px 1px 1px;  background-color:#e7e3e2; z-index:1; float:left;}

/*contenuti menu*/
div#contenitore #content #menu { left:3px; float: left; margin-top: 0px;  position: absolute; vertical-align: top;  width: 262px; background-image: url(../media/img/bk_menu.jpg); background-position: 1px px; background-repeat: repeat-x;}


/*-------------------------*/
/*contenuti testi*/
div#contenitore #content #testi { margin-left:270px; vertical-align: top; width: 500px;  /*position: relative;*/}

div#contenitore #content #testi #link { padding-top: 30px; margin-left:-10px;}
div#contenitore #content #testi #link a { padding-left: 28px; background-image: url(../media/img/ico_link.gif); background-repeat: no-repeat; background-position: 10px 2px;}
div#contenitore #content #testi #link_torna { margin-left:-10px;}
div#contenitore #content #testi #link_torna a  { padding-left: 28px; background-image: url(../media/img/ico_link_su.gif); background-repeat: no-repeat; background-position: 10px 2px;}

div#contenitore #content #testi .data { font-size: 14px; padding-left:5px; line-height: 16px;}
div#contenitore #content #testi .titolo  { width: 350px; font-size: 14px; line-height: 32px; font-weight: bold; padding-left:10px;  /*height: 32px;*/ }

div#main { background: transparent none repeat scroll 0%;}

/*immagine a sx del testo una sotto l'altra*/
div#contenitore #content #testi .tableimg  {float: left; margin-top: 0px;  position: relative; padding-right:0px;}


div#contenitore #content #testi #blocco { left: 0px; width: 480px;  padding: 20px 10px 40px 0px; position: relative; min-height:170px; !important height:270px; float:left;}
div#contenitore #content #testi #blocco[id] { left: 0px; width: 480px;  padding: 20px 10px 40px 0px; position: relative; min-height:270px; height:auto; float:left;}
div#contenitore #content #testi #blocco div.left { width: 136px; float:left;}
div#contenitore #content #testi #blocco div.right { width: 340px; float:right;}
div#contenitore #content #testi #blocco p { padding-bottom:15px; padding-left: 0px;  margin: 0px;}
div#contenitore #content #testi #blocco .ufficio { font-weight: bold; font-size: 14px;}
div#contenitore #content #testi #blocco .responsabile {font-size: 12px; color: d22b1b;}
div#contenitore #content #testi #blocco .n_utili { font-weight: bold; font-size: 14px; line-height: 24px;}
div#contenitore #content #testi #blocco .n_utili_rosso { font-weight: bold; font-size: 14px; ine-height: 24px; color: d22b1b;}

/*immagine a sx del testo MODIFICA*/
div#contenitore #content #testi #blocco img { position: relative; left: 0px; margin-top:5px; margin-right:0px; border: 5px solid #E3E3E1; float:left;}


/*pagine eventi*/
div#contenitore #content #testi #evento { left: 130px; width: 350px; padding: 20px 10px 40px 0px; position: relative; }
div#contenitore #content #testi #evento .titolo_sez { font-weight: bold; font-size: 20px; padding-left: 10px; margin: 9px 0px;  }
div#contenitore #content #testi #evento .data_sez { font-weight: bold; font-size: 16px; color: #D22B1B;  padding-left: 10px;}
div#contenitore #content #testi #evento .data_ev { font-size: 12px; padding-left: 10px; line-height: 20px;}
div#contenitore #content #testi #evento .titolo_ev  { width: 350px; font-size: 12px; font-weight: bold; padding-left:10px; padding-bottom:9px; margin-bottom: 4px; background-image: url(../media/img/freccia.gif); background-repeat: no-repeat; background-position: 0px 3px; border-bottom: 1px dotted #6e6e6e; }
div#contenitore #content #testi #evento .titolo_ev a { color: #00000; }
div#contenitore #content #testi #evento .titolo_ev a:hover { color:#D22B1B; text-decoration: none; }

div#contenitore #content #testi #evento #box { width: 360px; height: 49px; background-color: #d22b1b; margin: 16px 0px 4px; }
div#contenitore #content #testi #evento #box td { font-size: 12px; font-weight: bold; color: #fff; background-color: #d22b1b; padding-left: 10px; height: 49px; vertical-align: middle;}
div#contenitore #content #testi #evento #box td img {border: 0px; margin: 0px; position: relative; left: 0px;}

/*box doppio contatti ecc.*/
div#contenitore #content #testi #box_doppio { float:left;}
div#contenitore #content #testi #box_doppio table.stradario { width: 496px; margin-bottom: 10px; }
div#contenitore #content #testi #box_doppio table.stradario td.sx { width: 242px; margin-right: 2px; padding-left: 5px;  border-top: 6px solid #BEBEBE; }
div#contenitore #content #testi #box_doppio table.stradario td.sx p.stradario {font-size: 20px; padding: 8px 0px; color: #D22B1B; }
div#contenitore #content #testi #box_doppio table.stradario td.sx p {font-size: 12px; line-height: 16px; padding: 8px 3px 15px 0px; }
div#contenitore #content #testi #box_doppio table.stradario td.sx p a { padding-left: 20px; background-image: url(../media/img/ico_link.gif); background-repeat: no-repeat; background-position: 0px 2px;}

div#contenitore #content #testi #box_doppio table.stradario td.dx { width: 247px; background-color: #D22B1B; border-left: 2px solid #fff; }
div#contenitore #content #testi #box_doppio table.stradario td.dx table.dati { width: 207px; margin: 10px 20px; }
div#contenitore #content #testi #box_doppio table.stradario td.dx table.dati td.colsx { width: 110px; padding-right: 5px; color: #fff; background-color: #D22B1B; font-size: 10px;  padding-bottom: 5px;}
div#contenitore #content #testi #box_doppio table.stradario td.dx table.dati td.coldx { width: 90px; color: #fff; background-color: #D22B1B; font-size: 12px;  padding-bottom: 5px; }
div#contenitore #content #testi #box_doppio table.stradario td.dx table.dati .mesenzana {color: #fff; background-color: #D22B1B; font-size: 20px; padding-bottom: 8px; }
div#contenitore #content #testi #box_doppio table.stradario td.dx table.dati .datitec { color: #fff; background-color: #D22B1B; font-size: 14px;padding-bottom: 16px;}


/*box doppio homepage*/

div#contenitore #content #testi #box_doppioh { float:left; }
div#contenitore #content #testi #box_doppioh table.home { width: 496px;  margin-bottom: 30px; }
div#contenitore #content #testi #box_doppioh table.home td.colonna_s { width: 242px; padding-left: 5px; background-image: url(../media/img/separatore_s.gif); background-repeat: no-repeat;}
div#contenitore #content #testi #box_doppioh table.home td.colonna { width: 242px; padding-left: 5px;  background-image: url(../media/img/separatore_c.gif); background-repeat: no-repeat;}

div#contenitore #content #testi #box_doppioh table.home td.link { width: 242px; padding-left: 5px; padding-top: 10px;  }

div#contenitore #content #testi #box_doppioh .titolo_rosso {font-size: 13px; text-transform: uppercase; color: #d22b1b; font-weight: bold; padding: 15px 0px; margin-top: 6px;}

div#contenitore #content #testi #box_doppioh .data_news {font-size: 12px;  line-height: 20px;}
div#contenitore #content #testi #box_doppioh .titolo_news {font-size: 12px; font-weight: bold;}
div#contenitore #content #testi #box_doppioh  p.news {padding:15px 0px;  margin: 0px;}

div#contenitore #content #testi #box_doppioh .data_ev { font-size: 12px; padding-left: 10px; line-height: 20px;}
div#contenitore #content #testi #box_doppioh .titolo_ev  { width: 228px; font-size: 12px; font-weight: bold; padding-left:10px; padding-bottom:9px; margin-bottom: 4px; background-image: url(../media/img/freccia.gif); background-repeat: no-repeat; background-position: 0px 3px; border-bottom: 1px dotted #6e6e6e; }

div#contenitore #content #testi #box_doppioh p a { padding-left: 10px; background-image: url(../media/img/ico_link.gif); background-repeat: no-repeat; background-position: 0px 2px;}

div#contenitore #content #testi #box_doppioh .contatti { font-size: 12px;  line-height: 20px;}
div#contenitore #content #testi #box_doppioh .contatti a { background-image: none;  }


div#contenitore #content #testi #box_doppioh table.stradario { width: 496px; height: 266px; margin-bottom: 30px; }
div#contenitore #content #testi #box_doppioh table.stradario td.sx { width: 242px; margin-right: 2px; padding-left: 5px;  border-top: 6px solid #BEBEBE; }


div#contenitore #content #testi #box_doppioh table.stradario td.dx { width: 247px; background-color: #D22B1B; border-left: 2px solid #fff; }
div#contenitore #content #testi #box_doppioh table.stradario td.dx table.dati { width: 207px; margin: 10px 20px; }
div#contenitore #content #testi #box_doppioh table.stradario td.dx table.dati td.colsx { width: 110px; padding-right: 5px; color: #fff; background-color: #D22B1B; font-size: 10px;  padding-bottom: 5px;}
div#contenitore #content #testi #box_doppioh table.stradario td.dx table.dati td.coldx { width: 90px; color: #fff; background-color: #D22B1B; font-size: 12px;  padding-bottom: 5px; }
div#contenitore #content #testi #box_doppioh table.stradario td.dx table.dati .mesenzana {color: #fff; background-color: #D22B1B; font-size: 20px; padding-bottom: 8px; }
div#contenitore #content #testi #box_doppioh table.stradario td.dx table.dati .datitec { color: #fff; background-color: #D22B1B; font-size: 14px;padding-bottom: 16px;}


/*--------------------------------------------------------*/
/*riga grigia di chiusura dei contenuti*/
div#contenitore #fine {  width: 768px; height: 7px;  border: 1px solid #fff; background-color: #6e6e6e; float:left;}



/*--------------------------------------------------------*/
/*contenitore piede: firma, ?, ecc*/
div#piede { width: 746px; background-color: #6e6e6e; text-align: left; vertical-align: top; margin: auto; position: relative;}

div#copy { float: left; height: 7px; padding-top: 26px; background-color: #6e6e6e; color: #fff;}
div#info { height: 7px; text-align: right; padding-top: 26px; padding-bottom: 10px; background-color: #6e6e6e; color: #fff; float:right;}
div#info a {font-weight: normal; text-decoration: underline; padding: 0px 5px; color: #fff;}
div#info a:hover {text-decoration: none;}

div#contenitore #content #testi #box_doppioh p a.noarrow {font-size: 12px; font-weight: bold; background:none; color:#6e6e6e; background-image:none; padding-left:0px;}
div#contenitore #content #testi #box_doppioh p a:hover.noarrow {font-size: 12px; font-weight: bold; background:none; color:#D22B1B; background-image:none; padding-left:0px; text-decoration:none;}


