* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: #fdfdfb;
}

body {
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
    font-size: 16px;
    color: #444;
    margin: 0;
    padding-top: 50px;
    line-height: 1.6;

}

h1, h2, h3, h4 {
    font-weight: normal;
    margin: 1.3em 0 0.2em;
    line-height: 1.4em;
    position: relative;
}

td {
    vertical-align: top;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child {
    margin-top: 0;
}

h1 {
    font-size: 2em;
    font-weight: bold;
}

h2 {
    padding-bottom: 0.3em;
    font-size: 1.75em;
    line-height: 1.225;
    border-bottom: 1px solid #eee;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.1em;
}

p, ul, ol {
    margin:  0 0 1em 0;
}

.wrap {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px
}

.subhero .wrap {
    width: auto;
    max-width: 960px;
}

.home-section {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

code {
    letter-spacing: 0.02em;
    padding-right: 2px;
    padding-left: 4px;
    border-radius: 3px;
    background: #EBEEED;
}

.highlight pre {
    font-size: 13px;
    line-height: 20px;
    padding: 0 0 20px 20px;
}

.highlighttable {
    margin-left: 20px;
    margin-bottom: 20px;
}

.highlighttable .highlight pre {
    padding: 0;
}

.highlighttable code {
    padding-right: 10px;
    margin: 0;
    padding-left: 2px;
    font-size: 12px;
    display: block;
    line-height: 20px;
    white-space: pre;
    color: hsl(39, 100%, 42%);
}

.highlight pre code, .highlighttable {
    overflow-x: scroll;
    display: block;
    padding: 0;
    font-size: 13px;
    border-left: 4px solid rgb(214, 139, 0);
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 0;
    background-color: rgba(226, 141, 49, 0.1);
}

.highlight pre code {
    width: 100%;
    white-space: pre;
}


.lineno {
    color: rgb(214, 139, 0);
}

.lineno::after {
    content: ';';
    font-size: 0;
}


.highlight pre code.language-bash {
    border-left: 4px solid hsl(19, 0%, 42%);
    background-color: hsla(8, 0%, 54%, 0.1);
}

.highlight pre code.language-bbcode {
    border-left: 4px solid hsl(19, 100%, 42%);
    background-color: hsla(8, 75%, 54%, 0.1);
}

.highlight + .highlight + .highlight,
.highlighttable + .highlight + .highlight {
    margin-top: -20px;
}


ul, ol {
    list-style-position: outside;
    margin-left: 1em;
    padding-left: 1em;
}


a {
    text-decoration: none;
    color: #1E423B;
}

nav.toc a {
    color: #444;
}
nav.toc a.active {
    color: #1E423B;
}

a.hash-link {
    color: #ccc;
}

a.hash-link:hover {
    color: #1E423B;
}

.width {
    margin: 0 auto;
    padding: 0 20px;
}

header:after, section.content:after, footer:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

header.topbar {
    background: #1E423B;
    color: #EEE;
    position: fixed;
    top: 0;
    height: 50px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 100;
}

header.topbar .logo {
    height: 30px;
    margin-top: 7px;
}

.flow-header {
    background-image: url(flow-hero-logo.png);
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 150px;
    margin-bottom: 15px;
}

header.topbar nav ul {
    float: right;
    text-align: right;
    padding: 0;
    margin: 0;
    font-size: 0;
}

header.topbar nav ul li {
    display: inline;
    text-transform: uppercase;
}

header.topbar nav ul li a {
    padding: 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 50px;
    display: inline-block;
    height: 50px;
    color: #EEE;
    font-size: 15px;
}

header.topbar nav ul li a.active {
    color: #FFF;
    border-bottom: 3px solid #FBE178;
    background: #333;
}

header.topbar nav ul li a:hover {
    background: #FBE178;
    color: #353331;
}

header.hero {
    padding: 20px 0;
    background-color: #065150;
    color: #ffffff;
}

header.hero .width {
    text-align: center;
}

header.hero h1 {
    font-size: 4em;
    font-weight: normal;
    color: #bb2910;
    margin: 0;
    line-height: 1.5em;
}

header.hero p {
    margin: 0 0 .5em;
    text-transform: uppercase;
}

header.hero a.button {
    background: #1E423B;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    display: inline-block;
    margin: 1em;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

header.subhero {
    padding: 10px 0;
    padding-top: 30px;
}

section.content {
    padding: 20px 0;
}

section.content article a {
    font-weight: bold;
    color: #34554F;
}

section.content article ul li,
section.content article ol li {
  margin-bottom: 0.5em;
}


section.content article img {
    display: block;
    margin: 1em auto;
}

section.content article blockquote {
    border-left: 4px solid hsl(19, 100%, 42%);
    padding: 5px 10px;
    margin-left: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

section.content article blockquote p {
    margin: 0;
}

section.content article blockquote p:first-child {
    float: left;
    margin-right: 5px;
    color: hsl(19, 100%, 42%);
}

section.content article blockquote p {
    font-style: italic;
}

section.content article blockquote small:before {
    content: '\2014 \00A0';
}

section.content article.withtoc {
    position: relative;
}

section.content article.blogpost {
    
}

section.content aside .fb-like {
    top: 4px;
    left: 4px;
}

.edit-page-link {
    float: right;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
    opacity: 0.6;
    transition: opacity 0.5s;
}

.edit-page-link:hover {
  opacity: 1;
}

nav.toc {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
}

nav.toc h3 {
    margin: 0.5em 0;
    padding-top: 0.5em;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 40px;
}

nav.toc section:first-child h3 {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

nav.toc ul {
   list-style: none;
   margin: 0;
   padding-left: 0;
}

nav.toc ul li {
    line-height: 20px;
}

footer {
    padding: 5px 0;
    padding-bottom: 10px;
    font-size: 13px;
    text-align: right;
}

.right {
    float: right;
}

.right a {
    color: #cd4e34;
    padding: 0 5px;
}

.playgroundCode, .playgroundPreview {
    border-left: 4px solid #D68B00;
    margin-left: 20px;
    background-color: rgba(226, 141, 50, 0.1);;
}

.playgroundError {
    padding: 10px;
}

.playgroundPreview {
    margin-top: 10px;
    margin-bottom: 200px;
}

.playground > :first-child {
    display: none;
}

.cm-keyword, .cm-atom {
    font-weight: bold;
}

.cm-number {
    color: #099;
}

.cm-string {
    color: #D01040;
}

.cm-comment {
    color: #998;
    font-style: italic;
}

.CodeMirror-code {
    line-height: 20px;
}
.CodeMirror-cursor {
    margin-top: 4px;
}
div.CodeMirror-lines {
    padding: 5px 0;
}


#\_ {
    display: none;
}

.hash {
    margin-left: 3px;
    visibility: hidden;
}

*:hover > .hash {
    visibility: visible;
}

.hashref {
    position: absolute;
    top: -60px;
    left: 0;
}

/* desktopish */

@media (min-width: 481px) {

    .width {
        max-width: 1060px;
        /* make columns add to <880 for 60 gutter */
    }
    .content .width {
        width: 1060px;
    }

    .panel3 {
        width: 29%;
        margin: 1em 2% 0;
        display:inline-block;
        vertical-align: top;
        font-size: 14px;
    }

    section.content article {
        margin: 0 auto;
        width: 800px;
    }

    section.content nav.toc {
        float: left;
    }


    section.content article.withtoc {
        float: right;
    }

    section.content aside {
        float: left;
        width: 220px;
    }

}

/* phoneish */

@media (max-width: 480px) {
    .wrap, .content .width, .home-section, section.content article {
        width: auto;
        max-width: 100%;
        overflow-x: scroll;
    }

    header.topbar .width {
        padding: 0 5px;
    }

    .highlighttable, section.content article blockquote {
        margin-left: 0;
    }
    .highlight pre {
        padding-left: 0;
    }
    body {
        padding-bottom: 20px;
    }

    #\_ {
        display: block;
        position: absolute;
        top: -60px;
        left: 0;
    }

}

table {
    border:#ccc 1px solid;
    border-radius:3px;
}
table th {
    padding:11px 15px 12px 15px;
    border-top:1px solid #fafafa;
    border-bottom:1px solid #e0e0e0;
}
table tr {
    padding-left:10px;
}
table td {
    padding:18px;
    border-top: 1px solid #ffffff;
    border-bottom:1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

