BODY {	
	BACKGROUND-COLOR: #FFFFFD; 
	FONT-FAMILY: Verdana, tahoma, Arial, Geneva, Helvetica, sans-serif; 
	FONT-SIZE: 11pt; 
	FONT-WEIGHT: normal; 
	margin: 0px 0px 0px 0px; 
	padding: 0px 0px 0px 0px; 
}

hr {
	height:0px; 
    border:0px; 
    border-top:1px solid #1d3959;
}

h1,h2,h3,h4, h1 a,h2 a,h3 a,h4 a , h1 p,h2 p,h3 p,h4 p{
	color: #175A97;
	padding-left:2px;
	text-decoration: none;
}
h1 ,h1 a,h1 p {
	font-size: 14pt;
}
h2 ,h2 a,h2 p {
	font-size: 12pt;
}
h3 ,h3 a,h3 p {
	font-size: 10pt;
}
h4 ,h4 a,h4 p {
	font-size: 10pt;
}


form {
	margin: 0px	0px 0px 0px;
	padding: 0px 0px 0px 0px;	
}

input[type="button"],input[type="submit"],button {
  color: #333333;
  padding-left: 8px;
  padding-right: 8px;
  background: url(../images/bg.gif) repeat-x #f0f0f0;
  border: 1px solid #a4a4a4;
}

input[type=button]:hover,input[type="submit"]:hover,button:hover {
  color: black;
}

input[type=button]:active,input[type="submit"]:active,active {
  padding-left: 9px;
  padding-right: 7px;
}

input[type="button"]:disabled,button:disabled {
  background: url() repeat-x #d0d0d0;	
}
input[type=button]:disabled:hover,input[type="submit"]:disabled:hover,button:disabled:hover {
  color: #333333;
}

div.clearer {clear: left; line-height: 0; height: 0;}

/*Tool tip*/
a.tooltip:hover{
    position:relative; /*this is the key*/
    z-index:25;
    text-decoration:none
}
a.tooltip span{display: none}

a.tooltip:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
	font-weight: normal;
    top:2em; left:2em; width:20em;
    border:1px solid #000000;
    background-color:#ffffe1; color:#000000;
    text-align: center
}
/*Tool tip fine*/

#mainbox{
	width: expression( document.body.clientWidth < 980 ? "980px" : "100%" ); 
	min-width: 980px;
	/*background: url('../images/menu_sfondo_neutro.gif') repeat-y left;*/
}

#contenitore {
	/* Lo uso se voglio uno sfondo ripetuto nell'area centrale o menu */
}
	
#contenuto {
	/*overflow: auto;*/
	overflow:hidden !important;
	overflow:visible;
	
	position:relative;

	width:auto;
	margin-top:0px;
	margin-bottom:0px;
	margin-left:197px !important;
	margin-left:195px;

	min-height:450px;
	padding: 0px 5px 0px 5px;
}
* html #contenuto{
	height:450px;
}

#contenuto_wrap {
	width: 100%;
	float: right;
	margin-left:-197px !important;
	margin-left:-195px;
}

#contenuto_full {
	width:auto;
	margin-top:0px;
	margin-bottom:0px;
	padding: 0px 5px 0px 5px;
	min-height:450px;
}
*html #contenuto_full{
	height:450px;
}

#contenuto_full.contenuto_popup {
	margin:0;
	padding:0;
	min-height:0;
}
*html #contenuto_full.contenuto_popup{
	height:95%;
}

#contenuto p,a,table,textarea,ul,li,select,input,button,label,legend,small,span {
	FONT-FAMILY: Verdana, tahoma, Arial, Geneva, Helvetica, sans-serif; 
	font-size: 8pt;
	color: #1d3959;
	padding-left:4px;
	text-decoration: none;
}

#contenuto_full p,a,table,textarea,ul,li,select,input,button,label,legend,small,span {
	FONT-FAMILY: Verdana, tahoma, Arial, Geneva, Helvetica, sans-serif; 
	font-size: 8pt;
	color: #1d3959;
	padding-left:4px;
	text-decoration: none;
}




#contenuto ul, #contenuto li,#contenuto_full ul, #contenuto_full li {
	margin-left:10px;
}

#intestazione {
	font-size: 10pt;
	font-weight: bold;
	color: #1d3959;

	background: #a3cce4 url(../images/toolbar_calendar_sfondo.gif) repeat-x;
	
	border: 1px solid #929085;

	margin: 0px 0px 0px 0px;
	padding: 2px 5px 1px 3px;


	width: auto !important;
	width: 100%;
	min-height: 22px;
}
* html #intestazione
{
	height: 22px;
}
#intestazione p {
	font-size: 10pt;
	margin:0px;
	padding: 2px 10px 1px 10px;
}

/*Form*/
#form-normal {
	text-align:center;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	
	border: 1px solid #929085;	
	background-color: #ffffff;
	
	width: auto !important;
	width: 100%;
	min-height:450px;
}
*html #form-normal{
	height:450px;
}

#form-normal.contenuto_popup {
	margin:0;
	padding:0;
	min-height:0;
}
*html #form-normal.contenuto_popup{
	height:95%;
}

#form-normal p {
	color: #1d3959;
	font-weight: bold;
	text-decoration: none;
	font-size: 8pt;
}

#form-normal a {
	color: #1d3959;
	font-weight: bold;
	text-decoration: none;
	padding: 0px;
	margin-top: 0px;
	margin-right: 2px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-size: 8pt;
}
#form-normal.home_info_dettaglio {
	text-align:left;
	padding:5px;
}
#form-normal.home_info_dettaglio a,
#form-normal.home_info_dettaglio p {
	font-weight: normal;
}
/*Fine Form*/

/*Multipagina*/
#multipagina_container_new {
	background-color: #d6ecf9;
	margin: 5px 5px 5px 5px;	
	padding: 0px 0px 0px 0px;
	width:95%;
	border: 1px solid #1d3959;
}

#multipagina_new {
	width:auto;
	margin: 0px;
	min-height:22px;
	text-align:left;

	background: #a3cce4 url(../images/toolbar_calendar_sfondo.gif) repeat-x;

}
* html #multipagina_new
{
	height: 22px;
}

#multipagina_new a,#multipagina_new p {
	display:block;
	float:left;

	font-size: 10pt;
	font-weight: bold;
	background: #a3cce4 url(../images/toolbar_calendar_sfondo.gif) repeat-x;

	color: #1d3959;
	border-right: 1px solid #1d3959;
	border-bottom: 1px solid #1d3959;
	text-decoration: none;

	padding: 2px 15px 2px 15px;

	margin: 0px 0px 0px 0px;
}

#multipagina_new a:hover , #multipagina_new a.selected{
	background: #4e8cbd url(../images/toolbar_calendar_sfondo_sel.gif) repeat-x;
	color: #FFFFFF;
	text-decoration: none;
	
	border-bottom: 0px;
}

#multipagina_new a:visited{ 
	color: #1d3959;
	text-decoration:none;
}
/*Fine-Multipagina*/


/* inizio toolbar */
#toolbar , #toolbarNoSfondo {
	font-size: 10pt;
	font-weight: bold;
	color: #1d3959;

	background: #a3cce4 url(../images/toolbar_calendar_sfondo.gif) repeat-x;
	border: 1px solid #929085;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;

	/*clear:none !important;*/
	clear:both;
	
	width:auto !important;
	width:100%;
	
	min-height: 22px;
}
* html #toolbar , #toolbarNoSfondo
{
	height: 22px;
}

#multipagina-corpo #toolbar,#form-normal #toolbar, #calendar-normal #toolbar {
	border-left: 0px;	
	border-right: 0px;	
}

#toolbarNoSfondo {
	padding: 2px 2px 2px 2px;
	color: #222222;
	background-image: none;
	background: none;
	border: none;
}

#toolbar p {
	display:block;
	float:left;
	
	font-size: 10pt;
	font-weight: bold;
	color: #1d3959;
	border-left: 1px solid #b5ddf4;
	margin:0px;
	padding: 2px 10px 1px 10px;
	text-align: right;
}

#toolbar a {
	display:block;
	float:left;
	color: #1d3959;
	font-size: 10pt;
	font-weight: bold;
	text-decoration:none;

	padding-left:10px;
	padding-right: 10px; 
	
	margin:0px;
	height:22px;

	border-left: 1px solid #fbf2d3;
	border-right: 1px solid #b5ddf4;
		
	background: #a3cce4 url('../images/toolbar_calendar_sfondo.gif') repeat-x;
}
#toolbar a:hover, #toolbar a.selected {
	color: #ffffff;
	background: url(../images/toolbar_calendar_sfondo_sel.gif) repeat-x;
	text-decoration: none;
}

#toolbar table{
	margin: 0px 0px 0px 0px;
	width: 100%;
	font-size: 12pt;
	font-weight: bold;
}

#toolbar td {
	border-right: 1px solid #6897b2;
	border-left: 1px solid #FFFFFF;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	width: 10%;
}
/* fine toolbar */


/* Stili obsoleti */
A.link-bianco {
	color: #FFFFFF;
}

.testo_tabella_static {
	background-color: #d6ecf9;
	text-align:left;
}
.testoRosso {
	color: #912F1E !important;
}

.testoPiccolo {
	font-size: 7pt !important;
}

.sfondo {
	background-color: #ffffff;
}

/* HOME */
#home {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	/*background:url("../images/home_sfondo.gif");*/
	background-repeat: no-repeat;
	background-position: right bottom;
}

#home_sx {
	margin-right:1%;
	padding:0px;
	float:left;
	text-align:left;
	width:48%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #6c9ab4;

}
#home_dx {
	margin-right:1%;
	padding:0px;
	float:right;
	text-align:left;
	width:48%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #6c9ab4;
}

#home_sx  ul, #home_dx ul {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
    list-style-image:none;
	width: 100%;
}

#home_sx  li, #home_dx li {
	margin:0px 0px 10px 0px;
	padding:0px 0px 0px 0px;
	width: 100%;
    list-style-type:none;
}

#home  span.handle {
	cursor: move;
  }
/* HOME FINE*/

/* Blocco sx dx */
#blocco_sx,#blocco_sx_full {	
	width:45%;
	float:left;
	/*border: 1px solid #213AFC;*/
	text-align:left;
	margin: 10px 10px 10px 10px;

	/*Altezza minima crossbrowser*/
	min-height: 60px;
	height: auto !important;
	height: 60px;
}
#blocco_sx_full {	
	width:auto !important;
	width:100%;
	float: none;
	text-align:left;
}

#blocco_sx p, blocco_sx_full p {
	FONT-WEIGHT: normal; 
}
#blocco_sx a,#blocco_sx_full a {
	display:inline; 
}

#blocco_dx ,#blocco_dx_full{	
	width:45%;
	float:right;
	/*border: 1px solid #213AFC;*/
	text-align:right;
	margin: 10px 10px 10px 10px;

	/*Altezza minima crossbrowser*/
	min-height: 60px;
	height: auto !important;
	height: 60px;

}
#blocco_dx_full {	
	width:auto !important;
	width:100%;
	float: none;
	text-align:right;
}
#blocco_dx p,#blocco_dx_full p {
	FONT-WEIGHT: normal; 
}
#blocco_dx a,#blocco_dx_full a {
	display:inline; 
}
/* fine Blocco sx dx */

div.home_menu_selezionato{
	display:block;
	width:auto; 
	border: 1px solid #929085;	
	background-color: #ffffff;
	height:140px;
}

div.home_menu_noselezionato{
	display:block;
	width:auto; 
	border: 1px solid #B2B0A5;		
	background-color: #ffffff;
	height:140px;
}

div.home_menu_selezionato p, div.home_menu_noselezionato p {
	padding: 5px 5px 5px 5px;
}


div.home_menu_ext_selezionato{
	display:block;
	width:auto; 
	border: 1px solid #929085;	
	background-color: #ffffff;
}

div.home_menu_ext_noselezionato{
	display:block;
	width:auto; 
	border: 1px solid #B2B0A5;	
	background-color: #ffffff;
}

div.home_menu_ext_selezionato p, div.home_menu_ext_noselezionato p {
	padding: 5px 5px 5px 5px;
}

div.handle {
	display:block;
	width:auto; 
	font-size: 12pt;
	font-weight: bold;
	cursor: move;
	/*background-color: #FFEAAD;*/
	/*background: #fbebaf url('../images/barra_sfondo.gif') repeat-x;*/
	color: #1d3959;
	background: #a3cce4 url(../images/toolbar_calendar_sfondo.gif) repeat-x; 

	border-bottom: 1px solid #B2B0A5;
	margin: 0px 0px 5px 0px;
	padding: 4px 0px 1px 5px;
}
* html div.handle
{
	width: 100%;
}

div.ajax_container {
	width:99%; 
	padding: 0px 3px 3px 3px;
}


#editor_readonly  {
	background-color:#ffffff; 
	border: 1px solid #B2B0A5;
	padding: 3px 3px 3px 3px;
}

/* MESSAGGISTICA */
#validation_error {
	background: #F7FDCB url(../images/ico_error_med.png) 5px center no-repeat; 
	border: 1px solid #B2B0A5;
	padding: 3px 3px 3px 3px;
	margin: 5px 5px 5px 5px;
	text-align: left;
}

#validation_error ul, #validation_error li{
	font-size: 12pt;
	font-weight: bold;
	color: red;
	margin-left: 25px;
}

#show_error {
	background: #eeeeee url(../images/ico_warning_big.png) 10px 10px no-repeat;
	margin: 10px 10% 10px 10%;
	padding: 50px 50px 50px 50px;
	min-height:200px; 
	border:1px solid black;
}
* html #show_error {
	height: 200px;
}

#messaggio {
	background: #A6EF7B url(../images/ico_ok_med.png) 5px center no-repeat; 
	border: 1px solid #B2B0A5;
	padding: 3px 3px 3px 3px;
	margin: 5px 0px 5px 0px;
	text-align: left;
}
#messaggio.info {
	background: #A6EF7B url(../images/ico_ok_med.png) 5px center no-repeat; 
}
#messaggio.warning {
	background: #F7FDCB url(../images/ico_warning_med.png) 10px 10px no-repeat;
}

#messaggio p{
	font-size: 12pt;
	font-weight: bold;
	margin-left: 35px;
}

/* PAGER */
#pager {
	background-color: #eeeeee;
	margin: 5px 5px 5px 5px;
	padding: 5px 5px 5px 5px;
	border:1px solid #aaaaaa;	
}
#pager a , #pager p{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 8pt;
	font-weight: normal;
	color: #1d3959;
}
#pager span{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font-weight: bold;
	background-color: #A6EF7B;
	border:1px solid #bbbbbb;
 	}
#pager a:hover{
	color: #1d3959;
	background-color: #F7FDCB;
}

#blocco_verde {
	background-color: #A6EF7B; 
	border: 1px solid #B2B0A5;
	padding: 3px 3px 3px 3px;
	margin: 5px 0px 5px 0px;
	text-align: left;
}

#blocco_giallo {
	background-color: #feef39; 
	border: 1px solid #B2B0A5;
	padding: 3px 3px 3px 3px;
	margin: 5px 0px 5px 0px;
	text-align: left;
}

.scrollable  {
	overflow:scroll; 
	width:100%; 
	height:400px;
}

#form-normal div.font_normal p,
#calendar-normal div.font_normal p,
#calendar-table div.font_normal p {
font-weight:normal;  
}

#help {
	padding: 5px 5px 0px 5px;
}

#home_promemoria  {
	overflow-y: auto;  	
    height: expression( this.scrollHeight > 399 ? "400px" : "auto" ); /* sets max-height for IE */
    max-height: 400px; /* sets max-height value for all standards-compliant browsers */
}
#clearer_both {
 	clear:both;
}

