body { background:#FFFFFF; margin: 0; padding: 0; font-family: arial; font-size: .9em; color: black }

/* Outermost table has No border, and is forced to 100% high. (Note: the center row (td.main) is also forced to 100% high, and vertical-aligned to top) */
table.outer { border-style: none; border-width: 0px; height:100%; width: 100%;}

/* Within the topmost row of the outer table is a separate table with a slightly different styling */

table.toprow { cellspacing: 0; cellpadding: 0; border-style: ridge; border-color: #99ccff; width: 100%; height: 100%; }

/* Header and footer have background colours */
/* TD elements for footer,header,main have various padding. */
/* TR.main is 100% high (forces header,footer to be constant height) and 90% wide */
/* TD.header,footer have black borders */
td.header { padding: 0x; background-color: #99ccff; }
td.footer { padding: 0px; background-color: #99ccff; border-top: 1px solid #003366; border-bottom: 0px;}
td.main { padding: 12px; vertical-align: top; height: 100%; width: 100%;}
tr.main { height: 100%; width: 100%; }

/* Highlight some table rows with pale yellow background */
tr.highlighted { background-color: #FFE071; }

/* Layout (structural) tables have NO border */
table.layout { border-style: none; border-width: 0px;  }

/* Invoice has pale blue background */
table.invoice { background-color: #99ccff }

hr { color: #000000; background: #000000; height: 1px; border: none; }

th { text-align: left }

/* The following mostly come from the main CUMS website */

hr, h1, h2, h3, h4, h5, h6 { color: #003366; font-family: tahoma,arial }

h1              { text-align: center; font-size: 1.8em; /* default 2em */ }
h2              { font-size: 1.4em; /* default 1.5em */ }
h3, big         { font-size: 1.1em; /* default 1.17em */ }
h5              { font-size: .83em; /* default .83em */ }
small, sub, sup { font-size: .77em; /* default .83em */ }
h6              { font-size: .7em; /* default .75em */ }

P { color: #000000; margin-top: 1em; margin-bottom: 1em; }
p.lm { margin-top: .5em; margin-bottom: .5em; }

a {
  color: #003366;
  font-weight: normal;
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
  color: #003366;
}

.highlight { color: #CC0000; font-weight: bold } /*highlight error messages etc in red.bold */
.faqtitle { color: #003366; background-color: #EEEEFF; }  /*dark blue, with pale green background*/
.noborder { 	border-style: solid ;
		border-width: 0px ; } /* no borders with images */
.alignright { text-align: right ; }
.alignleft { text-align: left ; }
.aligncentre { text-align: center ; }
.lightbg { background-color: #99ccff; } /* lt blue logo box Alter title gif */
.greybg { background-color: #666666; /*dddddd*/}
.lightgreybg { background-color: #ffffff; /*eeeeee*/}
.darkbg { background-color: #003366; }
.darkfg { color: #003366; }
.bold { font-weight: bold; }
.blackfg { color: #000000; }
.whitefg { color: #ffffff; }
legend { color: #003366; font-size: 1.2em; }  /* 003366  */
.menubox {padding: 1.5em 0 0 0; background-color: #d4d4d4; 
border-right: solid 1px #888888;
}
div.menu a {display:block; margin:0; width:100%; border-top:1px solid #fff;text-decoration: none;}
div.menu span {display:block;}
/* The following vertical paddings are in px rather than em to avoid rounding errors in Mozilla */
a.nav0 span { font-size: .9em; padding: 2px .6em; }
a.nav0s { background-color: #003366; color: #ffffff;}
a.nav0u { background-color: #99ccff; color: #003366;}
a.nav0u:hover { background-color: #5588bb; color: #ffffff;}

a.nav1 span { font-size: .8em; padding: 1px .6em 1px 2.0em;}
a.nav1s { background-color: #003366; color: #ffffff;}
a.nav1u { background-color: #c9e4ff; color: #003366;}
a.nav1u:hover { background-color: #5588bb; color: #ffffff;}

a.nav2 span { font-size: .8em; padding: 1px .6em 1px 3.4em;}
a.nav2s { background-color: #003366; color: #ffffff;}
a.nav2u { background-color: #ddeeff; color: #003366;}
a.nav2u:hover { background-color: #5588bb; color: #ffffff;}

fieldset { border: 1px solid #808080; }
* html div.fieldpad { padding: .3em .7em .7em .7em; }

