/* basic layout */

body {
  background: #fff;
  border-top: 8px solid #DB2C00;
  margin: 0; padding: 0; 
  font-family: Helvetica, Arial, sans-serif;
}

.homelink {
  position: absolute;
  top: 15px; left: 10px;
}

.homelink a {
  text-decoration: none;
}

#site {
  min-width: 960px;
  position: relative;
}

#misc {
  clear: both;
}

#content {
  background: #fff;
  margin-bottom: 40px; padding: 30px;
}

.container_12 {
  margin-left: 120px;
  margin-right: auto;
}

#archive-link {
  margin-top: 50px;
  padding-top: 10px;
  border-top: 1px dotted #ccc;
}

p.backlink {
  margin-top: 40px;
}

.iphone-only {
  display: none;
}

/* posts layout */

.post h2 {
  margin-bottom: 25px;
}

.post .timestamp {
  float: left;
  width: 200px;
  padding-right: 20px;
  text-align: right;
  display: block;
  color: #94A2A8;
  font-size: 16px;
  position: relative;
  top: 9px;
  margin-left: -222px;
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

.post {
  margin-bottom: 30px;
}

.tags {
  font-size: 13px;
  padding-left: 30px;
  position: relative;
  left: -30px;
  margin-bottom: 40px;
  background: url(../images/tags.png) no-repeat 2px left;
}

.tags p {
  font-size: 10px;
  margin: 2px 0 0 0;
}

.tags h3 {
  font-size: 14px;
  margin: 0 0 2px;
}

.tags a {
  color: #999;
  padding-right: 2px;
}

/* sidebar layout */

#sidebar {
  position: relative;
  top: 115px; left: 0px;
}

/* sidebar typography */

#sidebar h2 {
  margin: 0 0 16px; padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #121621;
  line-height: 1.2;
}

#sidebar p {
  font-size: 17px;
  margin: 0 0 20px;
}

/* navigation */

.navigation {
  margin: 0 0 10px;
  padding: 5px 0;
  list-style: none;
  color: #746752;
  font-size: 12px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  width: 100%;

}

.navigation li {
  margin: 0;
  text-transform: lowercase;
  font-size: 15px;
  line-height: 1.3;
  display: inline;
  padding: 0 6px !important;
}

.navigation a {
  text-decoration: none;
}

/* twitter posts */

#twitter {
  position: relative;
  top: 0px;
}

#twitter h2 {
  padding-top: 55px;
  padding-bottom: 5px;
  background: url(../assets/twitter.png) no-repeat bottom right;
}

.tweet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tweet li {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.3;
  padding: 10px;
  background: #EBF6F8;
  color: #0D6474;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

/* archive layout */

#posts {
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
}

li.post {
  margin: 0 0 15px; padding: 0;
}

li.post a {
  margin: 0;
}

li.post .month {
  top: 0;
}

li.new_month {
  padding-top: 10px;
  border-top: 1px dotted #ccc;
}

li .posted_on {
  font-size: 12px;
  color: #999;
}

/* content typography */

h2 {
  font-family: 'Helvetica';
  font-weight: normal;
  font-size: 30px;
  color: #DB2C00;
  letter-spacing: -1px;
  margin-bottom: 30px;
}

h3 {
  font-family: Helvetica, Arial, sans-serif;
  margin-top: 25px;
  font-size: 18px;
  color: #121621;
}

p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.3;
}

.framed {
  margin-bottom: 35px;
}

.framed .caption {
  line-height: 1;
  font-size: 11px;
  padding: 2px 4px;
  float: right;
  position: relative;
  color: #777;
}

.framed img {
  padding: 10px;
  border: 2px solid #ddd;
  background: #eee;
  margin-left: -12px;
  margin-top: -12px;
  width: 100%;
}

p img {
  margin-left: 20px;
}

a {
  color: #DB2C00;
}

h2 a:link, h2 a:visited {
  text-decoration: none;
}

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

pre {
  padding: 10px;
  background: #EBF6F8;
  position: relative;
  left: -10px;
  width: 540px;
  margin: 20px 0 30px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 5px;
}

pre, code {
  font-family: Menlo, Consolas, Inconsolata, Monaco, Courier, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

p code {
  color: #008080;
}

pre > code, pre {
  font-size: 11px;
}

ul, ol {
  margin: 0 0 20px;
  padding: 0;
  line-height: 1.3;
  list-style-position: outside;
}

ul {
  padding-left: 0;
}

li {
  margin-top: 5px;
  margin-bottom: 5px;
}

blockquote {
  margin: 0;
  padding: 10px 35px;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}

blockquote p {
  margin: 0 0 10px;
  font-family: "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.2;
  color: #588891;
  font-style: italic;
}

blockquote cite {
  font-size: 80%;
  color: #29545C;
}

.footnote {
  margin-top: 30px;
}
.footnote + .footnote {
  margin-top: 10px;
}

.footnote {
  font-size: 75%;
}

div.post .footnotes {
  margin-top: 30px;
  border-top: 1px dashed #ccc;
}

div.post .footnotes p {
  font-size: 13px;
  color: #555;
}

div.post .footnotes ol {
  list-style-position: outside;
  margin: 0; padding: 0;
}

div.post .footnotes li {
  font-size: 13px;
}

div.post .footnotes hr {
  display: none;
}

/* special elements */

.download_link {
  margin-top: 20px;
  padding-top: 10px;
}

#error {
  font-size: 56px;
  font-weight: bold;
}

#error .code {
  color: #DB2C00;
}

#content .error {
  font-size: 24px;
}

.error_sidebar #banner {
  margin-top: 30px;
  position: relative;
  left: 5px;
}

#comment-foot {
  margin-bottom: 30px;
  font-size: 80%;
}

/* intense debate */

  #comments h3 {
    margin-bottom: -10px;
    padding: 0;
  }

  #comments .idc-thread {

  }
  
  #comments .idc-head {
    display: none;
  }
  
  #comments #idc-container div {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
  }

  /* comment header block */
  
  #comments #idc-container .idc-c_collapsed .idc-c-h, 
  #comments #idc-container .idc-c .idc-c-h {
    background: none;
    position: relative;
    left: -130px;
    width: 670px !important;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 3px;
    margin-bottom: 10px;
  }
  
  /* comment body block */
  
  #idc-container .idc-c-t {
    background: #eee;
    color: #666;
    padding: 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 15px !important;
  }
  
  #idc-container .idc-admin .idc-c-t {
    background: #EBF6F8;
    color: #0D6474; 
  }
  
  /* new comment block */
  
  #content #idc-container .idc-postnav p {
    font-size: 14px;
  }
  
  #content #idc-container .idc-new {
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
  }
  
  #content #idc-container .idc-new .idc-signup {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  /* no comments message */
  
  #content #idc-container .idc-message {
    margin-bottom: 20px;
    padding: 15px;
  }