/*--------------------------------------------------------------
 Header
 --------------------------------------------------------------*/

#header {
  background: url(../images/header.jpg) repeat-x scroll 0 0;
}

#header a:active,
#header a:hover,
#header a:link,
#header a:visited {
  background: transparent;
  color: #ceced6;
  text-decoration: none;
}

#header h1,
#header h2 {
  font-family: Georgia, serif;
  font-weight: normal;
}

#header h1 {
  font-size: 48px;
  letter-spacing: -1px;
  /*margin: 0;*/
  position: absolute;
  top: 40px;
  left: 12px;
}

#header h2 {
  color: #333153;
  font-size: 14px;
  /*margin: 0;*/
  position: absolute;
  top: 84px;
  right: 54px;
}

#github-ribbon {
  position: absolute;
  top: 0;
  right: 0;
}

/*--------------------------------------------------------------
 Content
 --------------------------------------------------------------*/

#content {}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
  font-family: "Bitstream Vera Sans", Arial, sans-serif;
  font-weight: bold;
}

#content h1 {
  font-size: 2.2em;
  /*margin: 0;*/
}

#content h2 {
  font-size: 2.0em;
  /*margin: 0;*/
}

#content h3 {
  font-size: 1.6em;
  margin: 1.2em 0 0.2em;
}

/*#content h4 {
  border-bottom: 1px dotted #bbb;
  font-size: 1.4em;
  margin: 1.2em 0 0.2em;
}*/
#content h4 {
  font-size: 1.2em;
  margin: 1.2em 0 0.6em;
}

#content h5 {
  background: #ffb;
  clear: both;
  font-size: 1.2em;
  margin: 1.2em 0 0.2em;
  padding: 1ex 1em;
  /* use rounded borders where possible */
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#content p {
  margin: 0 0 1.2em;
}

#content ul,
#content ol {
  margin: 1em;
  /*padding:0;*/
}

#content ul {
  list-style-type: square;
}

#content li {
  /*line-height: 1.25em;*/
  margin: 0 0 0.5em 1em;
  /*padding: 0;*/
}

#content blockquote {
  border-left: 4px solid #ceced6;
  color: #3c3b5b;
  font-size: 95%;
  margin: 1em;
  padding: 0 1em;
}

#content blockquote.gumby {
  background: url(../images.gumby.gif) no-repeat left top;
  font-family: "Comic Sans MS";
  padding: 0 1em 0 52px;
}

#content code {
  font: normal 0.9em "Bitstream Vera Sans Mono", Monaco "Lucida Console", "Courier New", Courier, serif;
}

/* Article Entries - class names based on http://microformats.org/wiki/hatom] */
#content .hentry {
  margin: 0 0 3em 0;
  overflow: hidden;
}

#content .hentry .entry-title {
  font-size: 2.0em
  line-height: 1.2em
  margin: 0;
}

#content .hentry .entry-title a:link,
#content .hentry .entry-title a:visited {
  color: #5c5c77;
  text-decoration: none;
}

#content .hentry .entry-title a:hover,
#content .hentry .entry-title a:active {
  background: transparent;
  color: #090;
  text-decoration: none;
}

#content .hentry .entry-title .comment_count {
  color: #75758b;
  font-size: 60%;
  font-weight: normal;
  padding-left: 1em;
}

#content .hentry .entry-title .comment_count a {
  color: #75758b;
}

#content .hentry .vcard,
#content .hentry .published {
  color: #75758b;
  float: left;
  font-style: italic;
  font-size: 1.1em;
  margin: 0 0 0.6em 0;
}

#content .hentry .fn {
  font-weight: bold;
  margin-right: 0.25em;
}

#content .hentry .fn a,
#content .hentry .fn a:hover {
  background: transparent;
  color: #aeadbb;
  text-decoration: none;
}

#content .hentry .clear {
  clear: both;
}

#content .hentry .entry-content {
  font-size: 1.25em;
  line-height: 1.4em;
  margin: 1ex 1em;
}

#content .hentry .entry-content .CodeMacro pre {
  font-size: 1.0em;
  line-height: 1.25em;
}

#content .hentry .entry-content .extended {
  font: bold 100% "Bitstream Vera Sans", Arial, sans-serif;
}

#content .hentry .entry-content .extended a:link,
#content .hentry .entry-content .extended a:visited {
  color: #5c5c77;
  text-decoration: none;
}

#content .hentry .entry-content .extended a:hover,
#content .hentry .entry-content .extended a:active {
  background: transparent;
  color: #090;
  text-decoration: none;
}

#content .hentry ul.meta {
  background: #d4e5f7;
  border: none;
  clear: both;
  font-family: "Bitstream Vera Sans", Arial, sans-serif;
  font-size: 1.0em;
  margin: 0;
  padding: 1ex 1em;
  list-style-type: none;
  /* use rounded borders where possible */
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#content .hentry ul.meta li {
  line-height: 1.2em;
  margin: 2px 0;
  /*padding: 0;*/
}

#content .hentry .meta a:link,
#content .hentry .meta a:visited {
  color: #5c5c77;
  border-bottom: 1px dotted #aeadbb;
  text-decoration: none;
}

#content .hentry .meta a:hover,
#content .hentry .meta a:active  {
  color: #fff;
}


/* Comments and Trackbacks */
#content ol.comments,
#content ol.trackbacks {
  list-style-type: none;
  /*margin: 0;*/
  /*padding: 0;*/
}

#content li.comment,
#content li.trackback {
  border-bottom: 1px solid #aeadbb;
  margin: 1em 0;
  padding: 1em;
}

#content li.comment.preview {
  background: #ffc;
  border: 3px solid #fab444;
  margin: 0 0 1.5em;
  padding: 1em;
}

#content li.comment   .comment_num,
#content li.trackback .comment_num {
  /*background-color: #ffb;
  border: 1px solid #ceced6;*/
  float: right;
  font-size: 1.4em;
  margin: -1.4ex -0.9em 1ex 1ex;
  padding: 6px 8px;
}

#content li.comment   .comment_num a,
#content li.trackback .comment_num a {
  background: transparent;
  color: #6d6c84;
  text-decoration: none;
}

#content li.comment   .author,
#content li.trackback .author {
  float: left;
  font-weight: bold;
  margin: 0 0.25em 1em 0;
}

#content li.comment   .author cite,
#content li.trackback .author cite {
  font-size: 1.3em;
}

#content li.comment   .author .comment_time,
#content li.trackback .author .comment_time {
  color: #75758b;
  font-size: 1.1em;
}

#content li.comment .author .gravatar {
  float: left;
  margin: 0 0.5em 0 0;
}

#content li.comment .content {
  clear: both;
  font-size: 1.2em;
  line-height: 1.4em;
}

#content li.comment .content h1 {
  font-size: 1.5em;
}

#content li.comment .content h2 {
  font-size: 1.4em;
}

#content li.comment .content h3 {
  font-size: 1.3em;
}

#content li.comment .content h4 {
  font-size: 1.2em;
}

#content li.comment .content h5 {
  font-size: 1.1em;
}

#content p.closed {
  color: #c00;
  font-size: 1.1em;
  font-weight: bold;
  margin: 1em;
}

#content #comment-message {
  color: #00c;
  font-size: 1.1em;
  font-weight: bold;
  margin: 1em;
}

#content form#comment-form {
  background: #cde;
  margin: 1em;
  padding: 1em;
  /* use rounded borders where possible */
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

#content form#comment-form fieldset {
  border: none;
}

#content form#comment-form legend {
  font: bold 1.1em "Bitstream Vera Sans", Arial, sans-serif;
  margin-bottom: 1em;
  text-transform: uppercase;
}

#content form#comment-form label {
  font-weight: bold;
}

#content form#comment-form input {
  margin-right: 0.5em;
}

#content form#comment-form textarea {
  height: 150px;
  padding: 3px;
  width: 90%;
}

#content form#comment-form #comment-email {
  display: none;
}

#content .page-content {
  font-size: 1.2em;
  line-height: 1.4em;
  margin: 1ex 1em;
}

#content img {
  /*margin: 1ex 1em;*/
}

#content *[style="float: left;"] img {
  margin: 1ex 1em 1ex 0;
}

#content *[style="float: right;"] img {
  margin: 1ex 0 1ex 1em;
}

/*--------------------------------------------------------------
 Sidebar
 --------------------------------------------------------------*/

#sidebar {
  font-size: 1.1em;
  line-height: 1.3em;
}

#sidebar ul.sidebar-list {
  list-style: none;
  /*margin: 0;*/
  /*padding: 0;*/
}

#sidebar ul.sidebar-list li {
  clear: both;
  margin: 0 0 2em;
}

#sidebar h3 {
  border-bottom: 0.5px dotted #6d6c84;
  border-top: 3px solid #0b0a32;
  font: bold 1.1em "Bitstream Vera Sans", Arial, sans-serif;
  margin: 0 0 0.5em;
  padding: 0.3em 0;
  text-transform: uppercase;
}

#sidebar li.sidebar-node ul {
  list-style-type: disc;
  margin: 0 0 2em 20px;
  /*padding: 0;*/
}

#sidebar li.sidebar-node li {
  margin: 0 0 0.5em 0;
  padding: 1px 0;
}

#sidebar li.sidebar-node li .article_count,
#sidebar li.sidebar-node li .recent_date {
  color: #75758b;
  font-weight: bold;
  padding-left: 0.8em;
}

#sidebar li.sidebar-node a:link {
  color: #009;
  text-decoration: none;
}

#sidebar li.sidebar-node a:visited {
  color: #6d6c84;
  text-decoration: none;
}

#sidebar li.sidebar-node a:hover,
#sidebar li.sidebar-node a:active {
  background: transparent;
  color: #090;
  text-decoration: underline;
}

#sidebar em {
  font-style: normal;
}

/* Live-search and results */
#sidebar .search p {
  /*margin: 0;*/
  padding-top: 1ex;
}

#sidebar .search p input {
  background: url(../images/magnify.png) no-repeat scroll 2px 50%;
  font-size: 11px;
  padding: 0 0 0 15px;
  width: 90%;
}
#sidebar .search p input:focus {
  background-color: #ffc;
}

/* Feeds */
#sidebar .feed span.rss {
  background: url(../images/feed.png) 100% 50% no-repeat;
  padding: 0 20px 0 0;
}

/* Tags */
#sidebar li.sidebar-node ul.tags {
  font-family: "Bitstream Vera Sans", Arial, sans-serif;
  font-weight: normal;
  list-style: none;
  margin: 0;
}
#sidebar li.sidebar-node ul.tags li {
  display: inline;
  /*float: left;*/
  padding: 0 0.25em 0 0;
}

/*--------------------------------------------------------------
 Footer
 --------------------------------------------------------------*/

#footer {
  border-top: 2px solid #ceced6;
  color: #8e8ca0;
}

#footer a:link, #footer a:visited {
  color: #8e8ca0;
  text-decoration: none;
}

#footer a:hover,
#footer a:active {
  background: transparent;
  color: #8e8ca0;
  text-decoration: underline;
}

#footer hr {
  display: none;
}

#footer p {
  float: left;
  /*margin: 0;*/
  /*padding: 0;*/
  width: 40%;
}

#footer ul {
  float: right;
  list-style-type: none;
  /*margin: 0;*/
  /*padding: 0;*/
  text-align: right;
  width: 40%;
}

#footer li {
  display: inline;
  /*margin: 0;*/
  padding: 0 0 0 1em;
}

