/* general
-------------------------------------------------  
*/

body {
	color:#000;
	font: 80%/125% verdana, arial, tahoma, sans-serif;
}

#header{	
	background-color: #eee;
}

#container{
	width: 100%;
}

.clear{clear:both;}


/* titoli
-------------------------------------------------  
*/

h1{
	color:#000000;
	font-size:2.1em;
	font-weight:bold;
	margin:20px 0 0 10px;
}

h2{
	border-bottom:1px dotted #316597;
	color: #cc0000;
	font-size:1.6em;
	font-weight:bold;
	margin:30px 0 30px 10px;
	padding-bottom:6px;
}

h4{
	border-bottom:1px dotted #316597;
	color: #00FF00;
	font-size:1.6em;
	font-weight:bold;
	margin:30px 0 30px 10px;
	padding-bottom:6px;
}

p{margin-left:10px;}

/* link
-------------------------------------------------  
*/

a:link {
 color : #1a235c;
}

a:visited {
 color : #6699cc;
}

a:hover{
 color : #AF0400;
 text-decoration : underline;
}

a:active {
 color : #AF0400;
 text-decoration: underline
}


/* nav-main
-------------------------------------------------  
*/
#nav-main ul{	
	background-color: #6699cc;
	height:30px;
}

#nav-main ul li{
	background: #eee url("../images/bg-menu-selected.png") 0 0 no-repeat;
	display:inline;	
	float:left;
	font-size: 1.25em;
	height: 30px;
	margin-right: 70px;
	padding-top:8px;
	text-align:center;
	width: 156px;
}

#nav-main ul li.selected{background-image: url("../images/bg-menu.png");}

#nav-main ul li.selected a{
	color:#000;
	font-weight:bold;
}

#nav-main ul li a{
	color:#316597;
	text-decoration:none;
}


/* sub-menu
-------------------------------------------------  
*/

#sub-menu ul{
	background-color:#eee;
	height:25px;
	text-align:right;
}

#sub-menu ul li{
	display:inline;
	padding: 0 5px;
}

#sub-menu ul li a{
	font-weight:bold;
	text-decoration:none;
}



/* text format
-------------------------------------------------  
*/

.help-data{
	font-size:0.8em;
	font-weight:bold;
	margin: 10px 0 10px 10px;
}

.sign{
	font-style:italic;
	padding-top:8px;
	padding-right:60px;	
	text-align:right;
}


/* form
-------------------------------------------------  
*/

.form{
	background-color:#eeeeee;
	margin-top:10px;
}

.form h3{
  color:#143080;
  font-size:1.1em;
  font-weight:bold;
  padding:20px 0 0 26px;
}

.form fieldset{
	padding-bottom:16px;
}

.form table{margin:26px 0 16px 26px;}

.form label{padding-right:14px;}

.form tr{height:34px;}

.form td{padding-right:10px;}

.form p{
	padding-left:26px;
	margin:5px 0;
	line-height: 130%;
}

input.xs{width:5em;}
input.s{width:8em;}
input.m{width:11em;}
input.l{width:14em;}

.form em{
    font-style:italic;
    padding-right:14px;
}


/* form message
-------------------------------------------------  
*/

.form-message-error{
	background-color:#AF0400;
    color:#fff;
	font-size:0.9em;
	font-weight:bold;
	padding:3px 0;
	text-align:center;
}

.form-message-warning{
	background-color:#f49b18;
    color:#fff;
	font-size:0.9em;
	font-weight:bold;
	padding:3px 0;
	text-align:center;
}

.form-message-confirm{
	background-color:#7BA220;
    color:#fff;
	font-size:0.9em;
	font-weight:bold;
	padding:3px 0;
	text-align:center;
}

/* submit
-------------------------------------------------  
*/

.form .submit {
	margin-top:30px;
	padding-bottom:26px;
	text-align:center;
}

.form .submit input {
	padding:0 35px;
}

.search-referti  a.search{
	background: transparent url("../images/bg-search.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

.search-referti  a.searchAssistiti{
	background: transparent url("../images/bg-search.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

.search-referti  a.cleanAssistito{
	background: transparent url("../images/page_white.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

.search-assistiti  a.search{
	background: transparent url("../images/bg-search.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

.search-logAccessi  a.search{
	background: transparent url("../images/bg-search.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

.search-medici  a.search{
	background: transparent url("../images/bg-search.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

/* form search
-------------------------------------------------  
*/

form.search-referti{
	margin:20px 0 0 10px;
}

form.search-referti table{
	width:100%;
}

.search-referti th{
	color:#669acc;
	padding-bottom:4px;
	text-align:left;
}

.search-referti td{
	/*padding-right:10px;*/
	vertical-align:bottom;
}

form.search-assistiti{
	margin:20px 0 0 10px;
}

form.search-assistiti table{
	width:40%;
}

.search-assistiti th{
	color:#669acc;
	padding-bottom:4px;
	text-align:left;
}

.search-assistiti td{
	/*padding-right:10px;*/
	vertical-align:bottom;
}

form.search-logAccessi{
	margin:20px 0 0 10px;
}

form.search-logAccessi table{
	width:40%;
}

.search-logAccessi th{
	color:#669acc;
	padding-bottom:4px;
	text-align:left;
}

.search-logAccessi td{
	/*padding-right:10px;*/
	vertical-align:bottom;
}

form.search-medici{
	margin:20px 0 0 10px;
}

form.search-medici table{
	width:70%;
}

.search-medici th{
	color:#669acc;
	padding-bottom:4px;
	text-align:left;
}

.search-medici td{
	/*padding-right:10px;*/
	vertical-align:bottom;
}

/* table data
-------------------------------------------------  
*/

table.data{
	background-color:#bdbdbd;
	margin:20px 0 0 10px;
	width:98%; 
}

table.data td,
table.data th{
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
	color:#333c4d;
	padding:2px 0 0 4px;
	text-align:left;
}

table.data th{
	background-color:#4680af;
	color:#fff;
	text-transform:uppercase;
}

table.data a.file
{
    /* background:transparent url(../images/i-pdf.gif) no-repeat 0 0; */
    background-image: url(../images/download.png); 
    /*display:block; */
	float:left;
	height:28px;
	overflow:hidden;
	text-indent:-9999px;
	width:28px;    
}

table.data a.referto{
    background:transparent url(../images/document.gif) no-repeat 0 0;
    display:block;
	float:left;
	height:18px;
	overflow:hidden;
	text-indent:-9999px;
	width:18px;
}

table.data a.pulsante
{
    /* background:transparent url(../images/i-pdf.gif) no-repeat 0 0; */
    /*background-image: url(../images/download.png); */
    /*display:block; */
	float:left;
	height:10px;
	overflow:hidden;
	text-indent:-9999px;
	width:10px; 
	background-color:#7BA220;
    color:#fff;
	font-size:0.9em;
	font-weight:bold;
	padding:3px 0;
	text-align:center; 
}

table.data tr.highlight td{color: #ff6;}
table.data tr.highlighted td{background-color: #ff9;}
table.data tr.selected td{background-color: #ff6;}

table.data td.warning{color: #ff0000;}

table.data  a.gridDetail{
	background: transparent url("../images/Modify.gif") 0 0 no-repeat;
	display:block;
	height:23px;
	width:23px;
}

/* table filter
-------------------------------------------------  
*/

table.filter{
	background-color:#d3d3d3;
	color:#fff; 
}

table.filter td.titoloGruppoAssistito
{
    color:#669acc;
	text-align:center;
}

table.filter td.gruppoAssistito
{
    border: 2px solid #669acc;
}

/* table tabHeaderLogin
-------------------------------------------------  
*/
table.tabHeaderLogin td.tdTabLogin{
	border-top:3px solid #669acc;
}

/* ul file
-------------------------------------------------  
*/

ul.file{
    padding-left:26px;
    
}
ul.file li{
    background:transparent url(../images/i-pdf.gif) no-repeat 0 0;
    margin-bottom:6px;
    min-height:16px;
    padding-left:22px;
}



/* wrong-field-message
-------------------------------------------------  
*/

.wrong-field-message{
    color:red;
    margin:4px 0 16px 0;
    width:280px;
}


/* message
-------------------------------------------------  
*/

.message{
	font-size:1.1em;
	line-height:130%;
	margin:0 0 20px 194px;
}

.message h2{
	background:transparent url(../images/i-error.gif) no-repeat 0 50%;
	font-size:1.2em;
	margin:12px 0 16px 24px;
	min-height:34px;
	padding:16px 0 0 50px;
}

.message p{
	margin:4px 0 18px 24px;
}

.message.warning h2{background-image:url(../images/i-warning.gif);}
.message.confirm h2{background-image:url(../images/i-confirm.gif);}

.message.error{border:2px solid #AF0400;}
.message.warning{border:2px solid #f49b18;}
.message.confirm{border:2px solid #7BA220;}



/* generic message
-------------------------------------------------  
*/

.generic-message h3{
	color:#8392BB;
	font-weight:normal;
	margin-left:12px;
}

.generic-message p{
	background:transparent url(../images/i-error.gif) no-repeat 0 50%;
	color:#143080;
	min-height:34px;
	margin:32px 0 0 34px;
	padding:16px 0 0 50px;
}

.generic-message p.warning{background-image:url(../images/i-warning.gif);}
.generic-message p.confirm{background-image:url(../images/i-confirm.gif);}

/**/


/*	sort - ordinamento
-------------------------------------------------
*/

p.sort{
	padding-right: 18px;
	position: relative;
}

p.sort a{
	display: block;
	height: 16px;
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
}


/* lookup
------------------------------------------------
*/

.lookup{
	background-color: #fff;
	border: 2px solid #a6a6a6;
	display: none;
	position: absolute;
	left: 200px;
	padding: 0;
	top: 200px;
	width: 300px;
	z-index: 2000;
}

.lookup .tools{background-color: #E5E6E7;}
.lookup .tools a.close{
     background: transparent url(../images/i-close.gif) 0 0 no-repeat;
     display: block;
     position: absolute;
     top: 8px;
     right: 6px;
     height: 19px;
     width: 19px;
     text-indent: -9999px;
}

.lookup .tools h2{
	color:#143080;
    font-size : 1em; 
	margin: 0 0 10px 8px;
	padding: 8px 3px;
	text-transform: uppercase;
}

.lookup form{padding: 20px;}
.lookup form select{width: 280px;}


/*	overlay
-------------------------------------------------
*/

#overlay{
	background-color: #444;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
	padding: 230px 20px 20px;
	text-align: center;
}

* html #overlay { /* ie6 hack */
   position: absolute;
   height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#hideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #hideSelect { /* ie6 hack */
   position: absolute;
   height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

/* pager
--------------------------------------------------
*/
.pager table{
	border-collapse: collapse;
	width:310px;
	margin:0 auto;
	padding:0;
}

.pager table td{
	padding: 0;
	width: 30px;
}
.pager table td.current{text-align:center;width:310px; padding-top: 2px;}


.pager table td a,
.pager table td span{
	background: #fff url(../images/pager_first.gif) 0 0 no-repeat;
	display: block;
	height: 22px;
	text-indent: -9999px;
	width: 20px;
}
.pager table td.prev a{background-image: url(../images/pager_prev.gif);}
.pager table td.next a{background-image: url(../images/pager_next.gif);}
.pager table td.last a{background-image: url(../images/pager_last.gif);}

.pager table td.first span{background-image: url(../images/pager_first_inactive.gif);}
.pager table td.prev span{background-image: url(../images/pager_prev_inactive.gif);}
.pager table td.next span{background-image: url(../images/pager_next_inactive.gif);}
.pager table td.last span{background-image: url(../images/pager_last_inactive.gif);}



/*
#pager{
	border-top: 1px solid #d0d0d0;
	padding-top: 10px;
}

#pager strong,
#pager a{
	padding-right: 8px;
}
*/
