/* ============================================================ */
/* Base */
/* ============================================================ */
html, body {
  height: 100%;
}

body {
  background: #fefefe;
  color: #424242;
  font-family: "Archer SSm A", "Archer SSm B", Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Gotham Narrow SSm A', 'Gotham Narrow SSm B', 'Helvetica Neue', 'Helvetica', sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 33px;
  text-transform: none;
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
  margin-bottom: 18px;
}

h5 {
  font-size: 16px;
  margin-bottom: 15px;
}

h6 {
  font-size: 14px;
  margin-bottom: 12px;
}

hr {
    margin: 30px 0;
}

p {
  line-height: 1.8;
  margin: 0 0 30px;
}

/* twitter fix */
iframe {
    margin-bottom: 30px !important;
}

a {
  color: #f03838;
  text-decoration: none;
}

ul, ol {
  line-height: 1.8;
  margin: 0 0 40px;
  padding: 0;
}
ul li, ol li {
  margin: 0 0 10px;
}

li>ul, li>ol {
    margin-left: 40px;
}

blockquote {
  border-left: 1px dotted #303030;
  margin: 40px 0;
  padding: 5px 30px;
  font-style: italic;
  line-height: 1.8;
}
blockquote p {
  display: block;
  font-style: italic;
  width: 100%;
}
blockquote p:last-child {
    margin-bottom: 0;
}
blockquote .cite {
    text-align: right;
    font-size: 16px;
}

img {
  display: block;
  margin: 40px 0;
  width: auto;
  max-width: 100%;
}

pre {
  background: #F1F0EA;
  border: 1px solid #DDDBCC;
  border-radius: 3px;
  margin: 0 0 40px;
  padding: 15px 20px;
  font-size: 14px;
  white-space: pre;
  overflow-x: auto;
}

pre, code, tt, kbd {
  font-family: 'Source Code Pro', monospace;
}

::selection {
  background: #FFF5B8;
  color: #000;
  display: block;
}

::-moz-selection {
  background: #FFF5B8;
  color: #000;
  display: block;
}

/* ============================================================ */
/* General Appearance */
/* ============================================================ */
.container {
  margin: 0 auto;
  position: relative;
  max-width: 760px;
  padding: 0 24px;
}

#wrapper {
  height: auto;
  min-height: 100%;
  /* This must be the same as the height of the footer */
  margin-bottom: -265px;
}
#wrapper:after {
  content: "";
  display: block;
  /* This must be the same as the height of the footer */
  height: 265px;
}

.button-square {
  background: #f03838;
  float: left;
  margin: 0 0 0 10px;
  padding: 2px 8px 4px;
  color: white;
  font-family: 'Gotham Narrow SSm A', 'Gotham Narrow SSm B', 'Helvetica Neue', 'Helvetica', sans-serif;
  text-transform: uppercase;
  font-weight: 300;
}
.button-square:hover {
  background: #303030;
}

.strike {
  text-decoration: line-through;
}

/* ============================================================ */
/* Site Header */
/* ============================================================ */
.site-header {
  padding: 100px 0 35px;
  overflow: auto;
  text-align: center;
  text-transform: uppercase;
}

.site-title-wrapper {
  display: table;
  margin: 0 auto;
}

.site-title {
  float: left;
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 300;
}

.site-title a {
  float: left;
  background: #f03838;
  color: #FEFEFE;
  padding: 5px 10px 6px;

}

.site-title a:hover {
  background: #303030;
}

.deck {
    font-weight: 500;
    line-height: 2;
    font-size:22px;
    text-transform:none;
}

.rubric {
    font-weight: bold;
    line-height: 2;
    font-size:22px;
    text-transform:none;

}

/* ============================================================ */
/* Post */
/* ============================================================ */

.post {
  margin: 0 40px;
}

.post-header {
  border-bottom: 6px solid #303030;
  margin: 0;
  padding: 0 0 80px;
  text-align: center;
  text-transform: uppercase;
}

.post-title {
  font-size: 52px;
  font-weight: 700;
  margin: 15px 0;
  text-transform: uppercase;
}

.post-date, .post-series {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin: 25px 0 6px;
  text-transform: uppercase;
}

.post-date {
  color: #AEADAD;
}

.post-series {
    margin-top: 30px;
}

.post-content {
  margin: 50px 0 0;
}
.post-content a:hover {
  border-bottom: 1px dotted #f03838;
  padding: 0 0 2px;
}

.attribution {
    font-style: italic;
}

.post-header .series-parts {
    font-family: 'Gotham Narrow SSm A', 'Gotham Narrow SSm B', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 14px;
}

.post-header .series-parts span:not(:last-child):after {
    content: " • ";
}

/* ============================================================ */
/* Post Index */
/* ============================================================ */
.post-list {
  list-style: none;
}

.post-stub {
  border-bottom: 1px dotted #303030;
  margin: 0;
}
.post-stub:first-child {
  padding-top: 0;
}
.post-stub a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  display: block;
  color: #424242;
  padding: 20px 0;
}
.post-stub a:hover {
  background: #FCF5F5;
  color: #f03838;
}

.post-stub-title {
  display: inline-block;
  margin: 0;
}

.post-stub-date {
  display: inline-block;
}
.post-stub-date:before {
  content: "• ";
}

.morelink { text-align: right; }

div.admonition,
div.note {
    border: 1px solid #DDDBCC;
    border-radius: 3px;
    margin: 0 0 40px;
    padding: 15px 20px;
}

p.admonition-title {
    font-weight: bold;
    margin-bottom: 0;
}

div.note p.admonition-title:after {
    content: ":";
}

div.admonition p.last,
div.note p.last {
    margin-bottom: 0;
}

/* ============================================================ */
/* Footer */
/* ============================================================ */
.footer {
  background: #303030;
  color: #D3D3D3;
  height: 265px;
  overflow: auto;
}
.footer-copyright {
  color: #656565;
  font-size: 14px;
  margin: 0 auto 35px;
  padding-top: 80px;
  text-align: center;
  font-family: 'Gotham Narrow SSm A', 'Gotham Narrow SSm B', 'Helvetica Neue', 'Helvetica', sans-serif;
  font-weight: 300;
}
.footer-copyright a {
  color: #656565;
  font-weight: 700;
}
.footer-copyright a:hover {
  color: #FEFEFE;
}

/* it's a secret to everyone */
body.pony {
    background: url(../img/pony.png) #fefefe -100px -400px no-repeat;
}

/* ============================================================ */
/* Media Queries */
/* ============================================================ */
@media only screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .post-stub-title {
        display: block;
    }

    .post-stub-date:before {
        content: "";
        display: block;
    }

    .site-title-wrapper .button-social,
    .site-title-wrapper .button-feed {
        display: none;
    }

    .deck {
        font-size: 12px;
    }

    .post-header {
        padding-bottom: 50px;
    }

    .site-header {
       padding-top: 20px;
    }
}
@media only screen and (max-width: 400px) {
    body {
        font-size: 16px;
    }

  .post-title {
    font-size: 32px;
  }
}
