@charset "UTF-8";
/* ==========================================================================
   Import reset and base styles
   ========================================================================== */
/*
CSS Reset/defaults
Thank you to: https://hankchizljaw.com/wrote/a-modern-css-reset/
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + *,
.u_article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* The "good" parts of HTML5 Boilerplate v7.0.1 */
/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */
/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
::selection {
  background: #b3d4fc;
  text-shadow: none;
}

html {
  roll-behavior: smooth;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
Utility Classes
========================================================================== */
/*
 * Hide visually and from screen readers
 */
.u_hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/
.u_visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.u_visually-hidden.focusable:active,
.u_visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/
.u_invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/
.u_clearfix:before,
.u_clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.u_clearfix:after {
  clear: both;
}

/*
*  Commonly Used Classes
*/
.u_no-br {
  white-space: nowrap;
}

.u_center {
  text-align: center;
}

.u_highlight {
  display: inline;
  background-image: linear-gradient(yellow 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  animation: u_highlight-keyframes 0.7s ease-out forwards;
  margin-left: -0.15em;
  margin-right: -0.15em;
  padding-left: 0.15em;
  padding-right: 0.15em;
}

@keyframes u_highlight-keyframes {
  to {
    background-size: 100% 100%;
  }
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  .u_small-screen-only {
    display: none;
  }
}
/* Colors */
/* Fixed Padding */
/* Page structure */
/* Responsive Variables */
:root {
  --responsive-padding-0: 4px;
  --responsive-padding-1: 16px;
  --responsive-padding-2: 32px;
  --responsive-padding-3: 48px;
  --responsive-fs-1: 1rem;
  --responsive-fs-2: 1.5rem;
  --responsive-fs-3: 2rem;
}

@media only screen and (min-width: 30em) {
  :root {
    --responsive-padding-0: 8px;
    --responsive-padding-1: 24px;
    --responsive-padding-2: 48px;
    --responsive-padding-3: 64px;
    --responsive-fs-1: 1.2rem;
    --responsive-fs-2: 2rem;
    --responsive-fs-3: 2.4rem;
  }
}
@media only screen and (min-width: 40em) {
  :root {
    --responsive-padding-0: 12px;
    --responsive-padding-1: 36px;
    --responsive-padding-2: 64px;
    --responsive-padding-3: 72px;
    --responsive-fs-1: 1.4rem;
    --responsive-fs-2: 2.4rem;
    --responsive-fs-3: 3rem;
  }
}
@media only screen and (min-width: 45em) {
  :root {
    --responsive-padding-0: 18px;
    --responsive-padding-1: 48px;
    --responsive-padding-2: 72px;
    --responsive-padding-3: 128px;
  }
}
@media only screen and (min-width: 50em) {
  :root {
    --responsive-padding-0: 24px;
  }
}
/* ==========================================================================
   Custom Styles
   ========================================================================== */
/* GLOBAL - unscoped and tag-scoped selectors */
html {
  font-family: var(--font-family);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  scroll-behavior: smooth;
}

/* BLOCK__ELEMENT--MODIFIERS */
.library {
  background: var(--page);
  color: var(--page-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.library__header {
  padding: 16px 24px;
  background: var(--sidebar);
  color: var(--sidebar-text);
}
.library__footer {
  padding: 8px 24px;
  font-weight: 400;
  text-align: center;
}
.library__body {
  padding: 24px;
  margin: 0 0 auto;
  border: solid var(--sidebar-border);
  border-width: 4px 0;
}
.library__content-nav {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  margin: 0;
  top: 0;
  font-weight: bold;
  z-index: 2;
  background: var(--page);
}
.library__content-nav a {
  text-decoration: none;
  color: inherit;
}

.media-list,
.related-media {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 12px;
}
.media-list--homepage,
.related-media--homepage {
  margin-top: 36px;
}
.media-list__item,
.related-media__item {
  position: relative;
}
.media-list__item a,
.related-media__item a {
  color: var(--page-text);
}
.media-list__item img,
.related-media__item img {
  width: 100%;
  height: auto;
}
.media-list__more,
.related-media__more {
  position: relative;
}
.media-list__more a,
.related-media__more a {
  font-weight: bold;
  z-index: 1;
  text-decoration: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.open-modal {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background-image: linear-gradient(rgba(34, 34, 34, 0.8), rgba(0, 0, 0, 0.8));
  z-index: 5;
  overflow-y: auto;
}

.modal {
  background: #fff;
  position: relative;
  min-height: 100vh;
  padding: var(--responsive-padding-1);
  min-height: var(--app-height);
  width: 100vw;
}
.modal--welcome .modal__download,
.modal--welcome .modal__how-to,
.modal--welcome .modal__about {
  display: none;
}
.modal--welcome .modal__welcome {
  display: block;
}
.modal--about .modal__download,
.modal--about .modal__how-to,
.modal--about .modal__welcome {
  display: none;
}
.modal--about .modal__about {
  display: block;
}
.modal--download .modal__about,
.modal--download .modal__how-to,
.modal--download .modal__welcome {
  display: none;
}
.modal--download .modal__download {
  display: block;
}
.modal--how-to .modal__about,
.modal--how-to .modal__download,
.modal--how-to .modal__welcome {
  display: none;
}
.modal--how-to .modal__how-to {
  display: block;
}
.modal--how-to ol, .modal--about ol, .modal--welcome ol {
  margin-top: 8px;
  margin-left: 24px;
}
.modal__close {
  position: absolute;
  top: var(--responsive-padding-0);
  right: var(--responsive-padding-0);
}
.modal__download-version {
  padding: 8px 0;
}
.modal__download-option {
  display: block;
  font-size: var(--responsive-fs-1);
}

.has-overlay {
  overflow: hidden;
}

.button {
  -webkit-appearance: none;
  cursor: pointer;
  border: 2px solid #000;
  background: #000;
  color: #FFF;
  padding: 8px;
  text-decoration: none;
  margin: 0;
}
.button:hover, .button:focus {
  background: #FFF;
  border-color: #000;
  color: #000;
}
.button--text {
  border: none;
  padding: 0;
  background: transparent;
  color: #000;
}
.button--download {
  text-align: center;
  width: 100%;
  display: block;
  font-weight: bold;
  margin: 12px 0 0;
  padding: 16px;
  font-size: var(--responsive-fs-0);
}
.button--download::after {
  position: relative;
  top: -0.1em;
  content: "↓";
  padding-left: 16px;
}

.topic-header {
  margin: var(--responsive-padding-2) 0 16px;
  font-size: var(--responsive-fs-2);
}
.topic-header:first-child {
  margin-top: 0;
}

.email-gate {
  display: flex;
}
.email-gate .u_form__presubmit {
  font-weight: 400;
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
}
.email-gate .u_form__presubmit p {
  margin-bottom: 16px;
  line-height: 1.25;
  flex: 1 0 100%;
}
.email-gate .u_form__presubmit label {
  flex: 1 1 80%;
}
.email-gate .u_form__presubmit input {
  background: transparent;
  color: inherit;
  border: 1px solid #000;
  padding: 12px 16px;
  font-weight: 400;
  width: 100%;
}
.email-gate .button {
  flex: 1 1 20%;
  padding: 0 8px;
}

/* U_UTILITIES */
/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */
@media only screen and (min-width: 55em) {
  .library {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  .library__header {
    height: 100%;
    width: 320px;
    left: 0;
    position: fixed;
    border-right: 4px solid var(--sidebar-border);
  }
  .library__body {
    margin-left: 320px;
    width: calc(100% - 320px);
    height: 100%;
    padding: var(--responsive-padding-0) var(--responsive-padding-1);
    border-width: 0;
  }
  .library__content-nav {
    gap: 16px;
    position: sticky;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .library__content-nav li {
    min-width: max-content;
  }
  .library .overlay {
    padding: var(--responsive-padding-2);
  }
  .library__footer {
    padding-top: 24px;
  }
  .library .modal {
    width: 420px;
    margin: 0 auto;
    min-height: auto;
  }
  .library .modal--about, .library .modal--how-to, .library .modal--welcome {
    width: 650px;
  }
}

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