/*
 * Base CSS file - sets basic attributes
 */

html {
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    font-size: 90%;
    font-family: "lucida sans", "trebuchet ms", tahoma, verdana, arial, sans-serif;
    background: #dfd;
    color: black;

/* hide overflow:hidden from IE5/Mac */
/* \*/
overflow: hidden;
/* */
}

body {
    height:100%;
    max-height:100%;
    overflow: hidden;
    padding:0;
    margin:0;
    border:0;
}

/* Header macros */
#header {
    position: absolute;
    display: block;
    margin: 0;
    top: 0;
	left: 0;
    width: 100%;
    height: 7em;
    overflow: hidden;
	background: #aea;
	color: green;
    border-bottom: solid 0.1em olive;
    z-index:6;
}
/* Use the 'Tan Hack' to get the header height for IE */
* html #header {
   height: 7em;  /* IE 5 Win needs to add the total border width */
   he\ight: 7em;    /* IE 6 , IE5 Mac */
}

#title-pad { /* Space the header text into the viewport */
   display: block;
   height: 2em;
   float: left;
}

#title1 {font-size: 4em;}
#title2 {font-size: 1.5em;}

#logo {
   float: left;
   height: 6em;
   margin-right: 2em;
   margin-left: 1em;
}
/* End of header macros */

/* Content div */
#content {
	position: absolute;
	top: 7em;
	bottom: 2em;
	left: 0;
	right: 0;
    overflow: auto;
	padding: 1em 2em 2em 2em;
	z-index: 3;
}
* html #content {
	top: 0; 
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	max-height: 100%;
	width: 100%;
	overflow: auto;
	position: absolute;
	z-index:3; 
	border-top: 7em solid #fff; 
	border-bottom: 1.5em solid #fff;
}

/* Footer macros */
#footer {
    position: fixed;
    display: block;
    margin: 0;
    bottom: 0;
    width: 100%;
    height: 2em;
    font-size: 0.8em;
    background: #aea;
    text-align: right;
	padding-top: 0.4em;
    border-top: solid 0.1em olive;
    z-index: 5; }

#footer .footleft {
    float: left;
    text-align: left;
    padding-left: 1em;
}

#footer .footright {
    float: right;
    text-align: right;
	padding-right: 1em;
}

img.cplogo { height: 1.4em; 
	vertical-align: middle}

/* end of page footer */

/* general purpose macros */
div.spacer {clear: both;}
div.inline {display: inline;}

div.logoutbtn { float: right;
				padding-right: 2em;
				padding-top: 1em;
				font-size: 0.8em;
	}


h1 {
   font-weight: bold;
   font-size: 2em;
}

p {
   font-size: 1em;
}

.f-right { float: right;
			padding-right: 2em;
	}
.f-left { float: left;
			padding-left: 2em;
	}
	
.centre {text-align: center;}
.bold {font-weight:bold;}
.em1 {font-size: 4em;}
.em2 {font-size: 2em;}
.em3 {font-size: 1.2em;}
.em4 {font-size: 1em;}
.em5 {font-size: 0.8em;}
.em6 {font-size: 0.7em;}
.em7 {font-size: 0.6em;}
.nologo {visibility: hidden; width: 0;}
.invis {visibility: hidden;}
.nodisplay {display: none;}
.grayed {color: gray;}
.hilite {color: red;}


table.resultlist {
	border-collapse: collapse;
	margin-left: auto;	
	margin-right: auto;
}

table.input {
	border-collapse: collapse;
	margin-left: 1em;	
	margin-right: auto;
}

td.datacell, th.datahead {
	border: 0.1em solid green;
	padding-left: 0.2em;
	padding-right: 0.2em}
	
td.numcell {text-align: right;}
	
td.pedcell {font-size: 0.9em;
	}
	
td.borderright, th.borderright {
	border-right: 0.1em solid green;
}

td.anccell {
	font-size: 0.9em;
	font-weight: bold;
	text-align: right;
	vertical-align: top;
	}
	
td.labelcell {
	vertical-align: top;
/*	border: 0.1em solid green; */
	}
td.fieldcell {
	vertical-align: top;
/*	border: 0.1em solid green; */
	}
	
td.chngcell {
	vertical-align: top;
/*	border: 0.1em solid green; */
	}

td.ctrlcell {
	vertical-align: top;
	padding-left: 2em;
	padding-right: 2em;
	border: 1px solid gray; 
	}

