/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

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

/* ==========================================================================
   Base styles: opinionated defaults
    color:
      blue: #211747;
      gold: #9f8058;
   ========================================================================== */

html {
  font-size: 14px;
  line-height: 1.4;
}

body {
  font-family: Montserrat,sans-serif;
  color: #211747;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

::selection {
  background: #b3d4fc;
  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;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: 40px;
  line-height: 1em;
}

h2 {
  font-size: 27px;
  line-height: 1.5em;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* general */
.container {
  max-width: 1280px;
  margin: 0 auto;
}

.page-container {
  max-width: 1024px;
  margin: 0 auto;
}

.split-text {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 1fr 2fr;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-areas: "left center right";
  padding: 30px;
}

.split-text .left-content {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: left;
  padding: 0 15px 0 50px;
}

.split-text .divider {
  grid-area: center;
}

.split-text .divider svg {
  fill: #9f8058;
}

.split-text .right-content {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  padding: 40% 50px 0 0;
  grid-area: right;
}

/* Header */
#top-nav {
  background-color: #211747;
  height: 36px;
  font-family: Barlow, sans-serif;
  position: relative;
}

#top-nav ul {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

#top-nav ul a {
  font-weight: bold;
}

/* main menu */
#main-nav {
  position: relative;
}

#main-nav .logo {
  position: absolute;
  left: 0;
  top: 20px;
}

#main-nav .logo img {
  width: 55px;
}

#main-nav ul {
  list-style: none;
  padding-top: 35px;
}

#main-nav ul li {
  display: inline-block;
  margin-right: 60px;
}

#main-nav ul li a {
  display: inline-block;
  color: #211747;
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
  font-size: 17px;
}

#main-nav ul li a:hover {
  font-weight: 700;
}

#main-nav ul li a::after {
  display: block;
  content: attr(title);
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

/* Footer */
.slider-wrapper {
  background-image: url("/img/cannabisBG.png");
}

.slider-wrapper h2 {
  margin: 0;
  font-size: 36px;
  text-align: center;
  text-transform: uppercase;
  padding: 50px 0;
}

.footer-nav-wrapper {
  background-color: #211747;
  padding: 175px 0 50px;
}

.footer-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 50px 3fr 50px 1fr;
  grid-template-columns: auto 3fr 1fr;
  grid-column-gap: 50px;
  grid-template-areas: "footerLogo nav socialIcons" ". legal legal";
}

.footer-nav-wrapper img {
  float: left;
  grid-area: footerLogo;
}

.footer-nav {
  list-style: none;
  grid-area: nav;
  padding-top: 20px;
}

.footer-nav > li {
  display: inline-block;
  margin-right: 35px;
  vertical-align: top;
  margin-bottom: 10px;
}

.footer-nav li a {
  display: block;
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 10px;
}

.footer-nav li .submenu li {
  display: block;
}

.footer-nav li .submenu li a {
  text-transform: capitalize;
  margin-top: 10px;
}

.copyright {
  grid-area: legal;
  color: #fff;
  margin-top: 50px;
}

/* Homepage */
.hero-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-rows: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "heroImage1 logo" "heroImage1 text";
  padding-top: 25px;
}

.hero-wrapper .hero-featured-img {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  grid-area: heroImage1;
  position: relative;
  width: 100%;
  left: 25%;
}

.hero-wrapper .hero-logo {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: logo;
  position: relative;
}

.hero-wrapper .hero-logo img {
  position: absolute;
  bottom: 30px;
  left: -5%;
  width: 40%;
}

.hero-wrapper h1 {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: text;
  color: #9f8058;
  font-size: 72px;
  letter-spacing: 2.5px;
  line-height: 1em;
  text-transform: uppercase;
  margin-top: 0;
}

.product-carousel-wrapper {
  position: relative;
  color: #fff;
  text-align: center;
  padding-bottom: 100px;
  margin-top: 100px;
}

.product-carousel-wrapper::after {
  content: "";
  position: absolute;
  width: 100vw;
  height: 63%;
  left: 50%;
  bottom: 0;
  background-color: #211747;
  z-index: -1;
  transform: translateX(-50%);
}

.product-carousel-wrapper img {
  width: 140px;
}

.product-carousel-wrapper h4 {
  text-transform: uppercase;
  font-size: 35px;
  margin: 20px 0;
}

.product-carousel-wrapper p {
  max-width: 400px;
  margin: 0 auto 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 30px;
}

.product-3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 20px;
}

.product-carousel-wrapper img.can {
  margin-bottom: 25px;
}

.product-carousel-wrapper img.gummy {
  width: auto;
  max-height: 370px;
}

.product-grid .product {
  padding-bottom: 65px;
  position: relative;
}

.product-grid .product .white-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* post */
.post-content {
  padding: 30px 0 75px;
}

.post-content h1 {
  color: #9f8058;
  letter-spacing: 5px;
}

.story-grid-left {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 35px;
  margin-bottom: 35px;
}

.story-grid-text p {
  margin-top: 0;
}

.story-grid-img img {
  width: 100%;
}

.story-grid-right {
  display: grid;
  grid-template-columns: 65% 35%;
  grid-gap: 35px;
  grid-template-areas: "image-left text-right";
}

.story-grid-right .story-grid-text {
  grid-area: text-right;
}

.story-grid-right .story-grid-img {
  grid-area: image-left;
}

.partner-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 35px;
  padding-bottom: 50px;
}

.purple-background {
  position: relative;
  color: #fff;
  padding: 75px 0;
}

.purple-background::before {
  content: "";
  position: absolute;
  background-color: #211747;
  width: 100vw;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: -1;
}

.higher-purpose-wrap .split-text .divider svg {
  fill: #fff;
}

.img-text-box {
  position: relative;
}

.img-text-box img {
  position: absolute;
  left: 0;
  top: 75px;
}

.img-text-content {
  padding-left: 175px;
}

.img-text-content h3 {
  margin-top: 0;
}

/* icon box */
.icon-box-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 35px;
  padding: 75px 0;
}

.icon-box-wrapper h3 {
  font-size: 40px;
  margin: 15px 0;
  text-transform:
}

.icon-box-wrapper img {
  height: 150px;
}

/* team */
.team-wrap h2 {
  color: #9f8058;
}

.team-grid {
  position: relative;
  margin-bottom: 50px;
}

.team-img-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  overflow: hidden;
  width: 120px;
}

.team-img-wrapper img {
  width: 100%;
  height: auto;
}

.team-info {
  padding-left: 150px;
}

/* product page */
#product-container {
  padding: 75px 0;
}

.product-info-grid {
  display: grid;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  grid-template-columns: minmax(100px,150px) 2fr 1fr;
  max-width: 1024px;
  margin: 0 auto 50px;
}

.product-info-grid .product-img {
  padding-right: 20px;
}

.product-info-grid .product-img img {
  width: 100%;
}

.product-info-grid .product-information {
  padding-bottom: 35px;
}

.product-information h1,
.product-information .product-type,
.product-information .product-compounds {
  color: #9f8058;
  margin: 0;
}

.product-type {
  font-weight: 300;
  text-transform: capitalize;
  font-size: 20px;
}

.product-information .product-compounds {
  font-size: 20px;
  margin: 15px 0;
}

.product-info-grid .product-information .product-compounds .slash {
  display: inline-block;
  width: 10px;
  height: 100%;
  margin: 0 20px;
}

.product-info-grid .product-information .product-compounds .slash svg {
  width: 100%;
  height: auto;
}

.product-data {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(175px,auto));
  grid-template-columns: 1fr;
  grid-gap: 35px;
  padding-top: 40px;
}

.product-data h3 {
  margin: 0;
}

.product-experience {
  display: none;
}

.content-table {

}

.content-table.experience-table li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-column-gap: 10px;
}

.content-table li {
  text-transform: uppercase;
  padding: 5px 0;
  border-top: solid 1px #330071;
}

.content-table li:first-child {
  border-top: none;
}

.content-table.experience-table li .exp-index {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-column-gap: 5px;
}

.content-table.experience-table li .exp-index i {
  display: block;
  -ms-grid-column-align: end;
  justify-self: end;
  width: 20px;
  height: 20px;
  border: 1px solid #330071;
  border-radius: 50%;
  position: relative;
}

.content-table.experience-table li .exp-index i.filled {
    background: #211747;
}

.content-table.experience-table li .exp-index i.half::before {
  content: "";
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

.product-info-grid .content-table li {
  position: relative;
}

.product-info-grid .content-table li .right-align {
  position: absolute;
  right: 0;
  text-transform: lowercase;
}

.product-info-grid .product-nutrition ul.nested-nutrition li:first-child span:first-child {
  font-weight: 700;
  cursor: pointer;
}

.two-column-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  grid-column-gap: 35px;
}

/* Press page */
.press-page .intro {
  margin-bottom: 75px;
}

.press-page .media {
  margin: 75px 0;
}

.brand-assets {
  position: relative;
}

.brand-assets p {
  max-width: 75%;
}

.brand-assets a.btn {
  margin-top: 30px;
}

.press-page a.btn {
  text-decoration: none;
  text-align: center;
  color: #211747;
  font-size: 24px;
  display: block;
  background-color: #fff;
  padding: 15px;
  /* position: absolute;
  right: 0;
  top: 0; */
  width: 200px;
}

.press-page a.btn:hover {
  font-weight: bold;
}

.press-page .contact {
  position: relative;
}

.press-page .contact h2 {
  font-weight: lighter;
}

.press-page .contact a.btn {
  background-color: #211747;
  color: #fff;
}

.media a {
  display: inline-block;
  color: #211747;
  border-bottom: dotted 1px #211747;
}

.media a:hover {
  border-bottom-style: solid;
}

.video-embed {
  position: relative;;
  max-width: 100%;
  padding-top: 56.25%;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* age-gate */
.age-gate-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,.8);
  z-index: 9999;
  /* display: none; */
}

.age-gate-wrapper .age-gate-container {
  width: 300px;
  margin: 0 auto;
  background: #c8c9c7;
  padding: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.age-gate-wrapper .age-gate-container img {
  display: block;
  width: 50%;
  margin: 0 auto 30px;
}

.age-gate-wrapper .age-gate-select {
  display: block;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);
  padding: 8px;
  line-height: 1.25;
  border-radius: 5px;
  border: 1px solid #c8c9c7;
  appearance: none;
  margin-bottom: 30px;
}

.age-gate-wrapper .age-input {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-column-gap: 5%;
}

#remember {
  margin: -30px 30px 30px 0;
}

.age-gate-wrapper .age-submit button {
  padding: 15px 25px;
  background-color: #9f8058;
  color: #fff;
  display: block;
  margin: 0 auto;
  border: none;
  cursor: pointer;
}

.age-gate-wrapper .age-gate-select.alert {
  border-color: #211747;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

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

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  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: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/*  */
.white-btn {
  display: block;
  text-transform: uppercase;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 10px;
  width: 200px;
  margin: 0 auto 10px;
  text-transform: uppercase;
  font-size: 1.1em;
}

.font-bold {
  font-weight: 700;
}

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

@media only screen and (max-width: 768px) {
  /* Style adjustments for viewports that meet the condition */
  .container,
  .page-container {
    width: 90%;;
  }

  #main-nav ul {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0;
    width: 100%;
    position: relative;
    top: 75px;
    border-top: solid 1px #211747;
    border-bottom: solid 1px #211747;
  }

  #main-nav ul li {
    margin-right: 0;
    line-height: 1em;
  }

  #main-nav ul li:last-child {
    text-align: left;
  }

  .hero-logo {
    display: none;
  }

  .hero-wrapper {
    display: block;
    left: 0;
    margin-top: 125px;
  }

  .hero-wrapper .hero-featured-img {
    left: 0;
  }

  .hero-wrapper h1 {
    font-size: 40px;
    padding: 0 30px;
  }

  .split-text {
    display: block;
  }

  .split-text .divider {
    display: none;
  }

  .split-text .left-content,
  .split-text .right-content {
    padding: 0;
  }

  .product-carousel-wrapper p {
    width: auto;
  }

  .footer-grid {
    display: block;
  }

  .footer-nav-wrapper {
    padding-top: 50px;
  }

  .footer-grid img {
    display: block;
    float: none;
  }

  .footer-nav > li {
    display: block;
    margin-bottom: 30px;
  }

  .post-content {
    margin-top: 75px
  }

  .story-grid-left,
  .story-grid-right {
    display: block;
  }

  .partner-wrap {
    display: block;
  }

  .icon-box-wrapper {
    display: block;
  }

  .icon-box {
    margin: 30px 0;
  }

  .team-info {
    padding-left: 0;
  }

  .team-info h3 {
    padding-left: 150px;
    height: 120px;
    position: relative;
  }

  .team-info h3 span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .img-text-content {
    padding-left: 0;
  }

  .img-text-box img {
    width: 45px;
  }

  .post-content .img-text-box h3 {
    padding-left: 65px;
  }

  .product-info-grid {
    grid-column-gap: 10px;
    grid-row-gap: 20px;
    grid-template-columns: 1fr;
    grid-template-areas: "image" "info" "data";
  }

  .product-info-grid .product-img{
    margin: 30px auto;
    width: 50%;
  }

  .content-table {
    width: 100%;
  }

  .brand-assets p {
    max-width: 100%;
  }

  .brand-assets a {
    position: relative;
  }

  .product-grid, .product-3-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
  }

  .product-carousel-wrapper p {
    width: 100%;
  }

  .product-carousel-wrapper {
    padding-top: 50px;
  }

  .product-carousel-wrapper::after {
    height: 100%;
    top: 0;
  }

  .product-info-grid .product-information {
    padding-bottom: 0;
  }

  .product-data {
    padding-top: 0;
  }
}

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

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

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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 {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

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

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