body {
    background: #eef2ff url(img/fade-blue.png) top center repeat-x;
    color: #000;
    padding-bottom: 33vh;
}

body,
button,
input {
    font-family: Arial, Helvetica, sans-serif;
    
}

a {
    color: #d00;
    text-decoration: none;
}

a:hover,
a.selected {
    text-decoration: underline;
}

a.selected {
    font-weight: bold;
}

h1 {
    font-family: Tahoma, sans-serif;
    font-size: 1.75rem;
    margin: 1em 0;
    text-align: center;
}

h1 a {
    color: #af0a0f;
}

h2 {
    font-size: 1rem;
    margin: 0 0 1em;
}

input,
select {
    background-color: #fff;
    border: none;
    border-radius: .2em;
    margin: 0 .5em;
    padding: .5em;
}

input:focus,
select:focus {
    outline: none;
}

button {
    background: none;
    border: none;
    color: #34345c;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

button:before {
    color: #000;
    content: "[";
}

button:after {
    color: #000;
    content: "]";
}

button:hover {
    color: #d00;
}

input[type=submit] {
    margin: 0;
}

.container {
    margin: 2em auto;
    max-width: 50em;
}

#board-menu {
    display: inline;
    line-height: 1.3;
    padding: 0;
}

#board-menu:before {
    color: #89a;
    content: "[";
    margin-right: .35em;
}

#board-menu:after {
    color: #89a;
    content: "]";
    margin-left: .35em;
}

#board-menu li {
    display: inline-block;
    margin-bottom: .1em;
}

#board-menu li + li:before {
    color: #89a;
    content: "/";
    margin: .35em;
}

.hidden {
    display: none !important;
}

#archive-tabs {
    margin: 0;
    overflow: auto;
    padding: 0;
    white-space: nowrap;
}

#archive-tabs li {
    cursor: pointer;
    display: inline-block;
    margin-right: .25em;
    padding: .25em .75em;
}

#archive-tabs li.active {
    background-color: #d6daf0;
    border-top: 2px solid #34345c;
    cursor: default;
}

#archive-tabs li:not(.active):hover {
    background-color: #d6daf0;
}

form {
    background-color: #d6daf0;
    padding: .75em .5em 0;
}

form .flex {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 1em;
}

form .flex input {
    flex: 1;
}

#advanced:before {
    content: "[+";
}

#advanced.minus:before {
    content: "[\2013";
}

.highlight {
    color: #117743;
    font-weight: bold;
}

#info {
    letter-spacing: .1em;
    margin: 1.5em 0;
    text-align: center;
}

#search {
    margin: 1.5em 0;
}

#advanced-search {
    border-top: 1px solid #b7c5d9;
    display: flex;
    padding: 1em 0 0;
}

.column {
    flex: 1 1 0px;
    flex-basis: 0;
    padding: .5em;
}

.form-group {
    display: flex;
    margin-bottom: .5em;
}

.form-group label {
    align-self: center;
    min-width: 6em;
}

.form-group input,
.form-group select {
    max-width: 100%;
    width: 0;
}

#advanced-search input,
#advanced-search select {
    flex: 1;
    padding: .3em .5em;
}

.options {
    list-style-type: none;
    margin: 0;
    padding: .5em 0;
}

.options + .options {
    border-top: 1px solid #b7c5d9;
}

.options li + li {
    margin-top: .25em;
}

@media (max-width: 550px) {
    #advanced-search {
        flex-direction: column;
    }

}

@media (max-width: 500px) {
    #search-buttons {
        flex-basis: 100%;
        margin-top: .5em;
        text-align: center;
    }
}

/* @media (max-width: 300px) {
    h1 {
        text-align: center;
    }

    #text {
        flex-basis: 100%;
        margin-top: .5em;
    }
} */