/* Default fonts and colors */

* {
  font-family: David, serif;
}

input {
  font-family: serif;
}

.description {
  font-weight: bold;
}

h1 {
  color: #036;
  font-size: 180%;
}

h2 {
  color: #036;
  font-size: 140%;
}

h3 {
  color: #036;
  font-size: 120%;
}

th {
  text-align: right;
  white-space: nowrap;
}

.error {
  color: #f33;
  font-weight: bold;
}

/* Style for solution contributors */

.contributors {
  color: #036;
  padding: 0 0 10px 0;
}

.contributors_name {
  color: red;
  font-weight: bold;
}

/* Use book images as bullets for books list */

UL.books {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

LI.book {
  padding-right: 25px;
  background-image: url(images/book.png);
  background-repeat: no-repeat;
  background-position: center right;
}

/* Book cover */

.book_cover {
  border: black 1px solid;
}

/* Table of book contents */

table.book_contents {
  border: black 1px solid;
}

table.book_contents tbody tr th {
  background-color: #9cf;
  border-bottom: black 1px solid;
  text-align: right;
}

table.book_contents tbody tr.even * {
  background-color: #fff;
}

table.book_contents tbody tr.odd * {
  background-color: #f0f0f0;
}

/* Navigation */

#navcontainer ul {
  padding-top: 0;
  margin-top: 0;
  padding-right: 0;
  margin-right: 0;
  background-color: #036;
  color: White;
  float: right;
  width: 100%;
  font-family: arial, helvetica, sans-serif;
}

#navcontainer ul li { 
  display: inline; 
}

#navcontainer ul li a {
  padding: 0.2em 1em;
  background-color: #036;
  color: White;
  text-decoration: none;
  float: right;
  border-left: 1px solid #fff;
}

#navcontainer ul li a:hover {
  background-color: #369;
  color: #fff;
}

/* Footer */

.copyright_notice {
  padding: 0.5em;
  background-color: #036;
  color: #ccc;
  text-align: center;
  width: 100%;
  font-size: 80%;
}

/* Advertising */

.eteacher {
  background-color: #ef3;
}

/* Message types */

.message {
  font-weight: bold;
}

.super_important_message {
  padding: 15px;
  margin: 15px;
  text-align: center;
  border: #c33 double;
  background-color: #ffc;
  color: #c33;
  font-weight: bold;
}

.watermark {
  position: relative;
  top: -250px;
}

/* Formulator styles */

.form-error {
  color: #f33;
  font-weight: bold;
}

.form-desc {
  font-size: 80%;
  color: #666;
}

.form-row td {
  padding-bottom: 15px;
}

/* Teachers */

.teacher_box {
  background-image: url(images/teacher_box_gradient.png);
  background-repeat: repeat-y;
  background-position: right;
  padding: 1px 20px 20px 20px;
  margin: 20px 0px;
}
