body {
    font-family: sans-serif;
    background-color: #b2cdd6;
    background-image: url("blockyblue.png");
    background-position: center;
    color: black;
}

#shader {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(#00000000, #00000040);
}

#main {
    z-index: 2;
    position: relative;
    top: 1em;
    max-width: 60em;
    height: 100%;
    margin: auto;
    padding: 1em;
    border-radius: 1em;
    background-color: #eaf2f5;
    background-image: url("blockywhite.png");
    background-position: center;
    box-shadow: 0 0 0.5em #606060;
}

section {
    padding: 1em 1.2em;
    margin: 0.4em;
    border: 1px solid #0b5a76;
    border-radius: 1em;
    background-color: #e4e0a3;
    font-size: 1.2em;
}
section p, section ul {
    margin: 0.2em 0;
}

h4, p {
    margin: 1.0em 0 0.2em 1.0em;
}

ul {
    margin: 0 0 1.0em 0.5em;
}

#overlay .outer {
    z-index: 3;
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    background-color: white;
    opacity: 0.8;
}

#overlay .inner {
    z-index: 4;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

#overlay img, #overlay video, #overlay iframe {
    max-width: 90%;
    max-height: 90%;
    opacity: 1.0;
    border: 2px solid black;
    border-radius: 2em;
    cursor: pointer;
}

#overlay_left, #overlay_right {
    display: block;
    border: 0;
    z-index: 5;
    position: absolute;
    width: 25%;
    top: 0;
    height: 100%;
    background-color: white;
    opacity: 0;
    cursor: pointer;
    text-align: center;
    font-size: 3em;
}

#overlay_left {
    left: 0;
}

#overlay_right {
    right: 0;
}

#overlay_left:hover, #overlay_right:hover {
    opacity: 0.6;
}

h1 {
    margin: 0.2em 0 0.5em 0;
    font-size: 2.4em;
    color: #0b5a76;
}

h2 {
    margin: 0.3em 0;
    font-weight: normal;
    font-size: 1.8em;
    border-top: solid 1px #0b5a76;
    padding: 0.3em 0;
}

h3 {
    margin: 0.3em 0;
    padding-top: 0.8em;
    font-size: 1.3em;
    font-weight: bold;
}

.highlight {
    font-weight: bold;
    color: white;
    background-color: red;
    text-align: center;
    border: 1px solid red;
}

#topbuttons {
    position: absolute;
    top: 0;
    right: -0.7em;
}

.button {
    display: inline-block;
    min-width: 6em;
    padding: 1em 2em;
    margin: 0.2em 2em;
    border-radius: 1em;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    background-color: #19851c;
    color: white;
}

.button:hover {
    background-color: #209f24;
    color: white;
}

.button:active {
    background-color: #19851c;
    color: white;
}

.disabled {
    opacity: 0.3;
}

#topbuttons .button {
    min-width: 0;
    padding: 0.5em;
}

#topbuttons .button img {
    image-rendering: pixelated;
    width: 2em;
    height: 2em;
}

a {
    color: #0b5a76;
    text-decoration: none;
}

a:hover {
    color: #68bee0;
}

a:active {
    color: #0b5a76;
}

.thumbnail {
    float: left;
    padding: 0.5em;
    margin: 0.4em;
    border: 1px solid #0b5a76;
    border-radius: 1em;
    background-color: white;
}

.thumbnail:hover {
    background-color: #90cae0;
    cursor: pointer;
}

.thumbnail img {
    width: 13em;
    padding: 0;
    margin: 0;
    border: 1px solid black;
    border-radius: 0.5em;
}

.thumbnail img.large {
    width: 30em;
}

.thumbnail img.small {
    width: 10em;
}

.clear {
    clear: both;
}

hr {
    color: silver;
    margin-top: 1em;
}

footer {
    margin: 0.3em 0;
    border-top: solid 1px #0b5a76;
    padding: 0.8em 0 0.3em 0;
    font-size: 0.8em;
    color: #0b5a76;
    text-align: right;
}