/* Margins */

BODY {
  margin: 0em;
  link-color: red;
  background: black;
  color: #FFFF66;
}

DIV.marginated {
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 1em;
  margin-right: 1em;
}


/* Force zero margins, borders and padding, and display empty cell backgrounds */

TABLE.tab, TABLE.tab TD, TABLE.brule, TABLE.brule TD {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  border-collapse: collapse;
  border: 0px;
  border-spacing: 0px;
  padding: 0px;
  empty-cells: show;
}



/* Rule at bottom of page */

TABLE.brule {
  Width: 100%;
}

TABLE.brule TD {
  width: 100%;
  height: 40;
  background-repeat: repeat-x;
  empty-cells: show;
}



/* Links */

A:link {
  color: #0099FF;
}
A:visited {
  color: #9900FF;
}
A:active {
  color: red;
}



/* Navigation tabs */

TABLE.tab {
  Width: 100%;
}

TABLE.tab TD {
  background-repeat: repeat-x;
  font-size: smaller;
  font-weight: bold;
  font-family: helvetica, sans-serif;
  white-space: nowrap;
}

TABLE.tab A {
  text-decoration: none;
}
TABLE.tab A:link {
  color: #0099FF;
}
TABLE.tab A:visited {
  color: #9900FF;
}



/* Selected navigation tab link */

TD.stab A, TD.stab A:link, TD.stab A:visited {
  color: #FFFF66;
}



/* Home tab and inter-tab transitions */

TD.htab, TD.itab {
  vertical-align: top;
}

TD.htab IMG, TD.itab IMG {
  width: 36px;
  height: 36px;
  vertical-align: top;
  border: 0px;
}

TD.htab IMG {width: 20px}
TD.itab IMG {Width: 36px}


/* No tab */
TD.ntab {
  width: 100%;
  empty-cells: show;
}



/* Headings */

H1, H2, H3, H4, H5, H6, H7, H8, H9 {
  font-family: helvetica, sans-serif;
  line-height: 105%;
}
H1, H2 {
  color: #FF6600;
}
H3, H4, H5, H6, H7, H8, H9 {
  color: #FF9900;
}
H1 {
  text-align: center;
}
H2 {
  margin-top: 2.5ex;
}



/* Images in paragraphs */

IMG.left {
  float: left;
  margin-right: 1em;
  margin-bottom: 0.5ex;
}


/* Misc */

DIV.center {
  text-align: center;
}

DIV.indent {
  margin-left: 2em;
}

SPAN.magicword {
  color: #0099FF;
  font-size: 200%;
}

DIV.notice {
  border: 0.5ex solid #003399;
  padding: 1ex;
  color: #0099FF;
  font-size: larger;
  font-weight: bold;
  font-family: helvetica, sans-serif;
}

OL.padded LI, UL.padded LI {
  clear: both;
  padding-top: 0.5ex;
  padding-bottom: 0.5ex;
}

TABLE.hpadded TD {
  border-collapse: collapse;
  border: 0px;
  border-spacing: 0px;
  padding-right: 1em;
}



/* debug */

A.tab, A.tab:link, A.tab:visited, A.stab, A.stab:link, A.stab:visited, TABLE.tab SPAN {
  font-family: stop;
  font-size: large;
}
TABLE.tab TD.tab {
  border: 3px solid yellow;
}
TABLE.tab IMG.itav, TABLE.tab IMG.htav {
  border: 6px solid cyan;
}
TABLE.tab IMG.itab, TABLE.tab IMG.htab {
  border: 6px solid lime;
}
TABLE.brule TD.brule {
  border: 20px dashed yellow;
}
