/* ***** Base Elements ***** */

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: rgb(0,0,0);
  text-decoration: none;
}

a:hover {
  color: rgb(84,125,89);
}

hr {
  color: rgb(170,170,170);
  background-color: rgb(170,170,170);
  border: 0;
  height: 2px;
}

/* ***** Layout Helpers ***** */

#outer {
  width: 800px;
  height: 100%;
}

#base {
  vertical-align: middle;
  border: 1px solid rgb(170,170,170);
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#top {
  margin-left: 35px;
  margin-right: 35px;
}

/* ***** Table 1: Logo and Slogan ***** */

td #slogan {
  text-align: right;
  width: 350px;
  vertical-align: bottom;
  font-size: 14px;
}

table #tb1, table #tb2, table #tb3 {
  width: 100%;
}

/* ***** Table 2: Nav et al.  ***** */

#tb2 td {
  width: 190px;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 7px solid rgb(170,170,170);
  padding: 15px;
}

#tb2 td.standard {
  width: 600px;
}

#tb2 #f1, #tb2 #f2, #tb2 #nav {
  border: 0;
  padding: 0;
}

#tb2 #f2 {
  border-top: 2px solid rgb(170,170,170);
}

#tb2 #nav a {
  display: block;
  border-left: 3px solid rgb(170,170,170);
  padding-left: 5px;
  margin-top: 8px;
  margin-bottom: 8px;
}

#tb2 #nav a.active {
  border-left: 3px solid rgb(84,125,89);
}

p.qh {
  font-size: 18px;
  font-weight: bold;
  color: rgb(90,90,90);
  margin-top: 0;
}

/* ***** Table 3: Footer ***** */

table #tb3 {
  margin-top: 15px;
}

#tb3 td {
  border-top: 5px solid rgb(170,170,170);
  background-color: rgb(224,224,224);
  padding: 7px;
  padding-top: 20px;
  font-size: 12px;
  text-align: right;
}
