/* General */
body {
  color: #aaa;
  font-family: sans-serif;
  font-size: 80%;
  margin: 0;
  padding: 0
}

/* Header */
.header { margin-top: 1em; }
.header a { border: 0; color: #111; text-decoration: none; }
.midHeader img { border: 0; }

.headerTitle {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 0 0.5em;
  padding: 0.5em 0.5em 0px;
  display: inline;
}

.headerTitle a { border: 0; text-decoration: none; }

.headerSubtitle {
  font-size: 1.7em;
  font-weight: normal;
  margin-left: 1em;
}

/* Side */
#side-bar {
    clear: both;
    border: 0;
    padding-left: 1em;
    padding-right: 1em;
    margin-left: 2em;
    margin-right: 2em;
    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0.3em;
}

#side-bar a {
  display: inline;
  line-height:2.1em;
  white-space: nowrap;
  padding: 0.1ex 1ex 0.1em 1ex;
  color: #336699;
  background-color: transparent;
  text-decoration: none;
  font-size: 1em;
}

#side-bar a:hover {
  background-color: #b1b1b1;
}

/* Main Copy */
#main {
  max-width: 70em;
  color: #111;
  margin: 0 2em;
  padding: 1em 2em;
  border: 0;
  font-size: 1.5em;
}

#main a { color: #336699; text-decoration: none; }
#main a:hover { text-decoration: underline; }
#main h1, #main-copy h2 { color: #666; }
#main ul { list-style-type: square; }

/* Footer */
.footer {
  color: #111;
  font-size: 91%;
  padding: 2em;
  clear: both;
}

.footer .left { text-align: left; float: left; clear: left; }
.footer .right { text-align: right; }
.footer a { color: #111; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer hr {
  margin-bottom: 2px;
  margin-top: 3px;
  border-color: #666;
  border-width: 0px 0px 0.3em;
}

abbr, acronym { border-bottom: 1px dotted #333; cursor: help; }
blockquote { border-left: 1px solid #333; font-style: italic; padding: 1em; }
hr { border-width: 0 0 0.1em 0; border-color: #666; }

code, pre { font-size: 1.1em }
pre { margin-left: 2em; }

@media screen and (max-width: 40.5em) {
  html, body {
    overflow-x: hidden;
  }

  .header {
    text-align: center;
    padding: 0em 0em 0.5em;
  }

  .headerTitle {
    font-weight: bold;
    padding: 0.5em 0px;
    margin: 0px;
    display: inline-block;
    text-align: center;
    width: 100%
  }

  .headerSubtitle {
    font-size: 1em;
    font-weight: normal;
    margin-left: 1em;
    margin: 0px;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

}
