html { /* Non impostare width (problemi di compatibilità con js gallery) */
margin: 0;
padding: 0;
}

body {  /* Non impostare width (problemi di compatibilità con js gallery) */
margin: 0;
padding: 0;
background-color: #f3f3f3;
font-family: Arial, Verdana, Helvetica;
font-size:12px;
color:#000000;
}

body.mceContentBody {  /* Impostare lo sfondo di questa classe come il colore di sfondo del div#content */
background-color: #ffffff;
}

/* Elementi base di default */

a, a:visited, a:active {
color:#336699;
text-decoration: underline;
}

a:hover {
color:#ffffff;
background-color:#336699;
text-decoration: none;
}

.clear {
clear: both;
}

.separator {
clear: both;
height: 20px;
margin-bottom: 30px;
border-bottom: 8px solid #f3f3f3;
}

h2 {
font-size:20px;
font-weight: bold;
height: 30px;
color:#4c8ccb;
padding: 0;
margin: 0 0 10px 0;
}

h3 {
font-size:14px;
font-weight: bold;
color:#89B6E2;
padding: 0;
margin: 0 0 2px 0;
}

hr {
width: 100%;
clear: left;
float: left;
margin-bottom: 20px;
border:1px solid #eeeeee;
}

p {
margin:0;
padding: 0 0 10px 0;
}

span.important {
color:#4c8ccb;
font-weight: bold;
}

img a {
border:none;
}

input[type=button] {
margin: 0;
padding: 4px 8px 2px;
background-color: #89B6E2;
text-transform: uppercase;
font-size:12px;
font-weight: bold;
line-height: 14px;
font-family: inherit;
border:1px solid #4C8CCB;
}

/* headers */
div.hd01 { background:url(../images/headers/hd01.jpg) top left no-repeat;}
div.hd02 { background:url(../images/headers/hd02.jpg) top left no-repeat;}
div.hd03 { background:url(../images/headers/hd03.jpg) top left no-repeat;}
div.hd04 { background:url(../images/headers/hd04.jpg) top left no-repeat;}

/* tables */

table {
border-collapse:collapse;
margin:10px 0 20px;
}

caption {
color:#555555;
font-style: italic;
text-align: left;
padding-bottom: 5px;
}

th, td {
border:1px solid #dddddd;
padding: 5px;
}

th {
background-color:#e1e1e1;
color:#336699;
}

tr.even td{
background-color:#f1f1f1;
}

/* list */

div#content ul, 
div#content ol 
{
padding: 5px 10px 10px;
margin: 0;
}

div#content ul li {
list-style-type: square;
}

div#content ol li {
list-style-type: decimal;
}

div#content ul li,
div#content ol li {
padding: 0;
margin: 0 0 2px 20px;
}

/* Struttura esterna

Structure010	Content
Structure110	LeftSide + Content
Structure011	Content + RightSide
Structure111	LeftSide + Content + RightSide

*/
div#wrapper {
background-color: #ffffff;
}
div#structure010,
div#structure110,
div#structure011,
div#structure111 {
width: 980px;
margin: 20px auto;
}

div#leftside {
margin: 10px 0 10px 20px;
float: left;
width: 200px;
background-color: #ffffff;
}

div#rightside {
margin: 10px 0 10px 20px;
float: left;
width: 180px;
background-color: #ffffff;
}

div#footer 
{
padding:20px;
background-color:#4C8CCB;
color:#ffffff;  
font-size:11px;  
}

div#footer p
{
    padding:0;
    margin:0;   
}

/* Box comuni */

div.oneRowBox p, 
div.twoRowBox p, 
div.threeRowBox p, 
div.twoRowBoxOdd p{
margin: 0; padding: 0;
}

div.oneRowBox, 
div.twoRowBox, 
div.threeRowBox, 
div.twoRowBoxOdd {
clear: left;
float: left;
margin-bottom: 20px;
}

div.boxes {
color:#333333;
}

div.boxdata {
color:#aaaaaa;
font-size: 11px;
padding-bottom: 3px;
}

img.imgboxright {
float: right;
margin: 0 0 5px 5px;
padding:2px;
border:1px solid #dddddd;
}

img.imgboxleft {
float: left;
margin: 0 5px 5px 0;
padding:2px;
border:1px solid #dddddd;
}


/* structure010 */

div#structure010 div#leftside,
div#structure010 div#rightside {
display:none;
}

div#structure010 div#content {
margin: 10px 0 10px 20px;
float: left;
background-color: #ffffff;
}

div#structure010 div#content,
div#structure010 div.oneRowBox,
div#structure010 div.twoRowBox,
div#structure010 div.threeRowBox,
div#structure010 div.twoRowBoxOdd {
width: 940px;
}


div#structure010 div.twoRowBox div {
float:left;
width: 460px;
}

div#structure010 div.twoRowBox div.secondBox {
margin-left:20px;
}

div#structure010 div.threeRowBox div {
float:left;
width: 300px;
}

div#structure010 div.threeRowBox div.secondBox,
div#structure010 div.threeRowBox div.thirdBox {
margin-left:20px;
}

div#structure010 div.twoRowBoxOdd div.firstBox34,
div#structure010 div.twoRowBoxOdd div.firstBox66,
div#structure010 div.twoRowBoxOdd div.secondBox34,
div#structure010 div.twoRowBoxOdd div.secondBox66 {
float:left;
}

div#structure010 div.twoRowBoxOdd div.secondBox34,
div#structure010 div.twoRowBoxOdd div.secondBox66 {
margin-left:20px;
}

div#structure010 div.twoRowBoxOdd div.firstBox66,
div#structure010 div.twoRowBoxOdd div.secondBox66 {
width:620px;
}

div#structure010 div.twoRowBoxOdd div.firstBox34,
div#structure010 div.twoRowBoxOdd div.secondBox34 {
width:300px;
}

/* structure111 */

div#structure111 div#content {
margin: 10px 0 10px 20px;
float: left;
background-color: #ffffff;
}

div#structure111 div#content,
div#structure111 div.oneRowBox,
div#structure111 div.twoRowBox,
div#structure111 div.threeRowBox,
div#structure111 div.twoRowBoxOdd {
width: 520px;
}


div#structure111 div.twoRowBox div {
float:left;
width: 250px;
}

div#structure111 div.twoRowBox div.secondBox {
margin-left:20px;
}

div#structure111 div.threeRowBox div {
float:left;
width: 160px;
}

div#structure111 div.threeRowBox div.secondBox,
div#structure111 div.threeRowBox div.thirdBox {
margin-left:20px;
}

div#structure111 div.twoRowBoxOdd div.firstBox34,
div#structure111 div.twoRowBoxOdd div.firstBox66,
div#structure111 div.twoRowBoxOdd div.secondBox34,
div#structure111 div.twoRowBoxOdd div.secondBox66 {
float:left;
}

div#structure111 div.twoRowBoxOdd div.secondBox34,
div#structure111 div.twoRowBoxOdd div.secondBox66 {
margin-left:20px;
}

div#structure111 div.twoRowBoxOdd div.firstBox66,
div#structure111 div.twoRowBoxOdd div.secondBox66 {
width:340px;
}

div#structure111 div.twoRowBoxOdd div.firstBox34,
div#structure111 div.twoRowBoxOdd div.secondBox34 {
width:160px;
}


/* structure110 */

div#structure110 div#rightside {
display:none;
}

div#structure110 div#content {
margin: 10px 0 10px 20px;
float: left;
background-color: #ffffff;
}

div#structure110 div#content,
div#structure110 div.oneRowBox,
div#structure110 div.twoRowBox,
div#structure110 div.threeRowBox,
div#structure110 div.twoRowBoxOdd {
width: 720px;
}


div#structure110 div.twoRowBox div {
float:left;
width: 350px;
}

div#structure110 div.twoRowBox div.secondBox {
margin-left:20px;
}

div#structure110 div.threeRowBox div {
float:left;
width: 226px;
}

div#structure110 div.threeRowBox div.secondBox,
div#structure110 div.threeRowBox div.thirdBox {
margin-left:20px;
}

div#structure110 div.twoRowBoxOdd div.firstBox34,
div#structure110 div.twoRowBoxOdd div.firstBox66,
div#structure110 div.twoRowBoxOdd div.secondBox34,
div#structure110 div.twoRowBoxOdd div.secondBox66 {
float:left;
}

div#structure110 div.twoRowBoxOdd div.secondBox34,
div#structure110 div.twoRowBoxOdd div.secondBox66 {
margin-left:20px;
}

div#structure110 div.twoRowBoxOdd div.firstBox66,
div#structure110 div.twoRowBoxOdd div.secondBox66 {
width:474px;
}

div#structure110 div.twoRowBoxOdd div.firstBox34,
div#structure110 div.twoRowBoxOdd div.secondBox34 {
width:226px;
}

/* structure011 */

div#structure011 div#leftside {
display:none;
}

div#structure011 div#content {
margin: 10px 0 10px 20px;
float: left;
background-color: #ffffff;
}

div#structure011 div#content,
div#structure011 div.oneRowBox,
div#structure011 div.twoRowBox,
div#structure011 div.threeRowBox,
div#structure011 div.twoRowBoxOdd {
width: 740px;
}


div#structure011 div.twoRowBox div {
float:left;
width: 360px;
}

div#structure011 div.twoRowBox div.secondBox {
margin-left:20px;
}

div#structure011 div.threeRowBox div {
float:left;
width: 233px;
}

div#structure011 div.threeRowBox div.secondBox,
div#structure011 div.threeRowBox div.thirdBox {
margin-left:20px;
}

div#structure011 div.twoRowBoxOdd div.firstBox34,
div#structure011 div.twoRowBoxOdd div.firstBox66,
div#structure011 div.twoRowBoxOdd div.secondBox34,
div#structure011 div.twoRowBoxOdd div.secondBox66 {
float:left;
}

div#structure011 div.twoRowBoxOdd div.secondBox34,
div#structure011 div.twoRowBoxOdd div.secondBox66 {
margin-left:20px;
}

div#structure011 div.twoRowBoxOdd div.firstBox66,
div#structure011 div.twoRowBoxOdd div.secondBox66 {
width:487px;
}

div#structure011 div.twoRowBoxOdd div.firstBox34,
div#structure011 div.twoRowBoxOdd div.secondBox34 {
width:233px;
}

/* Header: testata del sito */

div#header{
background-color: #ffffff;
height: 100px;
}

/* Quicklinks: links rapidi, solitamente in alto */

div#quicklinks {
text-align:right;
color:#777777;
margin-bottom: 10px;
padding-right: 15px;
}

div#quicklinks a,div#quicklinks a:visited,div#quicklinks a:active {
margin:0 5px;
color:#333333;
background: none;
text-decoration: underline;
}

div#quicklinks a:hover {
color:#336699;
background: none;
text-decoration: underline;
}

/* MenuSez: menu delle sezioni (orizzontale) */

div#menusez {
margin: 0;
padding: 0;
background: #bbd7f3;
}

div#menusez ul{
margin: 0;
padding: 0;
height: 33px;
}

div#menusez ul li{
margin: 0;
padding: 0;
width: 130px;
float: left;
list-style: none;
}

div#menusez ul li a {
margin: 0; 
padding: 8px 0;
display:block;
text-align:center;
text-decoration: none;
text-transform: uppercase;
font-family: inherit;
font-size: 14px;
color:#333333;
}

div#menusez ul li a:hover {
color:#ffffff;
background-color: #a7cbf0;
}

div#menusez ul li a.current {
color:#333333;
background-color: #89b6e2;
}

/* BreadCrumbs: percorso a briciole di pane */

div#breadcrumbs {
background-color: #ffffff;
margin:0;
}

div#breadcrumbs p {
font-family: inherit;
font-size:11px;
color: #555555;
padding:10px 20px;
margin:0;
}

/* Archivio notizie */
p.archive {
background: url(../images/folder.gif) top left no-repeat;
padding:0 0 10px 20px;
display: block;
clear: left;
}

/* leftside Menu*/

div#leftside ul { /* livello 1*/
margin: 0;
padding: 0;
}

div#leftside ul a{ 
background: none;
text-decoration: none;
}

div#leftside ul a:hover{ 
background-color:#89B6E2;
color:#000000;
text-decoration: none;
}

div#leftside ul li{ /* livello 1*/
margin: 0;
padding: 7px;
list-style: none;
background-color: #dddddd;
border-bottom:3px solid #eeeeee;
font-size:13px;
color:#000000;
}

div#leftside ul li a {
color:#000000;
text-decoration: none;
}

div#leftside ul li ul{ /* livello 2*/
margin: 0 0 0 10px;
padding: 3px 0;
}

div#leftside ul li ul li{ /* livello 2*/
margin: 0;
padding: 3px 0;
list-style: none;
border-bottom:1px solid #eeeeee;
font-size:12px;
color:#444444;
}

div#leftside ul li ul li a {
color:#444444;
text-decoration: none;
}

div#leftside ul li ul li ul { /* livello 3*/
margin: 0 0 0 20px;
padding: 0;
}

div#leftside ul li ul li ul li { /* livello 3*/
margin: 0;
padding: 2px 0;
list-style: none;
border-bottom:0px solid #eeeeee;
list-style: none;
font-size:11px;
color:#666666;
}

div#leftside ul li ul li ul li a {
font-size:11px;
color:#666666;
text-decoration: none;
}




/* rightside Menu*/

div#rightside ul { /* livello 1*/
margin: 0;
padding: 0;
}

div#rightside ul a{ 
background: none;
text-decoration: none;
}

div#rightside ul a:hover{ 
background-color:#89B6E2;
color:#000000;
text-decoration: none;
}

div#rightside ul li{ /* livello 1*/
margin: 0;
padding: 7px;
list-style: none;
background-color: #dddddd;
border-bottom:3px solid #eeeeee;
font-size:13px;
color:#000000;
}

div#rightside ul li a {
color:#000000;
text-decoration: none;
}

div#rightside ul li ul{ /* livello 2*/
margin: 0 0 0 10px;
padding: 3px 0;
}

div#rightside ul li ul li{ /* livello 2*/
margin: 0;
padding: 3px 0;
list-style: none;
border-bottom:1px solid #eeeeee;
font-size:12px;
color:#444444;
}

div#rightside ul li ul li a {
color:#444444;
text-decoration: none;
}

div#rightside ul li ul li ul { /* livello 3*/
margin: 0 0 0 20px;
padding: 0;
}

div#rightside ul li ul li ul li { /* livello 3*/
margin: 0;
padding: 2px 0;
list-style: none;
border-bottom:0px solid #eeeeee;
list-style: none;
font-size:11px;
color:#666666;
}

div#rightside ul li ul li ul li a {
font-size:11px;
color:#666666;
text-decoration: none;
}

/* sitemap */

div#content ul#sitemap {
padding: 5px 10px 10px;
margin: 0;
font-size:18px;
}

div#content ul#sitemap li {
list-style-type: square;
}

div#content ul#sitemap li {
padding: 0;
margin: 0 0 2px 20px;
font-size:0.9em;
}

/* Forms */

table.forms th
{
background-color:#ffffff;
border-right:1px solid #ffffff;
padding-right:20px;
color:#4C8CCB;
font-weight: bold;
}

table.forms td
{
background-color:#ffffff;
border-right:1px solid #ffffff;
border-left:1px solid #ffffff;
}

table.forms td.formerror
{
color:Red;
border-left:1px solid #ffffff;
border-right:1px solid #dddddd;
}


/* Commenti */

p.author {
text-align:right; font-size:12px;
color:#111111;
}

p.comments {
text-align:right; font-size:11px;
color:#555555;
}

div.comment_date { font-size:10px; color:#888888;}
div.comment_body { padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #eeeeee;}
div#comments_write { clear:both;}
div#comments_write span {display:block;}

/* User bar */
div#userbarcontainer {
height:20px; 
background-color:#555555;
color:#cccccc;
padding:5px 0;
}

div#userbar { 
width: 980px;
margin: 0 auto;
height:20px;
text-align:right;
}
div#userbar p { 
height:20px; line-height:20px; margin:0; padding:0;
}
div#userbar a,
div#userbar a:visited,
div#userbar a:active { 
color:#ffffff;
text-decoration:none;
}
div#userbar a:hover { 
color:#ffffff;
text-decoration:underline;
background-color:Transparent;
}
div#userbar a, div#userbar span{ 
margin-left:10px;
}
