/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */

html {
  color: #111;
  font-size: 1em;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

/*
 * 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;
}

/* ==========================================================================
   c
   ========================================================================== */

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

html {
  color: #fff;
  font-size: 16px;
  background-color: #323e48;
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

body, input, label, button, textarea {
  font-family: '718 Book', sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-family: '718', sans-serif;
  font-weight: 900;
}

em {
  font-style: normal;
  color: #fff;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul {
  list-style: none;
}

.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea,
.pure-form button {
  padding: 0 10px;
  font-size: 14px;
  height: 40px;
  display: block;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  vertical-align: middle;
  color: #111;
}

.pure-form textarea {
  padding: 14px;
}

.pure-form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.pure-form label.required:after {
  content: ' *';
}

.pure-form .notifications {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.pure-form .error-message {
  color: crimson;
}

.pure-form .success-message {
  color: #94c11f;
}

.pure-form textarea {
  height: 120px;
  margin-bottom: 16px;
}

.pure-form button {
  border: 0;
  background-color: #478e98;
  padding: 0 16px;
  height: 40px;
  text-transform: uppercase;
  color: #fff;
}

.pure-form .field {
  margin-bottom: 20px;
}

::-webkit-input-placeholder {
  color: #c0c0c0;
}

::-moz-placeholder {
  color: #c0c0c0;
}

:-ms-input-placeholder {
  color: #c0c0c0;
}

:-moz-placeholder {
  color: #c0c0c0;
}

input#blueSteel {
  display: none;
}

.wrapper {
  max-width: 1800px;
  margin: 0 auto;
}

.container {
  margin: 0 auto;
  max-width: 840px;
  padding: 0 20px;
}

.container:before,
.container:after {
  content: "";
  display: table;
  clear: both;
}

.ribbon {
  background-color: #323e48;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ribbon__opening {
  display: flex;
  justify-content: flex-start;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.ribbon__opening div {
  border-right: 1px solid rgba(255,255,255,.1);
  height: 40px;
  padding: 14px;
}

.ribbon__opening div:last-of-type {
  margin-right: 0;
}

.ribbon__opening em {
  color: #a07353;
}

.ribbon__social {
  display: flex;
}

.ribbon__social a {
  display: block;
  height: 40px;
  width: 41px;
  border-left: 1px solid rgba(255,255,255,.1);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 12px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
}

.ribbon__social a.facebook {
  background-image: url(/img/facebook.png);
}

.ribbon__social a.twitter {
  background-image: url(/img/twitter.png);
}

.downloads {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.downloads a {
  display: block;
  margin-right: 20px;
  background-color: #a07353;
  color: #fff;
  padding: 12px 16px 10px;
  font-size: 14px;
  font-weight: 900;
}

.downloads a:last-of-type {
  margin-right: 0;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  max-height: 900px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/img/header.jpg);
}

.header .logo {
  max-width: 580px;
  padding: 60px 80px 40px;
  background-color: #323e48;
}

.main {
  padding: 60px 0;
  text-align: center;
  background-position: center bottom 40px;
  background-repeat: no-repeat;
  background-image: url(/img/hr.png);
  background-size: 50px auto;
}

.main .heading {
  height: auto;
  width: auto;
  max-width: 600px;
  margin: 0 auto 30px;
}

.body {
  text-transform: uppercase;
}

.body h3 {
  font-weight: 900;
  color: #a07353;
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 20px;
}

.body p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #fff;
}

.block {
  display: flex;
  justify-content: space-between;
}

.block__big-image {
  flex-basis: 68%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.block__image {
  flex-basis: 34%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.block__content {
  flex-basis: 32%;
}

.gallery {
  display: flex;
  justify-content: space-between;
}

.gallery img {
  display: block;
  flex-basis: 20%;
}

footer {
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 40px;
  color: rgba(255,255,255,.5);
  text-align: center;
  letter-spacing: 0.1em;
}

footer .logo {
  display: inline-block;
  height: auto;
  width: auto;
  max-width: 200px;
  margin-bottom: 30px;
}

footer .ribbon__social {
  display: block;
  font-size: 0;
  margin-bottom: 30px;
}

footer .ribbon__social a {
  display: inline-block;
  border: 0;
  background-size: auto 20px;
}

footer span {
  color: rgba(255,255,255,.2);
  padding: 0 5px;
}

.covid-19 {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.5);
  text-align: center;
  margin: 0 auto 20px;
}

.covid-19 h3 {
  font-family: '718 Demi', sans-serif;
  font-weight: 900;
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  color: #a07353;
}

.covid-19 p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.covid-19 p:last-of-type {
  margin-bottom: 0;
}

.covid-19 ul {
  margin-bottom: 16px;
}

.covid-19 ul li {
  font-size: 14px;
  line-height: 1.5;
}

.covid-19 ul li strong {
  font-family: '718 Demi', sans-serif;
  font-weight: 900;
}

.app {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 20px;
}

.app h3 {
  margin-right: 20px;
  font-family: '718 Demi', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
}

.app a {
  display: block;
}

.app a:first-of-type {
  margin-right: 20px;
}

.app a img {
  display: block;
  width: auto;
  height: 44px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.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.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #111 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    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,
  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;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
