/* lato-100 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  src: local(""), url("../fonts/lato-v22-latin-100.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-100.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-100italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 100;
  src: local(""), url("../fonts/lato-v22-latin-100italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-100italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-300 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("../fonts/lato-v22-latin-300.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-300italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 300;
  src: local(""), url("../fonts/lato-v22-latin-300italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-300italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-regular - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/lato-v22-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: local(""), url("../fonts/lato-v22-latin-italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: local(""), url("../fonts/lato-v22-latin-700italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../fonts/lato-v22-latin-700.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-900 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: local(""), url("../fonts/lato-v22-latin-900.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-900.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-900italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 900;
  src: local(""), url("../fonts/lato-v22-latin-900italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/lato-v22-latin-900italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

* {
  box-sizing: border-box;
}
:root {
  --button-bg-color: #0061cf;
  --button-active-color: #2775cf;
  --shadow-color: rgba(0, 0, 0, 0.26);
  --std-margin: 8px;
  --std-padding: 8px;
  --v-space: 0.2rem;
}
body {
  color: #333;
  margin: 0;
  padding: 0;
  background: white;
  width: 100vw;
  background: url("../img/background.png") repeat;
  background-size: 100px;
  background-attachment: fixed;
}
html {
  position: relative;
  font-family: "Lato", helvetica, sans-serif;
  font-size: 1.1em;
  /* mobile viewport bug fix */
  height: calc(var(--vh, 1vh) * 100);
}
h3 {
  font-family: inherit;
}
p,
ul,
ol {
  line-height: 1.4em;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4em;
  margin: 0 0 1vmin 0;
  border: 1px solid #ccc;
  border-radius: 2px;
}
input:disabled {
  color: #ccc;
}
input[type="range"] {
  height: 0;
}
input[type="checkbox"] {
  transform: scale(1.5);
  margin-right: 0.3em;
  margin-left: 0.2em;
}
strong {
  font-family: inherit;
  font-weight: 900;
  color: darkred;
}
img {
  width: 95%;
  border: 1px solid darkgray;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}
h3 {
  margin-bottom: 0.3rem;
}
.btn-img {
  width: 4rem;
  border: none;
  box-shadow: none;
}
.under-header {
  margin-top: 0.3rem;
}
.page {
  margin: 0;
  display: block;
  height: 100vh; /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
}
.content {
  padding: 0 8px;
}
.btn-space {
  margin-right: var(--std-margin);
}
.btn-left {
  padding-left: var(--std-margin);
  margin-left: auto;
}
.edit-box {
  padding: var(--std-padding) 0;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
}
.bottom-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--std-padding);
  background-color: lightgray;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
}
button,
input[type="submit"] {
  font: inherit;
  border: 1px solid var(--button-bg-color);
  background-color: var(--button-bg-color);
  background: url("") no repeat left center;
  padding: 0.5rem 1rem;
  color: white;
  border-radius: 5px;
  box-shadow: 1px 1px 3px var(--shadow-color);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin: 0;
  margin-bottom: var(--std-margin);
}
input[type="submit"]:disabled {
  background-color: lightgray;
  border: gray;
}
button:focus,
input[type="submit"] {
  outline: none;
}
button:hover,
button:active,
input[type="submit"]:hover,
input[type="submit"]:active {
  background: var(--button-active-color);
  border-color: var(--button-active-color);
  box-shadow: 1px 1px 8px rgba(77, 51, 51, 0.26);
}
.outline {
  color: #cf0056;
  box-shadow: none;
  background-color: white;
}
header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: var(--button-bg-color);
  color: white;
  display: flex;
  padding: 8px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
  font-family: "Lato", sans-serif;
}
.header-text {
  display: flex;
  margin: 0;
  margin-left: calc(((100% - 920px) / 2) + 8px);
}
.header-text a {
  text-decoration: none;
  color: white;
}
@media (max-width: 920px) {
  .header-text {
    margin-left: 0;
  }
}
main {
  margin: var(--std-margin);
}
img {
  width: 95%;
  border: 1px solid darkgray;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}
.parent {
  display: flex;
  flex-direction: row;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  background: white;
}
.nav-cell {
  display: flex;
  flex-direction: column;
  border: solid 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
  padding: var(--std-margin);
  margin: var(--std-margin);
  margin-top: 1.5rem;
  line-height: 1.5rem;
}
.menu-link {
  text-decoration: none;
  font-weight: 600;
  color: #666;
}
@media (max-width: 520px) {
  .parent {
    flex-direction: column;
  }
  .menu-item {
    white-space: nowrap;
    margin-right: 0.3rem;
  }
  .menu-item::after {
    content: " |";
  }
  .menu-item:first-of-type::before {
    content: "|  ";
  }
  .nav-cell {
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 0;
    margin-bottom: 0;
  }
  .copy {
    display: none;
  }
}
.selected {
  font-weight: 900;
}
.selected::before {
  content: "•\00A0";
}
@media (min-width: 521px) {
  .menu-item > :not(.selected)::after {
    content: "\00A0\00A0\00A0\00A0\00A0";
  }
}
.copy {
  margin-top: auto;
  font-size: 0.8rem;
  line-height: 0.6rem;
}
.svg {
  height: 1.7rem;
  width: 1.7rem;
  fill: currentColor;
  align-self: center;
  margin-right: 0.2rem;
  margin-bottom: -0.2rem;
}
.modak-logo {
  border: none;
  box-shadow: none;
  width: 30%;
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
}
.bullet {
  color: #999;
}
.medium-bold {
  font-weight: 600;
}
