/* CSS around the tables */
.table {
	margin-bottom: 0;
}

table.dataTable thead .sorting,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc {
	background: inherit;
}

.table-hover>tbody>tr:hover {
	background-color: #f8f8f8;
}

/* table filter / heading sections */
.table-filter label,.table-filter input,.table-filter ul,.table-filter ol {
	padding: 0;
	margin: 0;
}

.table-filter ul,.table-filter ol {
	list-style-type: none;
	margin-left: 18px;
}

.table-filter li {
	padding-bottom: 5px;
}

.table-filter button {
	margin-right: 40px;
}

.table-filter label {
	margin-right: 10px;
}

/* Tables in dialogs */
.modal-dialog section.table td {
	padding-right: 20px;
	padding-bottom: 10px;
}

.modal-dialog section.table .row_last td {
	padding-bottom: 0;
}

.modal-dialog section.table .col_last {
	padding-right: 0;
}

.modal-dialog section.table .row_head td {
	font-weight: bold;
	padding-top: 5px;
}

.modal-dialog section.table .row_empty td {
	padding-top: 25px;
}

/* make tables a little bit more compact */
td,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td {
	line-height: 1;
	vertical-align: middle;
	padding: 5px;
}

.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th {
	padding: 5px;
}

table .btn-xs, table .btn-group-xs > .btn {
		padding: 2px 4px 0;
}

/* Progress bars in tables smaller */
table .progress {
	margin-bottom: 0;
}

table .action_button {
	margin-right: 5px;
}

table tbody tr td ul {
	list-style-type: none;
	padding-left: 0px;
	margin-bottom: 0px;
}

table tbody tr td ul li:last-child label {
	margin-bottom: 0px;
}

/* New styles after 2016-01-01 */
/* Style zone tags. */
.zone-tag {
	background-color: rgb(255, 242, 204);
	color: black;
	border-style: solid;
	border-width: 1px;
	border-radius: 3px;
	border-color: rgb(221, 221, 221);
	margin: 0 1px;
	padding: 0px 5px;
}

/* A space between icon group and text */
.zone-tag>span>span {
	padding-left: 5px;
}

/* Zone tag within a table. */
table .zone-tag {
	font-size: small;
}

/* http://stackoverflow.com/a/7232965/2750004 */
/* Make the zone tag more visible if it is a first column of the table */
table > tbody > tr > td:first-child .zone-tag{
	border-radius: 4px;
	font-size: 14px;
	padding: 2px 2px;
}
