/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  line-height: 1.15;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 3 */
  -webkit-text-size-adjust: 100%;
  /* 3 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
  /* 1 */
  display: block; }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */ }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

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

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
  outline: 0; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block; }

/**
 * Add the correct display in IE.
 */
template {
  display: none; }

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none; }

h1, h2, h3, h4, .subtitle {
  font-family: sans-serif; }

h1 {
  margin: 0; }

h2, h3 {
  text-align: center; }

h2 {
  margin-top: 0;
  margin-bottom: 0.5em; }

h3 {
  text-transform: lowercase;
  margin-top: 0.2em;
  margin-bottom: 0; }

h4 {
  color: blue;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 0.8em;
  font-weight: normal;
  border-bottom: 1px solid blue;
  text-transform: lowercase;
  font-variant: small-caps; }

.subtitle {
  display: block;
  text-align: center;
  text-transform: lowercase;
  font-variant: small-caps;
  margin-bottom: 1em; }

.text {
  font-size: 1em;
  line-height: 125%;
  font-family: 'Nunito', Avenir, sans-serif;
  letter-spacing: 0.25px;
  font-weight: 300; }
  .text h1, .text h2, .text h3, .text h4, .text h5, .text h6 {
    text-align: center;
    line-height: 1em;
    margin-top: 1em; }
  .text strong {
    font-weight: 400; }
  .text p {
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    margin: 1em auto;
    text-align: justify; }
  .text img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block; }

p.img {
  text-align: center; }

p:last-child {
  margin-bottom: 4em; }

.label {
  font-family: sans-serif;
  font-size: 0.5em;
  text-transform: uppercase; }

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted blue; }

a.accent {
  color: blue;
  border: none; }

a.subtle {
  color: inherit;
  border: none; }

.text {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 1em; }

.inline {
  display: inline;
  margin-left: 1em;
  margin-right: 1em; }

small {
  font-size: 0.8em; }

html {
  height: 100%; }

html {
  box-sizing: border-box;
  font-family: 'Times New Roman', 'Times', serif; }

*, *:before, *:after {
  box-sizing: inherit; }

body {
  font-size: 100%;
  min-height: 100%; }

.border {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 4em solid #fff;
  border-right-width: 2em;
  z-index: 2;
  pointer-events: none; }

.h {
  display: inline-block;
  table-layout: fixed;
  vertical-align: top;
  height: 100%;
  position: relative;
  width: 100%;
  background: #fff; }

.h.small {
  margin-top: 2rem;
  margin-bottom: 8rem;
  overflow: visible; }

@media only screen and (min-width: 680px) {
  .h {
    border-left: 1em solid transparent;
    border-right: 1em solid transparent; }
  .h:first-of-type {
    border-left-width: 0; }
  .h:last-of-type {
    border-right-width: 0; }
  .h.large {
    width: 66%;
    display: inline-table;
    border-collapse: collapse; }
  .h.small {
    width: 34%;
    margin-top: 0;
    margin-bottom: 0;
    overflow-y: auto; } }

.v {
  display: table-row; }

.v.large {
  height: 100%; }

header {
  position: fixed;
  border: 1px solid blue;
  border-right: none;
  padding: 2em;
  left: 2em;
  top: 2em;
  right: 2em;
  bottom: 2em;
  z-index: 3;
  pointer-events: none; }
  header nav, header h1 {
    pointer-events: auto; }
  header h1 {
    position: absolute;
    padding: 0.4em;
    background: #fff;
    left: -1em;
    top: -1em;
    z-index: 99; }
    header h1 a {
      border: none; }
  header h1:hover {
    color: blue; }

nav {
  position: absolute;
  font-size: 0.8em;
  color: blue;
  text-align: center; }

nav.top {
  top: 0;
  left: 0;
  transform: translate(0, -50%);
  width: 100%;
  padding: 0 4em; }

nav.left {
  left: 0;
  top: 0;
  transform: translate(-50%, 0);
  height: 100%;
  padding: 4em 0; }

nav.bottom {
  bottom: 0;
  left: 0;
  transform: translate(0, 50%);
  width: 100%;
  padding: 0 4em; }

nav select {
  margin: 0; }
  @media only screen and (min-width: 680px) {
    nav select {
      display: none; } }

nav ul {
  display: table;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto; }
  nav ul li {
    margin: 0;
    padding: 0; }

header nav ul {
  display: none; }
  @media only screen and (min-width: 680px) {
    header nav ul {
      display: table; } }

nav.horizontal {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible; }

@media only screen and (min-width: 680px) {
  nav.vertical {
    overflow-y: auto; } }

nav.horizontal ul {
  table-layout: fixed;
  width: 100%; }
  nav.horizontal ul li {
    display: table-cell;
    text-align: center;
    padding-right: 1px;
    padding-left: 1px; }

nav.horizontal.fluid ul {
  table-layout: initial; }

nav.vertical ul {
  height: 100%; }
  nav.vertical ul li {
    display: table-row;
    text-align: center; }

nav.vertical select {
  position: absolute;
  top: 50%;
  transform: translate(-50%) rotate(-90deg); }

nav button, nav .button {
  margin: 0;
  padding: 0.32258em 0.625em;
  border: none;
  background: #fff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: italic;
  box-sizing: border-box;
  cursor: pointer;
  border: 1px solid #fff;
  color: inherit;
  text-transform: lowercase;
  display: inline-block;
  white-space: nowrap; }

nav button:hover, nav .button:hover, nav button:active, nav .button:active, nav button.active, nav .button.active {
  border-color: blue;
  text-decoration: none !important; }

nav button:active, nav .button:active, nav button.active, nav .button.active {
  border-width: 2px; }

.inactive {
  color: #000;
  border-color: #000 !important; }
  .inactive nav button {
    color: #000; }
  .inactive nav button:hover, .inactive nav .button:hover, .inactive nav button:active, .inactive nav .button:active {
    border-color: #000;
    border-width: 1px; }
  .inactive nav button.active, .inactive nav .button.active {
    border-color: #000; }

main {
  padding: 4em;
  padding-right: 2em; }

main.page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden; }

.scrollable {
  overflow-y: auto; }

.center-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  transform-style: preserve-3d;
  padding-bottom: 4rem; }

.item {
  display: block;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 1em; }

.ytplayer {
  border: none;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 1em;
  width: 100%;
  height: 100%; }

.divide {
  height: 0.80em;
  border-bottom: 1px solid blue;
  padding-bottom: 1em;
  margin-bottom: 1em; }

.hidden {
  display: none; }

.loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/spinner.gif);
  background-repeat: no-repeat;
  background-position: center center; }

.hide-mobile {
  display: none !important; }

@media only screen and (min-width: 750px) {
  .show-mobile {
    display: none !important; }
  .hide-mobile {
    display: block !important; } }

.grid {
  font-size: 0;
  width: 100%;
  margin: 0 auto; }

.grid .block, .grid .placeholder {
  display: inline-block;
  width: 100px; }

@media only screen and (min-width: 500px) {
  .grid .block, .grid .placeholder {
    width: 110px; } }

@media only screen and (min-width: 1000px) {
  .grid .block, .grid .placeholder {
    width: 120px; } }

@media only screen and (min-width: 1100px) {
  .grid .block, .grid .placeholder {
    width: 130px; } }

@media only screen and (min-width: 1200px) {
  .grid .block, .grid .placeholder {
    width: 150px; } }

@media only screen and (min-width: 1800px) {
  .grid .block, .grid .placeholder {
    width: 160px; } }

@media only screen and (min-width: 1900px) {
  .grid .block, .grid .placeholder {
    width: 175px; } }

@media only screen and (min-width: 2000px) {
  .grid .block, .grid .placeholder {
    width: 180px; } }

@media only screen and (min-width: 2100px) {
  .grid .block, .grid .placeholder {
    width: 190px; } }

@media only screen and (min-width: 2200px) {
  .grid .block, .grid .placeholder {
    width: 200px; } }

.grid .placeholder {
  height: 0;
  margin-top: 0;
  margin-bottom: 0; }

.grid .block img {
  width: 100%;
  height: auto; }

.grid a {
  transition: opacity 0.2s ease; }

.grid a:hover {
  opacity: 0.5; }

.gallery-container h4 {
  margin-top: 1em; }

.gallery-container h4:first-child {
  margin-top: 0; }

.gallery-container img {
  display: block;
  width: 100%;
  height: auto; }

.gallery {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100%;
  height: 50px; }

.gallery img {
  display: inline;
  height: 100%;
  max-height: 100%;
  width: auto;
  margin: 0;
  padding: 0; }

.gallery a {
  border: none; }

.gallery a img {
  border: 1px solid #fff; }

.gallery a img:hover {
  border-color: blue; }

.gallery a.active img {
  border: 2px solid blue;
  border-collapse: separate; }

select {
  margin: 0 auto;
  margin-top: 0.5em;
  margin-bottom: 1em; }

.button {
  text-decoration: none; }

.button:hover {
  text-decoration: underline; }

h2 a:hover:before {
  font-weight: lighter;
  content: 'over '; }

h2 a.active {
  border: none;
  cursor: default; }

h2 a.active:before {
  font-weight: lighter;
  content: 'over '; }

a.grow:hover {
  display: inline-block;
  transform: scale(1.2, 1.2); }

.overlay {
  background: #000;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  color: #fff; }

.loading.full {
  width: 100%;
  height: 100%;
  z-index: 9999;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }
  .loading.full .overlay {
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.8;
    z-index: 1; }

.loading.under {
  height: 25vh;
  position: relative; }

.loading.under:after {
  content: ""; }

.spinner {
  height: 5em;
  width: 5em;
  border: 2px solid blue;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; }

/*.spinner > div {
    background-color: $accent;
    //border: 1px solid $accent;
    height: 50%;
    margin-top: 25%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}*/
.spinner .rect2 {
  animation-delay: -1.1s; }

.spinner .rect3 {
  animation-delay: -1.0s; }

.spinner .rect4 {
  animation-delay: -0.9s; }

.spinner .rect5 {
  animation-delay: -0.8s; }

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4); }
  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1); } }

.spinner2 {
  height: 1em;
  width: 1em;
  animation: rotate 0.8s infinite linear;
  border: 1px solid blue;
  border-right-color: transparent;
  border-radius: 50%;
  z-index: 4;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); }

@keyframes rotate {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.fade {
  transition: opacity 500ms ease-in-out; }
