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

 body
        {
/*        padding:0;
        border:0;
        margin:0;
        text-align:center;*/
        font-size:10px;
        font-family:verdana,arial,sans-serif;
        color:#545454;
        min-width: 800px;
        } 

h2 span
        {
        font-variant:small-caps;
        }
p a
        {
        font-weight:normal;
        outline:none;
        }
p a:link,
p a:visited
        {
        color:#333;
        text-decoration:underline;
        }
p a:hover
        {
        color:#fff;
        text-decoration:none;
        background:#000;
        }
p a:active
        {
        color:#000;
        text-decoration:underline;
        }
code
        {
        font-family:'andale mono','lucida console','courier new',monospace;
        font-size:1em;
        }
p
        {
        line-height:1.6em;
        margin:0 0 1em 0;
        }
h1
        {
        font-weight:lighter;
        font-family:georgia, times new roman, times, georgia, palatino, serif;
        text-align:center;
        margin-top:0.6em;
        color:#000;
        font-size:2em;
        }
h2
        {
        font-weight:lighter;
        font-family:verdana,arial,sans-serif;
        text-align:center;
        margin-top:1em;
        color:#333;
        text-transform:uppercase;
        letter-spacing:1px;
        font-size:1.2em;
        }
h2 span
        {
        font-variant:small-caps;
        text-transform:none;
        }

table.dstyle
        {
/*        width: auto; */
        font: normal 10px Verdana, Arial, Helvetica, sans-serif;
        padding: 0;
        margin: 0 auto 1.5em auto;
        border-left: 1px solid #C1DAD7;
        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 "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(sortmedia/bg_header.jpg) no-repeat;
        vertical-align:middle;
        }
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;
        }
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(sortmedia/bg_header_sortable.jpg) no-repeat;
        padding: 8px 12px 4px 16px;
        }
th.forwardSort
        {
        background:#CAE8EA url(sortmedia/bg_header_down.jpg) no-repeat 0 0;
        }
th.reverseSort
        {
        background:#CAE8EA url(sortmedia/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(sortmedia/bg_header_sorting.jpg) no-repeat 0 0;
        cursor:wait;
        }
th.sort-active a
        {
        color:#a80000 !important;
        cursor:wait;
        }
*/
th a
        {
        text-decoration:none;
        color: #4f6b72;
        background:transparent;
        }
table.dstyle td a
        {
        text-decoration:none;
        color:#239;
        background:transparent;
        }
table.dstyle td img
        {
        margin:0 auto;
        border:3px solid #ddd;
        }
table.dstyle td a:hover
        {
        color:#a84444;
        border-bottom:1px dotted #a80000;
        background:transparent;
        } */
table.dstyle td
        {
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        padding: 6px 12px 6px 12px;
        color: #4f6b72;
        }
table.dstyle td.lft
        {
        text-align:left;
        }
table.dstyle td.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) */
tr[class="alt"] td
        {
    /*    background: #F5FAFA url(sortmedia/td_alt.jpg) no-repeat; */
        background: #F5FAFA;
        }
td[class~="alt"]
        {
    /*    background: #edf3f3 url(sortmedia/col_alt.jpg) no-repeat !important; */
        background: #edf3f3;
        border:1px solid #666;
        font-weight:bold;
        }
/* Poor old Internet Explorer won't see the next two rules either as it doesn't get :first-child
tbody tr.dstyle.alt td:first-child
        {
        background: #F5FAFA url(sortmedia/bullet2.gif) no-repeat;
        font-weight:bold;
        }
tbody tr.dstyle td:first-child
        {
        background: #fff url(sortmedia/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;
        }
		
table
		{
		font: normal 10px Verdana, Arial, Helvetica, sans-serif;
		}

/* The current cell */
table.dstyle tbody tr td.currentCell,
table.dstyle tbody tr td:hover,
table.dstyle tbody tr.alt td:hover
        {
        background-color:#aaFAFA;
        }
/* Normal row hover styles */ 
table.dstyle tr.rowHover td,  /* Internet Explorer < 7 (and 7 in quirks mode) requires a specific class */
table.dstyle tr:hover td            /* All others can use the :hover pseudo */
        {
        background-color:#daFAFA;
        }  
/* Alternate row hover styles */
table.dstyle tr.alt:hover td
        {
        background-color:#daFAFA;
        }    
/* Column "cell" highlighting */
table.dstyle tbody tr td.rowHover
        {
        background-color:#eaFAFA;
        }
/* Header highlighting
table tr th.rowHover
        {
        color:#222;
        }    */
/* Row select styles */ 
table.dstyle tbody tr.alt.rowSelect,   /* Everything but Internet Explorer (IE treats this rule as being tr.rowSelect) */
table.dstyle tbody tr.alt.rowSelect td
        {
        background-color:#D3EEF0;
        border:1px solid #666;
  /*      color:#eee !important;       */
        }
table.dstyle tbody tr.rowSelect, /* All browsers */
table.dstyle tbody tr.rowSelect td
        {
        background-color:#DFE8F7;
        border:1px solid #666;
 /*       color:#fff !important;    */     
        }

tr.rowSelect td.rowHover,
tr.rowSelect:hover td
        {
        background-color:##D5ECD0;
        }
tr.alt.rowSelect td.rowHover,
tr.alt.rowSelect:hover td
        {
        background-color:##D5ECD0;
        }
table.dstyle tr.rowSelect td:hover,
tr.rowSelect td.currentCell
        {
        background-color:##D5ECD0;
        }
table.dstyle tr.alt.rowSelect td:hover
        {
        background-color:##D5ECD0;
        }
/* Just for the demo, make the cursor a pointer if the table rows are selectable */
table.dstyle.rowselect-rowSelect tbody td
        {
        cursor:pointer;
        }
.grouphead {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #336666;
	background-color: #A7D5DA;
	text-align: center;
}

/* ToolTip Style */
#clabel{
   border:1px solid #CCC;
   background-color:#F9F9F9;
   width:100px;
   position:absolute;
   visibility: hidden;
   overflow: hidden;
  	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
   color:#333;
}

#clabel h1{
   display:block;
  	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
   background-color:#F1F1F1;
   border-bottom:1px solid #CCC;  
   margin:0px;
   padding:0px 2px;   
}

#clabel p {
   margin:0px;
   padding:4px 2px;   
}
