html,body{margin:0;padding:0}

body{font:12px verdana,sans-serif}  

p{margin: 0 0 1em;line-height:1.4}

a{ color: #000; text-decoration:none}
a:visited { color: #000; text-decoration:none}
a:hover { color: #000; text-decoration:none}
a.blu{ color: #00CCFF; text-decoration:underline}

h2{margin: 0px 0px 0px 0px; padding-left: 5px; padding-top: 2px; font-size: 12pt;}
h3{margin: 0px 0px 0px 0px; padding-left: 5px; padding-top: 2px; font-size: 10pt;}

img.fe_img { padding-left: 5px; border:0px; vertical-align: top;}

div#container{
	width: 100%;
	background: #FFF;
	min-width:900px;
	width:expression( parseInt(document.documentElement.offsetWidth) < 900 ? "900px" : "100%"); 
}

div#header{color: #000; height:100px; background: url(../images/sfondo_testata.png) top repeat-x}
div#header h1{margin:0 0 0px;padding: 10px 20px;font-size: 200%}
div#headerdx{
	position:absolute;
	right: 190px;
	height:100px;	
}
div#headersx{
	position:absolute;
	left: 0px;
	height:100px;	
}
div#headercn{
	position:absolute;
	height:100px;	
	width:80%;
	text-align:center;
}

div#barra{text-align:right; padding-right: 205px; z-index: 999; height:30px; background: url(../images/sfondo_barra_rosso.png) top repeat-x}

div#content{
	margin-top: 5px;
	margin-left: 5px;
	margin-right: 205px;
	border: 1px solid #AAAAAA;
	display:block;
}

div#content_data{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	
	/*background: url(../images/sfondo_gecko.gif) bottom right no-repeat;*/
}

div#content_data_inner{
	padding-left: 10px;
	padding-right: 10px;
}

div#sidebar{
	margin-right: 10px;
	margin-top: 5px;
	float: right;
	width: 180px;
	display: inline;
	font-size: 10px;
}

div#footer{
/*clear: both;padding: 3px 20px;background: #959FB1*/
  position: absolute;
  display:block;
  left: 0px;
  bottom: 0px;
  border-top: 1px solid #ddd;
  border-bottom: 10px solid #f5f5f5;
  background: #f5f5f5;
  width: 100%;
  text-align:left;
  color: #aaa;
  font-size: 10px;
  z-index:10000;
  opacity:0.9;
  filter:alpha(opacity:90);
}

div#banner{
	position:absolute;
	right: 10px;
	top: 0px;
	z-index: 10000;  
	display:block;  
	width: 180px;
	overflow:hidden;
}


/*inizio  Hack per mantenere il footer attaccato al basso */
@media screen{
  body>div#footer{
   position: fixed;
  }
 }
 * html body{
  overflow:hidden;
 } 
 * html div#container{
  height:100%;
  overflow:auto;
 }
 /*Fine Hack per mantenere il footer attaccato al basso */
 
.menu_bl {background: url(../images/box/bl.gif) 0 100% no-repeat  #e68200; width: 100%}
.menu_br {background: url(../images/box/br.gif) 100% 100% no-repeat}
.menu_tl {background: url(../images/box/tl.gif) 0 0 no-repeat}
.menu_tr {background: url(../images/box/tr.gif) 100% 0 no-repeat; padding:10px}

.box_u {width: 100%; background-color: #e68200; background-image: none; }
.box_r {background: url(../images/box/redge.gif) top right repeat-y; }
.box_b {background: url(../images/box/bedge.gif) bottom left repeat-x;}
.box_l {background-image: none;}
.box_ul {background: url(../images/box/tl.gif) top left no-repeat; }
.box_ur {background: url(../images/box/tr.gif) top right no-repeat; }
.box_bl {background: url(../images/box/bl.gif) bottom left no-repeat; }
.box_br {background: url(../images/box/br.gif) bottom right no-repeat; padding: 15px 30px 30px 15px;}
.box_content { width: 100%; }

.menu_grigio_2_top {font-size: 0px;background: url(../images/sfondo_menu_g_top.gif) bottom no-repeat; display:block; height: 10px;}
.menu_grigio_2 { background: url(../images/sfondo_menu_g_rip.gif) repeat-y; padding:0px 10px 10px 10px;}
.menu_grigio_2_bottom {font-size: 0px; background: url(../images/sfondo_menu_g_bottom.gif) top no-repeat; display:block; height: 10px;}

.menu_arancio_2_top {font-size: 0px; background: url(../images/sfondo_menu_a_top.gif) top no-repeat; display:block; height: 10px;}
.menu_arancio_2 {background: url(../images/sfondo_menu_a_rip.gif) repeat-y; padding:0px 10px 10px 10px;}
.menu_arancio_2_bottom {font-size: 0px; background: url(../images/sfondo_menu_a_bottom.gif) top no-repeat; display:block; height: 10px;}

.menu_verde_2_top {font-size: 0px; background: url(../images/sfondo_menu_v_top.gif) top no-repeat; display:block; height: 10px;}
.menu_verde_2 {background: url(../images/sfondo_menu_v_rip.gif) repeat-y; padding:0px 10px 10px 10px;}
.menu_verde_2_bottom {font-size: 0px; background: url(../images/sfondo_menu_v_bottom.gif) top no-repeat; display:block; height: 10px;}

.menu_grigio {background: url(../images/sfondo_menu_g_180.png) top no-repeat; padding:10px 10px 10px 10px;}
.menu_grigio_bottom {background: url(../images/sfondo_menu_gb_180.png) bottom no-repeat; display:block; height: 10px;}

.menu_arancio {background: url(../images/sfondo_menu_a_180.png) top no-repeat; padding:10px 10px 10px 10px;}
.menu_arancio_bottom {background: url(../images/sfondo_menu_ab_180.png) bottom no-repeat; display:block; height: 10px;}

.menu_verde {background: url(../images/sfondo_menu_v_180.png) top no-repeat; padding:10px 10px 10px 10px;}
.menu_verde_bottom {background: url(../images/sfondo_menu_vb_180.png) bottom no-repeat; display:block; height: 10px;}

a.menu_link {background: url(../images/sfondo_menu_link.png) top no-repeat; display:block; height: 30px; padding:5px 5px 5px 35px;}
a.menu_link:hover {background: url(../images/sfondo_menu_link_sel.gif) top no-repeat; display:block; height: 30px; padding:5px 5px 5px 35px;}

a.normal_link {font-size: 10px; background: url(../images/sfondo_menu_link.png) top left no-repeat; display:block; height: 30px; padding:5px 5px 5px 35px;}
a.normal_link:hover {font-size: 10px; background: url(../images/sfondo_menu_link_sel.gif) top left no-repeat; display:block; height: 30px; padding:5px 5px 5px 35px;}

.barra_rosso{
background: url(../images/sfondo_barra_rosso.png) repeat-x; display:block; height: 48px;
}
.barra_arancio_top{
background: url(../images/sfondo_barra_arancio.png) repeat-x;  display:block; height: 48px;
}
.barra_grigio_top{
background: url(../images/sfondo_barra_grigio.png) repeat-x;  display:block; height: 48px;
}
.barra_grigio_bottom{
background: url(../images/sfondo_barra_arancio_b.png) repeat-x; display:block; height: 48px;
}
.barra_arancio_bottom{
background: url(../images/sfondo_barra_grigio_b.png) repeat-x; display:block; height: 48px;
}

table.calendario_table {
	width:100%;
	background-color:#ffffff;
	color:#000000;
	text-align:center;	
}

table.calendario_table TH {
	background: #ffffff url(../images/sfondo_barra_grigio.png) repeat-x;  height: 24px;
	color:#000000;
	border-top:1px solid #aaaaaa;	
	border-left:1px solid #aaaaaa;	
	border-right:1px solid #aaaaaa;	
	border-bottom:0px solid #ffffff;	
}

table.calendario_table TR {
	border:1px solid black;	
}

table.calendario_table TD {
	background-color:#ffffff;
	color:#000000;
	border:1px solid #aaaaaa;	
	height:80px;
}

table.calendario_table TD.calendario_td_corrente {
	background-color:#00ff00; 
	color:#000000;
	border:1px solid #aaaaaa;	
	height:80px;	
}
table.calendario_table TD.calendario_td_selezionato {
	background-color:#eeeeee; 
	color:#000000;
	border:1px solid #aaaaaa;	
	height:80px;	
}
table.calendario_table TD.calendario_td_vuoto {
	background-color:#dddddd; 
	color:#000000;
	border:1px solid #aaaaaa;	
	height:80px;	
}
