body {
 	background: #074f7f url(../images/style2/bkg_body.gif) repeat-x 50px 194px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #C6D3DC;
	line-height: 129%;
}

/* @group Typography */

/* Link Colors */

a {
	color: #61B4EC; /* era 4982a7 */
	text-decoration: underline;
}

a:hover {
	color: #B5E1FF; /* era 335a74 */
	text-decoration: none;
}
li {
	background: url(../images/style2/bullet_.gif) no-repeat 0 5px;
}

/* $headerstyle(graphic) */

#header_graphic a img {
	padding-top: 0px; /* Header Text distance from top - DISTANZA LOGO DAL BORDO del blocco SUPERIORE: default=15px */
}

/* Total header height */

#header-wrap,#header_text,#header_graphic {
	height: 158px; /* default era 110 (con presente il div "topmenu", poi tolto) */
}


/* Header background color/image */

#header-wrap {
	background: #0F649B url(../images/style2/header_bg.jpg); 
}

/* $headerstyle(text) */

#header_text h1, #header_text h1 a {
	color: #fff; /* Header Text Color */
	padding-top: 15px ; /* Header Text distance from top */
	font: bold 40px/50px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; /* Header Text Typograhy */
	letter-spacing: -1px;
}
#header_text h2 {
	color: #abccd6; /* Slogan Text Color */
	font: italic bold 18px/18px Geneva, Verdana, sans-serif;/* Slogan Text Typograhy */
}

/* Heading Styles */

h1 {
	color: #C6D3DC; /* era 427392 */
}

h2 {
	color: #C6D3DC; /* era 333 */
}

h3 {
	color: #65A3CF; /* era 666 */
}

h4 {
	color: #8BB4D1; /* era 727272 */
}

blockquote {
	border: 1px solid #cfdbe2;
	background-color: #e9f7fe;
}

.footer {
	color: #3080b3;
}

/* @end */

/* @group Newsflash Module */

#headermod {
	height: 135px; /* Module Height originale era 98 = MODULO notizie flash in alto a dx*/
	width: 280px; /* Module Width originale era 500 */
	top: 10px; /* Distance from top */
	color: #dbded3; /* Text Color */
}
#headermod .contentheading,#headermod a.contentpagetitle,#headermod a {
	color: #f9f9f2;/* Heading/Link Color */
}

#headermod td.contentheading,#headermod .moduletable h3 {
	border-bottom: 1px solid #3e6d8d;/* Content/Module Heading Border */
}

/* @end */

/* @group Joomla! Styles */

/* Category Tables */
td.sectiontableheader {
color: #3080b3;
background-color: #0A4165; /* era 335a74 */
font: 14px/20px Arial, Helvetica, Geneva, sans-serif;
border-bottom: 2px solid #074f7f;
line-height: 250%;
}
table tr.sectiontableentry1 td,
table td.sectiontableentry1 {
background: #0e5c90;
padding: 14px 5px 12px 15px;
border-bottom: 1px solid #074f7f;
line-height: 130%;
}
table tr.sectiontableentry2 td,
table td.sectiontableentry2 {
background: #0f649b;
padding: 14px 5px 12px 15px;
border-bottom: 1px solid #074f7f;
line-height: 130%;
}
/* Aggiunto di brutto copiando il pezzo di codice qui sopra "entry2" per risolvere la tabella risultati sondaggio */
table tr.sectiontableentry0 td,
table td.sectiontableentry0 {
background: #0f649b;
padding: 14px 5px 12px 15px;
border-bottom: 1px solid #074f7f;
line-height: 130%;
}

/* Polls */
table.pollstableborder td.sectiontableentry1 {
color: #C6D3DC;
background: #0e5c90;
padding: 4px;
border-bottom: 1px solid #074f7f;
}
table.pollstableborder td.sectiontableentry2 {
color: #C6D3DC;
background: #0f649b;
padding: 4px;
border-bottom: 1px solid #074f7f;
}
/* Aggiunto di brutto copiando il pezzo di codice qui sopra "2" per risolvere la tabella risultati sondaggio
table.pollstableborder td.sectiontableentry0 {
color: #C6D3DC;
background: #0f649b;
padding: 4px;
border-bottom: 1px solid #074f7f;
}
*/

table.pollstableborder td.sectiontableheader {
padding: 8px;
color: #fff;
border: none;
}
table.pollstableborder tr.sectiontableentry1 td {
border: none;
padding: 3px 20px 2px 20px; /* Aggiunto di brutto copiando il pezzo di codice qui sopra "2" per risolvere la tabella risultati sondaggio */
}
table.pollstableborder tr.sectiontableentry2 td {
border: none;
}
/* Aggiunto di brutto copiando il pezzo di codice qui sopra "2" per risolvere la tabella risultati sondaggio */
table.pollstableborder tr.sectiontableentry0 td {
border: none;
padding: 3px 20px 2px 20px;
}


/* Article Overflow */

/* LINEA SEPARATRICE ELENCO ARTICOLI IN ESUBERO RISPETTO A QUELLI VISUALIZZATI */
div.blog_more {
	border-top: 1px dotted #A1C3DC;
}
/* LINEA inf separatrice voci ARTICOLi in ESUBERO */
div.blog_more ul li a {
	border-bottom: 1px solid #3080B3;
}
/* COLORE BACKGROUND + LINEA inferiore TABELLA ARTICOLI in ESUBERO */
div.blog_more ul li a:hover {
	border-bottom: 1px solid #A1C3DC;
	background-color: #0f649b;
}

/* Mosimages */
div.mosimage {
	border: 1px solid #ccc;
	background: #f7f7f7;
}
div.mosimage_caption {
	color: #666;
	background: #fff;
	border-top: 1px solid #ccc;
}
/* Content Headings */
a.contentpagetitle {
	color: #470705;
}
a.contentpagetitle:hover {
	color: #000;	
}
td.contentheading {
	border-bottom: 1px solid #38a;
	color: #81B4D8; /* era 335a74 -> indica il colore del titolo degli articoli*/
}
.contentheading {
	color: #487fa3; /* era 487fa3 */
}
.componentheading {
	color: #8FC7EE; /* era 182b37 -> indica il colore dei titoli di sezioni e categorie (una delle due senz'altro) */
}
a.readon {
	background: url(../images/style2/readon.png) no-repeat left center;
}
span.small,.createdate,.modifydate {
	font: 10px/10px Tahoma, Lucida, Verdana, sans-serif;
	color: #bbc6cc;
}
/* NON SO COSA CONTROLLI! */
.pagenav_next a,.pagenav_prev a {
	border: 1px solid #f00; /* era #cfdbe2 */
	background-color: #f00; /* era #e9f7fe */
	color: #f00; /* era #44789b*/
}
/* NON SO COSA CONTROLLI! intanto è il bottone INDIETRO che appare nella gallerie immagini caricata come extension */
div.back_button a {
	border: 1px solid #035; /* #cfdbe2 */
	background-color: #0f649b; /* #e9f7fe */
	color: #C6D3DC; /* #44789b */
}
.pagenav_next a:hover,.pagenav_prev a:hover,div.back_button a:hover {
	background-color: #fff;
	color: #335a74;
}
table.contenttoc {
	background-color: #f5f2e1;
	border: 1px solid #e8e6d8;
}
table.contenttoc th {
	background-color: #335973;
	color: #fff;
}
/* @end */

/* Conditional Styles - Advanced Edits Only Below This Line */

/* @group Style 1 Modules */

/* Default Style */

div.module h3,div.moduletable h3 {
	font-size: 14px;
	border-bottom: 1px dotted #A1C3DC; /* 38a */
	color: #A1C3DC; /* 87acc8 */
	padding: 5px 0 3px 0;
    /* background: url(../images/style2/mod_heading.png) no-repeat left center;    serve per l'iconcina a fianco del menu principale (e degli altri menu?) */
}

/* Module "S1" Text Style RETTANGOLO ARROTONDATO BLU*/
.moduleS1 {position:relative;margin:0 0 1em;padding:0;background: #0F649B url(../images/style2/topleft_S1.gif) top left no-repeat;color: #87ACC8;font-size: 12px;}
div.moduleS1 div {background: url(../images/style2/topright_S1.gif) top right no-repeat;}
div.moduleS1 div div {background: url(../images/style2/botleft_S1.gif) bottom left no-repeat; height:1%;}
div.moduleS1 div div div {background: url(../images/style2/botright_S1.gif) bottom right no-repeat;padding: 12px 10px 20px 10px;}
div.moduleS1 div div div div {background:none;}

/* Module Heading "S1" Style */
div.moduleS1 h3 {padding: 0;line-height: 100%;height: auto;margin: 0 0 15px 0;font-weight: normal;text-indent:8px;font-size: 14px;letter-spacing: normal;/* border-bottom: 1px solid #abf; */ color: #B0D9F5;}

/* Module "S1" Link Color */
div.moduleS1 a {color: #87ACC8;text-decoration:none;}
div.moduleS1 a:hover {color: #eef;text-decoration:underline;}

/* Module "S1" List Styles */
div.moduleS1 ul,div.moduleS1 ul.latestnewsS1,div.moduleS1 ul.mostreadS1 {list-style: none;margin: 0px;padding:0px; font-size: 12px;}div.moduleS1 ul li,div.moduleS1 ul.latestnewsS1 li,div.moduleS1 ul.mostreadS1 li {padding: 0px 0px 0px 22px;margin: 0px;background: url(../images/style2/bullet_S1.gif) no-repeat 5px 4px;white-space: normal;}


/* Module "S2" Text Style RETTANGOLO ARROTONDATO ARANCIO*/
.moduleS2 {position:relative;margin:0 0 1em;padding:0; background: #B58148 url(../images/style2/topleft_S2.gif) top left no-repeat;color: #F5E4B0;font-size: 12px;}
div.moduleS2 div {background: url(../images/style2/topright_S2.gif) top right no-repeat;}
div.moduleS2 div div {background: url(../images/style2/botleft_S2.gif) bottom left no-repeat; height:1%;}
div.moduleS2 div div div {background: url(../images/style2/botright_S2.gif) bottom right no-repeat;padding: 12px 10px 8px 10px;}
div.moduleS2 div div div div {background:none;}

/* Module Heading "S2" Style */
div.moduleS2 h3 {padding: 0;line-height: 100%;height: auto;margin: 0 0 15px 0;font-weight: normal;text-indent: 8px;font-size: 14px;letter-spacing: normal;/*border-bottom: 1px solid #467ea5; */ color: #F5E4B0;}

/* Module "S2" Link Color */
div.moduleS2 a {color: #F5DEB2;text-decoration:none;}
div.moduleS2 a:hover {color: #eef;text-decoration:underline;}

/* Module "S2" List Styles */
div.moduleS2 ul,div.moduleS2 ul.latestnewsS2,div.moduleS2 ul.mostreadS2 {list-style: none;margin: 0px;padding:0px; font-size: 12px;}div.moduleS2 ul li,div.moduleS2 ul.latestnewsS2 li,div.moduleS2 ul.mostreadS2 li {padding: 0px 0px 0px 22px;margin: 0px;background: url(../images/style2/bullet_S2.gif) no-repeat 5px 4px;white-space: normal;}


/* Module "S3" Text Style RETTANGOLO ARROTONDATO VERDE*/
.moduleS3 {position:relative;margin:0 0 1em;padding:0; background: #5D946A url(../images/style2/topleft_S3.gif) top left no-repeat;color: #CDE6C5;font-size: 12px;}
div.moduleS3 div {background: url(../images/style2/topright_S3.gif) top right no-repeat;}
div.moduleS3 div div {background: url(../images/style2/botleft_S3.gif) bottom left no-repeat; height:1%;}
div.moduleS3 div div div {background: url(../images/style2/botright_S3.gif) bottom right no-repeat;padding: 12px 10px 20px 10px;}
div.moduleS3 div div div div {background:none;}

/* Module Heading "S3" Style */
div.moduleS3 h3 {padding: 0;line-height: 100%;height: auto;margin: 0 0 15px 0;font-weight: normal;text-indent: 8px;font-size: 14px;letter-spacing: normal;/*border-bottom: 1px solid #467ea5; */ color: #dfe;}

/* Module "S3" Link Color */
div.moduleS3 a {color: #B2EDC0;text-decoration:none;}
div.moduleS3 a:hover {color: #efe;text-decoration:underline;}

/* Module "S3" List Styles */
div.moduleS3 ul,div.moduleS3 ul.latestnewsS3,div.moduleS3 ul.mostreadS3 {list-style: none;margin: 0px;padding:0px; font-size: 12px;}div.moduleS3 ul li,div.moduleS3 ul.latestnewsS3 li,div.moduleS3 ul.mostreadS3 li {padding: 0px 0px 0px 22px;margin: 0px;background: url(../images/style2/bullet_S3.gif) no-repeat 5px 4px;white-space: normal;}

/* @end */



/* @group Structural */

.main-top-both,.main-top-left-only {background: url(../images/style2/top_has_left.gif) no-repeat center bottom;}
.main-top-wide,.main-top-right-only {background: url(../images/style2/top_wide.gif) no-repeat center bottom;}
#mainbody-both	{background: url(../images/style2/mid_left_right.gif) repeat-y center top;}
#mainbody-left-only	{background: url(../images/style2/mid_leftonly.gif) repeat-y center top;}
#mainbody-wide,.mainbody-wide,#mainbody-right-only	{background: url(../images/style2/mid_wide.gif) repeat-y center top;}

.foot-top {background: url(../images/style2/foot_top.gif) no-repeat center bottom;}
#foot-mid,.foot-mid {background: url(../images/style2/foot_mid.gif) repeat-y center top;}
.foot-bot {background: url(../images/style2/foot_bot.gif) no-repeat center top;}

.bottom-both,.bottom-left-only	{background: url(../images/style2/bot_has_left.gif) no-repeat center top;}
.bottom-wide,.bottom-right-only	{background: url(../images/style2/bot_wide.gif) no-repeat center top;}
.tplcright a {color: #fff;display: block;margin: 4px 0px 2px 5px;text-align: center;background: url(../images/style2/arrowl.gif) no-repeat left center;text-indent: -5000em;width: 75px;height: 12px;line-height: 12px;padding: 0px;}
ul.checklist li {background: url(../images/style2/checklist.png) no-repeat left center;}

/* @end */

/* @group Top Menu */

.menubar {
    background: #0f649b url(../images/style2/testata_sup.jpg) no-repeat center top;
	/* background: #0f649b url(../images/style2/navcontainer.gif) repeat-x center top; */
}
#navmenu {
	background: url(../images/style2/navcontainer.gif) no-repeat left top;
}
#navmenu li {
	background: url(../images/style2/nav_norm_l.gif) no-repeat bottom left;
}
#navmenu li a {
	background: url(../images/style2/nav_norm_r.gif) no-repeat bottom right;
	color: #fff;
}
div#navmenu li:hover, div#navmenu li.iehover {
	background: url(../images/style2/nav_hover_l.gif) no-repeat bottom left;
}
div#navmenu li:hover a, div#navmenu li.iehover a {
	background: url(../images/style2/nav_hover_r.gif) no-repeat bottom right;
	color: #FFF;
}
div#navmenu li.active {
	background: url(../images/style2/nav_active_l.gif) no-repeat bottom left;
}
div#navmenu li.active a {
	background: url(../images/style2/nav_active_r.gif) no-repeat bottom right;
	color: #FFF;
}

/* @end */

/* @group Left Nav */

#leftcol ul#mainlevel,#rightcol ul#mainlevel,
#leftcol ul#mainlevel-sidenav,#rightcol ul#mainlevel-sidenav {
	list-style: none;
}

#leftcol a.mainlevel,#rightcol a.mainlevel,
#leftcol a.mainlevel-sidenav,#rightcol a.mainlevel-sidenav {
	background: url(../images/style2/leftnav_norm.gif) no-repeat left center;
	color: #A6CBE5;
}
#leftcol a.mainlevel:hover,#rightcol a.mainlevel:hover,
#leftcol a.mainlevel-sidenav:hover,#rightcol a.mainlevel-sidenav:hover {
	background: url(../images/style2/leftnav_over.gif) no-repeat left center;
	color: #fff;
}
#leftcol a#active_menu.mainlevel,#leftcol a#active_menu.mainlevel:hover,
#rightcol a#active_menu.mainlevel,#rightcol a#active_menu.mainlevel:hover,
#leftcol a#active_menu-sidenav.mainlevel-sidenav,#leftcol a#active_menu-sidenav.mainlevel-sidenav:hover,
#rightcol a#active_menu-sidenav.mainlevel-sidenav,#rightcol a#active_menu.mainlevel-sidenav:hover {
	background: url(../images/style2/leftnav_active.gif) no-repeat left center;
	color: #fff;
}
a.sublevel,a.sublevel-sidenav {
	color: #87ACC8;
}
/* @end */