/* HTML5 bits and bobs */
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}


/* Global Reset */

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background-color: #111111;
    font: 14px/1.75em georgia, serif;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-family: tahoma;
    font-weight: normal;
}

h1 {
    margin-bottom: 1em;
}

h2 { font-size: 135%; margin-bottom: 0.5em; }
h3 { font-size: 130%; margin-bottom: 0.5em; }

p {
    margin: 1em 0;
}

a { 
    color: #44a;
    text-decoration: none; 
    border-bottom: 2px solid #ccc;
}
a:link { }
a:hover { 
    color: #33f;
    border-bottom: 2px solid #66a;
}
a:visited { }

table {
    font-size: inherit;
    font: 100%;
}

/**
 * Basic sections
 */

section.site {
    position: relative;
    width: 71.5em;
    margin: 0 auto 0 auto;
}

section.site > header {
    width: 50em;
    padding: 0.25em;
    margin: 1.5em 0 0 0;
}

section.site > section.content {
    width: 50em;
    margin: 1em 0 1em 0;
}

section.site > footer {
    width: 50em;
    margin: 1em 0 1em 0;
}

section.site > header h1 {
    font-family: monospace;
    font-size: 28px;
    font-weight: bold;
    float: left;
    margin: 0 0.5em 0 0;
}
section.site > header h1 a {
    color: #ddd;
    text-decoration: none;
    border: none;
}
section.site > header h2 {
    font-size: 11px;
    color: #999;
    margin: 0;
}

section.site > section.content nav.page-navigation {
    background-color: #333;
    position: relative;
    min-height: 2.0em;
    padding: 0.25em;
    margin: 1em 0 1em 0;
}
section.site > section.content nav.page-navigation ul {
}
section.site > section.content nav.page-navigation ul li {
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}
section.site > section.content nav.page-navigation ul li.left {
    left: 0.75em;
}
section.site > section.content nav.page-navigation ul li.right {
    right: 0.75em;
}
section.site > section.content nav.page-navigation ul li a {
    border-color: #666666;
    color: #DDDDDD;
    font: 12px tahoma;    
    padding: 0.25em;
}

section.site > section.content article {
    padding: 1.5em 2em;
    background-color: #f8f8f8;
}

section.site > section.content > article ul, section.content > article ol {
    margin: 0 0 0 2em;
}
section.site > section.content > article ul > li, section.content > article ol > li {
    margin: 0.5em 0 0.5em 0;
}
section.site > section.content > article  ul > li {
    list-style: square;
}
section.site > section.content > article > blockquote { 
    font-style: italic; 
    margin: 1em 1.5em 1em 1.5em;
    padding: 0 0 0 1em;
    border-left: 4px solid #999;
}

section.site > section.content > article > pre {
    background-color: #DFDFDF;
    font-size: 0.85em;
    margin: 0.25em 2em;
    padding: 1em 1em;
}

article.post > time {
    display: block;
}

section.site > section.content article  ul.tags:before {
    content: "Tags: ";
}
section.site > section.content article  ul.tags {
    display: block;
    margin: 0.25em 0 0.25em 0;
    font-size: 0.85em;
}
section.site > section.content article  ul.tags li {
    list-style: none;
    display: inline;
}

section.comments {
    padding: 1.5em 2em;
    background-color: #f8f8f8;
}

section.site > footer {
}

section.site > footer > img {
    display: block; 
    margin: 1em auto 1em auto;
}

aside.sidebar {
    width: 20em;
    position: absolute;
    color: #eee;
    background-color: #333;
    right: 0px;
    top: 3em;
    padding: 0 0.25em;
    margin: 0.25em 0 0 0;
}
aside.sidebar section {
    font-size: 0.85em;
    margin: 1em 1.5em 2em 1.5em;
}
aside.sidebar section h3 {
    border-bottom: 1px solid #666666;
    font-family: arial;
    font-size: 1.325em;
    padding-bottom: 0.25em;
}
aside.sidebar section a {
    border-color: #666;
    color: #DDD;
}
aside.sidebar section a:hover {
    border-color: #66A;
    color: #DDF;
}
aside.sidebar section img.block {
    display: block; 
    width: 100%;
    margin: 1em auto 1em auto;
    border: 1px solid #666666;
}
aside.sidebar section ul.columns {
    margin: 1em 0 0;
    padding: 0;
}
aside.sidebar section ul.columns li {
    float: left;
    list-style-type: none;
    padding: 0 1.25em 1.5em;
    text-align: center;
}
aside.sidebar section ul {
    margin: 0 0 0 2em;
}
aside.sidebar section ul > li {
    margin: 0 0 0 0;
}

ul.posts {
    list-style-type: none;
    margin-bottom: 2em;
}

ul.posts li {
    line-height: 1.75em;
}

ul.posts span {
  color: #aaa;
  font-family: Monaco, "Courier New", monospace;
  font-size: 80%;
}

#comments.archived-comments {
     border-top: 4px solid #333333;
     margin: 2em 0pt 3em 0em;
     padding-top: 1em;
}

#comments.archived-comments > h3 {
     margin: 0.5em 0pt 1em 0em;
}

#comments.archived-comments ul.comments {
     margin: 0pt 0pt 0pt 3em;
     padding: 0pt;
}

#comments.archived-comments > ul.comments {
     margin: 0pt 0pt 0pt 0em;
}

#comments.archived-comments ul.comments li.comment {
     list-style: none outside none;
}

#comments.archived-comments ul.comments li.comment .meta {
     background: none repeat scroll 0% 0% #EEEEEE;
     border: 1px solid #DDDDDD;
     margin: 1em 0pt 0pt;
     padding: 0.5em;
     position: relative;
}

#comments.archived-comments ul.comments li.comment .meta .author img {
     height: 32px;
     width: 32px;
}

#comments.archived-comments ul.comments li.comment .meta .permalink {
     position: absolute;
     right: 1em;
     top: 1em;
}
