body {
    font-size: 16px;
    padding-top: 1px;
    margin-top: -1px;
}
.fs7 {font-size: .7em;font-weight: normal;}
.red {color: red}
.brand a, .brand a:hover, .brand a:active {
    color: #333;
    box-shadow: none;
    background: none;
}
nav {padding: 0 calc(50% - 560px);}
main {width: 100%;min-height: 640px;background: #fff;}

main section, main section.flex {
    background: #fff;
    text-align: left;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 0.6em 0;
    overflow: visible;
    white-space: normal;
}

.documentation .flex > * {
    padding-bottom: 0.3em;
}
h2 {
    margin: 0px;
    padding: 0;
    line-height: 1;
}
.documentation h2 {
    padding-top: 3em;
    text-align: left;
}
.documentation pre + h2 {
    margin-top: 1em;
}
.documentation aside h2 {
    margin-top: 0;
    padding: 1.25em 0;
    line-height: 1;
}

.documentation .flex > * {
    padding-bottom: .3em;
}

.documentation aside a.pseudo {
    color: #0074D9;
    margin: 0;
}
aside a.button {
    display: block;
    text-align: left;
}

footer a.top {
    font-size: 0;
    position: fixed;
    bottom: 0;
    font-weight: bold;
    width: 180px;
    padding: .6em 0;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: all .3s ease;
    text-align: center;
}

footer a.top.visible {
    font-size: 1em;
}
h2, h3, h4 {
    margin-bottom: .6em;
}
.text-center {text-align: center;}
.paginate {display: block; padding: 1em}
.paginate a {padding: 1em}
footer {color: #999;margin-top: 2em;}
@media (max-width:60em) {
    nav .menu {
        min-height: 0;
        transform: translateY(-50%);
        top: 50%;
        position: relative;
        width: auto;
        margin-right: .3em;
    }

    nav.transparent .menu {
        background: transparent;
    }

    nav .menu > * {
        display: inline-block;
        margin: .3em .3em;
    }

    nav .menu > a {
        padding: .3em .6em;
    }

    .cover {
        position: absolute;
    }

    section.row {
        padding: 40px 0 0;
    }

    code {
        word-wrap: break-word;
        white-space: pre-wrap;
    }

    [class*=" icon-"]::before {
        margin: .2em;
    }

    .documentation {
        margin: 1em 0;
    }
}

@media all and (max-width: 1000px) {
    footer a.pseudo.top {
        background: rgba(255, 255, 255, .8);
        width: 100%;
        left: 0;
        text-align: center;
        z-index: 100;
    }
}

@media (max-width: 38em) {
    nav .menu {
        margin: 0;
        padding-right: .3em;
    }

    nav .menu > * {
        margin: .3em .1em;
    }

    nav .menu .text {
        display: none;
    }

    section.row {
        padding: 20px 0 0;
    }
}

@media (max-width: 21em) {
    section.row {
        padding: 10px 0 0;
    }
}
