/* Zebra Sections layout -- customize header */
body > header {
  background-image: url(assets/kg-weights-by-ylanite-koppens-at-pexels.8c011034.jpg);
}
body > header nav#link-menu a,
body > header nav#link-menu a.current,
body > header nav#link-menu a:hover {
  color: white;
}
body > header nav#link-menu a.current,
body > header nav#link-menu a:hover {
  border-color: gold;
}
ol.marble-checklist > li::before {
  background-color: deepskyblue;
}
ol.marble-checklist > li label b::after {
  background-color: royalblue;
  border-color: royalblue;
}
body > header h2 {
  font-size: 1.5rem;
}
@media (max-width: 667px) {
  body > header h2 {
    font-size: 0.8rem;
    font-weight: normal;
  }
}
body > header #article-nav {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -65px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding: 0px 10px;
  margin: 0px auto;
  visibility: hidden;
}
body > header #article-nav.show {
  visibility: visible;
}
body > header #article-nav > i {
  font-size: 3em;
  text-shadow: none;
  cursor: pointer;
}
body > header #article-nav > i.hide {
  visibility: hidden;
}
body > header #article-nav > ul {
  display: none;
}
body main > section#toc ol li {
  margin-bottom: 4px;
}
body main > section#toc ol li i.font-icon {
  min-width: 1.8em;
  text-align: center;
  color: steelblue;
}
body main > section > h2 > b {
  padding-right: 0.4em;
}
body main > section > h2 > img {
  height: 1.1em;
  margin-bottom: -0.2em;
}
body main > section table thead tr th {
  font-size: 1rem;
  text-align: left;
}
body main > section table tbody tr th[colspan] {
  padding: 6px 0px;
}
body main > section table tbody tr th[colspan] i.font-icon {
  font-size: 1.1em;
  padding-right: 0.4em;
}
body main > section table tbody tr td {
  font-size: 1rem;
  text-align: left;
}
@media (max-width: 667px) {
  body main > section table tbody tr td {
    font-size: 0.9rem;
  }
}
body main > section table tbody tr td i.font-icon {
  color: steelblue;
}
body main > section > footer {
  letter-spacing: 0.1em;
}
main > section i[data-icon^=circle] {
  font-size: 2rem;
  color: royalblue;
  transition: all 1s;
}
@media (prefers-color-scheme: dark) {
  main > section i[data-icon^=circle] {
    color: dodgerblue;
  }
}
main > section i[data-icon=right-long] {
  font-size: 0.9rem;
  color: royalblue;
  padding: 0px 0.4em;
}
@media (prefers-color-scheme: dark) {
  main > section i[data-icon=right-long] {
    color: dodgerblue;
  }
}
main > section i[data-icon=check] {
  font-size: 1.2rem;
  transform: translateY(0.05em);
  color: green;
  padding-left: 0.2em;
}
@media (prefers-color-scheme: dark) {
  main > section i[data-icon=check] {
    color: limegreen;
  }
}
main > section .ballot-checkmark {
  position: relative;
  text-align: center;
}
main > section .ballot-checkmark::before {
  position: absolute;
  top: -0.18em;
  left: 0px;
  right: 0px;
  content: "\2714";
  font-size: 2rem;
  color: green;
}
main > section .ballot-x-mark {
  position: relative;
  text-align: center;
}
main > section .ballot-x-mark::before {
  position: absolute;
  top: -0.18em;
  left: 0px;
  right: 0px;
  content: "\2718";
  font-size: 2rem;
  color: firebrick;
}
main > section code.block {
  display: block;
  font-size: 0.9rem;
  background-color: lightcyan;
  border: 2px dotted royalblue;
  padding: 5px 15px;
}
@media (prefers-color-scheme: dark) {
  main > section code.block {
    background-color: seagreen;
  }
}
@media (prefers-color-scheme: dark) {
  main > section code.block {
    border-color: gainsboro;
  }
}
main > section b.flair {
  display: inline-block;
  font-size: 0.9em;
  color: white;
  padding: 3px 15px;
  border-radius: 20px;
}
main > section b.flair[data-flair=green] {
  color: white;
  background-color: forestgreen;
}
main > section b.flair[data-flair=teal] {
  color: black;
  background-color: turquoise;
}
main > section table.big-table thead tr th:first-child {
  padding-left: 0px;
}
main > section table.big-table thead tr th:last-child {
  padding-right: 0px;
}
main > section table.big-table tbody tr td:first-child {
  padding-left: 0px;
}
main > section table.big-table tbody tr td:last-child {
  padding-right: 0px;
}
main > section table.big-table tbody tr td img {
  max-width: 120px;
}
main > section form {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
  column-gap: 30px;
  text-align: left;
  background-color: lightblue;
  border-radius: 20px;
  padding: 20px 30px;
  margin-bottom: 45px;
}
main > section form > label {
  margin: 0px;
}
main > section form > label > span {
  margin: -3px 0px 3px 0px;
}
main > section form > label > input {
  margin: 0px;
}
main > section form > label > select {
  margin: 0px;
}
main > section#list table.big-table tbody tr td:last-child {
  background-color: white;
}
@media (prefers-color-scheme: dark) {
  main > section#list table.big-table tbody tr td:last-child {
    padding-right: 3px;
  }
}
figure[data-picture-size="1"] img {
  width: 100px;
}
@media (max-width: 667px) {
  figure[data-picture-size="1"] img {
    width: 75px;
  }
}
figure[data-picture-size="2"] img {
  width: 200px;
}
@media (max-width: 667px) {
  figure[data-picture-size="2"] img {
    width: 150px;
  }
}
figure[data-picture-size="3"] img {
  width: 300px;
}
@media (max-width: 667px) {
  figure[data-picture-size="3"] img {
    width: 225px;
  }
}
figure[data-picture-size="4"] img {
  width: 400px;
}
@media (max-width: 667px) {
  figure[data-picture-size="4"] img {
    width: 300px;
  }
}
figure[data-picture-size="5"] img {
  width: 500px;
}
@media (max-width: 667px) {
  figure[data-picture-size="5"] img {
    width: 375px;
  }
}
@media (prefers-color-scheme: dark) {
  section figure.dark-mode-border img {
    border: 1px solid gainsboro;
  }
}
@media (prefers-color-scheme: dark) {
  section figure.dark-mode-frame img {
    background-color: white;
    border: 3px solid gray;
    padding: 10px;
  }
}
section figure.floating-card:not(:last-child) {
  margin-bottom: 50px;
}
section figure.floating-card img {
  max-height: 400px;
  background-color: white;
  border: 3px solid silver;
  border-radius: 20px;
  box-shadow: 3px 3px 0.2em 0.2em rgba(0, 0, 0, 0.7);
  padding: 10px 40px;
  margin-bottom: 5px;
}
@media (max-width: 667px) {
  section figure.floating-card img {
    padding: 10px 10px;
  }
}
section figure.floating-card + blockquote {
  margin-top: -35px;
}
section figure.box-frame {
  background-color: white;
  border: 5px solid silver;
  padding: 5px 20px;
}
section figure.box-frame img {
  height: 100px;
}
@media (max-width: 667px) {
  section figure.box-frame img {
    height: 70px;
  }
}
section figure.simple-rounded img {
  border: 2px solid silver;
  border-radius: 14px;
}
section figure.window-shadow figcaption {
  margin-top: -40px;
}
section figure + blockquote {
  font-size: 1.2rem;
  margin: -15px auto 55px auto;
}
section.grams-calculator {
  min-height: 750px;
}
section.grams-calculator > form {
  position: relative;
  padding-bottom: 40px;
}
section.grams-calculator > form > label > input[name=quantity] {
  max-width: 6em;
}
section.grams-calculator > form > p {
  position: absolute;
  bottom: 0.5em;
  font-size: 0.8rem;
}
section.grams-calculator > figure > figcaption {
  font-style: normal;
  margin-bottom: 15px;
}
section.grams-calculator > figure > figcaption span {
  font-weight: normal;
}
section.grams-calculator > figure > p {
  margin-bottom: 15px;
}
section.grams-calculator > figure > p > i.font-icon {
  font-size: 3rem;
}
section.grams-calculator > figure > div {
  display: flex;
  flex-direction: column;
  width: max-content;
  align-items: start;
  margin: 0px auto;
}
section.grams-calculator > figure > div > output {
  display: block;
  font-style: normal;
  margin-bottom: 5px;
}
section.grams-calculator > figure > div > output b:first-child {
  display: inline-block;
  min-width: 3em;
  text-align: right;
}
section.grams-calculator > figure > small {
  display: block;
  margin-top: 20px;
}
section.celsius-calculator > div {
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
}
section.celsius-calculator > div > form {
  column-gap: 0px;
  margin: 0px 20px 0px 0px;
}
@media (max-width: 667px) {
  section.celsius-calculator > div > form {
    margin-right: 5px;
  }
}
section.celsius-calculator > div > form input {
  width: 5em;
  margin-right: 5px;
}
@media (max-width: 667px) {
  section.celsius-calculator > div > form input {
    width: 3.5em;
  }
}
section.celsius-calculator > div > figure {
  font-size: 1.8rem;
  padding: 0px;
  margin: 0px;
}
section.celsius-calculator > div > figure output {
  display: inline-block;
  min-width: 3em;
  text-align: right;
  margin-right: 0.2em;
}
@media (max-width: 667px) {
  section.celsius-calculator > div > figure output {
    min-width: 2em;
  }
}
section.milliliters-calculator > div {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  row-gap: 20px;
}
@media (max-width: 667px) {
  section.milliliters-calculator > div {
    flex-direction: column;
  }
}
section.milliliters-calculator > div > form {
  column-gap: 10px;
  margin: 0px;
}
section.milliliters-calculator > div > form > label > input[name=quantity] {
  width: 4em;
}
@media (max-width: 667px) {
  section.milliliters-calculator > div > i.font-icon {
    transform: rotate(90deg);
  }
}
section.milliliters-calculator > div > figure {
  font-size: 1.8rem;
  padding: 0px;
  margin: 0px;
}
section.milliliters-calculator > div > figure output {
  display: inline-block;
  min-width: 3em;
  text-align: right;
  margin-right: 0.2em;
}
@media (max-width: 667px) {
  section.milliliters-calculator > div > figure output {
    min-width: auto;
  }
}
a {
  color: inherit;
  border-color: steelblue;
}
a:visited {
  color: darkgray;
}
a:hover {
  color: white;
  background-color: steelblue;
  outline-color: steelblue;
}
main > section form {
  color: dimgray;
}
