body {
    font-family: sans-serif;
    font-size: 100%;
}

#main {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4em;
    margin-bottom: 8em;
    text-align: center;
}

#home-btn {
    position: fixed;
    top: 2px;
    left: 2px;
}

#home-btn img {
    height: 1.2em;
}

#pdf-meta {
    margin-top: 2em;
}

#pdf-meta p {
    text-align: left;
    margin: 0.4em 0 0 0;
}

#progress {
    margin: 0.6em 0 0.6em 0;
    border: 1px solid #ddd;
}

.bar {
    height: 0.6em;
    background: green;
}

h1, h2, h3, h4, h5, h6 {
    color: #cf704a;
    font-weight: normal;
}

h1 {
    text-align: center;
    font-size: 260%;
}

h2 {
    font-size: 180%;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    border-top: 1px solid #ddd;
    text-align: left;
}

h3 {
    font-size: 120%;
    margin-bottom: 0.2em;
    text-align: left;
}

h3 + p {
    margin-top: 0;
}

p {
    margin: 0.4em 0 0.4em 0;
}

hr {
    color: #eee;
    margin-bottom: 0;
}

.title .value {
    font-weight: bold;
}

.filename {
    font-family: monospace;
    color: darkcyan;
    font-size: 130%;
}

a.btn {
    display: inline-block;
    line-height: 1em;
    background-color: #888;
    color: #fff;
    padding: 0 0.2em 0.08em 0.2em;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 1px 2px 1px #555;
}

a.btn.std {
    padding: 0.6em 0.8em 0.56em 0.8em;
    background-color: darkcyan;
}

a.btn.back {
    padding: 0.6em 0.8em 0.56em 0.8em;
    background-color: black;
}

a.btn.home {
    padding: 0.4em;
    background-color: #cf704a;
}

a.btn.big {
    font-size: 200%;
}

a.btn.add {
    background-color: #00aa00;
}

a.btn.remove {
    background-color: #cc0000;
    padding: 0 0.3em 0.08em 0.3em;
}

#status {
    display: none;
}

#status-label {
    font-weight: bold;
    color: #333;
}

#status-value {
    font-family: monospace;
    font-size: 120%;
}

#controls {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 4em;
    background: #ffffff;
    text-align: center;
    border-top: 2px solid #ddd;
    padding-top: 1em;
}