/* Template structural elements: */

html, body {
  margin: 0;
  padding: 0;
  text-align: center;
}

#pagecontainer {
  margin: 0 auto;
  width: 780px;
  padding-top: 10px;
  text-align: left;
}

html, body, #pagecontainer {
  background: url(/images/paper1.gif);
}

#page {
  width: 776px;
  border: 2px outset #aaa;
  background-color: white;
  overflow: hidden;
}

#logo {
  float: left;
}

#navigation {
  float: left;

  width: 135px;

  border-right: 1px solid #715A38;

  background-color: #C7B69A;

  padding-bottom: 32767px;
  margin-bottom: -32767px;
}

#section_heading_image {
  float: left;
  width: 640px;
  height: 46px;
  border-left: 136px solid #68450D;
}

#content {
  float: left;

  width: 610px;
  padding: 15px;
}

#navigation ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#navigation ul li {
  height: 17px;
  padding: 3px 6px 0 6px;

  background-color: #9C835A;
  border-top: 1px solid #B8A27D;
  border-bottom: 1px solid #836B45;
}

#navigation ul li, #navigation ul li * {
  font-size: 11px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

#navigation ul li a:hover {
  color: blue;
}

#navigation ul li.header {
  color: #E9E0CF;

  background-color: #4E3715;
  border-top: 1px solid #442800;
  border-bottom: 1px solid #3F2904;
}

#navigation ul li.selected {
  background-color: #B37812;
  border-top: 1px solid #C09954;
  border-bottom: 1px solid #74531D;
}

#navigation ul li.footer {
  height: 23px;
  padding-top: 7px;

  background-color: #856C44;
  border-top: 1px solid #442800;
  border-bottom: 1px solid #3F2904;
}

#navigation ul li.footer, #navigation ul li.footer * {
  font-size: 12px;
}

#navigation ul li.other {
  border-top: 0;
  border-bottom: 1px solid #C0AC91;
}

#navigation ul li.other, #navigation ul li.other * {
  color: black;
  background-color: #D2C1A7;
}


/* Text: */

h1 {
  font: bold 17px Arial, sans-serif;
  margin: 4px;
  margin-bottom: 20px;
  color: #073C8B;
}

h2 {
  font: bold 14px Arial, sans-serif;
  margin: 6px 0 6px 0;
  color: #073C8B;
}

h3 {
  font: bold 12px Arial, sans-serif;
  margin: 6px 0 6px 0;
  color: #073C8B;
}

p, td, th, ul, div, input, select {
  font: 12px Arial, sans-serif;
}

p, td, th, ul, div {
  color: #222;
}

.note, .note a {
  font-size: 11px;
}

th {
  font-weight: bold;
  text-align: center;
}

input, select {
  color: black;
  background-color: #D8E7FF;
}

input.optional, select.optional, .optional input, .optional select {
  color: black;
}

input.default, select.default {
  width: auto;
  background-color: transparent;
}


input.important {
  font-weight: bold;
  color: #EEE;
  background-color: #073C8B;
}

a:link, a:visited {
  color: #073C8B;
  background-color: transparent;
}

a:active, a:hover {
  color: blue;
  background-color: transparent;
}

/* DHTML Popups */

.popup {
  position: absolute;
  width: 232px;
  min-height: 18px;
  left: 30px;
  top: -5px;
  padding: 1px 0 1px 4px;
  border: 2px outset red;
  z-index: 100;

  font-weight: bold;
  color: black;
  background-color: #FFD7DA;
}

.help {
  margin: 0 2px;
  padding: 0 2px;
  border: 1px solid #999;
  text-decoration: none;
}

div.help_popup {
  position: absolute;
  background-color: #f6ffb3;
  z-index: 100;
  color: black;
  top: 10px;
  left: 10px;
  padding: 5px;
  border: 1px solid #999;
  min-width: 200px;
  text-align: left;
}

/* Hack to get the popup looking right.  Weird problem: */
/*
div.help_popup * {
  border: 0;
  background-color: #f6ffb3;
}
*/

div.help_popup p {
  margin-bottom: 3px;
}

/* Tables and Table-Related Stuff */

table {
  border-collapse: collapse;
}


table.data td, table.data th {
  text-align: center;
  border: 2px outset #aaa;
  padding: 4px;
}

table.data th,
table.data th a:link,
table.data th a:active,
table.data th a:visited,
table.data th a:hover {
  background-color: #A7C9FF;
}

table.data th.selected,
table.data th.selected a:link,
table.data th.selected a:active,
table.data th.selected a:visited,
table.data th.selected a:hover {
  background-color: #073C8B;
  color: white;
}

table.data tr.alt td,
table.data tr.alt td a:link,
table.data tr.alt td a:active,
table.data tr.alt td a:visited,
table.data tr.alt td a:hover {
  background-color: #D8E7FF;
}

div.formwrapper {
  width: 550px;
  text-align: center;
  padding: 8px;
  border: 2px outset #ccc;
  margin: 0 auto;
}

div.form {
  margin: auto;
  font-weight: bold;
}

div.form .row {
  clear: both;
  height: 25px;
}

div.form .description {
  font-weight: bold;
  text-align: right;
  float: left;
  width: 166px;
  padding-right: 4px;
}

div.form .field {
  text-align: left;
  float: right;
  width: 380px;
}

div.form .field input {
  width: 200px;
}

div.form .field input.default {
  width: auto;
}

div.form .fixed_width input, div.form .fixed_width select {
  width: 110px;
}

div.form .popup {
  left: 80px;
  top: -15px;
}

/* Standardized Form Overrides */

table#calculator_data_display td.field {
  padding-right: 8px;
}

/* Tableless-Table Test Stuff */

/*
.table {
  height: auto;
  overflow: hidden;
}

.table a:link, .table a:visited, .table a:active, .table a:hover {
  background-color: transparent;
}

.table .column {
  float: left;
  height: 200px;
  border: 2px outset #fcfcfc;
  border-bottom: 0;
}

.table .selected .heading, .table .selected .heading a {
  background-color: #073C8B;
  color: white;
}

.table .heading, .table .item {
  text-align: center;
  padding: 4px;
}

* html .table .item img {
  padding: 2px;
}

.table .item {
  border-bottom: 1px solid black;
}

.table .heading {
  border-bottom: 1px solid black;
  font-weight: bold;
  background-color: #A7C9FF;
}

.table .alt {
  background-color: #D8E7FF;
}

.table .alt a {
  background-color: #D8E7FF;
}

*/


/* Miscellany and convenience selectors: */

img {
  border: 0px;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.clear {
  clear: both;
}

.bold {
  font-weight: bold;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.automargin {
  margin: 0 auto;
}

.outset {
  border: 2px outset #ccc;
}

.padded {
  padding: 4px;
}

.underline {
  text-decoration: underline;
}

.debug {
  border: 1px solid green;
}

.noborder {
  border: 0px;
}

.small_paragraphs p {
  font-size: 11px;
  margin: 5px 0;
}

