* {
  padding: 0;
  margin: 0;
  text-align: left;
}

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

body {
  font-family: 'Gill Sans WGL W01 Light';
  font-size: 1.15em;
  color: #000;
  margin: 0 5px 0 5px;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern';
  -webkit-font-feature-settings: 'kern';
  -moz-font-feature-settings: 'kern';
  -moz-font-feature-settings: 'kern=1';
  font-kerning: normal;
}

a {
  color: black;
}

code {
  font-family: courier;
  font-size: 0.8em;
  padding: 4px 4px 0 4px;
  background-color: #eee;
  color: #333;
  word-wrap: break-word;
}

pre {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding-left: -50px;
  margin-bottom: 17px;
  margin-top: 15px;
  padding: 1.25em 0 1.1em 0;
  overflow: scroll;
  font-family: courier;
  font-size: 0.8em;
  line-height: 1.4em;
}

pre code {
  font-size: inherit;
  padding: 0;
  background-color: #fff;
  color: #333;
  word-wrap: normal;
}

pre span.pln {
  color: #333;
}

.post-separator {
  text-align: center;
  margin-bottom: 5px;
  font-weight: bold;
}

.navigation-links {
  float: right;
  margin-top: 30px;
}

a:hover {
  text-decoration: none;
  border-bottom: none;
}

#container {
  width: 600px;
  margin: 0 auto;
  position: relative;
  padding: 0 10px 0 10px;
}

#container h1 {
  font-size: 1.9em;
  font-weight: normal;
  letter-spacing: 0px;
  float: left;
  margin: 0 0 10px 0;
  padding: 15px 0 1px 0;
}

#container h1 a {
  text-decoration: none;
  border: none;
}

#container h1 a:hover {
}

#bubble {
  top: 66px;
  position: absolute;
  display: block;
  height: 28px;
}

#content {
  float: left;
  width: 600px;
}

#content h2 {
  font-weight: normal;
  font-size: 1.6em;
  line-height: 34px;
  margin: 0px 0px 10px -1000px;
  padding: 5px 5px 5px 1000px;
  border-bottom: 1px solid #888;
}

#content .edit_link {
  font-size: 9px;
}

#content h2 a {
  text-decoration: none;
  border-bottom: none;
}

#content h2 a:hover {
}

#content h2.archive {
  font-weight: normal;
  color: #1c1c1c;
  padding: 0;
  margin: 5px 0 20px 0;
  border: none;
  text-align: left;
}

.navigation {
  padding: 5px 10px 0 1000px;
  margin: 0 0 20px -1000px;
  border-top: #888 1px solid;
}

.navigation a {
  color: #555;
}

.navigation a:hover {
  color: #555;
  text-decoration: none;
}

.main h3 {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0 0 10px 0;
}

.main h4 {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 10px 0;
}

.main img {
  width: 100%;
}

.main a img {
  padding: 2px;
  border: #0085b5 2px solid;
}

.main a:hover img {
  padding: 2px;
  border: #ca0002 2px solid;
}

.main p {
  margin: 0 0 12px 0;
  text-align: justify;
  line-height: 1.26em;
}

.main ol {
  line-height: 18px;
  margin: 0 0 15px 30px;
}

.main ul {
  line-height: 18px;
  margin: 0 0 15px 30px;
}

.main li {
  margin: 0 0 5px 0;
  line-height: 1.26em;
}

.signature {
  float: left;
  padding: 0 15px 0 0;
  border-right: #bbb 1px solid;
  width: 220px;
}

.about {
  padding: 39px 0 16.5px 0;
}

textarea {
  background: #f6f6f6;
  font-size: 13px;
  width: 400px;
  padding: 2px 4px;
  border: #aaa 1px solid;
  color: #000;
}

.postinput small {
  font-size: 11px;
  margin: 0 0 0 5px;
}

p.logged {
  font-size: 13px;
}

h3.reply {
  font-size: 15px;
  margin: 0 0 10px 0;
}

.nocomments {
  margin: 0 0 30px 0;
}

blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 0 15px;
  border-left: 1px solid #bbb;
}

.footnotes {
  font-size: 0.9em;
}

.footnotes a {
  color: #555;
}

.footnotes hr {
  margin-bottom: 12px;
}

#footer {
  background: #eee;
  font-size: 11px;
  color: #555;
  margin: 0 auto;
  padding: 10px 0 10px 10px;
  text-align: center;
  position: relative;
  border-top: #bbb 1px solid;
  border-bottom: #222 6px solid;
}

#footer a {
  color: #555;
  font-weight: bold;
  text-decoration: none;
}

.clear {
  clear: both;
}

.warning p {
  background: url(images/warning.gif) no-repeat left;
  height: 160px;
  padding: 20px 0 0 90px;
  font-size: 20px;
  margin: 0 0 0 10px;
}

input:focus,
textarea:focus {
  background-color: #ffc;
}

abbr {
  border: none;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

/* self-clear floats */

.group:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* IE Hacks */

*html #bubble {
  display: none;
}

*html #bubble p {
  display: none;
}

* html .group,
* html #nav ul li a {
  height: 1%;
}

*:first-child + html .group {
  min-height: 1px;
}

* html #nav ul li a {
  display: inline;
}

.video-container {
  margin-bottom: 20px;
}

sup {
  line-height: 0;
  font-size: 0.65em;
}

sup a {
  text-decoration: none;
}

sup a:hover {
  text-decoration: underline;
}

.image-caption {
  text-align: center;
  font-size: 0.85em;
  margin: -0.6em 0 1.25em 0;
  font-style: italic;
}

.image-caption code {
  font-style: normal;
  font-size: 0.9em;
}

.newsletter-subscription {
  font-family: 'Gill Sans WGL W01 Light';
  font-size: 1em;
  display: table;
  margin: 0 auto;
}

.newsletter-subscription label,
input {
  margin-right: 10px;
}

.newsletter-subscription input {
  font-family: 'Gill Sans WGL W01 Light';
  font-size: 1em;
  padding: 0 4px;
}

.newsletter-subscription button {
  font-family: 'Gill Sans WGL W01 Light';
  font-size: 1em;
  padding: 0 7px;
}

@media handheld, only screen and (max-width: 767px) {
  body {
    font-family: 'Gill Sans WGL W01 Light';
    font-size: 1.25em;
  }

  .main p {
    margin: 0 0 15px 0;
    text-align: justify;
    line-height: 1.24em;
  }

  #container {
    width: 350px;
  }

  #content {
    width: 350px;
  }

  .navigation-links #desktop-only {
    display: none;
  }

  /* resize videos to screen size */

  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }

  .video-container iframe,
  .video-container object,
  .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
