
/* jqeuery.tablesorter.js basic sortable table support 
http://tablesorter.com/docs

*/

/* tablesorter.js sortable table helpers */

table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}

table.tablesorter thead tr th, table.tablesorter tfoot tr th {
        background-color: #D0D0FF;
	color: #333366;
	/*border: 1px solid #FFF;*/
	font-size: 8pt;
	padding: 4px;
}


table.tablesorter th {
	/*color: #565770;*/
	cursor: pointer;
} 


/*clashes with table.grid
table.tablesorter thead tr .header {
	background-image: url(../images/arrow_updown.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}


table.tablesorter thead tr .headerSortUp {
	background-image: url(../images/arrow_up.gif);
}

table.tablesorter thead tr .headerSortDown {
	background-image: url(../images/arrow_down.gif);
}


table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}
*/

table.tablesorter th.headerSortUp {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 100% -80px;
}

table.tablesorter th.headerSortUp span {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 0 -80px;
}

table.tablesorter th.headerSortDown {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 100% 2px;
}

table.tablesorter th.headerSortDown span {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 0 2px;
}

/* 
 * jqeuery.tablesorter.js extended support for collapasble rows EXPERIMENTAL 
 */

/* define table skin */
table.grid {
	margin: 0;
	padding: 0;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}

table.grid * {
	font: 11px Arial, Helvetica, sans-serif;
	vertical-align: top;
	text-align: left;
}



/* use the below style below to hide the collapsed rows via CSS, you must also set the showCollapsed setting to true */		
/*
table.grid tr.expand-child td {
	display: none;
}
*/

table.grid th.headerSortUp {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 100% -80px;
}

table.grid th.headerSortUp span {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 0 -80px;
}

table.grid th.headerSortDown {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 100% 2px;
}

table.grid th.headerSortDown span {
	background: #e6edc1 url(../images/tablesorter_bkgrd.png) no-repeat 0 2px;
}

table.grid th span {
	padding: 4px 0 4px 6px;
	font-weight: bold;
}

/* expand/collapse */
table.grid .collapsible {
	padding: 0 0 3px 0;
}

.collapsible a.collapsed {
	margin: 2px;
	display: block;
	width: 15px;
	height: 15px;
	background: url(../images/tablesorter_expand.png) no-repeat 3px 3px;
	outline: 0;
}

.collapsible a.expanded {
	margin: 2px;
	display: block;
	width: 15px;
	height: 15px;
	background: url(../images/tablesorter_expand.png) no-repeat -124px 3px;
	outline: 0;
}