.tablemain {
	text-align: center;
}

.tablemain table  {
	background: #fff;
	padding: 1px;
	width: 100%;
	text-align: left;
	border: 1px solid #006699;
	border-spacing: 1px;
}

.tablemain table th {
	color: black;
	padding: 0 4px 0 4px;
	font-size: 10pt;
	text-align: center;
	border-bottom: 1px solid #376384;
}

.tablemain table th a {

}

.tablemain table th a img {

}

.tablemain table th .button {
	display: inline;
}

.tablemain table th .button a {
	font-weight: bold;
	color: black;
	text-decoration: none;
	font-family: sans-serif;
	font-size: 10pt;
	padding: 2px;
	height: 1px;
	border: none;
	background: none;
}

.tablemain table td {
	padding: 4px;
	font-size: 8pt;
}

.tablemain table td a {
	color: black;
	text-decoration: none;
}

.tablemain table table {
	border: none;
	margin:0;
	padding:0;
	background: none;
	width: 100%;
}

.tablemain table th.submit {
	display: none;
}

.tablemain table tr {
	background: #fff;
}

.tablemain table iframe {
	border: none;
}

.tablemain table span.oldval {
	font-size: 12pt;
}


/* -----------------------------------------------------------------------------
	#calendar - calendario classico
----------------------------------------------------------------------------- */
.tablemain#calendar table {
	width: 100%;
	/*border-left: none;*/
}

.tablemain#calendar table tr.cal-week {
	height: 70pt;
}

.tablemain#calendar table th {
	font-size: 11pt;
	height: 16pt;
	border-right: 1px solid #006699;
}

.tablemain#calendar table th.month {
	font-weight: bold;
	font-size: 14pt;
	text-align: center;
	background: #fff;
	color: black;
	padding: 6pt;
	border-right: none;
}

.tablemain#calendar table th.month .thismonthlink {
	display: none;
}

.tablemain#calendar table th.month a {
	display: none;
}

.tablemain#calendar table th.weekend {
	color: red;
}

.tablemain#calendar table td {
	border-right: 1px solid #006699;
	border-bottom: 1px solid #006699;
}

.tablemain#calendar table a {
}

.tablemain#calendar table td {
	padding: 4px;
	width: 14%;
}

.tablemain#calendar table a.add {
	display: none;
}

.tablemain#calendar table a.date {
	font-size: 14pt;
	font-weight: bold;
	float: left;
	text-decoration: none;
	font-style: italic;
	font-family: serif;
	color: black;
}

.tablemain#calendar table td ul {
	margin-top: 20pt;
	margin-left: -2px;
	margin-bottom: 0;
	padding: 0;
}
.tablemain#calendar table td ul li {
	list-style: none;
	display: block;  
	margin-bottom: 2pt;
}

.tablemain#calendar table td ul li.results {
	font-size: 12pt;
	text-align: center;
}

.tablemain#calendar table td ul li a {
	padding: 0;
	font-size: 8pt;
	margin: 0;
	text-decoration: none;
}

.tablemain#calendar table td ul li a.enabled {
 	text-decoration: none;
}

.tablemain#calendar table td ul li a.disabled {
	text-decoration: underline;
	color:red;
}

.tablemain#calendar table td ul li a.now {
}

.tablemain#calendar table td ul li a.togglebtn {
	display: none;
}

.tablemain#calendar table td.evidenced li a {
}
.tablemain#calendar table td.past li a {
}
.tablemain#calendar table td.present li a {
}
.tablemain#calendar table td.future li a {
}

.tablemain#calendar table td.past {
}
.tablemain#calendar table td.present {
}
.tablemain#calendar table td.future {
}
.tablemain#calendar table td.evidenced {
}

.tablemain#calendar table td.evidenced a.add {
}
.tablemain#calendar table td.past a.add {
}
.tablemain#calendar table td.present a.add {
}
.tablemain#calendar table td.future a.add {
}

.tablemain#calendar table td.evidenced a.date {
}
.tablemain#calendar table td.past a.date {
}
.tablemain#calendar table td.present a.date {
}
.tablemain#calendar table td.future a.date {
}






/* -----------------------------------------------------------------------------
	#caltab - calendario tabulare
----------------------------------------------------------------------------- */
.tablemain#caltab table {
	width: 99%;
}

.tablemain#caltab table tr {
}

.tablemain#caltab table td {
	text-align: center;
	border-bottom: 1px solid #ccc;
	/*border-right: 1px solid #ccc;	*/
}

.tablemain#caltab table th {
	text-align: center;
	border-right: 1px solid #ccc;	
}

.tablemain#caltab table td a.notesadm {
	color: black;
}

.tablemain#caltab table td a.notes {
	color: black;
}

.tablemain#caltab table td a.past {
}

.tablemain#caltab table td a.present {
	color: black;
}

.tablemain#caltab table td a.future {
	color: black;
}

.tablemain#caltab table img.ordericon {
	display: none;
}

.tablemain#caltab table th.main {
}

.tablemain#caltab table th.second {
}

.tablemain#caltab table tr.cal-disabled {
	background: #fff;
}

.tablemain#caltab table tr.cal-disabled td {
	border-top: 1px solid red;
	border-bottom: 1px solid red;	
}

.tablemain#caltab table tr.cal-disabled-partial {
	background: #fff;
}

.tablemain#caltab table tr.cal-disabled-partial td {
	border-top: 1px solid #f3ba46;	
	border-bottom: 1px solid #f3ba46;
}

.tablemain#caltab table tr.cal-enabled {
}

.tablemain#caltab table tr.notes {
	background: #fff;
}
.tablemain#caltab table tr.notes td {
	font-size: 9pt
	border-bottom: 5px solid #ccc;
	text-align: left;
}
.tablemain#caltab table tr.notes td.notes-did {
	background: #fff;
	text-align: center;
}

.tablemain#caltab table th.details {
	display: none;
}
.tablemain#caltab table td.details {
	display: none;
}
.tablemain#caltab table th.options {
	display: none;
}
.tablemain#caltab table td.option {
	display: none;
}

.tablemain#caltab table iframe {
	border-bottom: 1px solid black;
}




/* -----------------------------------------------------------------------------
	#usertab
----------------------------------------------------------------------------- */
.tablemain#usertab table {
	width: 99%;
}

.tablemain#usertab table tr {
}

.tablemain#usertab table th {
	border-right: 1px solid #ccc;
}

.tablemain#usertab table td {
	text-align: center;
	padding: 4pt;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.tablemain#usertab table th.options {
	display: none;
}

.tablemain#usertab table td.option {
	display: none;
}

.tablemain#usertab table td.admin {
	border: 1px solid red;
}

.tablemain#usertab table td.userdisabled a {
	text-decoration: line-through;
	color: red;
}

.tablemain#usertab table td.lastlog-recent {
	color: green;
	font-weight: bold;
}

.tablemain#usertab table td.lastlog-never {
	color: red;
}
.tablemain#usertab table th.notes {
	display: none;
}
.tablemain#usertab table td.notes {
	display: none;
}
.tablemain#usertab table td.notes-adm {
	display: none;
}
.tablemain#usertab table tr.notes td {
	border-bottom: 5px solid #eee;
	text-align: left;
	padding:0;
}
.tablemain#usertab table tr.notes td.notes-did {
	background: #dbe2ea;
	text-align: center;
}

.tablemain#usertab table tr.notes {
	background: #F9F9F9;
}
.tablemain#usertab table tr.notes:hover {
	background: #F9F9F9;
}


.tablemain#usertab table tr.notes table.notes-adm {
	border: none;
	margin: 0;
}
.tablemain#usertab table tr.notes table.notes-adm tr {
	background: #F9F9F9;
}
.tablemain#usertab table tr.notes table.notes-adm td.notes-did {
	width: 56px;
}
.tablemain#usertab table tr.notes table.notes-adm td {
	border-bottom: 1px solid #eee;
}








/* -----------------------------------------------------------------------------
	#userstats
----------------------------------------------------------------------------- */

.tablemain#userstats table {

}

.tablemain#userstats table td {
	padding:2px;
}

.tablemain#userstats table tr.grandtotal {
	font-weight: bold;
	background-color: rgb(250,250,220);
}


.tablemain#userstats table tr.grandtotal td {
	border-bottom: 1px solid #006699;
}

.tablemain#userstats table tr:hover {
	background: #fae6bc url(img/caltab-tr-bkg.gif) repeat-x bottom;
}




/* -----------------------------------------------------------------------------
	#usereditor
----------------------------------------------------------------------------- */

.tablemain#usereditor table {
	width: 500px;
}

.tablemain#usereditor table table.datipers {
	border: none;
	margin:0;
	padding:0;
	background: none;
	width: 100%;
}

.tablemain#usereditor table td { 
  font-size:.8em;
  text-align:left;
  border-bottom:1px solid #ccc;
}

.tablemain#usereditor table td { 
  border-bottom:none;
}

.tablemain#usereditor table td a.off {
	border-bottom: 1px solid black;
}

.tablemain#usereditor table td a.off:hover {
	border-bottom-color: #C88100;
}







/* -----------------------------------------------------------------------------
	#caldet - calendar details
----------------------------------------------------------------------------- */
.tablemain#caldet table {
	width: 350px;
}

.tablemain#caldet table th {
	width: 10%;
}

#caldet-container {

}

#caldet-container .tablemain#caldet {
	margin-top: 4px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#caldet-container .tablemain#caldet:hover {
	background-color: #faf4e6;
}

#caldet-container .tablemain#caldet table {

}

.tablemain#caldet table tr.cal-disabled td {
	background: rgb(255,200,200);
	border-top: 1px solid red;
	border-bottom: 1px solid red;	
}

.tablemain#caldet table tr.cal-disabled-partial td {
	background: rgb(255,230,180);
}

.tablemain#caldet table tr.cal-enabled td {
	/*background: rgb(0,0,0);*/
}

.tablemain#caldet table td {
	font-size: 10px;
}

.tablemain#caldet table td.service {
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	border: 2px solid #fae7be;
}

.tablemain#caldet table th.options {
	height: 30px;
}

.tablemain#caldet table table.orari {
	border: none;
	margin: 0;
	padding: 0;
	background: none;
	width: 100%;
}

.tablemain#caldet table td.note {
	margin: 4px;
	padding: 4px;
}

.tablemain#caldet .caldet-user {
	display: none;
}


/* -----------------------------------------------------------------------------
	#search
----------------------------------------------------------------------------- */
.tablemain#search table {

}

.tablemain#search table th {
}

.tablemain#search table td {

}

.tablemain#recsearch table {
	font-size: 8px;
	width: 100%;
}

.tablemain#recsearch table th {
	padding: 1px;
	font-size: 10px;
	font-weight: normal;
}

.tablemain#recsearch table td {
  padding: 1px;
  text-align: center;
}


/* -----------------------------------------------------------------------------
	#userdetails
----------------------------------------------------------------------------- */
.caldet-user .tablemain#userdetails {
	display: inline;
}

.tablemain#userdetails table {
	width: 90%;
}

.tablemain#userdetails table th {
	width: 10%;
}

.tablemain#userdetails table.minimal {
	width: 200px;
}

.tablemain#userdetails table td.userdisabled {
	color: red;
	font-weight: bold;
	text-align: center;
	font-size: 14px;
}

.tablemain#userdetails table td.admin {
	background: rgb(255,230,180);
}

.tablemain#userdetails table td.modified,
.tablemain#userdetails table td.creation {
	text-align: center;
}


/* -----------------------------------------------------------------------------
	#caleditor
----------------------------------------------------------------------------- */
.tablemain#caleditor table {
	width: 550px;
}

.tablemain#caleditor table td.servizio {
	font-size: 16px;
	font-weight: bold;
	border: 2px solid #fae7be;
}

.tablemain#caleditor table td.turni {
	padding: 2px;
	width: 260px;
}

.tablemain#caleditor table td.turni table {
	width: 250px;
	margin: 0;
}





