* {
    box-sizing: border-box;
}

html {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

body {
    position: relative;
    background-color: #fff;
    padding: 0 3rem;
    line-height: 1.5em;
}

header, footer {
    width: calc(100% + 6em);
    background-color: #136a8a;
    background: linear-gradient(to bottom right, #136a8a, #267871);
    color: #fff;
}

header {
    margin-left: -3em;
    padding: 5em;
}

footer {
    margin-top: 3em;
    margin-left: -3em;
    padding: 2em;
    text-align: center;
}

h1 {
    margin-top: 0;
    line-height: 1em;
    font-size: 3em;
}

h2 {
    margin-top: 3rem;
    line-height: 1em;
}

pre {
    padding: 1em;
    background-color: rgba(0,0,0,.125);
}

a {
    color: #136a8a;
}

header a, footer a {
    color: rgba(255,255,255,.75);
}

button {
    padding: .5em 1em;
    border: 0;
    background-color: steelblue;
    color: #fff;
    cursor: pointer;
}

li:target {
    background-color: #fcd757;
    animation: highlight 1s ease-in-out 2s normal 1 forwards running;
}
@keyframes highlight {
    0% {
        background-color: #fcd757;
    }
    100% {
        background-color: transparent;
    }
}

.table-wrapper {
    overflow-x: auto;
}
table {
    border-collapse: separate;
    border-spacing: 2px;
}
table thead th {
    text-align: center;
}
table tbody th {
    text-align: center;
}
table th, table td {
    white-space: nowrap;
}
table td.is-alert {
    background-color: #b13131;
    color: #fff;
}
table td.is-alert a {
    color: #fff;
}
table td.is-warning {
    background-color: #fcd757;
    color: #fff;
}
table td.is-warning a {
    color: #fff;
}
table td.is-success {
    background-color: #16a085;
    color: #fff;
}
table td.is-success a {
    color: #fff;
}
table td.is-success.is-warning {
    background-color: transparent;
    background-image: linear-gradient(to bottom right, #16a085 48%, #fcd757 52%);
    color: #fff;
}
table td.is-na {
    background-color: #aaa;
}
table td.is-na a {
    color: #333;
}
table th, table td {
    background-color: #eee;
    padding: 0.25em 1em;
}

svg.icon {
    width: 24px;
    height: 24px;
}

.image--bordered {
    border: 1px solid #ccc;
}

.image--checkerboard-background {
    background-image: url('data:image/svg+xml;charset=utf8,<svg fill="#ddd" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><rect width="8" height="8" x="0" y="0" /><rect width="8" height="8" x="8" y="8" /></svg>');
    background-repeat: repeat;
}

.align-left {
    text-align: left;
}
.align-center {
    text-align: center;
}

dl {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    width: 100%;
}

dl dt {
    flex: 0 0 2em;
}

dl dd {
    flex: 0 0 calc(100% - 2em);
    margin: 0;
    line-height: 24px;
}

@media only screen and (max-width: 600px) {
    body {
        padding: 0 1em;
    }

    header, footer {
        width: calc(100% + 2em);
        margin-left: -1em;
        padding: 3em 2em;
    }

    h1 {
        font-size: 2em;
    }
}