/*
   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_container table
        {
        background: #fff;
        width: 740px;
        padding: 0;
        margin: 0 auto 1.5em auto;
        border-left: 1px solid #aaaaaa;
        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 Arial, Verdana, Helvetica, sans-serif;
        text-align: right;
        }

#table_container table th
        {
        font: bold 10px/22px Arial, Verdana, Helvetica, sans-serif;
        color: #333333;
        border-right: 1px solid #aaaaaa;
        border-bottom: 1px solid #aaaaaa;
        border-top: 1px solid #aaaaaa;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-align: left;
        padding: 8px 12px 4px 12px;
        background: #CAE8EA url(../images/table/bg_header.jpg) no-repeat;
        vertical-align:middle;
        }
#table_container table td.total
        {
        border-top: 0;
        border-left: 0;
        border-right: 1px solid #aaaaaa;
        background: none;
        text-align:right;
        font-weight:bold;
        text-transform:uppercase;
        letter-spacing:1px;
        }
#table_container table th.sortable,
#table_container table th.sortable-text,
#table_container table th.sortable-date,
#table_container table th.sortable-keep,
#table_container table th.sortable-date-dmy,
#table_container table th.sortable-numeric,
#table_container table th.sortable-currency,
#table_container table th.sortable-sortByTwelveHourTimestamp,
#table_container table th.sortable-sortIPAddress,
#table_container table th.sortable-sortEnglishLonghandDateFormat,
#table_container table th.sortable-sortScientificNotation,
#table_container table th.sortable-sortImage,
#table_container table th.sortable-sortFileSize

        {
        cursor:pointer;
        background: #CAE8EA url(../images/table/bg_header_sortable.jpg) no-repeat;
        padding: 8px 12px 4px 16px;
        }
#table_container table th.forwardSort
        {
        background:#CAE8EA url(../images/table/bg_header_down.jpg) no-repeat 0 0;
        }
#table_container table th.reverseSort
        {
        background:#CAE8EA url(../images/table/bg_header_up.jpg) no-repeat 0 0;
        }
#table_container table th.forwardSort a,
#table_container table th.reverseSort a
        {
        color:#000;
        outline:0 none;
        }
/*
These styles should be added when very long tables are expected
th.sort-active
        {
        background:#CAE8EA url(../images/table/bg_header_sorting.jpg) no-repeat 0 0;
        cursor:wait;
        }
th.sort-active a
        {
        color:#a80000 !important;
        cursor:wait;
        }
*/
#table_container table th a
        {
        text-decoration:none;
        color: #333333;
        }
#table_container table td a
        {
        text-decoration:none;
        color:#333333;
        font-size: 11px;
        }
#table_container table td img
        {
        margin:0 auto;
        border:3px solid #ddd;
        }

#table_container table td
        {
        font: normal 11px Arial, Verdana, Helvetica, sans-serif;
        border-right: 1px solid #aaaaaa;
        border-bottom: 1px solid #aaaaaa;
        padding: 6px 12px 6px 12px;
        color: #333333;
        }
#table_container table td.lft
        {
        text-align:left;
        }
#table_container table tr.alt
        {
        background: #efefef;
        color: #333333;
        }
        
#table_container table tr.over
        {
        background: #506d9e;
        color: #333333;
        }        
/* Poor old Internet Explorer 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... */
#table_container table tr.alt td
        {
        /* background: #F5FAFA; */
        /* background: #F5FAFA url(../images/table/td_alt.jpg) no-repeat; */
        }
/*        
#table_container table td[class~="alt"]
        {
        /* background: #fff url(../images/table/col_alt.jpg) no-repeat !important;
        }
*/        
/* Poor old Internet Explorer won't see the next two rules either
tbody tr.alt td:first-child
        {
        background: #F5FAFA url(../images/table/bullet2.gif) no-repeat;
        font-weight:bold;
        }
tbody tr td:first-child
        {
        background: #fff url(../images/table/bullet1.gif) no-repeat;
        font-weight:bold;
        }
*/