:root {
  quotes: "‘" "’" "“" "”";
}

body {
  background: lightgrey;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 1rem;
  max-width: 80rem;
}

body>header, main, footer {
  margin-left: 8rem;
}

body>header, main {
  margin-bottom: 1rem;
}

footer {
  margin-top: auto;
  border-top: thin solid navy;
  padding: 0.5rem 0;
  font-size: 75%;
}

div.form {
  padding: 0.5rem 2rem;
}

ul.form-part {
  list-style: none;
  font-family: sans-serif;
  font-size: small;
  padding: 0;
}

ul.form-part li {
  padding: 3px;
}

.stripe > :nth-child(2n+1) {
  background: #eeeeee;
}

.stripe > :nth-child(2n) {
  background: white;
}

p {
  margin: 1em 0;
}

li > p {
  margin: 0;
}

SPAN.errmsg 	{ color: red }

DIV.errmsg      { color: red;
                  background: #eeeeee;
                  margin-left: 5em;
                  margin-right: 5em;
                  border: thin solid red;
                  padding: 1em }

img {
  border: none;
}

table.results   {
  padding: 0.5rem 0;
  font-family: sans-serif;
  font-size: 90%;
}

table.results td {
  padding: 2px;
}

table.results.big .title {
  background: navy;
  color: white;
  font-size: 112.5%;
  padding: 0.5rem 0;
  border-top: 0.5rem;
}

table.results.big tbody + tbody::before {
  content: '';
  display: block;
  height: 1rem;
}

table.results.big th:not(.title) {
  text-align: left;
}

.menu { 
  height: 100%;
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  background: #eeeeee;
  padding: 1rem 0; 
  width: 8rem;
  font: large sans-serif;
}

.menu A       { color: black; 
                  text-decoration: none }

.menu UL      { padding: 0;
                  margin: 0;
                  list-style: none;
                  color: white;
                  font: medium sans-serif }

.menu LI      { margin: 0.5ex 0 0.5ex 0;
                  padding: 0.5ex 0.5em 0.5ex 0.5em;
                  background: navy }

.menu UL A    { color: white }

.menu UL UL   { margin-left: 1em }

.menu UL UL LI { background: #eeeeee; 
                  color: black }

.menu UL UL A { color: black }

h1, h2, h3 {
  font-family: sans-serif;
}

h1 {
  background: navy;
  color: white;
  padding: 0 0.5em;
  margin: 0;
}

h2 {
  background: #eeeeee;
  color: navy;
  padding: 0 0.5em;
}

pre {
  background: #eeeeee;
  padding: 1rem;
  border: thin solid navy;
  margin: 1em 2rem;
}

code {
  color: green;
}
