/*-----------------------------------------------
  Name:       dougweb.org: January 2007 redesign
  Designer:   Doug Wright
  URL:        www.dougweb.org
  Date:       January 2007
  Version:    1.1

  -----------------------------------------------*/

html {
  padding: 0;
  margin: 0;
  font-family: Corbel, "Helvetica Neue", "Trebuchet MS", "Comic Sans MS", sans-serif;
  background-color: #fefefe;
  text-align: center;
}

* html {
  background-image: url(../images/bg.png);
  background-repeat: repeat-x;
  background-position: 0 7em;
}

p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4 {
  text-align: left;
}

#skipNav {
  display: none;
}

body {
  margin: 0;
  padding: 0;
}

#siteGlueOuter {
  height: 7.5em;
  background-color: #211b71;
  color: white;
  position: fixed;
  left: 0;
  right: 0;
  background-image: url(../images/header.png);
  background-position: bottom;
  background-repeat: repeat-x;
  z-index: 99;
}

#siteGlueInner {
  max-width: 60.5em;
  margin: 0 auto;
  position: relative;
  height: 7.5em;
}

#siteGlueInner h1 {
  font-size: 3em;
  font-weight: normal;
  margin: 0;
  padding-left: 0.5%;
}

#siteGlueInner h1 a {
  text-decoration: none;
  color: white;
}

#siteGlueInner sup {
  text-decoration: line-through;
}

#menu ul {
  margin: 0 0.5%;
  padding: 0%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  width: 100%;
}

#menu li {
  float: left;
  width: 16%;
  height: 2em;
  list-style: none;
  padding: 0;
  margin: 0 0.25%;
  text-align: center;
  background-color: #f0f0ff;
}

#menu li:hover {
  background-color: yellow;
}

#menu li a {
  text-decoration: none;
  color: #333;
  display: block;
  line-height: 1.6;
}

#wrapper {
  font-size: 1.1em;
  max-width: 55em;
  margin: 0 auto 0 auto;
  padding-top: 7.0em;
}

* html #wrapper {
  padding-top: 0;
}

#sidebar {
  float: right;
  width: 25%;
}

#sidebar img {
  border: none;
}

#content {
  padding: 1.75em 0.5em;
}

#content {
  margin-right: 9.5em;
}

* html #content {
  margin-right: 11.5em;
}

#sidebar {
  float: right;
  width: 7.5em;
  padding: 1.75em 0.25em;
  margin-top: 2em;
}

#footer {
  clear: both;
  color: #999;
  bottom: 0;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.8em;
  padding-bottom: 0.5em;
}

#footer a {
  color: #999;
}

#fader {
  position: fixed;
  top: 7.5em;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}

* html #fader {
  display:none;
}

table, tr, th, td {
  border-collapse: collapse;
  border: 1px solid rgb(243,243,243);
  text-align: center;
}

td {
  padding: 0 0.5em;
}

table, tr, th, td {
  border: 1px solid rgba(221,221,221, 0.3);
}

table.noborder, table.noborder tr, table.noborder th, table.noborder td {
  border: none;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

table {
  margin-bottom: 1em;
}

ul, ol {
  margin-bottom: 1.5em;
}

#content a, #sidebar a {
  color: blue;
}

#content h2 a, #content h3 a {
  color: #333;
  text-decoration: none;
}

dt {
  font-weight: bold;
  margin-top: 0.5em;
}

dd dt {
  margin-top: 0;
}

#minime {
  float: right;
  width: 25%;
  text-align: left;
  margin: 1em;
}

table {
  width: 100%;
}

#content img {
  border: none;
  max-width: 100%;
}

.nobullet li, #toc li, #sidebar li {
  list-style: none;
}

ul {
  margin-top: 0;
}

.box {
  border: 1px solid #E2E2E2;
  padding: 0 1em;
  background-image: url(../images/bg.png);
  background-attachment: fixed;
  background-repeat: repeat-x;
  position: relative;
  top: -10px;
  left: -10px;
  overflow: auto;
}

* html .box {
  background-image: none;
  height: 1%;
}

h1, h2, h3, h4 {
  font-family: Corbel, "Helvetica Neue", "Trebuchet MS", sans-serif;
}

#sidebar h2, #sidebar h3 {
  font-family: Corbel, "Helvetica Neue", "Lucida Sans", sans-serif;
}

#search {
  font: menu;
}

#search label {
  font-size: 1em;
  position: relative;
  top: 0.1em;
}

#search input, #search label {
  float: left;
}

#search input[type="submit"] {
  clear: both;
  margin-top: 0.25em;
}

h2, h3, h4 {
  margin-top: 0;
  padding: 0.25em 0;
  border-bottom: 1px solid #E2E2E2;
  color: #333;
}

.outerbox {
  background-image: url(../images/shadow.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  margin-top: 2em;
  position: relative;
  top: 10px;
  left: 10px;
}

* html .outerbox {
  background-image: url(../images/shadowie.png);
  height: 1%;
}

.important {
  border: 4px solid red;
  padding: 0.75em;
  background: #ffffff;
}

.important h4 {
  margin: 0;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.25em;
}

tr.old td {
  opacity: 0.25;
}

acronym, abbr {
  border-bottom: 1px dotted;
}

.fn {color: #000070;}
.mn {color: #700000;}
.ln {color: #007000;}

:target {
  padding-top: 8.5em;
}

@media print {
  #siteGlueOuter, #fader {
    display: none;
  }
}


#content img.border {
  border: 1px solid #e2e2e2;
  padding: 0.5em;
  display: block;
  margin: 1em auto 0.25em auto;
}

.blogdate {
  float: right;
  margin-top: 0.9em;
}

.editpost {
  float: left;
  clear: both;
}

.meta {
  float: right;
}

.postmetadata {
  float: left;
  clear: both;
}

.blognavigation {
  margin-top: 1em;
}

blockquote cite {
  float: right;
}

#sidebar h2 {
  font-size: 1.25em;
  margin-top: 1em;
  margin-bottom: 0;
}

#sidebar h3 {
  margin-top: 1em;
}

#sidebar ul, #sidebar li {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

#sidebar small {
  text-align: left;
  display: block;
}

#sidebar li {
  margin-top: 0.25em;
}

.clear {
  clear: both;
}

#content > h2 {
  margin-top: 0.75em;
}

.box.google {
  background: none;
}

#sidebar iframe {
  display: block;
  margin-left: 0;
}

div#search {
  font-size: 0.75em;
  margin-top: 1em;
}

img {
  -ms-interpolation-mode: bicubic;
}