#sortTable table {
		background: #fff;

		}
#sortTable caption
        {
        padding: 0 0 5px 0;
        margin:0 auto;
        width:auto;
        font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        text-align: right;
        }
#sortTable th
        {
        font: bold 10px/22px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        color: #4f6b72;
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        border-top: 1px solid #C1DAD7;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-align: left;
        padding: 8px 12px 4px 12px;
        background: #CAE8EA url(../images/tablesort/bg_header.jpg) no-repeat;
        vertical-align:middle;
        }
#sortTable td.total
        {
        border-top: 0;
        border-left: 0;
        border-right: 1px solid #C1DAD7;
        background: none;
        text-align:right;
        font-weight:bold;
        text-transform:uppercase;
        letter-spacing:1px;
        }
#sortTable th.sortable,
#sortTable th.sortable-text,
#sortTable th.sortable-date,
#sortTable th.sortable-keep,
#sortTable th.sortable-date-dmy,
#sortTable th.sortable-numeric,
#sortTable th.sortable-currency,
#sortTable th.sortable-sortByTwelveHourTimestamp,
#sortTable th.sortable-sortIPAddress,
#sortTable th.sortable-sortEnglishLonghandDateFormat,
#sortTable th.sortable-sortScientificNotation,
#sortTable th.sortable-sortImage,
#sortTable th.sortable-sortFileSize,
#sortTable th.sortable-sortAlphaNumeric,
#sortTable th.sortable-sortEnglishDateTime

        {
        cursor:pointer;
        background: #CAE8EA url(../images/tablesort/bg_header_sortable.jpg) no-repeat;
        padding: 8px 12px 4px 16px;
        }
#sortTable th.forwardSort
        {
        background:#CAE8EA url(../images/tablesort/bg_header_down.jpg) no-repeat 0 0;
        }
#sortTable th.reverseSort
        {
        background:#CAE8EA url(../images/tablesort/bg_header_up.jpg) no-repeat 0 0;
        }
#sortTable table thead th.forwardSort a,
#sortTable 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;
        }
*/
#sortTable th a
        {
        text-decoration:none;
        color: #4f6b72;
        background:transparent;
        }
#sortTable td a
        {
        text-decoration:none;
        color:#239;
        background:transparent;
        }
#sortTable td img
        {
        margin:0 auto;
        border:3px solid #ddd;
        }
#sortTable td a:hover
        {
        color:#a84444;
        border-bottom:1px dotted #a80000;
        background:transparent;
        }
#sortTable td
        {
        font: normal 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        padding: 6px 12px 6px 12px;
        color: #4f6b72;
        }
#sortTable td.lft
        {
        text-align:left;
        }
#sortTable tr.alt
        {
        background: #F5FAFA;
        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) */
#sortTable tr[class="alt"] td
        {
        background: #F5FAFA url(../images/tablesort/td_alt.jpg) no-repeat;
        }
#sortTable 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 */
#sortTable tbody tr.alt td:first-child
        {
        background: #F5FAFA url(../images/tablesort/bullet2.gif) no-repeat;
        font-weight:bold;
        }
#sortTable tbody tr td:first-child
        {
        background: #fff url(../images/tablesort/bullet1.gif) no-repeat;
        font-weight:bold;
        }

