
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * General page setup
 */
#dt_grid {
	margin: 0;
	padding: 0;
	color: #333;
	background-color: #fff;
}


#dt_grid #container {
	padding: 0;
}


#dt_grid #footer {
	padding: 0;
}

#dt_grid #demo {
}

#dt_grid .big {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.6em;
	color: #4E6CA3;
}

#dt_grid .spacer {
	height: 20px;
	clear: both;
}

#dt_grid .clear {
	clear: both;
}

#dt_grid pre {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

#dt_grid h1 {
	margin-top: 2em;
	font-size: 1.3em;
	font-weight: normal;
	line-height: 1.6em;
	color: #4E6CA3;
	border-bottom: 1px solid #B0BED9;
	clear: both;
}

#dt_grid h2 {
	font-size: 1.2em;
	font-weight: normal;
	line-height: 1.6em;
	color: #4E6CA3;
	clear: both;
}

#dt_grid a {

	text-decoration: none;
}

#dt_grid a:hover {
	text-decoration: underline;
}

#dt_grid ul {
	color: #B0BED9;
}


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

.dataTables_wrapper {
	position: relative;
	height: 35px;
	clear: both;
}

.dataTables_processing {
	position: absolute;
	top: 0px;
	left: 50%;
	width: 250px;
	margin-left: -125px;
	border: 1px solid #ddd;
	text-align: center;
	color: #999;
	font-size: 11px;
	padding: 2px 0;
}

.dataTables_length {
	width: 40%;
	float: left;
	padding-bottom: 5px;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
	padding-bottom: 5px;
}

.dataTables_info {
	width: 60%;
	float: left;
}

.dataTables_paginate {
	width: 44px;
	* width: 50px;
	float: right;
	text-align: right;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 19px;
	margin-left: 3px;
	float: left;
}

.paginate_disabled_previous {
	background-image: url('/i/grid/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('/i/grid/back_enabled.jpg');
}

.paginate_disabled_next {
	background-image: url('/i/grid/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('/i/grid/forward_enabled.jpg');
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
table.display {
	margin: 0 auto;
	width: 100%;
	clear: both;
}

table.display thead th {
	height: 28px;
	border-top: 1px solid #57676e;
	border-bottom: 2px solid #57676e;
	font-weight: bold;
	cursor: pointer;
	* cursor: hand;
	text-align: left;
	padding-left: 5px;
	width: ;
}

table.display tfoot th {
	border-top: 1px solid #57676e;
	width: ;
}

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

table.display td {
	padding-left: 10px;
	height: 28px;
	border-bottom: 1px solid #57676e;
}

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



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

.sorting_asc {
	background: url('/i/grid/sort_asc.jpg') no-repeat center right;
}

.sorting_desc {
	background: url('/i/grid/sort_desc.jpg') no-repeat center right;
}

.sorting {
	background: url('/i/grid/sort_both.jpg') no-repeat center right;
}




/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table.display tr.odd.gradeA {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

table.display tr.even.gradeA {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}




table.display tr.odd.gradeA {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

table.display tr.even.gradeA {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

table.display tr.odd.gradeC {
	background-color: #ddddff;
	border-bottom: 1px solid #57676e;
}

table.display tr.even.gradeC {
	background-color: #eeeeff;
	border-bottom: 1px solid #57676e;
}

table.display tr.odd.gradeX {
	background-color: #ffdddd;
	border-bottom: 1px solid #57676e;
}

table.display tr.even.gradeX {
	background-color: #ffeeee;
	border-bottom: 1px solid #57676e;
}

table.display tr.odd.gradeU {
	background-color: #ddd;
	border-bottom: 1px solid #57676e;
}

table.display tr.even.gradeU {
	background-color: #eee;
	border-bottom: 1px solid #57676e;
}


tr.odd {
	background-color: #E2E4FF;
	border-bottom: 1px solid #57676e;
}

tr.even {
	background-color: white;
	border-bottom: 1px solid #57676e;
}





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.top, .bottom {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

tfoot input {
	margin: 0.5em 0;
	width: 100%;
	color: #444;
}

tfoot input.search_init {
	color: #999;
}


.grid_alt_pagination div.dataTables_info {
	width: 40%;
}

.grid_alt_pagination .dataTables_paginate {
	width: 400px;
}

.grid_alt_pagination div.dataTables_paginate span.paginate_button,
 	.grid_alt_pagination div.dataTables_paginate span.paginate_active {
	border: 1px solid #aaa;
	font-weight: bold;
	font-size: 12px;
	padding: 2px 5px;
	margin: 0 3px;
	cursor: pointer;
	*cursor: hand;
}

.grid_alt_pagination div.dataTables_paginate span.paginate_button {
	background-color: #ddd;
}

.grid_alt_pagination div.dataTables_paginate span.paginate_button:hover {
	background-color: #ccc;
}

.grid_alt_pagination div.dataTables_paginate span.paginate_active {
	background-color: #99B3FF;
}


table.display tr.row_selected.odd td {
	border-bottom: 1px solid #57676e;
}

table.display tr.row_selected.even td {
	border-bottom: 1px solid #57676e;
}


/*
 * Sorting classes for columns
 */
/* For the standard odd/even */
tr.odd td.sorting_1 {
	background-color: #D3D6FF;
	border-bottom: 1px solid #57676e;
}

tr.odd td.sorting_2 {
	background-color: #DADCFF;
	border-bottom: 1px solid #57676e;
}

tr.odd td.sorting_3 {
	background-color: #E0E2FF;
	border-bottom: 1px solid #57676e;
}

tr.even td.sorting_1 {
	background-color: #EAEBFF;
	border-bottom: 1px solid #57676e;
}

tr.even td.sorting_2 {
	background-color: #F2F3FF;
	border-bottom: 1px solid #57676e;
}

tr.even td.sorting_3 {
	background-color: #F9F9FF;
	border-bottom: 1px solid #57676e;
}


/* 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
 */
tr.odd.gradeA td.sorting_1 {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeA td.sorting_2 {
	background-color: #d1ffd1;
}

tr.even.gradeA td.sorting_1 {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeA td.sorting_2 {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeC td.sorting_1 {
	background-color: #c4c4ff;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeC td.sorting_2 {
	background-color: #d1d1ff;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeC td.sorting_1 {
	background-color: #d5d5ff;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeC td.sorting_2 {
	background-color: #e2e2ff;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeX td.sorting_1 {
	background-color: #ffc4c4;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeX td.sorting_2 {
	background-color: #ffd1d1;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeX td.sorting_1 {
	background-color: #ffd5d5;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeX td.sorting_2 {
	background-color: #ffe2e2;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeU td.sorting_1 {
	background-color: #c4c4c4;
	border-bottom: 1px solid #57676e;
}

tr.odd.gradeU td.sorting_2 {
	background-color: #d1d1d1;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeU td.sorting_1 {
	background-color: #d5d5d5;
	border-bottom: 1px solid #57676e;
}

tr.even.gradeU td.sorting_2 {
	background-color: #e2e2e2;
	border-bottom: 1px solid #57676e;
}


/*
 * Row highlighting grid
 */
.ex_highlight #grid tbody tr.even:hover, #grid tbody tr.even td.highlighted {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}

.ex_highlight #grid tbody tr.odd:hover, #grid tbody tr.odd td.highlighted {
	background-color: #fff;
	border-bottom: 1px solid #57676e;
}
