﻿code, p code, li code, .highlight {
  font-family: Consolas, 'Liberation Mono', Courier, monospace;
  background: #fffaf6;
}

p code {
  color: #000;
  font-size: 90%;
  padding: 2px 4px;
  white-space: nowrap;
}

.highlight {
  font-size: 13px;
  line-height: 19px;
  /*border: 1px solid #ddd;*/
  margin: 15px 0;
  padding: 6px 10px;
  overflow-x: auto;
}

.linenos {
  font-size: 13px;
  line-height: 19px;
  vertical-align: top;
  padding: 22px 10px;
  text-align: right;
  color: #999;
}

.c { color: #999988; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { color: #000000; font-weight: bold } /* Keyword */
.o { color: #000000; font-weight: bold } /* Operator */
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
.c1 { color: #999988; font-style: italic } /* Comment.Single */
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.ge { color: #000000; font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #999999 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #aaaaaa } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
.m { color: #009999 } /* Literal.Number */
.s { color: #d01040 } /* Literal.String */
.na { color: #008080 } /* Name.Attribute */
.nb { color: #0086B3 } /* Name.Builtin */
.nc { color: #445588; font-weight: bold } /* Name.Class */
.no { color: #008080 } /* Name.Constant */
.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
.ni { color: #800080 } /* Name.Entity */
.ne { color: #990000; font-weight: bold } /* Name.Exception */
.nf { color: #990000; font-weight: bold } /* Name.Function */
.nl { color: #990000; font-weight: bold } /* Name.Label */
.nn { color: #555555 } /* Name.Namespace */
.nt { color: #000080 } /* Name.Tag */
.nv { color: #008080 } /* Name.Variable */
.ow { color: #000000; font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #009999 } /* Literal.Number.Float */
.mh { color: #009999 } /* Literal.Number.Hex */
.mi { color: #009999 } /* Literal.Number.Integer */
.mo { color: #009999 } /* Literal.Number.Oct */
.sb { color: #d01040 } /* Literal.String.Backtick */
.sc { color: #d01040 } /* Literal.String.Char */
.sd { color: #d01040 } /* Literal.String.Doc */
.s2 { color: #d01040 } /* Literal.String.Double */
.se { color: #d01040 } /* Literal.String.Escape */
.sh { color: #d01040 } /* Literal.String.Heredoc */
.si { color: #d01040 } /* Literal.String.Interpol */
.sx { color: #d01040 } /* Literal.String.Other */
.sr { color: #009926 } /* Literal.String.Regex */
.s1 { color: #d01040 } /* Literal.String.Single */
.ss { color: #990073 } /* Literal.String.Symbol */
.bp { color: #999999 } /* Name.Builtin.Pseudo */
.vc { color: #008080 } /* Name.Variable.Class */
.vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */
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: inherit;
  font-size: 100%;
  vertical-align: baseline; }

html {
  line-height: 1; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes: none; }
  q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none; }

a img {
  border: none; }

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

* {
  box-sizing: border-box; }

body {
  font-family: "museo-slab", Helvetica, Arial, sans-serif;
  color: #353528;
  border-top: 3px solid #eaaa15;
  background: #f5f0ec; }

h1, h2, h3, h4, h5, h6 {
  font-family: "futura-pt", Helvetica, Arial, sans-serif; }

a {
  color: black;
  text-decoration: none; }
  a:hover {
    color: #d79c14;
    transition: all 260ms linear; }

.top-banner {
  position: relative;
  font-family: "futura-pt", Helvetica, Arial, sans-serif;
  text-align: center;
  margin-bottom: 2em;
  padding: 60px 20px;
  background: #eebb44 url("/assets/background-92c5eb96bd01d7158679d2795f783359.jpg") top center;
  background-size: cover;
  color: #333322; }
  .top-banner h2, .top-banner h3 {
    margin-bottom: 10px;
    text-transform: uppercase; }
    .top-banner h2 a, .top-banner h3 a {
      color: #333322; }
      .top-banner h2 a:hover, .top-banner h3 a:hover {
        color: #333322; }
  .top-banner h2 {
    font-size: 4em;
    font-weight: bold;
    letter-spacing: 0.08em; }
  .top-banner h3 {
    font-size: 1.4em;
    letter-spacing: 0.15em; }

.share-buttons {
  width: 460px;
  margin: 0 auto 50px; }
  .share-buttons .share-btn {
    float: left;
    width: 190px; }
    .share-buttons .share-btn:first-child {
      text-align: left;
      margin: 0 0 0 20px; }
    .share-buttons .share-btn:last-child {
      -webkit-transform: scale(0.93);
      -moz-transform: scale(0.93);
      -ms-transform: scale(0.93);
      -o-transform: scale(0.93);
      transform: scale(0.93);
      text-align: right;
      margin: 0 0 0 56px; }

.content-main {
  max-width: 940px;
  margin: 0 auto;
  padding: 20px 60px;
  background: #f5f0ec; }

@media screen and (max-width: 768px) {
  .content-main {
    padding: 20px; } }
.post-list {
  margin: 2em auto;
  max-width: 860px; }

.post-link {
  background: white;
  display: block;
  border: 1px solid #ebebeb;
  margin-bottom: 1em;
  padding: 1em; }
  .post-link:hover {
    border-color: #e1e1e1; }
    .post-link:hover i {
      opacity: 1; }
    .post-link:hover .title {
      color: black; }
  .coming-soon .post-link {
    background: #fbf8f5;
    border: 1px solid transparent;
    color: #aaaaaa; }
    .coming-soon .post-link .title:before {
      content: "Coming Soon: "; }
    .coming-soon .post-link:hover .title {
      color: #aaaaaa; }
    .coming-soon .post-link .description {
      color: #aaaaaa; }
  .post-link .title, .post-link .description {
    display: block;
    line-height: 160%; }
  .post-link .title {
    font-family: "futura-pt", Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 0.3em;
    text-transform: uppercase; }
    .post-link .title i {
      opacity: 0.5; }
  .post-link .description {
    color: #444433; }

.post-title {
  position: relative;
  font-size: 2em;
  line-height: 1.3em;
  padding: 0.8em;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  border-bottom: 4px double #dddddd;
  margin-bottom: 1em; }

.post a {
  text-decoration: underline; }
.post p, .post ul, .post ol {
  line-height: 150%;
  margin-bottom: 1.5em; }
.post b, .post strong {
  font-weight: bold; }
.post ol, .post ul {
  margin-left: 2.5em;
  margin-right: 1em; }
  .post ol li, .post ul li {
    margin-bottom: 1em; }
.post ul {
  list-style: disc; }
.post ol {
  list-style: decimal; }
.post blockquote {
  display: block;
  padding: 0.75em;
  margin-bottom: 1.5em;
  line-height: 150%;
  border: 1px solid #ebebeb;
  background: white; }
  .post blockquote p:last-child {
    margin-bottom: 0; }
  .post blockquote .attribution {
    display: block;
    margin-top: 0.5em;
    color: #a4a486;
    font-style: italic; }
.post h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 1.5em 0 0.75em; }
.post hr {
  margin: 1.5em 3em;
  border: 0;
  border-bottom: 1px dashed #cccccc; }

.chapter-nav {
  padding: 0.5em 0;
  text-align: center; }

a.nav {
  display: inline-block;
  font-size: 1.2em;
  margin: 0 0 4px 0;
  padding: 0.6em 0.8em;
  border: 1px solid transparent;
  color: #847864;
  background: #f0e8e2;
  -webkit-transition: all 320ms;
  -moz-transition: all 320ms;
  -o-transition: all 320ms;
  transition: all 320ms; }
  a.nav:hover {
    background: #eae0d8; }

a.nav-toc {
  border: 1px solid transparent; }

a.nav-next:after {
  font-family: FontAwesome;
  content: "\f061";
  margin-left: 5px; }

a.nav-prev:before {
  font-family: FontAwesome;
  content: "\f060";
  margin-right: 5px; }

.site-intro {
  font-size: 1.2em;
  line-height: 150%;
  font-style: italic;
  margin: 1em 0;
  color: #27271d; }
  .site-intro b {
    font-weight: 600; }

.credits {
  font-family: "courier-prime", Courier, "Courier New", sans-serif;
  text-transform: uppercase;
  padding: 1.5em;
  margin-top: 2em;
  font-size: 0.72em;
  color: #999999;
  text-align: center;
  background: #333333; }
  .credits a {
    color: #cccccc; }
    .credits a:hover {
      color: #f0f0f0; }

.logo-icon {
  position: absolute;
  left: 50%;
  bottom: -50px;
  margin-left: -50px; }
  .logo-icon a {
    color: #f5f0ec; }
    .logo-icon a:hover {
      color: white; }
  .logo-icon .fa-bolt {
    position: absolute;
    z-index: 3;
    top: 26px;
    left: 40px; }

.diamond {
  width: 0;
  height: 0;
  border: 50px solid transparent;
  border-bottom-color: #333333;
  position: relative;
  top: -50px; }
  .diamond:after {
    content: "";
    position: absolute;
    left: -50px;
    top: 50px;
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-top-color: #444444; }

.showdown-callout {
  font-size: 0.9em;
  line-height: 150%;
  text-align: center;
  background: #eebb44;
  color: #333333;
  padding: 16px 16px 15px;
  margin: 20px 0 0 0; }
  .showdown-callout a {
    color: black;
    font-weight: bold; }

.subscribe, .sponsor {
  padding: 25px 15px;
  margin: 15px 0;
  text-align: center;
  border: 1px dashed #e3d6cb;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px; }
  .subscribe label, .sponsor label {
    display: block;
    text-align: center;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 150%; }
  .subscribe input, .sponsor input {
    font-family: "museo-slab", Helvetica, Arial, sans-serif;
    font-size: 18px;
    background: white;
    border: 2px solid #eebb44;
    padding: 6px 10px;
    width: 100%;
    max-width: 300px; }
    .subscribe input:focus, .sponsor input:focus {
      border: 2px solid #f2cc73;
      outline: none; }
  .subscribe button, .sponsor button {
    padding: 12px 14px 10px;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    font-family: "futura-pt", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    background: #eebb44;
    border: 0;
    cursor: pointer; }

.sponsor {
  text-align: left; }
  .sponsor a {
    text-decoration: underline; }
  .sponsor p {
    font-size: 16px;
    line-height: 25px;
    margin: 0 0 10px; }
    .sponsor p:last-child {
      margin: 0; }
  .sponsor code {
    white-space: normal; }
  .sponsor .headline {
    font-weight: bold; }
  .sponsor + p {
    font-size: 12px;
    text-align: center;
    opacity: 0.8; }
    .sponsor + p a {
      text-decoration: underline; }

.badge {
  font-size: 12px;
  text-transform: uppercase;
  color: #847864;
  background: #f0e8e2;
  margin: -1px 0 0 6px;
  padding: 4px 6px;
  vertical-align: 1px; }

img.diagram {
  display: block;
  margin: 20px; }
  img.diagram.full-width {
    width: 80%;
    margin: 20px 10%; }

@media screen and (max-width: 480px) {
  .subscribe input {
    max-width: 100%; }

  .subscribe button {
    display: block;
    width: 100%;
    margin-top: 10px; }

  .share-buttons .share-btn {
    display: none; } }