/* 	Stili per i dati tabellari
		cfr: http://bradfrost.github.io/this-is-responsive/patterns.html
		*/

table {
	width: 100%;
	border-spacing: 4px;
}
.table-container {
	width: 100%;
	overflow: scroll;
}
th, td {
	font-size: .75em; /* 12px */
	padding: .8em;
}
th p,
td p,
th a,
td a {
	font-size: 1em;
}
th {
	text-align: left;
}
td {
	overflow: hidden;
}
tbody td, 
tbody th {
	background-color: #f7f7f7;	
}
.even td, 
.even th {
	background-color: #eceeef;	
}
tbody.active .titolo td, 
tbody.active .titolo th {
	background-color: #c2cbcf;	
}

th[scope=col] {
	font-weight: 600;
	font-size: .875em; /* 14px */
	background-color: #c2cbcf;
	color: #0b1115;
	width: 10%;
}
th[scope=col]:last-child {
	width: 50%;
}
.relative-cell {
	position: relative;
	padding-right: 3em;
}
table .expand,
table .active .expand,
table .sort,
table .help {
	width: 40px;
	height: auto;
	right: -.8em;
	top: -.8em;
	bottom: -.8em;
	background-color: #28404d;
	background-position: center;
}
.sort,
.help {
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	cursor: pointer;
}
.help {
	background-image: url('../../../img/app/icon-help.png');
}
.sort.up {
	background-image: url('../../../img/app/icon-sort-up.png');
}
.sort.down {
	background-image: url('../../../img/app/icon-sort-down.png');
}
table .expand:hover,
table .expand:focus,
table .sort:hover,
table .sort:focus {
	background-color: #436171;
}
.accordion th,
.accordion td {
	color: #22272A;
}
.accordion tr:first-child th,
.accordion tr:first-child td {
	font-weight: bold;
}
table.no-vertical-spacing {
	border-spacing: 4px 0;
}
