/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.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.
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;500&family=Oswald:wght@300;600&display=swap');
@font-face {
    font-family: 'Franchise Bold';
    font-style: normal;
    font-weight: normal;
    src: url('Franchise-Bold-hinted.woff') format('woff');
}
@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-book.woff2') format('woff2'),
         url('fonts/gotham-book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-medium.woff2') format('woff2'),
         url('fonts/gotham-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-mediumitalic.woff2') format('woff2'),
         url('fonts/gotham-mediumitalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-bold.woff2') format('woff2'),
         url('fonts/gotham-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

::-moz-selection {
  background: #fff;
  text-shadow: none;
}

::selection {
  background: #fff;
  text-shadow: none;
}

a:focus {outline:0;}

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

a {
  color: #005b99;
}

p {
    font-size: 1em;
    line-height: 1.5;
    padding: 0.75em 0;
}
strong, b { font-weight: 600; }
.orange { color: #fe9d1f; }
.green { color: #a1e916; }
.purple { color: #c221d0; }

.container {
  max-width: 1440px;
  margin: auto;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.navbar {
    position: relative;
    width: 100%;
    padding-block: 18px 14px;
    background-color: #00519B;
    z-index: 999;
    transition: all .2s;
}
.navbar.transparent { background-color: rgba(0, 81, 155, .85); }
.navbar .container {
  padding-inline: 20px;
}
.nav {
    display: flex;
    justify-content: space-between;
    transition: all .2s;
}

.nav a {
  color:#ffffff;
  font-family: 'gotham', sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: all .2s;
}

.nav a:hover {
    color: #FEBE26;
/*  text-decoration: underline; */
}

.nav-opener {
    position: relative;
    display: inline-block;
    z-index: 9;
    width: 32px;
    height: 28px;
    background: transparent;
    padding: 0;
}

.nav-opener:after,
.nav-opener:before,
.nav-opener span {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition: 0.2s;
    top: 12px;
    left: 0;
}

.nav-opener:after {
    content: '';
    top: auto;
    bottom: 0;
}

.nav-opener:before {
    content: '';
    top: 0;
}

.nav-active .nav-opener::after {
    transform: rotate(45deg) translateX(-11px) translateY(-11px);
    transition: all 0.2s;
    left: 0;
}

.nav-active .nav-opener::before {
    transform: rotate(-45deg) translateX(-6px) translateY(6px);
    transition: all 0.2s;
    left: 0;
}

.nav-active .nav-opener span {
    opacity: 0;
    transition: all 0.2s;
}

.lity-active,
.lity-active body {
    overflow: hidden;
}

.lity-container {
    overflow: auto;
}

.header {
    position: relative;
}
.header .container {
    padding: 0;
}

.slider {
    line-height: 0;
}

.slider .slide > img {
    width: 100%;
}

.slider h1 {
  color: #fff;
  font-size: 6vw;
  position: absolute;
  font-family: 'Franchise Bold';
  text-transform: uppercase;
  line-height: 1;
}

.slider div {
  position: relative;
}

.slick-arrow {
    width: 20px;
    height: 33px;
    z-index: 10;
    transition: all .25s;
}
.slick-arrow::before {
  content:"";
  background: url("../img/slider-arrow.svg") no-repeat;
  background-size: contain;
  display: block;
  width: 18px;
  height: 30px;
}
.slick-prev::before {
  transform: rotate(180deg);
}
.header .slick-next { right: 10px; }
.header .slick-prev { left: 10px; }
section .slick-prev { left: -29px; }
section .slick-next { right: -29px; }

.logo {
  background-color: #005b99;
  width: 17vw;
  position: absolute;
  bottom:0;
  left: 10%;
  height: 10vw;
  max-height: 220px;
  border-radius: 4px;
  min-width: 120px;
  min-height: 68px;
}

.logo::after {
  content: '';
  background: url("../img/MilkCarton.png") no-repeat;
  background-size: contain;
  position: absolute;
  width: 4vw;
  height: 10vw;
  right: -1.5vw;
  top: -1.5vw;
}

.logo img {
  width: 70%;
  display: block;
  margin:  0 auto;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.flex-container,
.columns {
  display: flex;
}

.col {
  padding: 5% 0 4%;
  width: 50%;
}
.col-1, .col-2, .col-3, .col-4, 
.col-5, .col-7, .col-8, .col-9 {
    flex: 0 0 auto;
}
.col p { padding: 0; }


.bio img {
    margin-bottom: 2.5em;
}


/* Video Slider */

.videos .slick-list, .bios .slick-list, .recipes .slick-list {
    margin: 0 -0.75em;
}
.videos .slick-slide, .bios .slick-slide, .recipes .slick-slide {
  margin: 0 0.75em;
}

.slick-dots {
  position: relative;
}
.slick-dots li button:before {
  font-family: 'Franchise Bold'!important;
  font-size: 40px!important;
  color: #005b99!important;
}

.slider.bios a::before {
  background-size: contain;
  width: 50px;
  height: 50px;
  position: absolute;
  top: calc(50% - 25px);
  Left: calc(50% - 25px);
  opacity: 0.6;
  transition: all 100ms ease;
}
.slider.bios a:hover::before {
  transform: scale(1.1);
  opacity: 0.8;
  transition: all 200ms ease;
}

/* Footer */

.footer {
  font-family: arial, sans-serif;
  font-size: 0.75em;
  padding-top: 1em;
  padding-bottom: 2em;
}
.logo-footer {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.logo-footer img {
  max-height: 100px;
  vertical-align: baseline;
  margin: 0 1em;
}
.footer .col {
  padding-bottom:0;
}

.footer .contact p {
  margin: 8px 0 0;
  padding: 0;
  color: #175a95;
  font-size: 12px;
}
.contact img {
  width: 100%;
  max-width: 200px;
  max-height: 120px;
  vertical-align: baseline;
}
.footer span {
  position: absolute;
  bottom: 0;
  left: 5%;
}

@media screen and (min-width: 768px) {
    .container { padding: 0 28px; }
    .navbar {
        position: fixed;
        top: 0;
        padding-block: 26px;
    }
    .navbar .container { padding-inline: 28px; }
    .nav-opener { display: none; }
    .header { padding-top: 66px; }
    .col-4 { width: 37%; }
    .col-8 { width: 63%; padding-left: 1em; }
    .slick-dots { bottom:-3em!important; }

}
@media screen and (min-width: 1024px) {
    .container { padding: 0 40px; }
    .navbar .container { padding-inline: 40px; }
    .slick-arrow,
    .slick-arrow::before {
        width: 24px;
        height: 40px;
    }
    section .slick-prev { left: -30px; }
    section .slick-next { right: -30px; }
    .columns {
        flex-wrap: nowrap;
    }
    .col-1 { width: 8.33333333%; }
    .col-2 { width: 16.66666667%; }
    .col-3 { width: 25%; }
    .col-4 { width: 33.33333%; }
    .col-5 { width: 41.66666667%; }
    .col-7 { width: 58.33333333%; }
    .col-8 { width: 66.66667%; padding-right: 1em; }
    .col-9 { width: 75%; }
}
@media screen and (min-width: 1200px) {
    .container { padding: 0 63px; }
    .navbar .container { padding-inline: 4em; }
    .slick-arrow,
    .slick-arrow::before {
        width: 30px;
        height: 50px;
    }
    .header .slick-next { right: 15px; }
    .header .slick-prev { left: 15px; }
    section .slick-prev { left: -45px; }
    section .slick-next { right: -45px; }
}

@media screen and (max-width: 767px) {

    .navbar .container {
        text-align: right;
    }
    .nav {
        display: none;
        height: 1px;
        top: -90px;
        opacity: 0;
        transition: all .2s;
    }
    .nav-active .nav {
        display: block;
        height: auto;
        top: 0;
        opacity: 1;
        transition: all .2s;
    }
    .nav a {
        display: block;
        font-size: 1.15em;
        line-height: 1;
        padding: 6px 0;
    }
  
}

@media screen and (max-width: 560px) {

  .header .slider .slick-arrow {
    visibility: hidden;
  }

  .columns {
    flex-direction: column;
  }

  .contact, .logo-footer {
    width: 100%;
  }
  .footer .contact {
    padding-top: 3em;
  }
  .footer .logo-footer {
    padding-top: 3em;
    padding-bottom: 0;
  }

  .logo-footer img {
    max-height: 80px;
  }

}

.hidden {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

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

.clearfix:after {
  clear: both;
}

@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) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
