body {
    text-align: center;
    font-family: Arial;
}

.content-container {
    width: 96%;
    max-width: 660px;
    margin: auto;
}

a, a:visited, .clickable {
    text-decoration: none;
    color: #077;
    cursor: pointer;
}

a:hover, a:active, .clickable:hover, .clickable:active {
    text-decoration: underline;
    color: teal;
}

a.subtle-link {
    color: inherit;
    text-decoration: none;
}

a.subtle-link:hover, a.subtle-link:active {
    color: teal;
}

.logo-title {
    font-size: 48px;
    user-select: none;
    font-weight: 100;
    font-family: Arial;
    color: #ccc;
    margin: 16px;
}

.ad-container {
    margin: 24px auto;
}

@media screen and (min-width: 1100px) {
    .ad-container {
        margin: 32px -200px;
    }
}

.sub-title {
    text-transform: uppercase;
    font-size: 26px;
    color: #AAA;
    letter-spacing: 8px;
    margin: 8px;
    margin-bottom: 14px;
}

@media screen and (max-width: 372px) {
    .sub-title {
        font-size: 24px;
        letter-spacing: 6px;
    }
}

.logo-banner {
    position: relative;
    margin: auto;
    width: 80%;
}
.background {
    background: url(/mdb/background-cropped.jpg) no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.3;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.footer {
    color: #222;
    font-size: 12px;
    position: fixed;
    bottom: 6px;
    width: 100%;
}

.number-in-english {
    color: #999;
    font-style: italic;
    width: 90%;
    max-width: 660px;
    margin: 22px auto 0;
}

.section {
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #333;
    width: 98%;
    max-width: 660px;
    margin: 22px auto 0;
    border-radius: 16px;
    overflow: hidden;
}

.section-title {
    text-transform: uppercase;
    font-size: 17px;
    margin: 0;
    padding: 4px 6px;
    background: #eee;
}

.section-content {
    padding: 8px;
}

.section-footer {
    text-align: right;
    font-size: 14px;
    padding: 6px 12px;
}

.separator {
    width: 100%;
    height: 1px;
    display: block;
    background: #ddd;
}

.top-input {
    border: none;
    border-bottom: 1px solid #aaa;
    padding: 6px;
    font-size: 26px;
    text-align: center;
}

.top-input-range {
    width: 80%;
    max-width: 400px;
}

.table-left {
    text-align: right;
    padding: 2px;
}

.table-right {
    word-wrap: break-word;
    word-break: break-all;
    padding: 2px;
    text-align: left;
}

.failed-state .section {
    opacity: 0.25;
}

.failed-state .number-in-english {
    color: #c00;
}

#footer .separator {
    width: 70%;
    max-width: 500px;
    background-color: #eee;
    height: 1px;
    margin: 10px auto;
}

#footer {
    margin: 32px auto 12px;
    font-size: 70%;
    color: #bbb;
}

.list-table {
    background: #ccc;
    border-spacing: 1px;
    margin: auto;
}
.list-table td, .list-table th {
    padding: 6px 12px;
}
.list-table tr:nth-child(even) {
    background: #f8f8f8;
}
.list-table tr:nth-child(odd) {
    background: #eee;
}
.list-table td:first-child {
    font-weight: bold;
    font-style: italic;
}
.list-table td:nth-child(even) {
    text-align: right;
}
