html, body {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-family: "Century Gothic","Apple Gothic",sans-serif;
  color: black;
  background-color: #ffffff;
}

#content, #metadata {
  text-align: left;
  padding: 2em;
  line-height: 1.25;
}

#content p {
  max-width: 90em;
}

.article .body {
  margin-bottom: 2em;
}

#container {
  width: 100%;
  background-color: #ffffff;
  margin: 0 auto;
}

#accessibility {
  position: absolute;
  top: -10000px;
}

#head {
  height: 100px;
  margin-bottom: 20px;
  text-align: center;
}

p, .related_articles {
  padding: 0;
  margin: 0 0 1em 0;
}

#content img {
  margin: 1em 0;
}

.comments_error {
  color: #000;
  background-color: #fff4f4
}

ul.comments_error {
  padding : 0.3em;
  list-style-type: circle;
  list-style-position: inside;
  border: 2px solid #fdd;
}

div#cpreview {
  color: #000;
  background-color: #f1f1f1;
  border: 2px solid #ddd;
}

form#txpCommentInputForm td {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6, .headline, .headline a, .date {
  font-family: Verdana, "Lucida Grande", Tahoma, Helvetica, sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #000;
  clear: both;
  display: block;
}

h1 {
  font-size: 167%;
  margin: 0.25em 0;
}
h2 {
  font-size: 138.5%;
  margin: 0 0 0.7em 0;
  font-style: italic;
}
h3 {
  font-size: 108%;
}
#content h3 {
  margin: 0.1em 0;
}
h4 {
  margin: 16px 0 4px 0;
  display: block;
  width: 100%;
  text-align: left;
  border-bottom: 1px dotted #000066;
  font-weight: bold;
}
h5, h6 {
  font-weight: bold;
}

blockquote {
  background-color: #ffffff;
  padding: 0.2em 1em;
  font-style: italic;
  margin-bottom: 1em;
}

.metadata {
  list-style: none;
  font-size: 77%;
  padding: 0;
  margin: 0 0 1em 0;
  color: #666;
}

.metadata .author, .metadata .posted {
  display: inline;
}

.metadata .author:before {
  content: "Written by ";
}

.metadata .posted:before {
  content: " on ";
}

.metadata .tags:before {
  content: "Tags: ";
}

.metadata .permalink:before {
  content: "Permalink: ";
}

a {
  color: #33f;
}

#metadata a {
  color: #ccf;
}

a:hover {
  background-color: #ffff99;
}

#metadata a:hover {
  background-color: #666;
}

#tag_cloud li {
  display: inline;
}

div.comments_invite {
  float: left;
}

.bookmarklets {
  float: right;
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

.bookmarklets:after {
  content: ".";
  visibility: hidden;
  display: block;
}

.comments {
  clear: both;
}

.comments li {
  clear: both;
}

.comment .content {
  min-height: 160px;
  padding-left: 1em;
  border-left: 1px solid #ccc;
}

.comment .author {
  font-size: 100%;
}

.comment .metadata {
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 3em;
}

.comment .metadata .author:before {
  content: "";
}

.comment .metadata .author:after {
  content: "replied";
  margin-left: 1ex;
}

.comment .metadata .posted_at:before {
  content: "on";
  margin-right: 0.5ex;
}

.comment .metadata li {
  display: inline;
}

ul, li {
  list-style-type:square
}

li {
  list-style-position: inside;
}

.article ul {
  padding: 0 1em;
  margin-bottom: 1em;
}

dt {
  font-weight: bold;
}

dd {
  padding-left: 1em;
}

blockquote li {
  margin-bottom: 1em;
}

#content {
  padding-bottom: 255px;
  background: #ffffff;
}

#metadata {
  background: #333;
  color: white;
  text-align: center;
  font-size: 93%;
}

#me h3, #licence h3, #working_with_rails, #travels {
  display: none;
}

#me img {
  float: left;
  padding: 1em;
  border: 1px solid black;
  background-color: #ffffff;
  margin: 1em 1em 1em 0;
}

#me, #licence, #tag_cloud, #search, #blogroll, #recent_articles {
  margin-bottom: 0.75em;
  text-align: left;
}

#me, #licence {
  float: left;
  clear: left;
}

#navigation {
  width: 49%;
  float: right;
  clear: right;
}

#me, #licence, #navigation {
  width: 49%;
}

#blogroll {
  float: left;
  clear: left;
  text-align: left;
  width: 49%;
}

#metadata p {
  margin-top: 0.75em;
}

#blogroll li {
  display: inline;
}

#blogroll li:after {
  content: ",";
}

#blogroll li:last-child:after {
  content: "";
}

#metadata:after {
  content: ".";
  visibility: hidden;
  display: block;
  clear: both;
  float: none;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

.article table {
    border-color: #333;
    border-width: 0 0 1px 1px;
    border-style: solid;
    margin-bottom: 1em;
}

.article th { font-weight: bold; }
.article th, .article td {
    border-color: #333;
    border-width: 1px 1px 0 0;
    border-style: solid;
    margin: 0;
    padding: 2px 1em;
}

pre code { font-family: "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", monospaced; white-space: pre; font-weight: normal; color: white; background: black; display: block; padding: 0.75em; 
overflow: auto; font-size: 0.8em; line-height: 1.5em; margin: 0.75em 0;}

code.haml .doctype { color: #ccc; }
code.haml .idDiv { color: #3F3; }
code.haml .classDiv { color: #F33; }

code.erlang .comment { color: #C600FF; }
code.erlang .bracket { color: white; }
code.erlang .string { color: #3FEC15; }
code.erlang .atom { color: #007EFF; font-weight: bold; }
code.erlang .keyword, code.erlang .pp { color: #FFA000; font-weight: bold;}
code.erlang .variable { color: #CCF; }

code.ruby .comment { color: #C600FF; }
code.ruby .brackets, code.haml .interpolate, code.haml .emit { color: white; }
code.ruby .string, code.haml .string { color: #3FEC15; }
code.ruby .symbol, code.haml .symbol { color: #007EFF; font-weight: bold; }
code.ruby .keywords, code.haml .tag { color: #FFA000; font-weight: bold;}

code.radius .tag { color: #007EFF; font-weight: bold; }
code.radius .comment { color: #C600FF; }
code.radius .attribute { color: #FFA000; }
code.radius .value { color: #3FEC15; }

code.css .comment { color: #C600FF; }
code.css .keywords { color: #FFA000; font-weight: bold;}
code.css .urls { color: #3FEC15; }
code.css .units { color: white; }
code.css .properties { color: #007EFF; font-weight: bold; }
code.css .selectors { color: #CCF; }