html, body {
  margin: 0;
  height: 100%;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  font-variant-numeric: lining-nums;
}

body {
  color: #000;
  background: #fff url(/assets/page_bg.png) repeat;
}

a {
  text-decoration: none;
  color: #f60;
}
a:hover {
  text-decoration: underline;
  color: #d40;
}

#container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 700px;
  min-height: 100%;
  margin: 0 auto;
}
#container > header, #container > footer, #container main {
  width: 100%;
  background: #fff url(/assets/side_bg.png) repeat-y;
  border: 2px solid #000;
  box-sizing: border-box;
}
#container > header {
  height: 74px;
  margin-top: 10px;
  padding: 10px;
  background-position: right -12px;
}
#container > footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 58px;
  margin: 10px auto;
  padding: 2px 100px 2px 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  font-weight: bold;
  background-position: right bottom calc(100vh - 12px);
}
#container > footer > div {
  width: 100%;
}
#container main {
  flex: 1 1 auto;
  position: relative;
  padding: 10px 100px 50px 10px;
  vertical-align: top;
  background-position: right 122px;
}

nav {
  height: 20px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding: 5px;
  margin: 0 -2px 0 -2px;
}
nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
}
nav ul li {
  display: block;
  margin: 0;
  padding: 0;
}
nav ul li:not(:first-child)::before {
  content: "::";
  display: inline-block;
  margin: 0 5px;
}
nav ul li:not(.active) a {
  color: #d40;
}
nav ul li:not(.active) a:hover {
  color: #f60;
}
nav ul li.active a {
  color: #000;
}

#prevlink {
  padding-top: 20px;
  float: left;
}

#nextlink {
  padding-top: 20px;
  float: right;
}

h1, h2, h3, h4 {
  font-weight: bold;
  margin: 0;
}

h1, h2 {
  color: #f60;
}

h1 {
  font-size: 24px;
}

h2, h3 {
  font-size: 20px;
}

h3 + .frontcard {
  margin-top: 1rem;
}

h4 {
  font-size: 18px;
}

h5 {
  font-weight: normal;
  font-size: 1rem;
  margin: 0 0 1rem;
}

img {
  border: none;
}

main img {
  padding: 0 5px 0 0;
  float: left;
}

.frontcard {
  margin: 0 auto;
  width: 560px;
  padding: 8px 0 30px;
  clear: both;
}
.frontcard p {
  margin: 0.5em 0;
  line-height: 1.35em;
}

.notice {
  position: absolute;
  bottom: 0.5em;
}

/*# sourceMappingURL=index.css.map */
