/* Base theme for Textual.js */
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,400i,700,700i|Fira+Sans:300,400,700|Roboto+Mono:400,700');

html {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.5;
    font-family: "PT Serif", Georgia, Times, serif;
    font-weight: 300;
    letter-spacing: -0.025rem;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    color: #4c4c4c;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    margin: 0 .8rem;
}
.hidden {
    display: none !important;
}
.tight {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.tight-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.tight-bottom {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}

main {
  display: none;
}
oembed {
  margin: 20px 0;
  display: block;
}
a {
    color: #268bd2;
    text-decoration: none;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
}
a strong {
    color: inherit
}
a:hover, a:focus {
    text-decoration: underline
}
h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #313131;
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: .5rem;
    letter-spacing: -.04rem;
}
h1 {
    letter-spacing: -0.05rem;
    font-size: 2.5rem;
    margin-bottom: .5rem;
    margin-top: 0;
    line-height: 1;
}
h2 {
    margin-bottom: .75rem;
    margin-top: 1.75rem;
    font-size: 2rem;
}
h3 {
    margin-top: 1.75rem;
    font-size: 1.25rem
}
h4, h5, h6 {
    letter-spacing: 0;
    margin-top: 1rem;
    font-size: 1rem
}
h4 {
    margin-top: 1.5rem;
    text-transform: uppercase;
}
h6 {
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 78%;
}
p {
    margin-top: 0;
    margin-bottom: 1rem
}
strong {
    font-weight: 700;
}
ul,ol,dl {
    margin: 0 0 1rem .2rem;
    padding: 0 1rem;
}
main ul {
    list-style-type: none;
}
main ul li:before {
    font-size: 200%;
    line-height: 1px;
    margin: .65rem 0rem 0rem -1.25rem;
    content: "\2022 ";
    position: absolute;
    color: rgba(50, 155, 205, .5);
}
dt {
    font-weight: bold
}
dd {
    margin-bottom: .5rem
}
hr {
    position: relative;
    margin: 1.5rem 0 2.5rem;
    border: 0;
    height: 1px;
    border-top: 1px solid #f0f0f0;
    background: #fff
}
body.home .post:last-of-type hr ,
body.author .post:last-of-type hr ,
body.category .post:last-of-type hr ,
body.tag .post:last-of-type hr {
    display: none;
}
hr:before {
    content: "";
    width: 16px;
    height: 5px;
    background: #fff;
    display: block;
    position: relative;
    left: calc(50% - 8px);
    margin-top: -3px;
}
hr:after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: block;
    position: relative;
    left: calc(50% - 4px);
    margin-top: -7px;
}
mark {
    background-color: #ffc;
    padding: .15em .25em 0.05rem;
    border-radius: 3px;
}
abbr {
    font-size: 85%;
    font-weight: bold;
    color: #555;
    text-transform: uppercase
}
abbr[title] {
    cursor: help;
    border-bottom: 1px dotted #e5e5e5
}
code, pre {
    direction: ltr !important;
    font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    font-weight: 400;
}
code {
    padding: .2em .25em;
    font-size: 92.5%;
    letter-spacing: -0.05rem;
    color: #bf616a;
    background-color: #f9f9f9;
    border-radius: 3px;
    /*-webkit-font-smoothing: subpixel-antialiased;*/
    /*-moz-osx-font-smoothing: auto;*/
}
code.lang-text {
    background-color: #f9f9f9;
}
pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: .86rem;
    line-height: 1.4;
    white-space: pre;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
    border-radius: 5px;
}
pre code {
    display: block;
    padding: 0;
    padding: 1rem !important;
    font-size: 100%;
    color: inherit;
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

blockquote {
    padding: .5rem 0rem .5rem 1rem;
    margin: 1rem 0 1rem .1rem;
    color: #808080;
    font-size: 112%;
    border-left: .4rem solid rgba(50, 155, 205, .25);
    quotes: "\201C""\201D""\2018""\2019";
    display: block;
}
blockquote:after {
    content: "";
    display: block;
    clear: both;
}
blockquote {
    margin: 1.2rem 0 .8rem 1.75rem;
    border: 0;
}
blockquote:before {
  color: rgba(50, 155, 205, .25);
  font-family: Georgia, Time, serif;
  content: open-quote;
  font-size: 6em;
  line-height: 1;
  float: left;
  margin: -1.2rem 0 0 -3.25rem;
  display: block;
  position: absolute;
}
blockquote strong {
    color: #666;
}
blockquote p:last-child {
    margin-bottom: 0
}
@media (min-width: 30em) {
    blockquote {
        padding-left: 1.25rem
    }
}
figure {
    overflow: auto;
}
figure, img {
    display: block;
    max-width: 100%;
    margin: 0 auto 1rem;
}
figure img {
    max-width: 100%;
    margin: 0 auto 6px;
}
figure figcaption:before {
    content: '\e800';
    margin-left: 1px;
    margin-right: 5px;
    font-family: "fontello";
    float: left;
    font-size: 15px;
    line-height: 15px;
    margin-top: -1px;
}
figure figcaption {
    line-height: 15px;
    font-size: 13px;
    letter-spacing: 0;
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: -0.015rem;
    color: #bbb;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}
figure a {
    color: inherit;
}
figure.fullpage {
    border: 1px solid #ccc;
    border-radius: 3px;
}
figure.fullpage img {
    max-width: none;
    max-height: 100vh;
    width: auto;
    margin: .8rem .5rem;
}
table {
    margin-bottom: 1rem;
    width: 100%;
    border: 1px solid #e5e5e5;
    border-collapse: collapse
}
td, th {
    padding: .6rem;
    border: 1px solid #e5e5e5
}
tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
    background-color: #f9f9f9
}
table {
    border: 0;
    font-size: 84%;
    border-top: 2px solid ddd;
    border-bottom: 2px solid ddd;
}
table th {
    background: #f5f5f5;
}
table td {
    background: transparent;
}
.post-meta {
    font-weight: 300;
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    padding-bottom: 1rem;
    color: #bbb;
    font-size: 75%;
    letter-spacing: -0.015rem;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}
.post-meta .post-date, .post-meta .post-author, .post-meta .post-category, .post-meta .post-tags {
    display: inline-block;
}
.post-meta .post-date, .post-meta .post-author, .post-meta .post-category ul, .post-meta .post-tags ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-meta .post-date, .post-meta .post-author, .post-meta .post-category ul li, .post-meta .post-tags ul li {
    margin: 0 .5rem 0 0;
    padding: 0;
    float: left;
}
.post-meta .post-date a, .post-meta .post-author a, .post-meta .post-category ul li a, .post-meta .post-tags ul li a {
    color: inherit;
}
.post-meta .post-date:before, .post-meta .post-author:before, .post-meta .post-category ul li:before, .post-meta .post-tags ul li:before {
    content: "";
    margin: 0;
    padding: 0;
    font-size: 100%;
    line-height: 1;
    margin: 0 2px 0 0;
    position: relative;
    color: inherit;
}
.post-meta .post-tags ul li:before {
    content: "#";
    margin: 0;
    padding: 0;
}
.container {
    width: 100%;
    max-width: 768px;
    margin: auto;
}
.master-header {
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    padding: .8rem .8rem .8rem .8rem;
    border-bottom: 1px solid #f5f5f5;
    margin: 0 -.8rem 2.5rem;
    letter-spacing: -.05rem;
    font-weight: 300;
}
.master-header .container {
    padding: 0;
    margin: 0 auto;
}
.cover-image {
    display: none;
    border: 0;
    height: 50vh;
    min-height: 180px;
    background-position: 50%;
    background-size: cover;
    margin: calc(-2.5rem - 1px) -.8rem 3rem;
}
body.home .master-header {
    margin-bottom: 3rem;
}
body.home .cover-image {
    margin-top: calc(-3rem - 1px);
}
.master-header-title {
    margin-top: 0px;
    margin-bottom: 0;
    color: #505050;
    font-weight: bold;
    font-size: 140%;
    font-weight: 700;
}
.master-header-tagline {
    margin-left: .25rem;
    font-size: 86%;
    font-weight: 300;
    color: #aaa;
}
.master-header nav.topnav .topnav-drawer {
    display: none;
}
.master-header nav.topnav {
    font-size: 85%;
    margin: .575rem 0 0;
    float: right;
}
.master-header nav.topnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}
.master-header nav.topnav ul li {
    float: left;
    margin: 0;
    padding: 0;
    padding-right: .5rem;
}
.master-header nav.topnav ul li a {
    color: #aaa;
}
.master-header nav.topnav ul li a strong {
    font-weight: 700;
    letter-spacing: -.025rem;
}
.master-header nav.topnav ul li:last-of-type {
    padding: 0;
}
.master-footer {
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 72%;
    margin: 5rem auto 2rem;
    color: #aaa;
    border-top: 1px solid #f2f2f2;
}
.master-footer:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    border-top: 1px solid #fff;
    margin-bottom: 1rem;
}

.master-footer a {
    color: inherit;
}

nav.pagination {
    border-top: 1px solid #f0f0f0;
    margin-top: 1.5rem;
    padding-top: 2rem;
}

nav.pagination a {
    font-weight: 300;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    border-radius: 3px;
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1;
    padding: .6rem .5rem .55rem;
    text-transform: uppercase;
    color: #bbb;
    display: inline-block;
    font-size: 72%;
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
}
nav.pagination a:hover {
    background: #f9f9f9;
}
nav.pagination a.pagination-older {
    float: left;
    padding-right: 1rem;
}
nav.pagination a.pagination-newer {
    float: right;
    padding-left: 1rem;
}
.post-footer {
    border-top: 1px solid #f5f5f5;
    margin-top: 4rem;
    padding-top: 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.post-footer .post-author-info, .post-footer .post-share {
    margin: 0;
    padding: 0;
    width: 70%;
}
.post-author-info {
    float: left;
}
.post-footer .post-share {
    float: right;
    text-align: right;
    width: 30%;
}
.post-footer .post-author, .post-footer h3 {
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    letter-spacing: -0.025rem;
}
.post-author a {
    color: inherit;
}
.post-footer h3 {
    margin-top: 5px;
}
.post-footer .post-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    float: left;
    border: 1px solid #e5e5e5;
    padding: 2px;
    margin: -8px 10px 0 0;
}
.post-footer .post-avatar a:hover img {
    border-color: rgba(50, 155, 205, .5);
}
.post-footer .post-bio {
    display: block;
    color: #999;
    font-size: 86%;
    line-height: 1.2;
}
.post-footer .share-icon, .post-footer .share-icon:hover {
    font-size: 120%;
    padding: 0 !important;
    color: #ccc;
    text-decoration: none;
    margin: 0 -7px 0 5px;
    box-shadow: none;
}
.post-footer .share-icon:hover {
    color: #999;
}


h1.page-title {
    margin-bottom: 2rem;
}
.home h1.page-title {
    margin-bottom: .5rem
}
.post-title a, .page-title a {
    color: inherit;
}
h1.post-title a, h1.page-title a {
    color: inherit;
    text-decoration: none;
}

.page-lead, .post-lead {
    margin-top: -0.25rem;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.3;
    font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: -0.03rem;
    margin-bottom: 1rem;
}
body.post .post-content {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}
.page-header {
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
}
.author .page-header {
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.author-page-title, .tag-page-title, .category-page-title {
    clear: both;
}
.tag-page-title:before {
    content: '#';
    color: #ccc;
    font-weight: 400;
    font-size: 72%;
    margin-right: 2px;
    margin-left: 0;
}
.author-page-avatar {
    display: block;
    padding-top: 1px;
    margin: 0px 0 -4.5rem;
    padding-bottom: 2rem;
}
.author-page-avatar img {
    border-radius: 50%;
    width: 112px;
    height: 112px;
    border: 1px solid #e9e9e9;
    padding: 7px;
    margin: 0 auto;
    display: block;
}
.author-page-avatar:before,
.author-page-avatar:after {
    content: "";
    border-top: 1px solid #f2f2f2;
    position: relative;
    display: block;
    clear: both;
    width: calc(50% - 64px);
}
.author-page-avatar:before {
    margin-top: 64px;
    margin-bottom: -64px;
}
.author-page-avatar:after {
    margin-top: -64px;
    margin-bottom: 64px;
    float: right;
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 18px;
        font-size: 1.125rem;
    }
    h1 {
        zoom: .64;
        letter-spacing: -0.04rem;
    }
    .master-header nav.topnav {
        float: none;
        clear: both;
        margin: -.25rem 0 0;
    }
    .cover-image {
        max-height: 250px;
        margin-bottom: 2rem;
    }

    .master-footer {
        text-align: center;
    }
    body.post .master-footer {
        margin-top: 2.5rem;
    }
    .post-footer {
        text-align: center;
        padding-top: 2.5rem;
    }
    .post-footer .post-avatar img {
        float: none;
        margin-right: auto !important;
        margin-left: auto !important;
        margin-bottom: .5rem !important;
    }
    .post-footer .post-author-info,
    .post-footer .post-share {
        display: block;
        width: 100%;
    }
    .post-footer .post-share {
        clear: both;
        padding-top: 1rem;
        float: none;
        text-align: center;
        display: block;
        width: 100%;
    }
    .post-footer .share-icon h3 {
        font-size: 82%;
    }
    .post-footer .share-icon {
        font-size: 140%;
        margin: 0;
    }

    .page-lead, .post-lead {
        font-size: 1rem;
    }

    /* --- mobile menu --- */
    .master-header nav.topnav ul {
        display: none;
    }
    .master-header-tagline {
        display: block;
        padding: 0;
        margin: -.2rem 0 0 0;
        letter-spacing: -0.025rem;
    }
    .master-header nav.topnav ul li,
    .master-header nav.topnav ul li:last-of-type {
        float: none;
        display: block;
        padding: .8rem .8rem;
        border-top: 1px solid #f5f5f5;
    }
    .master-header nav.topnav ul li a {
        display: block;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        letter-spacing: -0.025rem;
    }
    .master-header nav.topnav {
        width: calc(100% + 1.6rem);
        margin: .6rem -.8rem 0;
        margin-bottom: calc(-.8rem + 1px);
        padding: 0;
    }
    .master-header nav.topnav .topnav-drawer {
        display: block;
        border: 1px solid rgba(0,0,0,.25);
        padding: 1px 2px 0 2px;
        border-radius: 3px;
        position: absolute;
        right: .8rem;
        top: 1.25rem;
        font-size: 150%;
    }
    /* --- /mobile menu --- */
}


.valign-outer {
    display: table;
}
.valign-inner {
    display: table-cell;
    vertical-align: middle;
}
.print-only {
    display: none;
}
.print-page-break {
    display: none;
}
@page {
    @bottom-left {
        content: counter(page) "/" counter(pages);
    }
}
@media print {
    body  {
        margin: 0 15mm;
    }
    .container {
        max-width: 100%;
    }
    .master-header {
        padding-top: 0;
    }
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    figure {
        page-break-before: avoid;
        page-break-inside: avoid;
    }
    table {
        page-break-inside: avoid;
    }

    main ul {
        list-style-type: disc;
    }
    main ul li {
        margin-bottom: 0 !important;
    }
    main ul li:before {
        display: none;
    }

    .no-print {
        display: none;
    }
    .print-only {
        display: block;
    }
    .print-page-break {
        display: block;
        page-break-after: always;
        margin: 15mm 0 0;
    }

}