/*********************
*   General Styles   *
*********************/

/* Prevents IE from showing microscopic text sizes */
html {
  font-size: 100%;
}

body {
  margin: 25px 0;
  background-image : url(http://www.stormingwheeldeals.com/bgb3.gif);
  font: .8em Verdana, Geneva, sans-serif;
}

a {
  border-bottom: 1px dotted #cf6;
  color: #cf6;
  text-decoration: none;
}

a:hover {
  border-bottom-style: solid;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

ins {
  text-decoration: underline;
}

del {
  text-decoration: line-through;
}

cite, q, blockquote {
  background-color: #555;
  font-style: italic;
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

blockquote {
  margin: 0 50px;
  padding: 3px 5px;
  border: 1px dotted #ccc;
}

pre, code {
  font: .9em "Lucida Console", Monaco, monospace;
}

code {
  background: #555;
}

.code {
  padding: 3px 5px;
  border: 1px dotted #ccc;
  background: #555;
}

ol, ul {
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;
}

ol ol, ul ul {
  padding-left: 1.5em;
}

ol ol ol, ul ul ul {
  padding-left: 2em;
}

ul {
  list-style-type: disc;
}

ul ul {
  list-style-type: circle;
}

ul ul ul {
  list-style-type: square;
}

dt {
  font-weight: bold;
}

dt:after {
  content: ":";
}

table {
  border-collapse: collapse;
  background: #555;
}

caption {
  margin-bottom: 5px;
  font-weight: bold;
  text-align: center;
}

td, th {
  border: 1px dotted #ccc;
  padding: 3px 5px;
}

th {
  border-color: #ccc;
  background: #444;
  font-weight: bold;
}

input, textarea {
  padding: 3px 5px;
  border: 1px dotted #ccc;
  background: #FFF;
  font: .8em Verdana, Geneva, sans-serif;
  color: #000;
}

input:focus, textarea:focus {
  border: 1px dotted #FF0000;
}

input[type="submit"], input[type="reset"] {
  padding: 3px 3px;
  border: 1px solid #ccc;
}

input[type="submit"]:active, input[type="reset"]:active {
  background: #999;
  border-color: #cf6;
}

/*************
*   Header   *
*************/

#header {
  margin: 0 auto 25px;
  padding: 5px;
  width: 75%;
  border-bottom: 5px dashed #cf6;
  background: #cf6;
  text-align: center;
  color: #000;
}

/* Hack to let IE show the jigsaw borders */
body > #header {
  border-color: #333;
}

#header h1 {
  margin: 0;
  padding: 5px;
  border: 2px dashed #000;
  border-bottom-style: none;
  color: #000;
  font-size: 2em;
  letter-spacing: .5em;
}

#header h1:before {
  content: "";
}

/**************
*   Content   *
**************/

#content {
  margin: 0 auto;
  padding: 10px;
  width: 75%;
  border: 1px dashed #ccc;
  background: #666;
}

/*****************
*   Side Boxes   *
*****************/

.sidebox {
  float: right;
  clear: right;
  margin: -10px -10px 20px 10px;
  padding: 5px 15px 5px 5px;
  width: 20%;
  border-left: 5px dashed #cf6;
  background: #cf6;
  color: #000;
}

/* Hack to make IE show the right padding correctly */
#content > .sidebox {
  padding-right: 5px;
}

/* Hack to let IE show the jigsaw borders */
#content > .sidebox {
  border-color: #666;
}

.sidebox h2 {
  margin: 5px 0;
  border: 1px #000;
  border-style: solid none;
  color: #000;
}

.sidebox h2:before {
  content: "";
}

.sidebox a, .sidebox acronym, .sidebox abbr {
  border-color: #000;
  color: #000;
}

.navlist {
  margin: 0 0 5px;
  padding: 0;
  list-style: none;
}

.navlist li {
  display: inline;
}

.navlist a {
  display: block;
  margin-top: 3px;
  padding-left: 10px;
  border-right: 1px dotted #000;
  letter-spacing: .1em;
}

.navlist a:hover {
  border-right-style: solid;
}

/*************
*   Footer   *
*************/

#footer {
  width: 75%;
  margin: 0 auto;
  padding: 0 5px;
  text-align: right;
  font-size: .75em;
}

/* IE hack */
body > #footer {
  color: #666;
}

#footer:hover {
  color: #ccc;
}

/* Another IE hack... */
body > #footer a {
  color: #690;
  border-color: #690;
}

#footer:hover a {
  color: #cf6;
  border-color: #cf6;
}
