
table {
	border-collapse:collapse;
}

table th {
	font-weight: bold;
	text-align: left;
	padding: 0.2em;
}

table caption {
	font-size: 1.2em;
	font-weight: bold;
	padding: 0.4em 0 0.3em 0;
}


/*********************
***** HIGHLIGHTS *****
*********************/


/** Default headings have a grey background */

table tr.backgroundGrey, table td.backgroundGrey, table th.backgroundGrey, col.backgroundGrey  {
	background-color: #DDDDDD;
}

table th.backgroundHi, table tr.backgroundHi, table td.backgroundHi {
	background-color: #DDDDDD !important;
}



/****************/
/**** WIDTHS ****/
/****************/

table.fullWidth,
table.fullWidth tr /*,
table.fullWidth th,
table.fullWidth td */ {
	width: 100%;
}


/** BY DATA **/
table.dataWidth,
table.dataWidth tr /*,
table.dataWidth th,
table.dataWidth td */ {
	width: auto;
}





/*****************/			
/**** BORDERS ****/
/*****************/			

/** NONE **/
table.noBorder, table.noBorder tr, table.noBorder th, table.noBorder td {
	border: 0px;
}


/** THIN **/
table.thinBorder, table.thinBorder tr, table.thinBorder th, table.thinBorder td {
     border: 1px solid black;
}


/** THICK **/
table.thickBorder, table.thickBorder tr, table.thickBorder th, table.thickBorder td {
     border: 2px inset black;
}



/********************/			
/**** ALIGNMENTS ****/
/********************/			

/** LEFT **/
table.alignLeft {
	margin-left: 0;
	margin-right: auto;	
}

td.alignLeft, th.alignLeft {
	text-align: left;
}


/** CENTRE **/
table.alignCentre {
	margin-left: auto;
	margin-right: auto;	
}

td.alignCentre, th.alignCentre {
	text-align: center;
	display: table-cell;
}


/** RIGHT **/
table.alignRight {
	margin-left: auto;
	margin-right: 0;	
}

td.alignRight, th.alignRight {
	text-align: right;
}


/* Vertical */

td.alignTop, th.alignTop {
	vertical-align: top;
}

td.alignMiddle, th.alignMiddle {
	vertical-align: middle;
}

td.alignBottom, th.alignBottom {
	vertical-align: bottom;
}


/*****************************/
/* jquery tablesorter plugin */
/*****************************/
table.units thead tr .header {
	cursor: pointer;
}

table.units thead tr .sortImage {
	background: url(/images/table/bg.gif) no-repeat;
	width: 21px;
	height: 9px;
	float: right;
}

table.units thead tr .headerSortUp .sortImage {
	background: url(/images/table/asc.gif) no-repeat;
	width: 21px;
	height: 4px;
	float: right;
}

table.units thead tr .headerSortDown .sortImage {
	background: url(/images/table/desc.gif) no-repeat;
	width: 21px;
	height: 4px;
	float: right;
}

/* 
** try to make the name column wider so that the 
** description isn't too long and narrow
*/
table.units .name {
}