html.inside {
    background: url('homepage-shadow-bg.svg'), #a0e0ff;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
}

html.home {
    background: url('homepage-bg.svg'), #669000;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
}

h1 {
    color: #009900;
    text-align: center;
}

h2 {
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h3 {
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.inside h3 {
    text-align: left;
}

.footer h3 {
    text-align: center;
}

table.nav-bar {
    display: block;
    background-color: #008000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-spacing: 0;
}

.nav-bar td {
    padding: 0;
    width: 0;
    white-space: nowrap;
    color: #00ff00;
    font-size: large;
    font-weight: bold;
    text-decoration: none;
}

.nav-bar td.fill {
  width: auto;
}

.nav-bar a {
    display: inline-block;
    padding: 1.5em;
    color: #00ff00;
    text-decoration: none;
    max-height: 3em;
}

.nav-bar a:hover {
    background-color: #00a000;
}

.nav-bar a.home {
  padding-top: calc(50% - 1.5em);
  padding-bottom: calc(50% - 1.5em);
  padding-left: 0;
  padding-right: 0;
}

body {
    color: #008b00;
    text-align: left;
}

ul.loose {
    line-height: 1.7;
}

li + li {
    margin-top: 0.5em;
}

table {
    max-width: 100%;
    border-spacing: 1em 1.2em;
}

table th {
    text-align: left;
}

table.instructors {
    border-spacing: 0em 1em;
}

table.schedule {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 1em 0.2em;
}

table.form {
    border-spacing: 1em 0;
}

table.form th {
    font-weight: normal;
}

table.form td {
    vertical-align: top;
}

table.form td:first-child {
    text-align: right;
}

table.form.loose {
    border-spacing: 1em 1em;
}

table.form.right td {
    text-align: right;
}

table.radio tr:first-child {
    visibility: collapse;
}

.admin table {
    border-spacing: 0;
}

.admin td {
    border-width: thin;
    border-style: solid;
    padding: 0.5em;
}

.contents {
    border-radius: 40px;
    background-color: #d0f3ff;
    width: calc(50% + 150px);
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
}

.contents img {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 300px;
}

.top {
    margin-top: 8em;
}

.bottom {
    margin-top: 45%;
}

.box {
    border-width: 2px;
    border-style: solid;
    border-color: #008b00;
    padding: 1em;
}

dt {
    line-height: 2.5;
    margin-top: 1em;
}

dl {
    margin-bottom: 2em;
}

.instructor:before {
    content: " ";
    min-width: 10em;
    display: block;
    overflow: hidden;
    margin-top: 1px;
}

.target > span:nth-child(odd) {
    display: none;
}

.success {
    color: #0000dd;
    font-weight: bold;
}

.error {
    color: #dd0000;
    font-weight: bold;
}
