/* --------TABLE LAYOUT 0------------------------------ table.layout=layout0 ---*/
table.layout0 { border:none; padding:0px; margin:0px; width: 100%;}
table.layout0 td, table.layout0 th { border:none; padding:0px; margin:0px; }


/* --------TABLE LAYOUT 3---------- table.layout=layout3 ---*/
table.layout3 * {
	line-height: initial!important;
}

table.layout3 a:active,
table.layout3 a:link, table.layout3 a:visited {
	font-size:11px;
	font-weight: bold;
	color: #D40;
	text-decoration: none;
}
table.layout3 a:hover {
	text-decoration: underline;
}

table.layout3 {
	color:#222;
	font-size:11px;
	background:#cacbcc;
	margin:3px;
	border:#ccc 1px solid;
	border-collapse: collapse;
}
table.layout3 th {
	text-align: left;
	padding:1px 5px 1px 5px;

	background: #900902;
	color:#eee;
}
table.layout3 th:first-child {
	text-align: left;
	padding-left:2px;
}
}
table.layout3 tr {
	text-align: center;
	padding-left:2px;
}
table.layout3 td:first-child {
	padding-left:2px;
	border-left: 0;
}
table.layout3 td:last-child {
	padding-left:2px;
	padding-right:2px;
	border-right: 0;
}
table.layout3 td {
	padding:0px 5px 0px 5px;
	border: none;
	border-bottom:1px solid #ccc;
	border-left: 1px dotted #ccc;
	background-color: #fafafa;
}
table.layout3 tr:nth-child(9999999999n) td {
background-color: #f6f6f6;
}

/* ---------------------------------------------------------------------- FINE layout3 */

/** --------TABLE LAYOUT 4---------- table.layout=layout4---*/
table.layout4 * {
	line-height: initial!important;
}

table.layout4 a:link {
	color: #f22!important;
	font-weight: bold!important;
	text-decoration:none!important;
}
table.layout4 a:visited {
	color: #22f!important;
	font-weight:bold!important;
	text-decoration:none!important;
}
table.layout4 a:active,
table.layout4 a:hover {
	color: #00f!important;
	text-decoration:underline!important;
}
table.layout4 {
	color:#222!important;
	font-size:9px!important;
	background:#cacbcc!important;
	margin:3px!important;
	border:#ccc 1px solid;
	border-collapse: collapse!important;
}
table.layout4 th {
	line-height: 100%!important;
	text-align: left;
	padding:1px 2px 2px 1px!important;

	background: #909090!important;
	color:#eee!important;
}
table.layout4 th:first-child {
	text-align: left;
	padding-left:5px!important;
}
}
table.layout4 tr {
	text-align: center!important;
	padding-left:2px!important;
}
table.layout4 td:first-child {
	text-align: left;
	padding-left:2px!important;
	border-left: 0!important;
}
table.layout4 td {
	padding:0px 5px 0px 5px!important;
	border: none!important;
	border-bottom:1px solid #ccc!important;
	border-left: 1px dotted #ccc!important;
	background-color: #fafafa;
}
table.layout4 tr:nth-child(9999999999n) td {
background-color: #f6f6f6!important;
}
table.layout4 tr:last-child td {
	border-bottom:0!important;
}
/* ---------------------------------------------------------------------- FINE layout4 */

/* --------TABLE LAYOUT 5--------------------- table.layout=layout5 ---*/
table.layout5 * {
	line-height: 150%;
	color:#000;
}

table.layout5 a:link {
	color: #f22;
	font-weight: bold;
	text-decoration:none;
}
table.layout5 a:visited {
	color: #22f;
	font-weight:bold;
	text-decoration:none;
}
table.layout5 a:active,
table.layout5 a:hover {
	color: #00f;
	text-decoration:underline;
}
table.layout5 {
	color:#222;
	font-size:11px;
	margin:3px;
	border:#ccc 1px solid;
	border-collapse: collapse;
}
table.layout5 th {
	text-align: left;
	padding:1px 2px 2px 5px;
	background: #e9dfb1;
}
table.layout5 th:first-child {
	text-align: left;
	padding-left:5px;
}
}
table.layout5 tr {
	text-align: center;
	padding-left:2px;
}
table.layout5 td:first-child {
	text-align: left;
	padding-left:2px;
	border-left: 0;
}
table.layout5 td {
	padding:0px 5px 0px 5px;
	border: 0px;
	border-bottom:1px solid #ccc;
	border-left: 1px dotted #ccc;
	background-color: #fafafa;
}
table.layout5 tr:nth-child(9999999999n) td {
background-color: #f6f6f6;
}
table.layout5 tr:last-child td {
	border-bottom:0;
}
table.layout5 caption {
	font-weight: bold;
	font-style: italic;
	font-size: 14px;
	padding: 2px 4px;
	text-align: left;
}
/* ---------------------------------------------------------------------- FINE layout5 */

/* --------TABLE LAYOUT 6--------------------- table.layout=layout6 ---*/
table.layout6 * {
}

table.layout6 {
	background: #f5f5f5;
	border-collapse: separate;
	box-shadow: inset 0 1px 0 #fff;
	font-size: 12px;
	text-align: left;
	margin-bottom: 30px;
}	

table.layout6 th {
	background: linear-gradient(#777, #444);
	border-left: 1px solid #555;
	border-right: 1px solid #777;
	border-top: 1px solid #555;
	border-bottom: 1px solid #333;
	box-shadow: inset 0 1px 0 #999;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	padding: 5px 10px;
	position: relative;
	text-shadow: 0 1px 0 #000;	
}

table.layout6 th:after {
	background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.12));
	content: "";
	display: block;
	height: 25%;
	left: 0;
	margin: 1px 0 0 0;
	position: absolute;
	top: 25%;
	width: 100%;
}

table.layout6 th:first-child {
	border-left: 1px solid #777;	
	box-shadow: inset 1px 1px 0 #999;
}

table.layout6 th:last-child {
	box-shadow: inset -1px 1px 0 #999;
}

table.layout6 td {
	border-right: 1px solid #fff;
	border-left: 1px solid #e8e8e8;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 5px 10px;
	position: relative;
	transition: all 00ms;
	font-size: 12px;
}

table.layout6 td:first-child {
	box-shadow: inset 1px 0 0 #fff;
}	

table.layout6 td:last-child {
	border-right: 1px solid #e8e8e8;
	box-shadow: inset -1px 0 0 #fff;
}	

table.layout6 tr {
}

table.layout6 tr:nth-child(odd) td {
}

table.layout6 tr:last-of-type td {
	box-shadow: inset 0 -1px 0 #fff; 
}

table.layout6 tr:last-of-type td:first-child {
	box-shadow: inset 1px -1px 0 #fff;
}	

table.layout6 tr:last-of-type td:last-child {
	box-shadow: inset -1px -1px 0 #fff;
}	

/*  per effetto blur sulle righe senza hover
table.layout6 tbody:hover td { 
	color: transparent;
	text-shadow: 0 0 3px #aaa;
}

table.layout6 tbody:hover tr:hover td {
	color: #444;
	text-shadow: 0 1px 0 #fff;
}
*/
table.layout6 caption {
	font-weight: bold;
	font-style: italic;
	font-size: 14px;
	padding: 2px 4px;
	text-align: left;
}

table.layout6 tfoot td {
	background: linear-gradient(#ffd, #bbb);
	font-weight: bold;
	font-size: 13px;
	padding: 10px;
}

/* ---------------------------------------------------------------------- FINE layout6 */


/* --------CLASSI SPECIALI PER TABELLE------------------------------*/
table.trhover tr:hover td {
	background-color: #f0f0c0!important;
}

table tfoot td.totalsrow,  table tfoot th.totalsrow{
	background-color: #B9FDD9!important;
	font-weight: bold;
	font-size: 110%;
}

table td.subtotalsrow,  table th.subtotalsrow{
	font-weight: bold;
	font-size: 110%;
	background-color: #99cDe9!important;
	border-bottom: solid 2px black;
}
table td.subtotalscol1,  table th.subtotalscol1{
	font-weight: bold;
	font-size: 110%;
	background-color: #white!important;
	border-bottom: solid 2px black;
}


/* vari stili di uso generico -------------------------*/
.borderless {padding: 0px!important;border: 0px!important;margin: 0px!important;}
.bgred { background-color: #f88!important; }
.bggreen { background-color: #afa!important; }
.bgyellow { background-color: #ff9!important; }
.bgblue { background-color: #08f!important; color: white!important;}
.bggray { background-color: #ccc!important; }
.alignright { text-align: right!important; }
.alignleft { text-align: left!important; }
.aligncenter { text-align: center!important; }
.bordered { border: 3px solid #90090B!important; }
.left10{ padding-left: 10px!important; } .right10{ padding-right: 10px!important; }
.left20{ padding-left: 20px!important; } .right20{ padding-right: 20px!important; }
.width10 { width: 10px!important; }
.width100 { width: 100px!important; }
.width200 { width: 200px!important; }
.width300 { width: 300px!important; }
.bormarpad0 { border: 0px!important; 	border-top: 0px!important;	border-left: 0px!important;		border-right: 0px!important;	border-bottom: 0px!important;
	margin: 0!important; 				margin-top: 0!important;	margin-left: 0!important; 		margin-right: 0!important; 		margin-bottom: 0!important; 
	padding: 0px!important; 			padding-top: 0px!important; padding-left: 0px!important; 	padding-right: 0px!important; 	padding-bottom: 0px!important; 
}
.bold { font-weight: bold!important; }
.borderwhite { border: 1px solid white!important; }
.bordergray { border: 1px solid gray!important; }
.bordertop2 { border-top: 2px solid gray!important; }
.border0 { border: 0px!important; }
.margin0 { margin: 0!important; }
.padding0 { padding: 0px!important; }
.padding5 { padding: 5px!important; }
.padding10 { padding: 10px!important; }
.paddingh10 { padding-left: 10px!important; padding-right: 10px!important; }
.paddingbottom10 { padding-bottom: 10px!important; }
.paddingbottom20 { padding-bottom: 20px!important; }
.prewrap { white-space: pre-wrap; }
.user-level-icon{ vertical-align: middle; padding: 0px 3px 6px 0px; }
.font10 {font-size:12px!important;}
.floatright {float: right!important;}
.floatleft {float: left!important;}
.iconbigger {width: 20px!important; height: 18px!important;}
.fontlarger, .fontlarger td, .fontlarger th {font-size: larger!important;}
.fontlarge, .fontlarge td, .fontlarge th {font-size: large!important;}
.fontsize20, .fontsize20 td, .fontsize20 th {font-size: 20px!important;}
.fontsize25, .fontsize25 *, .fontsize25 td, .fontsize25 optgroup {font-size: 25px!important;}
.fontsize30, .fontsize30 *, .fontsize30 td, .fontsize30 optgroup {font-size: 30px!important;}
.fontsmaller, .fontsmaller td, .fontsmaller th {font-size: smaller!important;}
.fontsmall, .fontsmall td, .fontsmall th {font-size: small!important;}
.fontxsmall, .fontxsmall td, .fontxsmall th {font-size: x-small!important;}
.fontitalic { font-style: italic;}
.tfixedandwrap { word-wrap: break-word; word-break: break-word;  table-layout: fixed; }
.verticalaligntop {vertical-align: top!important;}
.verticalalignmiddle {vertical-align: middle!important;}
.hideme {visibility:hidden!important;}

/*------------------------ Keytag (abbellimento)   */
.keytag {
background-color: rgba(220,220,220,.5);
    border-radius: 5px;
    box-decoration-break: clone;
    border: solid 1px gray;
    padding: 5px;
    word-wrap: break-word;
}

/*------------------------ LINK a BOTTONE   */
.a-button {
    border-radius: 5px;
    box-decoration-break: clone;
    border: outset 2px gray;
    padding: 0px 5px;
    word-wrap: break-word;
    background-color: #ccc;
}

/*------------------------ LINK a BOTTONE   */
.a-buttonsmall {
	display: inline-block;
    border-radius: 5px;
    border: outset 2px gray;
    padding: 0px 5px;
    background-color: #ccc;
}

/*------------------------ LEDS   */
.greenled { background-image: url('/images/greenled.png');
 	vertical-align:middle;
 	background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    height:20px; width:20px; padding:0px; border:0px; margin:0px 5px 0px 0px!important; }
.redled { background-image: url('/images/redled.png');
 	vertical-align:middle;
	background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    height:20px; width:20px; padding:0px; border:0px; margin:0px 5px 0px 0px!important; }
.yellowled { background-image: url('/images/yellowled.png');
 	vertical-align:middle;
	background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    height:20px; width:20px; padding:0px; border:0px; margin:0px 5px 0px 0px!important; }
.offled { background-image: url('/images/offled.png');
 	vertical-align:middle;
	background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    height:20px; width:20px; padding:0px; border:0px; margin:0px 5px 0px 0px!important; }

.minigreenled { background-image: url('/images/greenled.png')!important;
 	vertical-align:middle;
	background-size: 14px 14px!important;	background-position: left!important; background-repeat: no-repeat!important;
    min-height:14px; width:14px; padding:1px 0px 0px 14px; border:0px; }
.miniredled { background-image: url('/images/redled.png')!important;
 	vertical-align:middle;
	background-size: 14px 14px!important;	background-position: left!important; background-repeat: no-repeat!important;
    min-height:14px; width:14px; padding:1px 0px 0px 14px; border:0px; }
.miniyellowled { background-image: url('/images/yellowled.png')!important;
 	vertical-align:middle;
	background-size: 14px 14px!important;	background-position: left!important; background-repeat: no-repeat!important;
    min-height:14px; width:14px; padding:1px 0px 0px 14px; border:0px; }
.minioffled { background-image: url('/images/offled.png')!important;
 	vertical-align:middle;
	background-size: 14px 14px!important;	background-position: left!important; background-repeat: no-repeat!important;
    min-height:14px; width:14px; padding:1px 0px 0px 14px; border:0px; }


/*------------------------ FORM PARAMETRI   */
form.formparm {
	padding-left: 20px;
}
.formparm label {
	padding-left: 20px;
	padding-right: 5px;
}
