body {
  margin: 0;
  padding: 0 0 1em 0;
  font: small Arial, Helvetica, sans-serif;
}

h1, h3 {
  margin-top: 0;
}

a, a:link, a:visited {
  color: #000;
  text-decoration: underline;
}

a:hover, a:active {
  color: #666;
}

hr {
  border: 0;
  height: 1px;
  color: #000;
  background-color: #000;
}

div#notice {
  border: 2px solid #1aab16;
  background-color: #c1eac0;
  padding: 10px;
  margin-bottom: 10px;
}

div#container {
  width: 800px;
  margin: auto;
  overflow: hidden;
}

div#masthead {
  width: 800px;
  height: 92px;
  padding-bottom: 25px;
  background: url(/images/mw-navbkgd.gif);
  background-position: top center;
  background-repeat: no-repeat;
}

table#columns {
  width: 100%;
  padding: 0;
  margin: 0;
}

table#columns td {
  vertical-align: top;
  padding-left: 10px;
}

div#gallery {
  width: 100%;
}

div#gallery table {
  border-spacing: 15px;
  padding-left: 3px;
  width: 100%;
}

div#gallery td {
  vertical-align: top;
}

div#gallery img {
  border: 3px solid #ccc;
}

div#gallery p {
  padding: 0;
  margin: 5px 0 0 0;
  line-height: 14px;
}

.pagination a, .pagination span {
  background-color: white;
  padding: .2em .5em;
  display: block;
  float: left;
  margin-right: 1px;
  margin-bottom: 5px;
  height: 1em;
}

.pagination span.disabled {
  color: #999;
  border: 1px solid #ddd;
}

.pagination span.current {
  font-weight: bold;
  background-color: #ccc;
  color: #000;
  border: 1px solid #ddd;
}

.pagination a {
  text-decoration: none;
  color: #000;
  border: 1px solid #ddd;
}

.pagination a:hover, .pagination a:focus {
  border-color: #000;
}

p#date {
  font-size: .75em;
  font-style: italic;
}

div#missing {
  width: 170px;
  height: 100px;
  border: 3px solid #ccc;
  cursor: pointer;
}

/* navbar on inner pages */

div#navbar {
  position: relative;
  padding-top: 10px;
  width: 100%;
  height: 40px;
}

div#navbar ul {
  padding: .2em 0;
  margin: 0;
  list-style-type: none;
  color: #666;
  font: bold .85em Arial, Helvetica, sans-serif; 
  text-align: right;
}

div#navbar li, div#navbar2 li {
  display: inline;
}

div#navbar li a {
  text-decoration: none;
  color: #666;
  padding: .2em .5em;
  border-right: 1px solid #fff;
}

div#navbar li a:hover {
  padding: .2em .5em;
  text-decoration: underline;
  color: #666;
}

div#navbar li a:visited {
  padding: .2em .5em;
  color: #666;
}

div#sidebar {
  float: left;
  width: 200px;
}

div#sidebar ul {
  list-style-type: none;
  padding: 0;
}

div#sidebar li {
  padding: 0 0 8px 0;
}

div#sidebar a {
  text-decoration: none;
}

div#sidebar a:hover {
  text-decoration: underline;
}

div#imgsidebar {
  float: left;
  width: 222px;
}

div#heroproduct {
  float: right;
  display: inline;
}

div#product {
  width: 585px;
  float: right;
  padding-left: 15px;
}

div#product li {
  margin: 0 0 0 17px;
}

div#product ul {
  margin: 0;
  padding: 0;
}

div#product p {
  margin: 10px 0 10px 0;
}

div#txtcol {
  width: 563px;
  float: right;
  padding-left: 15px;
}

span.controls {
  font: italic bold 10px Arial, Helvetica, sans-serif;
}

span.controls a {
  text-decoration: underline;
}

/* styles for forms */

.modwright-form fieldset {
  background: #d8e3f3;
  padding: 1em;
  border: 1px solid #000;
}

.modwright-form legend {
  color: #fff;
  background: #274f8d;
  font-size: 1.25em;
  padding: 0.2em 0.25em 0 0.2em;
  border: 1px solid #000;
}

.modwright-form label {
  display: table;
}

.modwright-form input, .modwright-form textarea {
  margin-left: 0.1em;
}

.modwright-form textarea {
  margin-left: 0.1em;
  height: 20em;
  width: 50em;
  margin: 2px;
}

.modwright-form .submit {
  margin-left: 4em;
}

/* error box */

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
  color: #fff;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/* splash page content */

div#splashlogo {
  width: 800px;
  height: 300px;
  background-image: url(/images/mw-frontLogo.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
}

div#splashflash {
  margin-top: 40px;
  width: 800px;
  height: 100px;
}

div#splashenter {
  width: 800px;
  padding-top: 28px;
  text-align: center;
}

.bluelinks {
  color: #036;
  letter-spacing: .3em;
  font-weight: bold;
  font-size: 1.2em;
}

.bluelinks a:link, .bluelinks a:visited, .bluelinks a:hover {
  color: #036;
  text-decoration: none;
}

/* testimonials */

div#testimonials {
  border: 1px solid black;
  padding: 10px;
}

div#testimonials ul {
  list-style-type: none;
}

div#testimonials li {
  padding: 0 0 5px 0;
  margin: 0;
}

span#close-testimonials {
  font-size: 1em;
  font-weight: bold;
  left: 50%;
  margin-left: 385px;
  margin-top: -8px;
  position: absolute;
}

span#close-testimonials a {
  color: #000;
  text-decoration: none;
  display: block;
}
