/****************************************************************
 * Page setup
 ***************************************************************
 */
body {
	background: #FFF url('../images/shadow.gif') repeat-y left;
}

div.content {
	margin: 0;
	padding: 10px 10px 10px 20px;
	width: expression(this.offsetParent.offsetWidth - 31);
}

div#content {
	margin: 0;
	padding: 10px 10px 10px 20px;
	width: expression(this.offsetParent.offsetWidth - 31);
	height: expression(this.offsetParent.offsetHeight - 21);
}

/****************************************************************
 * Headings
 ****************************************************************
 */
 div#content h1 {
	font-size: 140%;
	font-weight: bold;
	color: #146461;
}

div.content h1 {
	font-size: 140%;
	font-weight: bold;
	color: #146461;
}

div#content h2 {
	font-size: 100%;
	font-weight: bold;
	color: #146461;
}


div.content h2 {
	font-size: 100%;
	font-weight: bold;
	color: #146461;
}

/****************************************************************
 * Splash banner
 ****************************************************************
 */
div#splash {
	margin: 5% auto 0 auto;
	padding: 0;
	text-align: center;
    position: absolute;
    top:50%;
    left: 50%;
    width: 560px;
    height: 363px;
    margin-top: -180px;
    margin-left: -273px;
    margin-top: expression(- this.offsetHeight / 2);
}

div#login{
	padding: 5px 0;
}

div#login label{
	padding:2px;
}

/****************************************************************
 * Columns
 ****************************************************************
 */
div.col_left {
	float: left;
	padding: 5px;
	width: 120px;
}

div.col_right {
	float: left;
}

/****************************************************************
 * Link Buttons
 ****************************************************************
 */
div.link {
	float: left;
	position: relative;
	height: 20px;
	width: 130px;
}

div.link a,
div.link span {
	display: block;
	text-align: center;
	line-height: 20px;
	text-decoration: none;
	color: #322090;
	background: #93C9E5;
	margin: 0 10px;
	font-weight: bold;
}

div.link a:hover {
	color: #146463;
	background: #D9F6FE;
}

div.link div.left,
div.link div.right {
	position: absolute;
	top: 0;
	bottom: 0;
	height: 20px;
	width: 10px;
}

div.link div.left {
	left: 0;
	background: url('../images/links/left.gif') left center no-repeat;
}

div.link a:hover div.left {
	background: url('../images/links/left-over.gif') left center no-repeat;
}

div.link div.right {
	right: 0;
	background: url('../images/links/right.gif') right center no-repeat;
}

div.link a:hover div.right {
	background: url('../images/links/right-over.gif') right center no-repeat;
}




/****************************************************************
 * Table row colouring
 ****************************************************************
 */
tr.row0 {
	background: #EDEDED;
}

tr.row1 {
	background: #FFF;
}

/****************************************************************
 * Other tables
 ****************************************************************
 */
table.prep {
	border: 1px solid #146461;
	margin: 10px 0;
	font-size: 95%;
}

table.prep tr td {
	padding: 8px;
	border-left: 1px solid #D9D9D9;
}

table.prep th {
	color: #146461;
	font-weight: bold;
	border: none;
	text-align: left;
	padding-left: 1em;
}

table.gen {
	border: 1px solid #146461;
	margin: 10px 0;
	font-size: 95%;
}

table.gen tr td {
	padding: 8px;
	border-left: 1px solid #D9D9D9;
}

table.gen th {
	color: #146461;
	font-weight: bold;
	border: none;
	background-image: url("../images/palette/report.gif");
	background-repeat:no-repeat;
	background-position:15px 8px;
	text-align: left;
	padding:5px;
	padding-right:20px;
}

table.gen tr.q {
	color:#146461;
	font-weight:bold;
	border-top:1px solid #D9D9D9;
	background:#D9D9D9;
}

table.gen tr.active {
	color:#322090;
	font-weight:bold;
	background:#93C9E5;
}

td.user {
	color:#146461;
}

/****************************************************************
 * Report table(s)
 ****************************************************************
 */
table.report {
	border: none;
	margin: 10px 0;
	font-size: 95%;
}

table.report td,
table.report th {
	padding: 5px 8px;
	border-left: 1px solid white;
}

table.report th.selected {
	color: #146461;
}

table.report tr.total,
table.report tr.title {
	background: #C4F0EF;
	color: #322090;
}

table.report td.icons {
	text-align: right;
}

/****************************************************************
 * Column sorting table
 ****************************************************************
 */
table.col_sort {
	border: none;
	border-collapse:collapse;
	margin: 10px;
	font-size: 95%;
}

table.col_sort td,
table.col_sort th {
	padding: 5px 8px;
	text-align:left;
	border-left: 1px solid white;
}

table.col_sort td.add {
	text-align: right;
}

table.col_sort tr.title th{
	text-align:center;
	background: #C4F0EF;
	color: #322090;
}

span.title {
	font-weight:bold;
	color:#146461;
}

span.error {
	color: red;
    font-size: 100%;
}

div.header {
	padding: 16px
}


th.col_move {
	padding:0;
	width:13px;
}

span.col_del {
	padding:0;
}



.listEntry
{
	display: block;
	padding: 8px;
	margin: 4px;
	border: none;
	border-bottom: 1px dashed rgb(128,128,128);
	position: relative;
	background-color: white;
}


.entryButtons
{
	position: absolute;
	right: 0px;
	top : 4px;
	padding: 4px
}


.entryButtons .link
{
	margin: 8px;
}


#footer
{
	position:absolute; 
	margin:0px; 
	padding:0px; 
	bottom:0px; 
}


#searchPopupContainer
{
	position:absolute; 
	margin:0px;
	padding:0px;
	left:100px; 
	top:100px; 
	width:100px;
	height:100px;
	z-index:100; 
	visibility:hidden;
	
}

#resultsTable
{
	margin:0px; 
	padding: 8px;
	padding-left: 16px
}

/*
 * The following two styles allow a <table> to be centered within a containing <div> on IE, Mozilla, Opera.
 */

.center {
	
	text-align: center;
}

.center table {
	
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/*
 * The following provide css rules for the expand section header:
 */

span.expandLink {

   cursor: pointer;
}

span.expandLink-collapsed {

   color: gray;
}

a.esp-link,
a.esp-link:visited  {
   color: black;
   text-decoration: none;
}

a.esp-link:hover {
   color: black;
   text-decoration: underline;
}

label.disabled {
   color:gray;
}

