body {
    background-color: #fff;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

#page {
    background-color: #fff;
}

#header {
    background-color: #dde;
    border-top: 3px solid #36c;
    margin-top: 5px;
    padding: 2px;
    width: 100%;
}

#header h1 {
    font-family: Times New Roman, serif;
    font-size: 24pt;
    padding-left: 12px;
}

#header h1 a {
    color: #000;
    text-decoration: none;
}

#header h1 .tm {
    font-family: Times New Roman, serif;
    font-size: 10pt;
    vertical-align: super;
}

#nav {
    background-color: #dde;
    border-top: 1px solid #36c;
    padding: 2px;
    width: 100%;
}

#nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav li {
    display: inline;
    margin: 0;
    padding: 5px;
    text-align: center;
}

#nav a {
    color: #000;
    text-decoration: none;
}

#nav a:hover {
    color: #f00;
    text-decoration: none;
}

#container {
    float: left;
    margin-right: -125px;
    width: 100%;
}

#content {
    margin-right: 125px;
    padding: 5px;
}

#sidebar {
    float: right;
    margin-top: 5px;
    width: 120px;
}

#sidebar ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar li {
    margin: 0;
    padding: 0;
    padding-bottom: 12px;
    text-align: center;
}

#sidebar li.portrait {
    padding-top: 7px;
}

#sidebar li span {
    font-size: small;
    font-style: italic;
}

#sidebar img {
    border: 3px outset #36c;
    margin-bottom: 5px;
}

#sidebar img:hover {
    border: 3px outset #f00;
}

#footer {
    background-color: #dde;
    clear: both;
    padding: 5px;
    font-size: small;
}

#reading-copyright {
    text-align: center;
}

#reading-subject {
}

#reading-subject p {
    text-align: center;
}

#reading-subject p.label {
    font-weight: bold;
}

#reading-subject p.value {
    font-style: italic;
}

#reading img {
    border: #000 solid 1px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 3px;
}

form fieldset {
    border-top: 3px solid #36c;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}

form fieldset legend {
    padding: 0 2px;
    font-weight: bold;
}

form fieldset ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

form fieldset li {
    padding: 5px;
    margin: 0;
}

form fieldset label {
    display: inline-block;
    width: 15ex;
    vertical-align: top;
}

table {
    margin: 0 auto;
    width: 90%;
}

th {
    background-color: #dde;
    border-top: 3px solid #36c;
}

tr:hover {
    background-color: #ffc;
}

table.matrix th {
    vertical-align: top;
}

table.matrix td {
    padding: 3px;
    vertical-align: top;
}

table.matrix td.number {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

table.matrix a {
    color: #000;
    text-decoration: none;
}

table.matrix a:hover {
    color: #f00;
}

table.voids td {
    padding: 3px;
    vertical-align: top;
}

table.voids td.number {
    font-weight: bold;
    text-align: right;
    width: 5ex;
}

table.voids td.letters {
    white-space: nowrap;
    text-align: left;
    width: 10ex;
}

p {
    text-align: justify;
}

h2, h3 {
    text-align: center;
}

.poem p {
    text-align: center;
}

.poem p.poem-title {
    font-style: italic;
}

.error {
    color: #f00;
    font-weight: bold;
    font-style: italic;
}

.figure {
    border: #000 solid 1px;
    font-family: monospace;
    margin-left: 25%;
    margin-right: 25%;
    padding: 3px;
    text-align: center;
    white-space: pre;
}

#basic-matrix-entry {
    float: left;
    width: 49%;
}

#basic-matrix-description {
    float: right;
    width: 49%;
}

#packages {
    float: left;
    width: 49%;
}

#sign-in {
    float: right;
    width: 49%;
}

.package {
    border: #36c solid 2px;
    margin-bottom: 15px;
    padding-left: 1em;
    padding-right: 1em;
}

.package form {
    text-align: center;
}

.package-name {
    font-size: large;
    font-weight: bold;
}

.package-price {
    font-size: large;
    text-align: right;
}

