header,
hgroup,
section,
footer,
aside,
nav,
article,
figure,
img {
  display: block;
}
body {
  background: white;
  margin: 0;
  padding: 0;
  font: 13px "Verdana", sans-serif;
}
body.real_body_tag {
  background: #8cc7c8 url(images/bg_grad.png) top repeat-x;
}
#cke_content {
  margin-right: -30px;
}
#centerer {
  margin: 0 auto;
  background: url(images/header.png) top no-repeat;
  width: 800px;
  position: relative;
  padding-top: 1px;
}
.nav {
  display: block;
  position: absolute;
  top: 159px;
  height: 30px;
  background: transparent url(images/nav_over.png) -100px -100px no-repeat;
}
.nav strong {
  display: none;
}
#nav_about:hover {
  background-position: 0px -4px;
}
#nav_about {
  left: 86px;
  width: 74px;
}
#nav_services:hover {
  background-position: -128px -4px;
}
#nav_services {
  left: 214px;
  width: 171px;
}
#nav_join:hover {
  background-position: -354px -4px;
}
#nav_join {
  left: 440px;
  width: 116px;
}
#nav_resources:hover {
  background-position: -523px -4px;
}
#nav_resources {
  left: 609px;
  width: 106px;
}
#main_body {
  background: white;
  padding-top: 221px;
  margin: 221px 45px 0px 45px;
  padding: 21px;
  /* width should end up being 668 */

}
#footer {
  text-align: center;
  padding: 21px 0;
}
#footer img {
  vertical-align: text-bottom;
}
#wfpl_messages {
  border: 2px solid red;
  background: #fbb;
  padding: 5px;
  margin: 20px 0px;
}
#wfpl_messages p {
  font-size: 120%;
  padding: 5px;
  margin: 0px;
}
#wfpl_messages hr {
  height: 1px;
}
.my_supply_chain_current {
  background: #ef8659;
}
.my_supply_chain_connected {
  background: #f8cab6;
}
/****** DB (displaying data from the bsf database *****/
.db_record {
  margin: 20px 0 10px 0;
  padding: 3px 6px;
  background-color: #eee;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
.db_record .db_record {
  margin: 20px;
  background-color: #ddd;
}
.db_record .db_record .db_record_type {
  border-bottom: 1px dashed #bbb;
}
.db_record .db_record_type {
  padding-bottom: 1px;
  border-bottom: 1px dashed #ccc;
  margin-bottom: 3px;
  text-align: center;
}
.db_record .db_record_type,
.db_record .db_section {
  font-weight: bold;
}
.db_record .db_value_peren {
  color: #888;
}
.db_record span.db_caption {
  font-weight: bold;
}
.db_record .db_section {
  margin: 10px 10px 5px 15px;
}
/****** OLD FORMS (admin_login and pages) *******/
td.field,
td.right_caption {
  text-align: left;
  vertical-align: bottom;
}
td.caption,
td.errorcaption {
  text-align: right;
  vertical-align: top;
}
.caption,
td.errorcaption,
td.right_caption {
  font-weight: bold;
}
.errorcaption {
  color: red;
}
div.error {
  border: 2px solid red;
  padding: 13px;
  margin: 20px;
  background: #fdd;
}
#logged_in_links {
  background: #dfd;
  padding: 3px;
  margin-bottom: 15px;
}
#admin_links {
  background: #fdd;
  padding: 3px;
  margin-bottom: 15px;
}
code.html {
  display: block;
  font: 12px monospace;
  border: 1px solid black;
  background: #ccc;
}
.caption {
  margin-top: 15px;
  font-weight: bold;
}
.field {
  margin-bottom: 15px;
}
div.field_notes {
  font-size: 12px;
  line-height: 16px;
  font-style: italic;
}
div.field_notes ul {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.form_instructions {
  font-style: italic;
}
fieldset {
  border: 1px dotted black;
  padding: 0 15px 15px 15px;
  margin: 15px 0;
  position: relative;
}
legend {
  padding: 0 6px;
  font-weight: bold;
}
div.error {
  border: 2px solid red;
  padding: 13px;
  margin: 20px;
  background: #fdd;
}
.form_section {
  border: 1px dotted black;
  padding: 23px 15px 15px 15px;
  margin: 25px 0;
  position: relative;
}
.form_section_header {
  position: absolute;
  left: 42px;
  top: -9px;
  background: white;
  padding: 0 6px;
}
h1 {
  font-size: 22px;
  margin: 20px 0 10px;
}
h1 + h4.tagline {
  margin: -10px 0 10px;
}
h2 {
  font-size: 19px;
  margin: 16px 0px 8px;
}
h2 + h4.tagline {
  margin: -8px 0 8px;
}
h3 {
  font-size: 16px;
  margin: 12px 0 5px;
}
h3 + h4.tagline {
  margin: -5px 0 5px;
}
h4 {
  font-size: 12px;
  margin: 10px 0 3px;
}
h4 + h4.tagline {
  margin: -3px 0 3px;
}
h1,
h2,
h3,
h4 {
  font-weight: bold;
}
h4.tagline {
  font-weight: normal;
}
p.quote {
  margin: 15px 35px;
}
p.attrib {
  margin: -15px 0 15px 100px;
}
span.wfpl_ifl {
  display: block;
  float: left;
  clear: left;
  font-size: 10px;
  text-align: right;
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0 10px 2px 0;
}
span.wfpl_ifr {
  display: block;
  float: right;
  clear: right;
  font-size: 10px;
  font-weight: normal;
  text-align: right;
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0 0 2px 10px;
}
div.wfpl_ic {
  margin: 15px auto;
  font-size: 10px;
  font-weight: normal;
  text-align: right;
  background-repeat: no-repeat;
  background-position: center top;
}
td > :first-child,
th > :first-child,
legend + *,
article > :first-child,
section > :first-child,
nav > :first-child,
div > :first-child,
.first {
  margin-top: 0px;
}
td > :last-child,
th > :last-child,
fieldset > :last-child,
article > :last-child,
section > :last-child,
nav > :last-child,
div > :last-child,
.last {
  margin-bottom: 0px;
}
