table.fixed,
table.fullWidthTable
{
	table-layout: fixed;
}
table.fullWidthTable
{
	width: 100%;
}
table.collapsed,
table.adminGrid,
table.grid
{
	border-collapse: collapse;
}

@media print
{
	table.adminGrid thead,
	table.adminGrid tfoot,
	table.adminGrid tbody tr.groupHeader,
	table.adminGrid tbody tr.groupFooter
	{
		background-color: navy;
		color: white;
	}
	table.adminGrid thead a,
	table.adminGrid tfoot a,
	table.adminGrid tbody tr.groupHeader a,
	table.adminGrid tbody tr.groupFooter a
	{
		color: white;
	}
}

@media screen
{
	table.adminGrid,
	div.pageNumbers
	{
		font-size: 90%;
	}
	table.adminGrid,
	table.grid
	{
		color: black;
		margin-bottom: 10px;
	}
	table.adminGrid,
	table.adminGrid th,
	table.adminGrid tr,
	table.grid,
	table.grid th,
	table.grid tr
	{
		border-color: silver;
	}
	table.adminGrid thead
	{
		background-image: url(images/menubg-yellow.gif);
		background-position: top left;
		background-repeat: repeat-x;
	}
	table.adminGrid tfoot
	{
		background-image: url(images/menubg-bottom-yellow.gif);
		background-position: bottom left;
		background-repeat: repeat-x;
	}
	table.adminGrid tbody tr.groupHeader,
	table.adminGrid tbody tr.groupFooter,
	table.grid tbody tr.groupHeader,
	table.grid tbody tr.groupFooter
	{
		background-color: #eee;
		text-align: left;
	}
	table.adminGrid th,
	table.adminGrid td
	{
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap !important;
	}
	table.adminGrid thead th,
	table.adminGrid thead td,
	table.adminGrid tfoot th,
	table.adminGrid tfoot td,
	table.grid thead th,
	table.grid thead td,
	table.grid tfoot th,
	table.grid tfoot td,
	table.grid tbody th
	{
		font-weight: bold;
	}
	table.adminGrid tbody th,
	table.adminGrid tbody td,
	table.grid tbody td
	{
		font-weight: normal;
	}
	table.adminGrid tbody tr.groupHeader th,
	table.adminGrid tbody tr.groupHeader td,
	table.adminGrid tbody tr.groupFooter th,
	table.adminGrid tbody tr.groupFooter td,
	table.grid tbody tr.groupHeader th,
	table.grid tbody tr.groupHeader td,
	table.grid tbody tr.groupFooter th,
	table.grid tbody tr.groupFooter td
	{
		font-weight: bold;
	}
	
	table.adminGrid thead th a,
	table.adminGrid thead td a,
	table.adminGrid tfoot th a,
	table.adminGrid tfoot td a
	{
		color: black !important;
	}
	table.adminGrid tbody th a,
	table.adminGrid tbody td a
	{
		color: #777;
	}
	table.adminGrid tbody th a:link,
	table.adminGrid tbody th a:visited,
	table.adminGrid tbody td a:link,
	table.adminGrid tbody td a:visited
	{
		color: black;
	}
	
	table.adminGrid tr.selectedRow th,
	table.adminGrid tr.selectedRow td
	{
		background-color: #00319c !important;
		color: white !important;
	}
	
	div.pageNumbers
	{
		margin: 5px;
	}
	div.pageNumbers a
	{
		color: black !important;
	}
	table.adminGrid tr.pageNumbers th,
	table.adminGrid tr.pageNumbers td
	{
		font-weight: normal;
	}
	div.pageNumbers span.current,
	table.adminGrid tr.pageNumbers span.current
	{
		font-weight: bold;
		font-size: 140%;
		background-color: #00319c;
		color: white;
		padding: 2px;
	}
	div.pageNumbers span.recordCount,
	table.adminGrid tr.pageNumbers span.recordCount
	{
		display: block;
		float: right;
		margin-top: 5px;
	}
	
	div.adminGridRowCount
	{
		position: absolute;
		top: 35px;
		width: 190px;
		right: 5px;
		padding: 5px 0px;
		font-size: 150%;
		font-weight: bold;
		text-align: center;
		border: 2px solid silver;
		background-color: navy;
		color: white;
	}
	div.adminGridHelpText
	{
		position: absolute;
		top: 105px;
		width: 145px;
		left: 5px;
		font-size: 90%;
		text-align: left;
		margin: 3px 0px;
		white-space: normal !important;
		border-bottom: 2px solid #b5d4fe;
		border-top: 2px solid #b5d4fe;
		background-color: #f8fafc;
		color: black;
	}
	
	a.addLink,
	table.adminGrid thead th a.addLink,
	table.adminGrid tfoot th a.addLink
	{
		display: block;
		font-size: 120%;
		font-weight: bold;
		background-color: #0a0;
		color: white !important;
		text-decoration: none;
	}
}


/* Excel-style grid: */
.datasheet
{
    font-family: lucida grande,arial,helvetica,sans-serif;
    font-size: 11px;	
    background-color: #e3e3f3;
    border: solid 1px #9c9;
    /* padding: 5px 10px; */
}
.datasheet .outer
{
    border-top: 1px solid #bfdbff;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
.datasheet .inner
{
	border-left: 1px solid #bfdbff;
}
.datasheet .footer
{ 
	text-align:right; 
	padding-top:5px;
	height:30px;
	line-height:30px;
}
.datasheet .header
{
	padding-bottom:6px;
}
.datatable
{
    width:100%;
}
.datatable th
{
    padding: 3px;
    border-top: 1px solid #eef;
    border-left: 1px solid #eef;
    border-right: 1px solid #d0d7e5;
    border-bottom: 1px solid #d0d7e5;
    color: #27413e;
    background-color: #e4ecf7;
    font-weight: bold;
    text-align: left;
}
.datatable td 
{
    padding: 2px 2px;
    border-right: 1px solid #d0d7e5;
    border-bottom: 1px solid #d0d7e5;
    background-color: #fff;
}
.datatable td input 
{
    border: 0px none;
    width: 95%;
}
.datatable th.first 
{
    text-align: center;
    width: 25px;
    color: #222;
}
.datatable .command
{
	text-align: center;
	width: 100px;
}
.datatable .command a
{
	color: #27413e;
}