html, body {
   margin : 0;
   padding : 0;
}

body
{
    color: #FFFFFF;
    background: #404040;
    width: 100%;
    font: 85% "Trebuchet MS" , Tahoma, Arial, Helvetica, sans-serif;
}

.nascosto, hr, h1, h2
{
    position: absolute;
    left: 0px;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rosso
{
    color: #CC0000;
    font-weight: bold;
}

.nobordo
{
    border: none;
}

.clear
{
    clear:both
}

.ruler
{
    line-height: 0px;
    height: 1px;
    border-bottom: #0066FF 1px dotted;
    font-size: 0px;
    margin: 10px 0;
    padding: 0;
}

.hotspot
{
    border: 1px double #FF0000;
    padding: .5em .5em .5em 40px;
    margin: 0.5em 0;
    min-height: 40px;
    background: url(/images/info.gif) no-repeat left center;    
}

.link
{
    padding: 0.5em 0.5em 0.5em 25px;
    margin: 0.5em;
    background: url(/images/freccia.gif) no-repeat left center;
}

.numerico
{
    list-style-type: decimal;
    list-style-position: inherit;
    margin-left: 2em;
    display: inherit;
}

.letterale
{
    list-style-type: lower-alpha;
    list-style-position: inherit;
    margin-left: 2em;
    display: inherit;
}

.richiamo
{
    padding: 0 1em;
}

.right, .destra
{
    float: right;
}

.left, .sinistra
{
    float: left;
}

.centro, .centre, .center
{
    text-align:center
}

.indietro
{
    background-image: url(/images/indietro.gif);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 40px; 
    margin-left: 10px; 
    margin-top:10px;
}

#index
{
    border: 1px dotted #999999;
    padding: 1em;
    margin: 1em 0;
}

.boxdestra
{
    float: right;
    width: 175px;
    text-align: center;
    padding: .5em;
    margin: .5em;
    background-color: white;
    border-top: 2px solid #99ccff;
    border-left: 2px solid #99ccff;
    border-right: 1px solid #99ccff;
    border-bottom: 1px solid #99ccff;
    border-color: #999999;
}

.orizzontale
{
    display: inline;
}

/* Atti ----------------------------------------------- */

.boxcalendario
{
    border: 1px ridge #000099;
    text-align: center;
    float: left;
    width: 60px;
    padding: 5px;
    margin-right: 5px;
    margin-left: -90px;
    margin-top: 20px;    
}

.boxcalendario .numero
{
    font-family: 'Times New Roman' , Times, serif;
    font-size: 250%;
    color: #CC0000;
}

.atto
{
    border-width: 1px;
    border-color: #999999;
    padding-left: 90px;
    margin-top: 0.5em;
    border-top-style: dashed;
}
    


/* Tabelle ----------------------------------------------- */

table
{
    width: 95%;
    margin: 1em 0;
    background-color: #FFFFFF;
}

table img
{
    margin: 0;
    padding: 0;
    border: none;
}
th
{
    padding: 10px;
    color: #000000;
    font-family: "Trebuchet MS" , Verdana, sans-serif;
    text-transform: uppercase;
    margin: 0px;
    border-bottom: solid 1px #666666;
    background-color: #D3D3D3;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-color: #666666;
    border-bottom-color: #666666;
}
td
{
    padding: 10px;
    border-bottom: solid 1px #666666;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-color: #666666;
    border-bottom-color: #666666;
}

/* Form ----------------------------------------------- */

fieldset
{
    padding: 1.5em;
    margin: 1em 0;    
}
input, textarea, select
{
    border: 1px solid #003300;
    background: #F4FDFD;
    padding: 5px;
    margin: 0;
    color: #000000;
}
label
{
    margin-bottom: 3px;
    margin-top: 10px;
}
input:hover, textarea:hover, select:hover
{
    background: #FFFFFF;
    border: 1px solid #003300;
    padding: 5px;
    margin: 0;
}
input:focus, textarea:focus, select:focus
{
    background: #FFFFE8;
    border: solid 1px #990033;
}
.pulsante, .clic, .pulsante:visited, .clic:visited
{
    border: 1px solid #8eb2b2;
    background: #003300;
    padding: 5px;
    margin: 0;
    color: #FFFFFF;
}
.pulsante:hover, .clic:hover
{
    border: 1px solid #003300;
    background: #FFFFFF;
    padding: 5px;
    margin: 0;
    color: #003300;
    cursor: pointer;
}

/* Contenitore ------------------------------------------------------------------ */

#contenitore
{
    width: 750px;
    margin: 0 auto;
    padding: 5px;
    color: #333;
    line-height: 1.5em;
    background-color: #FFFFFF;
}

/*contenitorecontenuto è gestito programmaticamente /*

/* Menù orizzontale ------------------------------------------------------------------ */

.menu
{
    float: left;
    list-style: none;
    margin: 5px 0;
    padding: 0;
    width: 100%;
    background: #333333;
    z-index: 50;
    font-size: 14px;
    background: #000000 url(/images/menu/bg-bubplastic.gif) top left repeat-x;
}

.menu ul
{
    padding: 0;
    margin: 0;
    z-index: 50;
}

.menu ul li
{
    position: relative;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 50;
}

.menu ul li a
{
    height: 27px;
    padding: 0 6px;
    margin: 0;
    display: block;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    color: #FFFFFF;
    background: #EDEDED;
    z-index: 50;
    background: #000000 url(/images/menu/bg-bubplastic.gif) top left repeat-x;
}

.menu ul li a:hover
{
    height: 27px;
    padding: 0 6px;
    margin: 0;
    display: block;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    color: #FFFFFF;
    background: #EDEDED;
    z-index: 50;
    background: transparent url(/images/menu/bg-bubplastic-h-orange.gif) no-repeat right top;
    }

.menu ul ul
{
    position: absolute;
    top: 27px;
    visibility: hidden;
    z-index: 50;    
}

.menu ul ul li
{
    width: 240px;
    margin-left: 0px;
    z-index: 50;
}

.menu ul ul li a
{
    border-width: 1px;
    border-color: #C0C0C0;
    width: 240px;
    margin-left: 0px;
    z-index: 50;
    background-image: none;
    background-color: #333333;
    color: #FFFFFF;
    text-align: left;
    border-bottom-style: dashed;
}

.menu ul ul li a:hover
{
    color: #FFFFFF;
    text-align: left;
}

.menu ul li:hover ul
{
    visibility: visible;
    z-index: 50;    
}

.menu ul ul ul li
{
    visibility: hidden;
    left: 150px;
    top: -30px;
    z-index: 50;    
}

.menu ul ul li:hover ul li
{
    visibility: visible;
    width: 100%;
    z-index: 50;    
}

/* Testata ------------------------------------------------------------------------ */

#testata
{
    padding: 0;
    margin-left: -6px;
}

#testata img
{
    border: none;
}

/* Colonna menù sinistra ------------------------------------------------------------------ */

#colsinistra
{
    float: left;
    width: 160px;
    margin: 0;
    padding: 4px;
    border-right: 0px solid #520934;
    color: #000000;
    background: #C0C0C0;
}

#colsinistra
{
    border: 1px solid #666666;
}

/* Briciole ------------------------------------------------------------------------ */

#briciole
{
    border-width: 1px;
    border-color: #336600;
    border-bottom-style: solid;
    color: #000000;
    width: 530px;
    background-color: #FFFFEA;
    border-top-style: solid;
    padding: 2px 0 2px 18px;
    margin: 1em 0;    
    background: url(/images/frecciabriciole.gif) left center no-repeat;
}

#briciole p
{
    text-align: left;
    padding: 0;
    margin: 0;
} 

#briciole a:link, #briciole a:visited
{
    color: #000000;
} 

#briciole a:hover
{
    color: #FF0000;
    text-decoration: underline;
} 

/* Contenuto ------------------------------------------------------------------------ */

#contenuto h3
{
    font-size: 1.3em;
    letter-spacing: 2px;
    border-width: 1px;
    border-color: #336600;
    border-bottom-style: solid;
    color: #003300;
    width: 545px;
    background-color: #F0F0F0;
    border-top-style: solid;
    padding: 2px 0;
}

#contenuto h4
{
    font-size: 1.2em;
    font-weight: bolder ;  
    border-bottom: solid 1px #336600;
      
}

#contenuto img, #contenuto .bordo, #box img
{
    padding: 3px;
    border: 1px solid #0099CC;
    margin: 3px;
}

#contenuto h5
{
    font-size: 1.1em;
    font-weight: bolder;    
}

#contenuto h6
{
    font-size: 1.0em;
    font-weight: bold;
    font-style: oblique;
}

#contenuto a
{
    text-decoration: underline;
    color: #000066;
}

#contenuto a:hover
{
    text-decoration: underline;
    color: #CC0066;
}

#contenuto a:visited
{
    text-decoration: underline;
    color: #CC0066;
}

#contenuto img
{
    padding: 3px;
    border: 1px solid #000000;
    margin: 3px;
}

#contenuto a img:hover
{
    padding: 3px;
    border: 1px solid red;
    margin: 3px;
}


#richiamo
{
    border-top: dotted 1px #336600;  
}

/* Pié di pagina ------------------------------------------------------------------------ */

#piedipagina
{
    clear: both;
    margin: 0;
    padding: .5em;
    color: #EAE8D0;
    background: #404040;
    border-top: 0px solid #520934;
    background: url(/images/pie.jpg) no-repeat left center;
    height: 100px;   
}

#piedipagina a:link, #piedipagina a:visited
{
    font-size: .9em;
    color: #FFFFCC;
    background: inherit;
    text-decoration: none;
}

#piedipagina a:hover
{
    font-size: .9em;
    color: #CC0066;
    background: inherit;
    text-decoration: underline;
}

#piedipagina img
{
    border: none;
    margin: 0;
}
