/* Used with tablesort.js */

table#projects {}
table#pubs {}
#pagecontent table#contacts {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 10px auto;
	text-align:left;
	border: 1px solid #6e9640;	/* 	green 3 */border-collapse:collapse; width: 95%;
	}
#pagecontent table#projects th,
#pagecontent table#pubs th,
#pagecontent table#contacts th
        {
        font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
		line-height: 1.1em;
        color: #416045; background-color: #b8d6f2;
		border: 1px solid #6e9640;	/* 	green 3 */border-collapse:collapse;
        text-align: center;
        vertical-align:middle;
        padding-left: 15px;
        }
#pagecontent table#projects td:first-child
 {font-weight: normal;}
#pagecontent table#projects th,
#pagecontent table#pubs th {
}
/* contact table; funder table */
#pagecontent table#contacts th {
	font-size: 12px;
	line-height: 1.25;
	font-variant: small-caps;
	text-align: center !important;	
	}
#pagecontent table#contacts thead th a {
	color:#416045;	/* 	green 3 */
	}
#pagecontent table#contacts.funding th {
	padding: 5px 5px 5px 15px;
	}
#pagecontent table#contacts.state {
	text-align: center;	
	}
#pagecontent table#contacts.state  td:first-child {
	text-align: left;	
	}
#pagecontent table#contacts td {
	vertical-align:top;
	padding:2px 2px 5px 2px;
	font-size: 70%;
	line-height: 1.15em;
	border: 1px solid #6e9640;	/* 	green 3 */border-collapse:collapse;
}


/*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: #b8d6f2  url(../images/sort_images/bg_header_sortable.png) no-repeat  2px center;
        }
th.forwardSort
        {
        background:#b8d6f2 url(../images/sort_images/bg_header_down.png) no-repeat  2px center;
        }
th.reverseSort
        {
        background:#b8d6f2 url(../images/sort_images/bg_header_up.png) no-repeat  2px center;
        }
table thead th.forwardSort a,
table thead th.reverseSort a
        {
        color:#6e9640;	/* 	green 3 #000;*/
        text-decoration:none;
        }

/*
These styles should be added when very long tables are expected
th.sort-active
        {
        background:#CAE8EA url(../media/bg_header_sorting.jpg) no-repeat 0 0;
        cursor:wait;
        }
th.sort-active a
        {
        color:#a80000 !important;
        cursor:wait;
        }
*/
table thead th a
        {
        text-decoration:none;
        color: #4f6b72;
        /*background:transparent;*/
        }
table thead a:hover
        {
        text-decoration:none !important;
        }

td a
        {
        text-decoration:none;
        color:#239;
        /*background:transparent;*/
        }
td img
        {
        margin:0 auto;
        border:3px solid #ddd;
        }
/*td a:hover
        {
        color:#a84444;
        border-bottom:1px dotted #a80000;
        background:transparent;
        }
td
        {
        font: normal 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        padding: 6px 12px 6px 12px;
        color: #4f6b72;
        }
*/
td.lft
        {
        text-align:left;
        }
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) 
tr[class="alt"] td
        {
        background: #F5FAFA url(../media/td_alt.jpg) no-repeat;
        }
td[class~="alt"]
        {
        background: #edf3f3 url(../media/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 
tbody tr.alt td:first-child
        {
        background: #F5FAFA url(../media/bullet2.gif) no-repeat;
        font-weight:bold;
        }*/
/*tbody tr td:first-child
        {
        background: #fff url(../media/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;
        }
*/
