body {
    background-color: #aaa;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
}

.pure-menu.pure-menu-horizontal {
    background-color: #111;
    position: fixed;
    top: 0;
    z-index: 100;
}

.pure-menu-link {
    color: #fafafa;
}

.pure-menu-active>.pure-menu-link, .pure-menu-link:focus, .pure-menu-link:hover {
    background-color: #333;
}

.pure-menu-children {
    background-color: #555;
}

.pure-menu-horizontal .pure-menu-children {
    min-width: 100%;
}

.pure-menu-item a span {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border: 1px solid #eee;
    background: #eee;
    margin-right: 0.5rem;
    margin-bottom: .1rem;
}

.pure-menu-item a.on span {
    background: #111;
}

#configs::after {
    content: '';
    padding: 0;
}

div#content {
    margin: 3em auto;
    max-width: 970px;
}

div#story-data {
    background-color: #fff;
    padding: 1em;
    box-shadow: 0 0 3px #888;
}

p {
    margin: 1em 2em;
}

p#format {
    float: right;
}

#story-data > p {
    font-family: Consolas, monaco, monospace;
}

div#overlay {
    background: #333;
    padding: 4em 2em;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.loader {
    border-top: 1.1em solid #666;
    border-right: 1.1em solid #666;
    border-bottom: 1.1em solid #666;
    border-left: 1.1em solid #eee;
}

.hide {
    display: none;
}

.smallify {
    height: 0;
    max-height: 0;
    overflow: hidden;
}

ul#credits {
    list-style: none;
}

input[type="file"] {
    display: none;
}

.void {
    display: none;
}

#clear-filters {
    position: fixed;
    background-color: #85144b;
    top: 2.5em;
    right: 0;
    border-radius: 0;
    box-shadow: -1px 1px 2px #888;
}

#title {
    font-size: 2em;
    text-align: center;
    margin-top: 0.67em;
    margin-bottom: 0.6em;
    padding-bottom: 0.6em;
    border-bottom: 1px solid #888;
}

#story-data, .passage-card {
    border-radius: 5px;
}

@media only screen and (max-width: 800px) {
    body {
        font-size: 14px;
    }
    div#content {
        margin: 3em 1em 1em 1em;
    }
    div.passage-card {
        margin: 1em 0;
    }
    div.passage-source {
        margin: 0;
    }
}