/*! 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: #636569;
  font-size: 16px;
  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;
}

/* ==========================================================================
   David Youngson Associates
   ========================================================================== */

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

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

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

ul {
  list-style: none;
}

body, input, textarea {
  font-family: brandon-grotesque, sans-serif;
  font-weight: normal;
  font-style: normal;
}

em {
  font-style: italic;
  font-weight: normal;
}

strong {
  font-weight: bold;
}

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

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

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 {
  padding: 0 14px;
  font-size: 16px;
  height: 44px;
  display: block;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
  width: 100%;
  vertical-align: middle;
  background-color: transparent;
  border: none;
}

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

.pure-form .heading {
  margin-bottom: 10px;
}

.pure-form label {
  color: #006e80;
  font-weight: normal;
}

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

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

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

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

.pure-form textarea {
  height: 180px;
}

.pure-form button {
  border: 0;
}

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

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

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

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

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

.container {
  max-width: 1310px; /* 1270 */
  padding: 0 20px;
  margin: 0 auto;
}

.ribbon {
  height: 41px;
  border-bottom: 1px solid #ececec;
}

.ribbon__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #636569;
}

.ribbon__content a {
  color: #636569;
}

.ribbon__content > div {
  display: flex;
  height: 40px;
}

.ribbon__content > div a,
.ribbon__content > div div {
  display: flex;
  align-items: center;
}

.ribbon__content__dya {
  background-color: #fff;
  color: #636569;
  padding-right: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ribbon__content__current {
  background-position: left center;
  background-repeat: no-repeat;
  background-image: url(/img/ribbon-youngson.png);
  background-size: auto 40px;
  padding-left: 64px;
}

.ribbon__content__dya span,
.ribbon__content__dya a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 8px;
}

.ribbon__content__dya a i {
  padding-right: 4px;
  font-size: 20px;
}

.ribbon__content>div a:last-of-type {
  margin-right: 0;
}

.ribbon__content__dya a {
  color: #636569;
}

.ribbon__content__link {
  color: #636569;
}

.ribbon__content__link span {
  display: block;
  border: 1px solid #636569;
  padding: 4px 12px;
  border-radius: 12px;
  transition: all 0.4s;
  background-color: #636569;
  color: #fff;
}

.ribbon__content__link:hover span {
  color: #636569;
  background-color: #fff;
}

.ribbon__content > div:last-of-type {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ribbon__content > div:last-of-type a {
  display: block;
  margin-right: 16px;
}

.ribbon__content > div:last-of-type a:last-of-type {
  
}

.ribbon__content > div:last-of-type div a:last-of-type {
  margin-right: 0;
}

header .container,
.banner .container {
  max-width: 1350px; /* 1310 */
}

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

.header {
  height: 190px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.header__logo img {
  width: 280px;
}

.header a {
  display: block;
}

.header__links {
  width: calc(50% - 140px);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header__links > a {
  display: block;
  margin-right: 16px;
}

.header__links > a img {
  width: auto;
  height: 24px;
}

.header__links > a:last-of-type {
  background-position: left center;
  background-repeat: no-repeat;
  background-image: url(/img/header-email.svg);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 9px 0 8px 40px;
  margin-right: 0;
}

.header__customer {
  background-position: right 1px center;
  background-repeat: no-repeat;
  background-image: url(/img/header-customer.svg);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 41px 6px 0;
}

.header__social {
  width: calc(50% - 140px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.header__social > div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
}

.header__social > div a {
  display: block;
  margin-right: 36px;
}

.header__social > div a:last-of-type {
  margin-right: 0;
}

.header__social > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header__social > ul li {
  margin-right: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header__social > ul li:last-of-type {
  margin-right: 0;
}

.banner {
  background-color: #636569;
  background-position: right -40px bottom;
  background-repeat: no-repeat;
  background-image: url(/img/banner.svg);
  margin-bottom: 40px;
}

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

.banner__images {
  float: left;
  background-color: #fff;
  padding: 0 20px;
  width: 43.51145038167939%; /* 570 */
}

.banner-slider__slide {
  min-height: 616px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner__text {
  float: left;
  width: 56.48854961832062%; /* 740 */
}

.banner__text__content {
  width: 100%;
  min-height: 616px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 20px 0 40px;
}

.banner__text__content h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  font-weight: normal;
  margin: -90px 0 100px;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.buttons .button {
  display: block;
  font-weight: bold;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  padding: 20px 32px;
  margin-right: 32px;
  transition: all 0.5s;
}

.buttons .button:last-of-type {
  margin-right: 0;
}

.buttons .button--white {
  border: 2px solid #fff;
  color: #fff;
}

.buttons .button--white-solid,
.buttons .button:hover {
  border: 2px solid #fff;
  background-color: #fff;
}

.buttons .button:hover {
  color: #636569;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.intro img {
  margin-bottom: 28px;
}

.intro h3 {
  font-size: 1.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.375;
  font-weight: normal;
}

.intro p {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: normal;
  max-width: 600px;
  margin: 0 auto 28px;
}

.intro ul {
  max-width: 800px;
  margin: 0 auto 28px;
  list-style-type: disc;
  list-style-position: inside;
}

.intro ul li {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: normal;
  margin-bottom: 4px;
}

.intro__buttons {
  display: flex;
  justify-content: center;
}

.intro__buttons a {
  display: block;
  background-color: #636569;
  color: #fff;
  padding: 16px 20px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.cols {
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cols__col {
  flex-basis: 46%;
}

.cols__col p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

h3.principal-heading {
  text-align: center;
  margin-bottom: 28px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.principals {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 80px;
}

.principals__principal {
  display: flex;
  flex-direction: column;
  margin-right: 40px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.375;
}

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

.principals__principal strong {
  font-weight: normal;
}

.principals__principal em {
  font-size: 0.75rem;
}

.divisions {
  margin-bottom: 60px;
}

.divisions__header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(/img/newsletter.svg);
}

.divisions__header h1 {
  font-weight: 300;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.divisions__header h1 a {
  text-decoration: underline;
}

.divisions__header img {
  margin: 0 24px;
}

.divisions__header span {
  display: block;
  height: 1px;
  flex-grow: 1;
  padding-top: 48px;
  border-bottom: 1px solid #636569;
}

.divisions__division {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.divisions__division__details {
  background-color: #636569;
  flex-basis: 32.59842519685039%;

}

.divisions__division__details__text {
  padding: 40px;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.divisions__division__details img {
  margin-bottom: 28px;
}

.divisions__division__details p {
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 28px;
  text-transform: uppercase;
  text-align: center;
}

.divisions__division__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-basis: 32.59842519685039%;
  min-height: 480px;
}

.divisions__division__details__text img {
  width: auto;
  height: 120px;
}

.newsletter {
  text-align: center;
  margin-bottom: 60px;
}

.newsletter h3 {
  font-size: 1.375rem;
  text-transform: uppercase;
  font-weight: bold;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(/img/newsletter.svg);
  padding-bottom: 44px;
  margin-bottom: 36px;
  letter-spacing: 0.1em;
}

.newsletter p {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.newsletter .subscribe {
  display: inline-block;
  background-color: #636569;
  color: #fff;
  padding: 16px 20px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.footer__heading {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer__heading img {
  margin: 0 20px;
  height: 50px;
  width: auto;
}

.footer__heading span {
  display: block;
  height: 1px;
  flex-grow: 1;
  padding-top: 25px;
  border-bottom: 1px solid #636569;
}

.footer__logos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer__logos a {
  display: block;
  margin-right: 60px;
}

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

.footer__logos img.fl-1 {
  height: 72px;
}

.footer__logos img.fl-2 {
  height: 64px;
}

.footer__logos img.fl-3 {
  height: 64px;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.footer__social a {
  display: block;
  margin-right: 36px;
}

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

.footer__legal {
  margin-bottom: 60px;
  text-align: center;
}

.footer__legal p {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  line-height: 2;
}

.footer__legal p span {
  padding: 0 4px;
  color: #ccc;
}

.footer__legal p a {
  text-decoration: underline;
  text-decoration-color: #ccc;
}

/* ==========================================================================
   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),
     (-o-min-device-pixel-ratio: 5/4),
     (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: #000 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    -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,
  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;
  }
}
