@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,500,500i,600,600i,700,700i');

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 {
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline
}

html {
    line-height: 1
}

ol,
ul {
    list-style: none
}

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

caption,
th,
td {
    font-weight: normal;
    text-align: left;
    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, main, menu, nav, section, summary {
    display: block
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html {
    font-size: 16px;
    line-height: 1.6em;
    -webkit-text-size-adjust: 100%
}


.markdown-body {
   background-color: #fff;
   box-sizing: border-box;
   color: #545454;
   font-family: "Raleway", sans-serif;
   margin:     60px auto;
   max-width:  800px;
   padding:    20px;
   text-rendering: optimizeLegibility;
   width:         100%;
}


h1 {
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.3em;
    margin-bottom: .78571em
}

h2 {
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1em;
    margin-bottom: .6em;
    margin-top: 2em
}

h3 {
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1em;
    margin-bottom: .6em;
    margin-top: 1em
}

h4 {
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 1em;
    font-weight: 500;
    line-height: 1em;
    margin-bottom: .6em;
    margin-top: 1em
}



p {
    hyphens: auto;
    margin-bottom: 1.57143em
}


b, strong {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

i, em {
    font-family: "Raleway", sans-serif;
    font-style: italic;
}

u {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #e06e73 50%);
    background-position: 0 1.05em;
    background-repeat: repeat-x;
    background-size: 2px 2px;
    text-decoration: none
}

s {
    color: #878787
}


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

img {
    height: auto;
    max-width: 100%
}

blockquote {
    background-color: transparent;
    border-left: 0.2em solid #e74c3c;
    display: block;
    margin-left: -1em;
    padding-left: 0.8em;
}

hr {
    background-color: #dedede;
    border: 0;
    height: 1px;
    margin: .7em auto .7em
}

/* LISTS */

ul li {
    text-indent: -0.45em
}

ul li:before {
    color: #e74c3c;
    content: "•";
    display: inline-block;
    font-size: 1.5em;
    margin-right: 0.3em;
    vertical-align: middle;
}

ul ul {
    margin-left: 1.25714em
}

ol li {
    text-indent: -1.45em
}

ol ol {
    margin-left: 1.25714em
}

ul, ol {
    margin-bottom: 1.5em;
}

ul ul, ul ol,
ol ul, ol ol {
    margin-bottom: 0;
}

ol {
    counter-reset: ol;
}

ol li {
    counter-increment: ol;
}

ol li:before {
    color: #e06e73;
    content: counter(ol) ".";
    display: inline-block;
    margin-right: 0.5em;
    min-width: 1em;
    text-align: right
}

ol li p {
    display: inline;
}

/* CODE */
code {
    background: #fcfcfc;
    border: 1px solid #dedede;
    border-radius: .3em;
    display: inline;
    font-family: "Fira Code Retina", monospace;
    font-size: 0.7em;
    padding: 0.2em 0.5em;
}

pre {
    background: transparent;
    display: block;
    margin: 0;
    padding: 0;
}

pre code {
    display: block;
    line-height: 1.45em;    
    margin: 0 0 1.5em;

    padding: 1.2em 1em;
    width: 100%;
}

.hljs {
    padding: 0;
}

/* TODO LIST */

input[type="checkbox"] {
    -webkit-appearance: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: .2em;
    display: block;
    float: left;
    height: 1rem;
    margin: 0.2em .5em 0em -1.7em;
    margin-bottom: .5em;
    page-break-after: avoid;
    position: relative;
    width: 1rem;
}

input[type="checkbox"]:checked::before {
    bottom: -0.2em;
    color: #e06e73;
    content: '✓';
    display: block;
    display: initial;
    font-size: 1.1em;
    font-weight: bold;
    left: .1em;
    position: absolute;
}

input[type="checkbox"] ~ label {
    display: block;
    margin-bottom: 0.1em;
    width: 100%;
}

ul li input[type="checkbox"] {
    font: none;
}

ul li input[type="checkbox"] ~ label {
    display: inline-block;
    margin-bottom: 0.1em;
    margin-left: 0.5em;
    width: auto;
}

/*  TABLE */

table {
    margin-bottom: 1.5em;
    margin-left: -1.5em;
    width: calc(100% + 3em);
}

table tr {
    border-bottom: 1px solid #dedede;
}

table th {
    font-weight: 700;    
}

table td, table th {
    font-size: .95em;
    padding: .2em 1.5em;
    vertical-align: top
}

thead tr {
    border-bottom: 4px double #dedede;
}