html {
  min-height: 100vh;
  overflow-y: scroll;
  background-color: #7c071a;
  font: 20px Cardo, "Times New Roman", serif;
  color: #333;
}

body {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.333rem;
  position: relative;
  min-height: calc(100vh - 50px);
  margin: 50px auto 0;
  line-height: 1.2;
  background-color: #e3ddcd;
}
@media (max-width: 1200px) {
  body {
    margin-top: 0;
  }
}

p {
  margin-block: 0;
}

h1 {
  margin: 0 auto 0;
  font-size: 3.1rem;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

h3 {
  margin: 0 5px 0 0;
  font-size: 1.17rem;
}

h4 {
  margin: 0 5px 0 0;
  font-size: 1.17rem;
}

header {
  margin: 0.83em 0;
}
header p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: underline;
}
a:hover {
  color: #6B6657;
}
a:active {
  color: #898477;
}

button, .button {
  background-color: white;
  border: 1px solid grey;
  outline: none;
  font-family: Cardo, "Times New Roman", serif;
}
button:hover, .button:hover {
  background-color: #efece4;
  color: inherit;
}
button:active, .button:active {
  background-color: #d8d3c2;
  color: inherit;
}

dfn {
  font-style: normal;
}

audio:focus {
  outline: none;
}

img.icon, .icon img {
  height: 1em;
  cursor: pointer;
}
img.icon + span, .icon img + span {
  margin-left: 0.5ch;
}

a.icon:hover {
  background-color: #efece4;
  color: inherit;
}
a.icon:active {
  background-color: #d8d3c2;
  color: inherit;
}

summary .icon {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.shortdef {
  font-style: italic;
}

.phonetic {
  font-weight: bold;
  font-size: 0.6rem;
  align-self: baseline;
}

.literal, .comment {
  font-size: 0.6rem;
}
.literal b, .comment b {
  margin-right: 0.5ch;
}

.sentence {
  font-style: italic;
}

#about-popup {
  display: none;
  position: absolute;
  box-sizing: border-box;
  width: 220px;
  margin: 0;
  padding: 20px;
  text-decoration: none;
  border-radius: 5px;
  color: #e3ddcd;
  background-color: #333;
  text-align: center;
}
@media (min-width: 1201px) {
  #about-popup {
    top: 5px;
    left: -225px;
  }
}
@media (max-width: 1200px) {
  #about-popup {
    bottom: 70px;
    left: -25px;
  }
}
#about-popup::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
@media (min-width: 1201px) {
  #about-popup::after {
    top: 5px;
    right: -15px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #333;
  }
}
@media (max-width: 1200px) {
  #about-popup::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #333;
    left: 35px;
  }
}
#about-popup:hover {
  background-color: #444;
}
@media (min-width: 1201px) {
  #about-popup:hover::after {
    border-left-color: #444;
  }
}
@media (max-width: 1200px) {
  #about-popup:hover::after {
    border-top-color: #444;
  }
}
#about-popup.visible {
  display: block;
}

.switch-direction {
  height: 20px;
  padding: 7px;
  border: 1px solid #333;
  border-radius: 3px;
}

.pronunciation {
  display: flex;
  align-items: normal;
  align-self: center;
  box-sizing: border-box;
  cursor: pointer;
  height: 1.2rem;
  padding: 1px 6px;
  border: 1px solid #333;
  border-radius: 5px;
  font-size: 0.75rem;
  font-family: "Noto Sans", Arial, sans-serif;
}
.pronunciation span {
  margin-right: 5px;
}
.pronunciation img {
  width: 16px;
}
.pronunciation + input {
  display: none;
}
.pronunciation + input + audio {
  display: none;
  margin-top: 4px;
}
.pronunciation + input:checked + audio {
  display: block;
}
.pronunciation:hover {
  background-color: #efece4;
  color: inherit;
}
.pronunciation:active {
  background-color: #d8d3c2;
  color: inherit;
}

.alphabet {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 2px;
  margin-bottom: 1rem;
}
.alphabet ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  gap: 2px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.alphabet li {
  display: block;
  padding: 0;
}
.alphabet a {
  display: block;
  padding: 5px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
}
.alphabet a[href] {
  border-color: #333;
  background-color: white;
}
.alphabet a[href]:hover {
  background-color: #efece4;
  color: inherit;
}
.alphabet a[href]:active {
  background-color: #d8d3c2;
  color: inherit;
}
.alphabet a:not([href]) {
  color: #888;
}

.dictionary .dictionary-entry-from, .dictionary .dictionary-entry-to-container, .dictionary > details summary {
  box-sizing: border-box;
  margin: 0;
}

.dictionary > details {
  position: relative;
  border: 1px solid #333;
}
.dictionary > details:first-of-type, .dictionary > details:first-of-type > summary {
  border-radius: 3px 3px 0 0;
}
.dictionary > details:last-of-type, .dictionary > details:last-of-type > summary {
  border-radius: 0 0 3px 3px;
}
.dictionary > details[open] .dictionary-entry {
  background-color: white;
}
.dictionary > details[open] .icon {
  transform: rotate(90deg);
}
.dictionary > details ~ details {
  margin-top: -1px;
}
.dictionary > details:focus, .dictionary > details:focus-within {
  outline: 1px auto #333;
}
.dictionary > details summary {
  display: block;
  position: static;
  width: 100%;
  padding: 7px 38px 7px 10px;
  font-weight: bold;
  cursor: pointer;
  background-color: #efece4;
}
.dictionary > details summary:hover {
  background-color: #e3ddcd;
  color: inherit;
}
.dictionary > details summary:active {
  background-color: #d8d3c2;
  color: inherit;
}
.dictionary > details summary:focus {
  outline: none;
}
.dictionary + footer {
  margin-bottom: 50px;
}
.dictionary h3 {
  margin: 0;
  font-size: 1rem;
}
.dictionary h4 {
  margin: 0 5px 0 0;
  font-size: 1.17rem;
}
.dictionary .dictionary-entry-from, .dictionary .dictionary-entry-to-container {
  overflow: hidden;
  flex-basis: 50%;
}
@media (max-width: 500px) {
  .dictionary .dictionary-entry-to-container {
    margin-top: 30px;
  }
}
@media (min-width: 501px) {
  .dictionary .dictionary-entry-to-container {
    margin-left: 20px;
  }
}
.dictionary .dictionary-entry-to-container .dictionary-entry-to {
  flex-basis: 100%;
}
.dictionary .dictionary-entry-to-container .dictionary-entry-to + .dictionary-entry-to {
  margin-top: 1em;
}
.dictionary input.shower {
  display: none;
}
.dictionary input.shower ~ .icon .closed {
  display: block;
}
.dictionary input.shower ~ .icon .open {
  display: none;
}
.dictionary input.shower:checked ~ .icon .closed {
  display: none;
}
.dictionary input.shower:checked ~ .icon .open {
  display: block;
}
.dictionary input.shower:checked ~ dd, .dictionary input.shower:checked ~ .dictionary-entry-to-container {
  height: auto;
  padding: 0.75em 20px;
  border-top: 1px solid #bbb;
}

.dictionary-entry {
  display: flex;
  flex-flow: column nowrap;
  margin: 0;
  padding: 0.75em 0.75em 0.75em 20px;
  border-top: 1px solid #bbb;
}
@media (min-width: 501px) {
  .dictionary-entry {
    flex-flow: row nowrap;
  }
}
.dictionary-entry > .dictionary-entry-to-container {
  display: flex;
  flex-flow: column nowrap;
}

.dictionary-entry-to, .dictionary-entry-from {
  margin: 0;
}
.dictionary-entry-to > *, .dictionary-entry-from > * {
  margin: 0;
}
.dictionary-entry-to > * + *, .dictionary-entry-from > * + * {
  margin-top: 0.75rem;
}
.dictionary-entry-to header, .dictionary-entry-from header {
  margin: 0 0 0.75rem;
}
.dictionary-entry-to header .word-heading, .dictionary-entry-from header .word-heading {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
}
.dictionary-entry-to header p, .dictionary-entry-from header p {
  margin-top: 0.3em;
}
.dictionary-entry-to header p + p, .dictionary-entry-from header p + p {
  margin-top: 0.5em;
}
.dictionary-entry-to * + header, .dictionary-entry-from * + header {
  margin-top: 1rem;
}
.dictionary-entry-to p, .dictionary-entry-from p {
  line-height: 1.5;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 0.75rem;
}

.page-footer {
  margin-top: 1.333rem;
  padding: 0.9331rem 1.333rem;
  border: 1px solid #555;
  border-radius: 3px;
  color: #555;
  font: 11px "Noto Sans", Arial, sans-serif;
  line-height: 1.5;
}
@media (max-width: 1200px) {
  .page-footer {
    margin-bottom: 50px;
    /* we set the bottom bar spacing on footer instead of body because the dictionary views 
     * have bottom bars on desktop sizes too. And we set the top bar spacing on body instead 
     * of main because the site header comes between the top of the page and main.
     */
  }
}
.page-footer a:hover {
  color: #6B6657;
}
.page-footer a:active {
  color: #898477;
}
.page-footer * + p {
  margin-top: 1em;
}
.page-footer .cc-link {
  white-space: nowrap;
}
.page-footer img {
  vertical-align: baseline;
  width: 1.4em;
  margin: -0.2em 1px;
  opacity: 0.6;
}
.page-footer img:first-of-type {
  margin-left: 5px;
}

header.site-header {
  margin: 0 0 1.333rem;
}
header.site-header p {
  text-align: center;
}
header.subheader {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
}
header.subheader h2 {
  margin: 0 1ch 0 0;
}

nav.main-nav {
  display: flex;
  position: fixed;
  align-items: stretch;
  justify-content: space-evenly;
  box-sizing: border-box;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  background-color: #efece4;
}
@media (min-width: 1201px) {
  nav.main-nav {
    top: 0;
    border-bottom: 1px solid grey;
  }
}
@media (max-width: 1200px) {
  nav.main-nav {
    bottom: 0;
    border-top: 1px solid grey;
  }
}

.nav-link {
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  flex: 0 1 auto;
  text-decoration: none;
  padding: 0 20px;
  min-width: 50px;
  color: inherit;
}
.nav-link:hover {
  background-color: #e3ddcd;
  color: inherit;
}
.nav-link:active {
  background-color: #d8d3c2;
  color: inherit;
}
@media (max-width: 1200px) {
  .nav-link {
    padding: 0 15px;
  }
  .nav-link > span {
    max-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}
.nav-link .icon {
  margin-bottom: 2px;
}

.text-page {
  padding: 0 3vw;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 0.75rem;
}
.text-page h2, .text-page h3 {
  font-family: Cardo, "Times New Roman", serif;
  margin-top: 1.5em;
  margin-bottom: 0.75rem;
}
.text-page hr {
  margin: 2rem 0;
}
.text-page p {
  margin: 1em 0;
  line-height: 1.5;
}
.text-page [lang=i-navajo] {
  font-style: italic;
}
.text-page + footer {
  margin-top: 2.5rem;
  margin-left: 3vw;
  margin-right: 3vw;
}

form.search {
  display: flex;
  position: fixed;
  align-items: center;
  box-sizing: border-box;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  background-color: #efece4;
  border-top: 1px solid grey;
}
@media (max-width: 1200px) {
  form.search {
    position: relative;
    border-top: none;
  }
}
form.search fieldset {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.333rem;
  flex: 0 1 800px;
  display: flex;
  padding: 10px 1.333rem;
  border: 0;
}
@media (max-width: 1200px) {
  form.search fieldset {
    margin: 0;
    padding: 10px 0 10px 15px;
    flex: 1 1 100%;
    max-width: 100%;
  }
}
form.search label[for=search] {
  display: none;
}
form.search input[type=search] {
  width: 100%;
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid grey;
  border-right: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  background-color: white;
}
form.search input[type=search]:focus {
  border-color: #333;
}
form.search button[type=submit] {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}
form.search button[type=submit] .icon {
  height: 0.8rem;
  margin-right: 0;
  padding: 6px;
}

.contact p {
  margin: 1.1em 0 1.5em;
}

.contact-tiles {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
}

.contact-tile {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin: 0;
  padding: 15px 25px 15px 20px;
  border: 2px solid #333;
  border-radius: 5px;
}
.contact-tile:hover {
  background-color: #efece4;
  color: inherit;
}
.contact-tile:active {
  background-color: #d8d3c2;
  color: inherit;
}
.contact-tile + .contact-tile {
  margin-top: 1em;
}
.contact-tile > .icon {
  height: 24px;
}
.contact-tile > .icon + span {
  margin-left: 20px;
}

.fonts textarea {
  resize: vertical;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(2.4em + 6px);
  font-size: 1rem;
  line-height: 1.2;
}
.fonts textarea#font {
  font-family: "Times New Roman Navajo", serif;
}
.fonts textarea#raw, .fonts textarea#unicode {
  font-family: "Times New Roman", serif;
}
.fonts p {
  margin: 1rem 0;
}
.fonts h3 {
  margin-top: 1rem;
}
.fonts a {
  font-weight: bold;
}
.fonts .letters {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin: 1rem 0;
  font: 1rem Cardo, "Times New Roman", serif;
}
.fonts .letters > div {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.fonts .letters table {
  border-collapse: collapse;
}
.fonts .letters td, .fonts .letters th {
  border: 1px solid black;
  padding: 2px 5px;
}
.fonts .row {
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.fonts .row > * {
  flex: 1 1 50%;
  display: flex;
  flex-flow: column nowrap;
}
.fonts .row > * > textarea {
  flex-grow: 1;
}

.reader-only {
  position: fixed;
  left: -10000;
  overflow: hidden;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

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