/*-------------------------------------------
Base styles
---------------------------------------------

Default formatting which is independant of the current
website. Partly based on styles from YUI Library styles.

------------------------------------------*/

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1em;
}

h4 {
  font-size: 1em;
}

p, li, dd { line-height: 1.4; }

h1, h2, h3 {
  margin: 1em 0 0.8em;
}

h1, h2, h3, h4, h5, h6, strong {
  font-weight: bold;
}

abbr, acronym {
  border-bottom: 1px dotted #000;
  cursor: help;
}

em {
  font-style: italic;
}

blockquote {
  margin: 1em;
}

cite {
  font-style: italic;
  display: block;
  text-align: right;
}

ol, ul {
  margin: 1em 1em 1em 2em;
}

ol li {
  list-style: decimal outside;
}

ul li {
  list-style: disc outside;
}

dl { margin: 1em 0; }

dt {
  font-weight: bold;
  margin-top: 0.8em;
}

dd {
  margin-left: 1em;
}

th,td {
  border: 1px solid #000;
  padding: 0.5em;
}

th {
  font-weight: bold;
  text-align: center;
}

caption {
  /*coordinated marking to match cell's padding*/
  margin-bottom: 0.5em;
  text-align: center;
  font-style: italic;
}

p, fieldset, table {
  margin-bottom: 1em;
}

pre,code,kbd,samp,tt {
  font-family:monospace;
}

.skip {	display: none; }


/* Search form */
#search, #search fieldset { padding: 0; margin: 0; }
#search label, #search legend { display: none; }

#search input {
  width: 10em;
  margin-right: 0.5em;
}

/* line the search fields on the right for easy alignment */
#search fieldset { text-align: right; }


/* Horizontal menu */
ul.h-menu {
  margin: 0;
}

.h-menu li {
  list-style: none;
  /* if floating is done from <a>, then items will not wrap */
  float: left;
  margin: 0;

  _display: inline; /* prob. not needed, but just to be safe */
}

.h-menu li a {
  text-decoration: none;
  white-space: nowrap;
  display: block;
  padding: 0.5em 1em;
  border: 1px solid black;
  margin: 0 1px;

  /* Yes IE6, you are special. So special. */
  _float: left;
  _display: inline;
}

.h-menu a:hover { text-decoration: underline; }


/* Vertical menu */
ul.v-menu {
  margin: 0 0 1em;
}

.v-menu li {
  list-style: none;

  /* fixes IE6 bug related to line break */
  _display: inline;
}

.v-menu li a {
  text-decoration: none;
  display: block;
  padding: 0.5em 1em 0.5em 1em;
  margin: 1px 0 0;
  border: 1px solid black;
}

.v-menu a:hover { text-decoration: underline; }

img { display: block; }

/* IE 6/7 fix for buttons caused by reset.css, line-height: 1.0 */
button { line-height: 1.2; }
