* {
    margin: 0;
    padding: 0;
    }

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: white;
    }

a:link,
a:active,
a:visited {
    text-decoration: none;
    color: #0088ff;
    }
a:hover {
    color: #0074d9;
    }

body > header {
    margin: 0;
    padding: 15px 20px 15px 20px;
    border-bottom: 1px solid hsl(210, 10%, 90%);
    }
    body > header:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
    body > header h1 {
        float: left;
        margin: 0;
        padding: 0;
        font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 22px;
        font-weight: 600;
        color: hsl(210, 10%, 20%);
        }
        @media screen and (max-width: 800px) {
            body > header h1 {
                float: none;
                }
        }
        body > header h1 span.admin {
            margin-left: 10px;
            font-weight: 300;
            color: hsl(210, 5%, 50%);
            }
    body > header div.user {
        float: right;
        margin: 5px 5px 0 0;
        font-size: 14px;
        font-weight: 300;
        color: hsl(210, 10%, 20%);
        }
        @media screen and (max-width: 800px) {
            body > header > div.user {
                margin-top: 10px;
                float: none;
                }
        }
        body > header div.user span.username {
            margin-right: 15px;
            }
        body > header div.user a {
            margin-right: 15px;
            }
            body > header div.user a:last-child {
                margin-right: 0;
                }

body > nav {
    padding: 0 5px;
    background-color: hsl(210, 10%, 95%);
    border-bottom: 1px solid hsl(210, 10%, 90%);
    }
    body > nav:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
    body > nav a:link,
    body > nav a:active,
    body > nav a:visited {
        display: block;
        float: left;
        margin: 0 15px -1px 15px;
        padding: 15px 0;
        font-size: 14px;
        font-weight: 300;
        line-height: 18px;
        color: hsl(210, 10%, 30%);
        }
        body > nav a.current {
            color: hsl(210, 10%, 20%);
            font-weight: 400;
            border-bottom: 1px solid hsl(210, 10%, 40%);
            }

div.messages {
/*
    margin: 20px auto;
    width: 1200px;
*/
    }
    @media screen and (max-width: 1240px) {
        body > div.messages {
            margin: 20px;
            width: auto;
            }
    }
    @media screen and (min-width: 1240px) {
        body > div.messages {
            margin: 20px auto;
            width: 1200px;
            }
    }
    div.messages > ul {
        margin: 0;
        padding: 0;
        list-style: none;
        }
        div.messages > ul > li {
            margin: 5px 0;
            padding: 5px 10px;
            font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
            font-size: 14px;
            font-weight: 400;
            border-radius: 5px;
            background-color: hsl(0, 0%, 80%);
            border: 1px solid hsl(0, 0%, 30%);
            }
            div.messages > ul > li.debug {
                color: hsl(0, 0%, 50%);
                background-color: hsl(0, 0%, 95%);
                border: 1px solid hsl(0, 0%, 80%);
                }
            div.messages > ul > li.info {
                color: hsl(210, 20%, 30%);
                background-color: hsl(210, 20%, 90%);
                border: 1px solid hsl(210, 20%, 80%);
                }
            div.messages > ul > li.success {
                color: hsl(120, 80%, 30%);
                background-color: hsl(120, 20%, 90%);
                border: 1px solid hsl(120, 20%, 70%);
                }
            div.messages > ul > li.warning {
                color: hsl(45, 100%, 40%);
                background-color: hsl(45, 30%, 90%);
                border: 1px solid hsl(45, 30%, 70%);
                }
            div.messages > ul > li.error {
                color: hsl(0, 100%, 50%);
                background-color: hsl(0, 30%, 90%);
                border: 1px solid hsl(0, 30%, 70%);
                }

div.content {
    padding: 20px;
    }
    div.content:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
    div.content h2 {
        margin: 20px 0;
        font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 24px;
        font-weight: 300;
        color: hsl(210, 20%, 20%);
        }
    div.content h3 {
        margin: 20px 0;
        font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 18px;
        font-weight: 300;
        color: hsl(210, 20%, 30%);
        }
    div.content h4 {
        margin: 20px 0;
        font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 16px;
        font-weight: 300;
        color: hsl(210, 20%, 40%);
        }
        div.content h2:first-child,
        div.content h3:first-child,
        div.content h4:first-child {
            margin-top: 0;
            }
    div.content div.meta-image {
        display: inline-block;
        vertical-align: middle;
        }
    
    div.content header.title {
        margin: 30px 0;
        padding-top: 15px;
        font-family: Chrono, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 18px;
        font-weight: 300;
        color: hsl(210, 20%, 30%);
        border-top: 1px solid hsl(210, 10%, 90%);
        }
        div.content header.title:first-child {
            margin-top: 0;
            }
        div.content header.title.attached {
            margin-bottom: 0;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            }
    
    div.content div.section {
        margin: 20px 0;
        }
    
    div.content p {
        margin: 15px 0;
        font-size: 12px;
        line-height: 16px;
        color: hsl(210, 10%, 20%);
        }
        div.content p:first-child {
            margin-top: 0;
            }
        div.content p:last-child {
            margin-bottom: 0;
            }
        div.content p.large {
            font-size: 13px;
            line-height: 18px;
            color: hsl(210, 10%, 20%);
            }
    
    div.content ul,
    div.content ol {
        margin-left: 20px;
        }
        div.content ul > li,
        div.content ol > li {
            margin: 5px 0;
            font-size: 12px;
            }
    
    div.content .strong {
        font-weight: bold;
        }
    div.content .quiet {
        color: hsl(0, 0%, 40%);
        }
    
    div.content span.note {
        margin: 0 2px;
        padding: 1px 5px;
        border-radius: 2px;
        }
        div.content span.note.enabled {
            color: hsl(120, 80%, 30%);
            background-color: hsl(120, 20%, 90%);
            border: 1px solid hsl(120, 20%, 70%);
            }
        div.content span.note.disabled {
            color: hsl(0, 100%, 30%);
            background-color: hsl(0, 30%, 90%);
            border: 1px solid hsl(0, 30%, 70%);
            }
    
    div.content a.inline-link {
        margin: 0 10px;
        font-weight: bold;
        }

.container {
    margin: 20px 0;
    }
    .container.attached-top {
        }
    .container.attached-bottom {
        }
    header.title.attached + .container {
        }

.content-separator {
    margin: 20px 0;
    border-bottom: 1px solid hsl(210, 10%, 90%);
    }


div.container-centered {
    margin: 0 auto;
    padding: 20px;
    width: 420px;
    border: 1px solid hsl(210, 10%, 90%);
    border-radius: 10px;
    }
    @media screen and (max-width: 420px) {
        div.container-centered {
            margin: 0 10px;
            width: auto;
            }
    }
    div.container-centered > h2:first-child {
        margin-top: 0;
        padding-top; 0;
        }
    div.container-centered > h3:first-child {
        margin-top: 0;
        padding-top; 0;
        }
    div.container-centered > h4:first-child {
        margin-top: 0;
        padding-top; 0;
        }
    div.container-centered div.section:last-child {
        margin-bottom: 0;
        }


nav.stacked {
    border: 1px solid hsl(210, 10%, 80%);
    }
    nav.stacked > ul {
        margin: 0;
        list-style: none;
        }
        nav.stacked > ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
        nav.stacked > ul > li {
            margin: 0;
            border-bottom: 1px solid hsl(210, 10%, 85%);
            }
            @media screen and (min-width: 480px) and (max-width: 1239px) {
                nav.stacked > ul > li {
                    float: left;
                    border-bottom: none;
                    }
            }
            nav.stacked > ul > li.current {
                }
            nav.stacked > ul > li > a {
                display: block;
                padding: 10px;
                font-size: 12px;
                font-weight: bold;
                color: hsl(210, 10%, 40%);
                background-color: hsl(210, 10%, 95%);
                border-left: 4px solid hsl(210, 10%, 85%);
                }
                @media screen and (min-width: 480px) and (max-width: 1239px) {
                    nav.stacked > ul > li > a {
                        border-left: none;
                        border-right: 1px solid hsl(210, 10%, 85%);
                        }
                }
                nav.stacked > ul > li.current > a {
                    background-color: white;
                    color: hsl(210, 10%, 20%);
                    border-left-color: hsl(210, 10%, 75%);
                    }
                nav.stacked > ul > li:last-child {
                    border-bottom: none;
                    }


div.pagination {
    margin: 10px 0 0 0;
    }
    div.pagination:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
    div.pagination > span.steps {
        float: left;
        display: inline-block;
        border: 1px solid hsl(210, 10%, 80%);
        border-radius: 2px;
        background-color: hsl(210, 20%, 95%);
        font-size: 11px;
        }
        div.pagination > span.steps:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
        div.pagination > span.steps > a {
            float: left;
            display: inline-block;
            padding: 3px 5px;
            background-image: -webkit-linear-gradient(top, hsl(210, 20%, 100%), hsl(210, 20%, 95%));
            background-image:    -moz-linear-gradient(top, hsl(210, 20%, 100%), hsl(210, 20%, 95%));
            background-image:         linear-gradient(top, hsl(210, 20%, 100%), hsl(210, 20%, 95%));
            border-right: 1px solid hsl(210, 10%, 80%);
            color: hsl(210, 10%, 40%);
            }
            div.pagination > span.steps > a:last-child {
                border-right: none;
                }
        div.pagination > span.steps > span.current {
            float: left;
            display: inline-block;
            padding: 3px 5px;
            color: hsl(210, 5%, 50%);
            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
            border-right: 1px solid hsl(210, 10%, 80%);
            }
            div.pagination > span.steps > span.current:last-child {
                border-right: none;
                }
    div.pagination > span.count {
        float: left;
        margin-left: 10px;
        padding: 4px 0;
        display: inline-block;
        font-size: 11px;
        color: hsl(210, 10%, 40%);
        }


body > footer {
    border-top: 1px solid hsl(210, 10%, 90%);
    padding: 15px 20px;
    text-align: center;
    }
    body > footer > p {
        display: inline-block;
        margin: 0 10px;
        color: hsl(210, 10%, 60%);
        font-size: 11px;
        }
    body > footer > ul {
        display: inline-block;
        margin: 0 10px;
        list-style: none;
        }
        body > footer > ul > li {
            display: inline-block;
            margin: 0 15px 0 0;
            font-size: 11px;
            }
            body > footer > ul > li:last-child {
                margin: 0;
                }
