/* Default grid styles (mvccontrib's) */

.gridrow_alternate { background-color:#DDDDDD; }

/* NO: non permette di specificare l'allineamento da codice nelle grid webforms!
th
{
    text-align:left;
}
*/

/*********************************
    LiteGrid
 ********************************/
 
table.litegrid {
	border: 1px solid #426682;
	border-collapse: collapse;
	background-color:#eee;
	margin-bottom: 10px;
	color: Black;
}

table.litegrid th {
	background-color:#768ca5;
	color: White;
	font-size:1.1em;
	border: 1px solid #426682;
}
table.litegrid th a {
    color: inherit;
    text-decoration: none;
}
.t-window table.litegrid th {
    font-size:1em;
}

.artech-metro .litegrid th
{
	background-color: #7ca3c7;
	font-weight: normal;
    font-size: 1.2em;
    padding: 4px;
}

table.litegrid tr {
	font-size:0.9em;
	border: 1px solid #426682;
}   
table.litegrid tr.alt {
	background-color:#ccddee;
	font-size:0.9em;
	border: 1px solid #426682;
}

table.litegrid td {
	border: 1px solid #426682;
	padding: 2px 4px;
	line-height: 1.5em;
}
table.litegrid td ul, 
table.litegrid td ol {
    margin-top:5px;
    margin-bottom:5px;
}
	
table.layout-box {
    border-collapse:collapse;
    border: none;
    vertical-align: top;
}
table.layout-box>tr>td
{
    padding-left: 20px;
    border: 3px solid red;
    vertical-align:top;
}

/*********************************
    Collapsible
 ********************************/

table.collapsible {
	border: 1px solid #768ca5;
	border-collapse:  collapse;
	background-color:#eee;
	margin-bottom: 10px;
	color: Black;
    width: 100%;
}

table.collapsible caption
{
	background-color:#768ca5;
	color: White;
	font-size:1.4em;
	font-weight:bold;
	border-top: 1px solid #d8d8d8;
	border-left: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
	text-align:left;
	padding: 4px;
}

table.collapsible thead th 
{
    cursor: pointer;
    vertical-align: middle;
	background-color:#768ca5;
	color: White;
	font-size:1.1em;
	border: 1px solid #d8d8d8;
	padding-left: 16px;
	background-image: url(../images/collapse-right.png);
	background-repeat: no-repeat;
	background-position: left;
}  
 
table.collapsible tbody
{
	display: none;
}

table.expanded thead th 
{
	background-image: url(../images/collapse-down.png);
}  

table.expanded tbody
{
	display: table!important;
}

table.collapsible tr 
{
	font-size:0.9em;
	border: 1px solid #d8d8d8;
}   

table.collapsible td 
{
	border: 1px solid #d8d8d8;
	padding: 2px;
}

table.collapsible td ul, table.collapsible td ol 
{
    margin-top:5px;
    margin-bottom:5px;
}

table.collapsible tr.alt 
{
	background-color:#ccddee;
	font-size:0.9em;
	border: 1px solid #d8d8d8;
}

table.collapsible td:nth-child(n+2)
{
    color: #202080;
}

/*********************************
    Litebox
 ********************************/

table.litebox
{
	border-collapse:collapse;
	border: solid 1px #768ca5;
	width: 100%;
}

table.litebox caption
{
	background-color:#768ca5;
	color: White;
	font-weight:bold;
	text-align:left;
	padding: 4px;
}

table.litebox thead th, table.litebox thead td
{
	background-color:#768ca5;
	color: White;
	text-align:left;
	border: solid 1px #426682;
}  

.artech-metro table.litebox caption, .artech-metro table.litebox thead th, .artech-metro table.litebox thead td
{
	background-color: #7ca3c7;
}

table.litebox td
{
	padding-left: 3px;
	padding-right: 3px;
}

table.litebox td:last-child
{
	border-right: solid 1px #768ca5;
}

table.litebox tr.alt:nth-child(even) 
{
	/*background-color: #e0e6ee;*/
	background-color: rgb(218, 226, 232);
}

table.litebox tr.alt:nth-child(odd) 
{
	background-color: white;
}

table.litebox select
{
	width: 100%;
}

/***********************************************************
	WeekdayBitmap table
 ***********************************************************/
 
.weekdayCheckBox
{
    padding: 0;
    margin: 2px auto;
}
    
.weekdayTable
{
    border-collapse: collapse;
    border: 0!important;
    width: 120px;
    table-layout: auto!important;
}
    
.weekdayTable td
{
    text-align: center!important;
    padding: 0!important;
    margin: 0;
    border: 0!important;
}
    
    

/***********************************************************
    FancyTable (per fixed header scrollable table, futuro)
 ***********************************************************/

.fancyTable td, .fancyTable th {
	/* appearance */
	border: 1px solid #778899;
	
	/* size */
	padding: 5px;
	}

.fancyTable {
	/* text */
	/* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
	}
	
.fancyTable tbody tr td {
	/* appearance */
	background-color: #eef2f9;
	background-image: -moz-linear-gradient(
		top,
		rgba(255,255,255,0.4) 0%,
		rgba(255,255,255,0.2) 50%,
		rgba(255,255,255,0.1) 51%,
		rgba(255,255,255,0.0) 100%);
	
	background-image: -webkit-gradient(
		linear, left top, left bottom,
		color-stop(0%,rgba(255,255,255,0.4)),
		color-stop(50%,rgba(255,255,255,0.2)),
		color-stop(51%,rgba(255,255,255,0.1)),
		color-stop(100%,rgba(255,255,255,0.0)));
		
	/* text */
	color: #262c31;
	/* font-size: 11px;*/
	}

.fancyTable tbody tr.odd td {
	/* appearance */
	background-color: #d6e0ef;
	background-image: -moz-linear-gradient(
		top,
		rgba(255,255,255,0.4) 0%,
		rgba(255,255,255,0.2) 50%,
		rgba(255,255,255,0.1) 51%,
		rgba(255,255,255,0.0) 100%);
	
	background-image: -webkit-gradient(
		linear, left top, left bottom,
		color-stop(0%,rgba(255,255,255,0.4)),
		color-stop(50%,rgba(255,255,255,0.2)),
		color-stop(51%,rgba(255,255,255,0.1)),
		color-stop(100%,rgba(255,255,255,0.0)));
	}

.fancyTable thead tr th,
.fancyTable thead tr td,
.fancyTable tfoot tr th, 
.fancyTable tfoot tr td {
	/* appearance */
	background-color: #8ca9cf;
	background-image: -moz-linear-gradient(
		top,
		rgba(255,255,255,0.4) 0%,
		rgba(255,255,255,0.2) 50%,
		rgba(255,255,255,0.1) 51%,
		rgba(255,255,255,0.0) 100%);
	
	background-image: -webkit-gradient(
		linear, left top, left bottom,
		color-stop(0%,rgba(255,255,255,0.4)),
		color-stop(50%,rgba(255,255,255,0.2)),
		color-stop(51%,rgba(255,255,255,0.1)),
		color-stop(100%,rgba(255,255,255,0.0)));
		
	/* text */
	color: #121517;
	font-size: 12px;
	font-weight: bold;
	text-shadow: 0 1px 1px #e8ebee;
} 