@import "../fonts/druk-text-wide/druk-text-wide.css";
@import "../fonts/druk-text/druk-text.css";
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

:root {
  --a-dur: 200ms;
  --c-blue: rgb(0,175,235);
  --c-ltblue: rgba(0,175,235,.2);
  --c-white: #ffffff;
  --c-black: #111111;
  --f-size: 100%;
  --f-leading: 1.4;
  --hero-height: 40vh;
  --hero-collapsed-height: 20vh;
  --margin: 4rem;
  --margin-right: 2rem;
  font-size: var(--f-size);
  --margin-neg: calc( var(--margin) * -1 );
  --margin-right-neg: calc( var(--margin-right) * -1 );
}
@media (min-width: 600px) {
  :root {
    --margin: 17vw;
    --margin-right: 10vw;
  }
}
@media (min-width: 900px) {
  :root {
    --margin: 16vw;
    --margin-right: 12vw;
  }
}
@media (min-width: 1400px) {
  :root {
    --margin: 20vw;
    --margin-right: 20vw;
    --f-size: 110%;
  }
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: var(--c-white);
  color: var(--c-black);
  font-family: HelveticaNeue, Arial, Helvetica, sans-serif;
  line-height: var(--f-leading);
}

h1, h2, h3, h4 {
  margin: 0 0 1em;
  color: var(--c-blue);
}

h1, h2 {
  font-family: "Druk Text Web";
  font-weight: 600;
}

h4 {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 1.4em;
}

a {
  color: var(--c-blue);
}

p {
  margin: 0 0 1rem;
}

.hide {
  display: none;
}

.emphasis, .section-body p:first-child {
  font-weight: 600;
  font-size: 1.2em;
}

blockquote {
  margin: 0 0 1em;
  padding: 1rem;
  border: 2px dotted var(--c-blue);
  background: var(--c-ltblue);
  font-size: 90%;
}

figure {
  margin: 0;
}

.blur-up {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
  -webkit-filter: blur(0);
  filter: blur(0);
}

@keyframes fade {
  from {
    opacity: 0;
    bottom: -2rem;
  }
  to {
    opacity: 1;
    bottom: 0;
  }
}
.initial-fade .section-body {
  animation: fade 1s ease-out;
}

.columns {
  align-items: flex-start;
  margin: 0 -1rem;
}

.columns--none .columns {
  display: flex;
  margin: 0 -1rem;
}
.columns--none .columns__column {
  margin: 1rem;
  flex: 1;
}

.columns--med .columns__column, .columns--lg .columns__column, .columns--xl .columns__column {
  margin: 0 1rem;
  flex: 1;
}

@media (min-width: 600px) {
  .columns--med {
    display: flex;
  }
}
@media (min-width: 900px) {
  .columns--lg {
    display: flex;
  }
}
@media (min-width: 1400px) {
  .columns--xl {
    display: flex;
  }
}
.small-text {
  font-size: 80%;
  line-height: 1.5;
}

figure.video {
  margin: 0 0 2rem;
}

.download-link {
  font: inherit;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 0.5em;
  border: 2px solid var(--c-blue);
  padding: 0.5em 0.75em;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  display: block;
  background: var(--c-white);
  transition: background var(--a-dur) ease;
}
.download-link:hover {
  background: var(--c-blue);
  color: var(--c-white);
}

@keyframes slide-in {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 1500px;
    opacity: 1;
  }
}
@keyframes expand {
  from {
    max-height: 20rem;
  }
  to {
    max-height: 1500px;
  }
}
.read-more__button {
  display: none;
}

@media (max-width: 600px) {
  .read-more {
    overflow: hidden;
  }

  .content-hidden {
    max-height: 30vh;
    position: relative;
    margin-bottom: 1rem;
  }
  .content-hidden::after {
    content: "";
    display: block;
    height: 20vh;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), white);
  }

  .read-more__button {
    position: absolute;
    display: block;
    bottom: 1rem;
    width: 60%;
    text-align: center;
    left: 20%;
    z-index: 10;
    font: inherit;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
    border-radius: 0.5em;
    border: 2px solid var(--c-blue);
    padding: 0.5em 0.75em;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    display: block;
    background: var(--c-white);
    transition: background var(--a-dur) ease;
  }
  .read-more__button:hover {
    background: var(--c-blue);
    color: var(--c-white);
  }

  .content-visible {
    animation: expand 800ms ease-in-out;
    max-height: 100%;
  }
}
.admin-edit-link {
  display: none;
}
@media (min-width: 900px) {
  .admin-edit-link {
    display: block;
    position: absolute;
    z-index: 99;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8em;
    background: var(--c-white);
    text-decoration: none;
    opacity: 0.3;
    transition: opacity var(--a-dur), margin-top var(--a-dur);
  }
  .admin-edit-link:hover {
    opacity: 0.7;
  }
  .admin-edit-link:active {
    opacity: 1;
  }
}

.header {
  background: var(--c-blue);
  line-height: 1;
  padding: 3rem 0 2rem;
  mix-blend-mode: multiply;
  margin: 0 var(--margin-right-neg) 0 var(--margin-neg);
}
.header h1 {
  margin: 0 var(--margin-right) 0 var(--margin);
  color: var(--c-white);
  font-size: 2rem;
}
@media (min-width: 600px) {
  .header h1 {
    font-size: calc(1.6rem + 3vmax);
    letter-spacing: -0.04em;
  }
}
@media (min-width: 900px) {
  .header h1 {
    font-size: calc(1.7rem + 4vmax);
  }
}

.section {
  padding: 0;
  position: relative;
  margin: 0 var(--margin-right) 0 var(--margin);
  transition: margin var(--a-dur);
}

.section::before {
  opacity: 1;
  transition: opacity var(--a-dur) ease;
  content: "";
  display: block;
  background: var(--c-blue);
  width: calc( var(--margin) - 2rem );
  height: 100%;
  position: absolute;
  top: 0;
  left: var(--margin-neg);
}

.section-body {
  padding: 2rem 0 4rem;
  transition: opacity var(--a-dur) ease, height var(--a-dur) ease, padding var(--a-dur) ease;
}
.section-title {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 4;
  position: absolute;
  display: flex;
  align-items: flex-end;
  transition: align-items var(--a-dur) ease;
  padding-left: var(--margin);
}
.section-title h2 {
  margin: 0.75em var(--margin-right) 0.75em 0;
  position: relative;
  font-size: 1.8rem;
  line-height: 1;
  text-indent: 1.25em;
  transition: margin var(--a-dur) ease;
  z-index: 2;
  color: var(--c-white);
  text-shadow: rgba(0, 0, 0, 0.8) 0.2rem 0.5rem 2rem, rgba(0, 0, 0, 0.6) 0 0 0.5rem;
}
@media (min-width: 600px) {
  .section-title h2 {
    text-indent: 0;
    font-size: 2.5rem;
  }
}

.section-num {
  text-indent: 0;
  text-shadow: none;
  box-shadow: rgba(0, 0, 0, 0.6) 0.2rem 0.2rem 2rem;
  font-family: "Druk Text Wide";
  border-radius: 100%;
  background: var(--c-white);
  color: var(--c-black);
  font-size: 0.6em;
  width: 2em;
  height: 2em;
  position: absolute;
  left: -0.5em;
  top: -0.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-num > span {
  font-family: "Druk Text Web";
  margin-top: -0.2em;
}
@media (min-width: 600px) {
  .section-num {
    --num-color: var(--c-blue);
    --num-bg-color: var(--c-white);
    font-size: 0.7em;
    z-index: 5;
    left: -3.5em;
    top: -0.3em;
  }
}
@media (min-width: 900px) {
  .section-num {
    font-size: 0.9em;
    z-index: 5;
    top: -0.4em;
  }
}

.section__hero {
  position: relative;
  overflow: hidden;
  margin: 0 var(--margin-right-neg) 0 var(--margin-neg);
  height: calc( 8rem + 4vh );
  min-height: var(--hero-height);
  transition: height var(--a-dur) ease;
}
.section__hero img {
  flex: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section__hero::before, .section__hero::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  mix-blend-mode: multiply;
  transition: opacity var(--a-dur) ease;
}
.section__hero::before {
  opacity: 0;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 12%, rgba(0, 0, 0, 0) 25%), linear-gradient(186deg, #00669b 33%, #006688 50%, #002531 85%);
}
.section__hero::after {
  opacity: 1;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 8%, rgba(0, 0, 0, 0) 25%), linear-gradient(186deg, rgba(0, 175, 235, 0) 30%, rgba(0, 175, 235, 0.3) 40%, rgba(0, 60, 80, 0.6) 54%, rgba(0, 50, 67, 0.9) 70%, #002531 90%);
}

.section--collapsed {
  --hero-height: var(--hero-collapsed-height);
  cursor: pointer;
}
.section--collapsed .section-body {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.section--collapsed .section-title {
  align-items: center;
}
.section--collapsed .section__hero::before {
  opacity: 0.9;
}
.section--collapsed .section__hero:hover::before {
  opacity: 0.65;
}
.section--collapsed .section__hero::after {
  opacity: 0;
}

.lesson-downloads__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.lesson-downloads__list li {
  margin-right: 0.75rem;
}
