/*
   Add the following to your CSS file should you wish the cursor to
   "wait" while the script is processing the sort

body.sort-active *
        {
        cursor:wait;
        }
*/


table {
	width: 100%;
	padding: 0;
	margin: 0 auto 1.5em auto;
	border-left: 1px solid #DEDEDE;
	border-collapse: collapse;
}

.cs1 {
	width: 30em;
}

.cs2 {
	width: 20em;
}

.cs1 td,
.cs2 td,
#scientificNotation {
	text-align: right;
}

caption {
	padding: 0 0 5px 0;
	margin: 0 auto;
	width: auto;
	font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	text-align: right;
}

th {
	font: bold 10px/22px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #FFF;
	border-right: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE;
	border-top: 1px solid #DEDEDE;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: left;
	padding: 8px 12px 4px 12px;
	background: #e9cbc9 url(bg_header.jpg) no-repeat;
	vertical-align: middle;
}

td.total {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #DEDEDE;
	background: none;
	text-align: right;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
}

th.sortable,
th.sortable-text,
th.sortable-date,
th.sortable-keep,
th.sortable-date-dmy,
th.sortable-numeric,
th.sortable-currency,
th.sortable-sortByTwelveHourTimestamp,
th.sortable-sortIPAddress,
th.sortable-sortEnglishLonghandDateFormat,
th.sortable-sortScientificNotation,
th.sortable-sortImage,
th.sortable-sortFileSize,
th.sortable-sortAlphaNumeric,
th.sortable-sortEnglishDateTime {
	cursor: pointer;
	background: #e9cbc9 url(bg_header_sortable.jpg) no-repeat;
	padding: 8px 12px 4px 16px;
}

th.forwardSort {
	background: #e9cbc9 url(bg_header_down.jpg) no-repeat 0 0;
}

th.reverseSort {
	background: #e9cbc9 url(bg_header_up.jpg) no-repeat 0 0;
}

table thead th.forwardSort a,
table thead th.reverseSort a {
	color: #000;
	text-decoration: none;
}

/**/

These styles should be added when very long tables are expected
th.sort-active {
	background: #e9cbc9 url(bg_header_sorting.jpg) no-repeat 0 0;
	cursor: wait;
}

th.sort-active a {
	color: #a80000 !important;
	cursor: wait;
}

/**/

th a, th a:hover {
	text-decoration: none !important;
	color: #FFF !important;
	background: transparent;
}

td a {
	text-decoration: none;
	color: #239;
	background: transparent;
}

td img {
	margin: 0 8px 0 0;
	border: 1px solid #333;
	vertical-align: middle;
}

td.check
{
	vertical-align: middle !important;
	text-align: center;
}
td a:hover {
	color: #a84444;
	background: transparent;
}

td {
	font: normal 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	border-right: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE;
	padding: 6px 12px 6px 12px;
	color: #4f6b72;
}

td.lft {
	text-align: left;
}

tr.alt {
	background: #fdf4f9;
	color: #797268;
}

/* Poor old Internet Explorer 6 has a bug that means we can't use background images for the table rows
   as it trys to download the image each and every time that it is used (which means a 1000 row table
   will produce 1000 http requests for the image in question) */

tr[class="alt"] td {
	background: #fdf4f9;
}

td[class~="alt"] {
	background: #f7e9f4;
}

/* Poor old Internet Explorer won't see the next two rules either as it doesn't get :first-child */

tbody tr.alt td:first-child {
	background: #fdf4f9 url(bullet2.jpg) no-repeat;
	font-weight: bold;
}

tbody tr td:first-child {
	background: #fff url(bullet1.gif) no-repeat;
	font-weight: bold;
}

/* Image free rules for Internet Explorer < 7 */

* html tr.alt td {
	background-color: #fdf4f9;
}

* html tr td.alt,
* html tr.alt td.alt {
	background-color: #f7e9f4;
}
