/*
   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;
        }

th
        {
        color: #4f6b72;
        background: #CAE8EA url(/images/tablesort/bg_header.jpg) no-repeat 0 0;
        height: 25px;
        }

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: #CAE8EA url(/images/tablesort/bg_header_sortable.jpg) no-repeat; */
        background: #CAE8EA url(/images/tablesort/bg_header.jpg) no-repeat 0 0;
        }
th.forwardSort
        {
        background:#CAE8EA url(/images/tablesort/bg_header_down.jpg) no-repeat 0 0;
        }
th.reverseSort
        {
        background:#CAE8EA url(/images/tablesort/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:#CAE8EA url(/images/tablesort/bg_header_sorting.jpg) no-repeat 0 0;
        cursor:wait;
        }
th.sort-active a
        {
        color:#a80000 !important;
        cursor:wait;
        }

/* 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: #F5FAFA url(/images/tablesort/td_alt.jpg) no-repeat;
        }
td[class~="alt"]
        {
        background: #edf3f3 url(/images/tablesort/col_alt.jpg) no-repeat !important;
        }
/* Poor old Internet Explorer won't see the next two rules either as it doesn't get :first-child */
table.spreadsheet tbody tr.alt td:first-child
        {
        background: #F5FAFA url(/images/tablesort/bullet2.gif) no-repeat;
        font-weight:bold;
        }
table.spreadsheet tbody tr td:first-child
        {
        background: #fff url(/images/tablesort/bullet1.gif) no-repeat;
        font-weight:bold;
        }
/* Image free rules for Internet Explorer < 7 */
* html tr.alt td
        {
        background-color:#F5FAFA;
        }
* html tr td.alt,
* html tr.alt td.alt
        {
        background-color:#edf3f3;
        }
