/* ------------------------------------------
  Reset ♥
  http://meyerweb.com/eric/tools/css/reset/
  v2.0 | 20110126
  License: none (public domain)
---------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
  }
body { line-height: 1; }
ol, ul { list-style: none;  }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }
/* remember to define focus styles. Hee Haw */
:focus { outline: 0; }

body {
  background: #fff url(images/bg.png) repeat fixed;
  font: normal 13px/18px 'Open Sans','Helvetica Neue',Helvetica,Verdana,Arial,sans-serif;
  color: #0b202f;
  margin: 0;
  padding: 0;
  }
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  }
h1 {
  font-size: 16px;
  margin: 0;
  }
h2 {
  font-size: 18px;
  margin: 0 0 5px;
  font-weight: 600;
  }
h4 {
  line-height: 22px;
  }
h5 {
  font-size: 16px;
  margin: 0 0 10px;
  }
h6 {
  margin: 0;
  padding: 0;
  }
a {
  text-decoration: none;
  color: #69AACA;
  }
  a:hover {
    color: #337A9D;
    }
a.button {
  background-color: #ebebeb;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#ebebeb));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image:    -moz-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image:     -ms-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image:      -o-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image:         linear-gradient(to bottom, #f5f5f5, #ebebeb);
  text-align: center;
  margin: 20px auto 0;
  display: block;
  color: #444;
  border: 1px solid #b0b0b0;
  text-shadow: 0 1px 0 #fff;
  padding: 8px 18px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 10px 10px rgba(255,255,255,0.15)
  }
  a.button:active {
    background: #fff;
    border-color: #aaa;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.35);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.35);
    }

a.button.color {
  background: #69AACA url(images/bg.png) repeat 0 0;
  border-color: #337A9D;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
  -moz-box-shadow: none;
  box-shadow: none;
  color: #fff;
  }
  a.button.color:hover {
    background-color: #509cc1;
    }
  a.button.color:active {
    background-color: #337A9D;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.35);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.35);
    }
  a span.icon {
    margin-left: 5px;
    }
a.title {
  display: block;
  color: #0b202f;
  }
  a.title:hover .thin {
    color: #337A9D;
    }
  a.title .thin {
    color: #b0b0b0;
    -moz-transition: color 0.1s linear;
    -o-transition: color 0.1s linear;
    -webkit-transition: color 0.1s linear;
    transition: color 0.1s linear;
    }
ul {
  margin: 0; padding: 0;
  list-style: none;
  }
.thin {
  font-weight: 100;
  }
.prose ul {
  list-style: square;
  margin: 10px 0 10px 20px;
  }
.prose ul li ul {
  list-style: none;
  margin: 5px 0 5px 20px;
  }

strong  { font-weight: bold; }
small   { font-size: 11px; }

/* Input and Forms */
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
  }
input {
  font: 13px/20px; 'Helvetica Neue', Helvetica, Arial, sans-serif;
  *overflow: visible;
  line-height: normal;
  }
input::-moz-focus-inner {
  padding: 0;
  border: 0;
  }
#search input,
input[type='search'] {
  background-image: url(images/sprite.png);
  background-repeat: no-repeat;
  background-position: 325px -48px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
  margin-bottom: 0;
  }
#search input::-webkit-search-decoration,
#search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  }
input,
textarea,
select {
  display: inline-block;
  width: 310px;
  padding: 4px 40px 4px 8px;
  margin-bottom: 9px;
  font-size: 13px;
  color: #666;
  background-color: white;
  border: 1px solid #b0b0b0;
  }
input {
  height: 30px;
  }
input,
textarea {
  -moz-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.15);
  }

/* --------------------------------------------------------
 *  Global Layout
 * ------------------------------------------------------ */
#header {
  background: #fff;
  border-bottom: 1px solid #b0b0b0;
  height: 79px;
  }
.limiter {
  width: 970px;
  margin: 0 auto;
  }
.inner {
  margin: 0 5px;
  }
.sidebar {
  float: left;
  margin-left: 10px;
  position: relative;
  }
  .sidebar-inner {
    width: 240px;
    padding-top: 1px;
    }
  .sidebar-inner.fixed {
    position: fixed;
    top: 0;
    }
.content {
  float: left;
  width: 690px;
  margin-right: 20px;
  margin-left: 5px;
  }
  .content-main {
    float: left;
    width: 100%;
    }

#footer {
  margin-top: 20px;
  height: 80px;
  }

/* --------------------------------------------------------
 *  Global Styling
 * ------------------------------------------------------ */
#header h1 {
  float: left;
  margin-top: 50px;
  }
.preview {
  background: #f5f5f5 url(images/load.gif) no-repeat center center;
  width: 100%;
  height: 360px;
  margin: 0; padding: 0;
  display: block;
  overflow: hidden;
  }
#footer .limiter {
  padding-top: 10px;
  border-top: 1px solid #b0b0b0;
  text-align: center;
  }

/* --------------------------------------------------------
 *  Frontpage
 * ------------------------------------------------------ */
.browse {
  padding: 30px 0 9px;
  }
  .browse form {
    width: 360px;
    margin: 0 auto;
    }
em.description {
  display: block;
  color: #666;
  }
  .dark em.description {
    color: #FF744F;
    }
ul.topics li {
  float: left;
  margin: 0 5px 10px;
  }
  body .result {
    float: left;
    border-color: #fff;
    border-right: 1px solid #e0e0e0;
    -moz-box-shadow: none;
    box-shadow: none;
    }
  .result,
  ul.topics li a {
    background-color: #fff;
    display: block;
    width: 208px;
    padding: 10px;
    border: 1px solid #b0b0b0;
    height: 78px;
    height: auto!important;
    min-height: 78px;
    -moz-transition: all 0.05s linear;
    -o-transition: all 0.05s linear;
    -webkit-transition: all 0.05s linear;
    transition: all 0.05s linear;
    opacity: 1;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }
    ul.topics li a:hover {
      border-color: #a0a0a0;
      }

small.tags {
  color: #b0b0b0;
  }
.code,
.modest-maps {
  background: transparent url(images/sprite.png) no-repeat 0 -24px;
  display: block;
  padding-left: 20px;
  }

#tag-list {
  display: block;
  height: 35px;
  height: auto!important;
  min-height: 35px;
  width: 80%;
  margin: 20px auto 10px;
  }
  #tag-list li {
    float: left;
    margin: 0 5px 5px 0;
    }
    #tag-list li a {
      color: #fff;
      background: #b0b0b0;
      background: rgba(0,0,0,0.25);
      -moz-border-radius: 8px;
      border-radius: 15px;
      display: block;
      padding: 4px 10px;
      font-weight: 600;
      -moz-transition: background-color 0.1s linear;
      -o-transition: background-color 0.1s linear;
      -webkit-transition: background-color 0.1s linear;
      transition: background-color 0.1s linear;
      }
      #tag-list li a:hover {
        background: rgba(0,0,0,0.35);
        }
      #tag-list li a.active {
        background: #0B202F;
        }

/* --------------------------------------------------------
 *  Example post
 * ------------------------------------------------------ */
.dark {
  background: #0d1421;
  }
.content-header {
  background: white;
  margin: 20px 0 10px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  border: 1px solid #B0B0B0;
  }
  .content-header div.details {
    padding-top: 30px;
    }
  .content-header div div {
    float: left;
    margin: 5px 5px 0 10px;
    }

.label {
  font-size: 11px;
  font-weight: 700;
  }

.sidebar .use {
  background: rgba(0, 0, 0, 0.05);
  padding: 10px;
  margin-top: 20px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  }
  .sidebar .use a {
    color: #0D1421;
    font-weight: bold;
    }
    .sidebar .use a.button {
      color: #fff;
      }

.heading h5 {
  padding-top: 20px;
  }

.block {
  margin: 40px 0 10px;
  padding: 10px 0 0;
  }
  .block h6 {
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 15px;
    }

/*Table of contents*/
#toc {
  height: 80px;
  height: auto!important;
  min-height: 80px;
  border-left: 1px solid #b0b0b0;
  padding: 5px 0 10px;
  }
  #toc li {
    margin-bottom: 3px;
    }
    #toc li:first-child {
      border: none;
      }
    #toc li a {
      display: block;
      color: #0D1421;
      font-weight: 700;
      padding: 8px 10px 8px 20px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      margin-bottom: -8px;
      position: relative;
      left: -10px;
      width: 220px;
      text-shadow: 0 1px 0 rgba(255,255,255,0.25);
      }
      #toc li.active,
      #toc li a:hover {
        background: #fff;
        background: rgba(255,255,255,0.9);
        color: #337A9D;
        }

#markdown {
  background: #fff;
  padding: 20px 10px;
  margin-bottom: 20px;
  line-height: 22px;
  }
  #markdown a {
    font-weight: bold;
    color: #FE5741;
    }
  #markdown em {
    font-style: italic;
    }
 
/*  -------------------------------------------------------
 *   Pretty syntax highlighting
 *   SPAN elements with the classes below are added by prettyprint.
 *  ------------------------------------------------------- */
.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .linenums .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }

code {
  margin: 0 2px;
  padding: 0 5px;
  white-space: nowrap;
  border: 1px solid #EAEAEA;
  background-color: #F8F8F8;
  border-radius: 3px;
  }

pre code,
pre {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  padding: 10px;
  margin: 10px 0 0;
  background-color: #fff;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  overflow: auto;
  display: block;
  font-size: 12px;
  }

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
  margin: 0 0 0 40px;
  list-style: decimal;
  } 
  ol.linenums li {
    padding: 0;
    color: #bebec5;
    line-height: 18px;
    }

/*  -------------------------------------------------------
 *  Lil' Helpers 
 *  ------------------------------------------------------- */
.icon {
  background: transparent url(images/sprite.png) no-repeat 0 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  }
.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  }

* html .clearfix { height: 1%; } /* IE6 */
*:first-child + html .clearfix { min-height: 1%; } /* IE7 */
