/*
 *  File:         demo_table.css
 *  CVS:          $Id$
 *  Description:  CSS descriptions for DataTables demo pages
 *  Author:       Allan Jardine
 *  Created:      Tue May 12 06:47:22 BST 2009
 *  Modified:     $Date$ by $Author$
 *  Language:     CSS
 *  Project:      DataTables
 *
 *  Copyright 2009 Allan Jardine. All Rights Reserved.
 *
 * ***************************************************************************
 * DESCRIPTION
 *
 * The styles given here are suitable for the demos that are used with the standard DataTables
 * distribution (see www.datatables.net). You will most likely wish to modify these styles to
 * meet the layout requirements of your site.
 *
 * Common issues:
 *   'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
 *     no conflict between the two pagination types. If you want to use full_numbers pagination
 *     ensure that you either have "example_alt_pagination" as a body class name, or better yet,
 *     modify that selector.
 *   Note that the path used for Images is relative. All images are by default located in
 *     ../../nachp/ - relative to this CSS file.
 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

.dataTables_wrapper { position: relative; min-height: 302px; _height: 302px; 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; }
.dataTables_filter { width: 50%; float: right; text-align: right; }
.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('../../nachp/back_disabled.jpg'); }
.paginate_enabled_previous { background-image: url('../../nachp/back_enabled.jpg'); }
.paginate_disabled_next { background-image: url('../../nachp/forward_disabled.jpg'); }
.paginate_enabled_next { background-image: url('../../nachp/forward_enabled.jpg'); }



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
table.display { margin: 0 auto; width: 100%; clear: both; border-collapse: collapse; }
table.display thead th { padding: 10px 18px 10px 10px; border-top: 1px solid #c9c9c9; border-bottom: 1px solid #c9c9c9; font-weight: bold; font-size: 14px; cursor: pointer; * cursor: hand; text-align: left; white-space: nowrap; }
table.display tfoot th { padding: 10px; border-top: 1px solid #c9c9c9; background-color: #e9e9e9; font-weight: bold; }
table.display tr.heading2 td { border-bottom: 1px solid #aaaaaa; }
table.display td { padding: 6px 10px; border-bottom: 1px solid #e1e1e1; border-left: 1px solid #f4f4f4; border-right: 1px solid #f4f4f4; white-space: nowrap; }
table.display td.center { text-align: center; }
table.display td a { font-weight: bold; }



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.sorting_asc { background: url('../../nachp/sort_asc.jpg') no-repeat center right; }
.sorting_desc { background: url('../../nachp/sort_desc.jpg') no-repeat center right; }
.sorting { background: url('../../nachp/sort_both.jpg') no-repeat center right; }
.sorting_asc_disabled { background: url('../../nachp/sort_asc_disabled.jpg') no-repeat center right; }
.sorting_desc_disabled { background: url('../../nachp/sort_desc_disabled.jpg') no-repeat center right; }





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table.display tr.odd.gradeA { background-color: #f6fbfe; }
table.display tr.even.gradeA { background-color: #ffffff; }

table.display tr.odd.gradeC { background-color: #f6fbfe; }
table.display tr.even.gradeC { background-color: #ffffff; }

table.display tr.odd.gradeX { background-color: #f6fbfe; }
table.display tr.even.gradeX { background-color: #ffffff; }

table.display tr.odd.gradeU { background-color: #f6fbfe; }
table.display tr.even.gradeU { background-color: #ffffff; }

tr.odd { background-color: #f6fbfe; }
tr.even { background-color: #ffffff; }





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.top { padding: 15px 10px; font-size: 11px; }
.bottom { padding: 10px 10px 5px 10px; background-color: #e9e9e9; border-bottom: 1px solid #aeaeae; margin-bottom: 30px; }
.top .dataTables_info { float: none; }
.clear { clear: both; }

.dataTables_empty { text-align: center; }
tfoot input { margin: 0.5em 0; width: 100%; color: #444; }
tfoot input.search_init { color: #999; }
td.group { background-color: #d1cfd0; border-bottom: 2px solid #A19B9E; border-top: 2px solid #A19B9E; }
td.details { background-color: #d1cfd0; border: 2px solid #A19B9E; }

.example_alt_pagination div.dataTables_info { width: 40%; }
.paging_full_numbers { width: 400px; height: 22px; line-height: 22px; }
.paging_full_numbers span.paginate_button, .paging_full_numbers span.paginate_active { font-size: 11px; font-weight: bold; border: 1px solid #a2a2a2; -webkit-border-radius: 3px; -moz-border-radius: 3px; padding: 2px 5px; margin: 0 3px; cursor: pointer; *cursor: hand; }
.paging_full_numbers span.paginate_button { background: #ffffff url(../../nachp/bgPaginateButton.gif) repeat-x bottom; }
.paging_full_numbers span.paginate_button:hover { background: #ffffff url(../../nachp/bgPaginateButtonHover.gif) repeat-x bottom; border: 1px solid #47b3ff; }
.paging_full_numbers span.paginate_active { background: #ffffff url(../../nachp/bgPaginateButtonActive.gif) repeat-x bottom; border: 1px solid #008bed; color: #000000; }

table.display tr.even.row_selected td { background-color: #B0BED9; }
table.display tr.odd.row_selected td { background-color: #9FAFD1; }


/*
 * Sorting classes for columns
 */
/* For the standard odd/even */
tr.odd td.sorting_1 { background-color: #f6fbfe; }
tr.odd td.sorting_2 { background-color: #f6fbfe; }
tr.odd td.sorting_3 { background-color: #f6fbfe; }
tr.even td.sorting_1 { background-color: #ffffff; }
tr.even td.sorting_2 { background-color: #ffffff; }
tr.even td.sorting_3 { background-color: #ffffff; }


/* 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: #c4ffc4; }
tr.odd.gradeA td.sorting_2 { background-color: #d1ffd1; }
tr.odd.gradeA td.sorting_3 { background-color: #d1ffd1; }
tr.even.gradeA td.sorting_1 { background-color: #d5ffd5; }
tr.even.gradeA td.sorting_2 { background-color: #e2ffe2; }
tr.even.gradeA td.sorting_3 { background-color: #e2ffe2; }
tr.odd.gradeC td.sorting_1 { background-color: #c4c4ff; }
tr.odd.gradeC td.sorting_2 { background-color: #d1d1ff; }
tr.odd.gradeC td.sorting_3 { background-color: #d1d1ff; }
tr.even.gradeC td.sorting_1 { background-color: #d5d5ff; }
tr.even.gradeC td.sorting_2 { background-color: #e2e2ff; }
tr.even.gradeC td.sorting_3 { background-color: #e2e2ff; }
tr.odd.gradeX td.sorting_1 { background-color: #ffc4c4; }
tr.odd.gradeX td.sorting_2 { background-color: #ffd1d1; }
tr.odd.gradeX td.sorting_3 { background-color: #ffd1d1; }
tr.even.gradeX td.sorting_1 { background-color: #ffd5d5; }
tr.even.gradeX td.sorting_2 { background-color: #ffe2e2; }
tr.even.gradeX td.sorting_3 { background-color: #ffe2e2; }
tr.odd.gradeU td.sorting_1 { background-color: #c4c4c4; }
tr.odd.gradeU td.sorting_2 { background-color: #d1d1d1; }
tr.odd.gradeU td.sorting_3 { background-color: #d1d1d1; }
tr.even.gradeU td.sorting_1 { background-color: #d5d5d5; }
tr.even.gradeU td.sorting_2 { background-color: #e2e2e2; }
tr.even.gradeU td.sorting_3 { background-color: #e2e2e2; }


/*
 * Row highlighting example
 */
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted { background-color: #ECFFB3; }
.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted { background-color: #E6FF99; }



