/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

.js-table {
	position: relative;
	min-height: 150px;
	clear: both;
	_height: 150px;
	zoom: 1; /* Feeling sorry for IE */
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
.js-table form {
    margin: 0;
}

.js-table table.display {
	margin: 0 auto;
	clear: both;
	width: 100%;
    table-layout: fixed;
}

.js-table table.display thead th {
	border-bottom: 1px solid black;
	font-weight: bold;
	cursor: pointer;
	* cursor: hand;
    height: 26px;
    font-size: 13px;
    text-align: left;
}

.js-table table.display thead th span {
    display: block;
    padding: 3px 18px 3px 10px;
}

.js-table table.display thead th.act {
    padding-left: 2px;
    padding-right: 2px;
    overflow: hidden;
    cursor: default;
}

.js-table table.display tfoot th {
	padding: 3px 18px 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}

.js-table table.display thead th.empty_th {
    padding: 0;
    height: 5px;
    line-height: 0;
    cursor: default;
}

.js-table table.display tfoot th.empty_th {
    padding: 0;
    height: 5px;
    line-height: 0;
}

.js-table table.display tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

.js-table table.display td {
	padding: 4px 10px;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
}

.js-table table.display td.act {
	padding: 4px 2px;
    cursor: default;
}

.js-table table.display td.w-tof {
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -moz-binding: url('/css/text-overflow.xml#ellipsis');
}

.js-table table.display td.f-wo-tof {
    -moz-binding: url('/css/text-overflow.xml#none');
}

.js-table table.display td.center {
	text-align: center;
}

.js-table table.display td.right {
	text-align: right;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.js-table .sorting_asc {
	background: url('/images/sort_asc.png') no-repeat center right;
}

.js-table .sorting_desc {
	background: url('/images/sort_desc.png') no-repeat center right;
}

.js-table .sorting {
	background: url('/images/sort_both.png') no-repeat center right;
}

.js-table .sorting_asc_disabled {
	background: url('/images/sort_asc_disabled.png') no-repeat center right;
}

.js-table .sorting_desc_disabled {
	background: url('/images/sort_desc_disabled.png') no-repeat center right;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
.js-table table.display tr.odd.gradeA {
	background-color: #EEEEEE;/*#f1f1f1*/;/*#ddffdd;*/
}

.js-table table.display tr.even.gradeA {
	background-color: #f9f9f9;/*#eeffee;*/
}

.js-table table.display tr.odd.gradeX {
	background-color: #ffdddd;
}

.js-table table.display tr.even.gradeX {
	background-color: #ffeeee;
}

.js-table table.display tr.odd.gradeU {
	background-color: #ddefff;/*#ddddff;*/
    font-weight: bold;
}

.js-table table.display tr.even.gradeU {
	background-color: #e9f5ff;/*#eeeeff;*/
    font-weight: bold;
}

.js-table table.display tr.odd.gradeS {
	background-color: #ddddff;
}

.js-table table.display tr.even.gradeS {
	background-color: #eeeeff;
}

.js-table table.display tr.odd.selected {
	background-color: #ffdd99;
}

.js-table table.display tr.even.selected {
	background-color: #ffe5b2;
}


.js-table tr.odd {
	background-color: #E2E4FF;
}

.js-table tr.even {
	background-color: white;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */

.js-table table.display tr.even.row_selected td {
	background-color: #B0BED9;
}

.js-table table.display tr.odd.row_selected td {
	background-color: #9FAFD1;
}


/*
 * Sorting classes for columns
 */
/* For the standard odd/even */
.js-table tr.odd td.sorting_1 {
	background-color: #D3D6FF;
}

.js-table tr.even td.sorting_1 {
	background-color: #EAEBFF;
}

/* For the Conditional-CSS grading rows */
/*
 	Colour calculations (based off the main row colours)
  Level 1:
		dd > c4
		ee > d5
	Level 2:
	  dd > d1
	  ee > e2
 */
.js-table tr.odd.gradeA td.sorting_1 {
	background-color: #e9e9e9;/*#c4ffc4;*/
}

.js-table tr.even.gradeA td.sorting_1 {
	background-color: #f1f1f1;/*#d5ffd5;*/
}

.js-table tr.odd.gradeX td.sorting_1 {
	background-color: #ffc4c4;
}

.js-table tr.even.gradeX td.sorting_1 {
	background-color: #ffd5d5;
}

.js-table tr.odd.gradeU td.sorting_1 {
	background-color: #c4dfff;/*#c4c4ff;*/
}

.js-table tr.even.gradeU td.sorting_1 {
	background-color: #d5e9ff;/*#d5d5ff;*/
}

.js-table tr.odd.gradeS td.sorting_1 {
	background-color: #c4c4ff;
}

.js-table tr.even.gradeS td.sorting_1 {
	background-color: #d5d5ff;
}

.js-table tr.odd.selected td.sorting_1 {
	background-color: #ffc95c;
}

.js-table tr.even.selected td.sorting_1 {
	background-color: #ffd175;
}


/*
 * Row highlighting example
 */
.js-table table.display tr.even:hover,
.js-table table.display tr.even.selected:hover {
	background-color: #ffc14c; /*#ECFFB3;*/
}

.js-table table.display tr.even:hover td.sorting_1,
.js-table table.display tr.even.selected:hover td.sorting_1 {
	background-color: #ffaa44; /*#DDFF75;*/
}

.js-table table.display tr.odd:hover,
.js-table table.display tr.odd.selected:hover {
	background-color: #ffb13c; /*#E6FF99;*/
}

.js-table table.display tr.odd:hover td.sorting_1,
.js-table table.display tr.odd.selected:hover td.sorting_1 {
	background-color: #ff9941; /*#D6FF5C;*/
}
