/* Base styles */
:root {
  /* colors */
  --palette-white: #ffffff;
  --palette-grey: #7a8e95;
  --palette-black: #22434f;
  --palette-green: #007674;
  --palette-green-dark: #005351;
  --palette-lake: #14778e;
  --palette-sky: #97c7c9;
  --palette-earth: #c08f59;
  --palette-beige: #f9f2e7;
  --palette-yellow: #ffbe40;
  --palette-orange: #f38c19;
  --palette-red: #ff6523;
  --palette-translucent-white: rgba(255, 255, 255, 0.2);
  --palette-translucent-black: rgba(34, 67, 79, 0.1);
  --palette-translucent-green: rgba(0, 118, 116, 0.06);

  /* fonts*/
  --font-primary: "Gotham A", "Gotham B";
  --fs-nav-item: 14px;
  --fs-nav-line-height: 24px;

  /* transitions */
  --transition: 0.2s ease;

  /* shadows */
  --box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.08);
  --box-shadow--light: 0 12px 12px 0 rgba(0, 0, 0, 0.04);
}

* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box;
}

/* helpers */
@media (min-width: 1100px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .hide-mobile {
    display: none !important;
  }
}

/* text styles */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: var(--font-primary);
}

h1 {
  font-size: 64px;
  line-height: 68px;
}

h2 {
  font-size: 44px;
  line-height: 60px;
}

h3 {
  font-size: 32px;
  line-height: 48px;
}

h4 {
  font-size: 24px;
  line-height: 36px;
}

h5 {
  font-size: 20px;
  line-height: 28px;
}

h6 {
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 1px;
}

p {
  font-size: 18px;
  line-height: 32px;
  color: var(--palette-grey);
}

a {
  text-decoration: none;
  color: var(--palette-green);
}


/*
Footer
*/

.footer {
  width: 100%;
  font-family: var(--font-primary);
  background-repeat: no-repeat;
  /* background-image: url(); */
  background-position: top right;
  background-color: #fff;
}

@media (max-width: 1100px) {
  .footer {
    background-image: none;
  }
}

.footer .wrapper {
  padding: 120px 0px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.footer .wrapper section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer .wrapper section:nth-of-type(1) {
  padding-right: 80px;
}

.footer label {
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
}

.footer p {
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: normal;
}

.footer .donation {
  display: flex;
  margin-top: 16px;
  margin-bottom: 60px;
  height: 48px;
  border: 1px solid #e8eced;
  border-radius: 4px;
}

.footer .donation input[type="radio"] {
  position: absolute;
  visibility: hidden;
}

.footer .amount {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e8eced;
  color: var(--palette-green);
}

.footer .amount:last-of-type {
  border-right: none;
}

.footer .amount label {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.footer .donation input[type="radio"]:checked ~ label {
  background-color: #e8eced;
}

.footer .newsletter {
  display: flex;
  flex-direction: column;
}

.footer .newsletter label {
  margin-bottom: 16px;
}

.input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.input-wrap a,
.input-wrap button {
  position: absolute;
  padding-right: 24px;
  padding-left: 24px;
  height: calc(100% - 2px);
  right: 0;
  display: flex;
  align-items: center;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-right: 1px solid #e8eced;
  font-size: 14px;
  font-weight: 500;
  color: var(--palette-green);
  background-color: var(--palette-white);
  min-width: auto;
}

.footer .pages {
  display: flex;
}

.footer .pages-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 2;
}

.footer .page-links {
  display: flex;
  flex-direction: column;
}

.footer .pages-column:last-of-type {
  flex: 1;
}

.footer .pages-column label {
  margin-bottom: 16px;
}

.footer .pages-column img {
  display: none;
}

.footer .pages-column a {
  margin-bottom: 16px;
  color: var(--palette-green);
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.71;
}

.footer .social {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .social-row {
  flex: 4;
  display: flex;
  align-items: center;
}

.footer .social-link {
  margin-right: 16px;
}

.footer .copyright {
  flex: 1;
  font-size: 14px;
  color: var(--palette-grey);
}

/* mobile */

@media (max-width: 1100px) {
  .footer .wrapper {
    padding: 80px 32px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
  }

  .footer .wrapper section:nth-of-type(1) {
    padding-right: 0px;
  }

  .footer .donation {
    margin-bottom: 40px;
  }

  .footer .pages {
    flex-direction: column;
  }

  .footer .pages-column label {
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8eced;
    cursor: pointer;
  }

  .footer .pages-column img {
    display: block;
  }

  .footer .page-links {
    max-height: 0px;
    transition: 0.3s ease-out;
    overflow: hidden;
  }

  .footer .page-links.open {
    max-height: 600px;
  }

  .footer .social-row {
    display: none;
  }
}
/* for story book only */
.swatch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  width: 100%;
  height: 56px;
  border-radius: 4px;
  font-family: sans-serif;
  color: #ffffff;
}

.swatch__border {
  border: 2px solid #f5f5f5;
  color: #ccc;
}

/* color classes */
.color--white {
  background-color: var(--palette-white);
}

.color--grey {
  background-color: var(--palette-grey);
}

.color--black {
  background-color: var(--palette-black);
}

.color--green {
  background-color: var(--palette-green);
}

.color--lake {
  background-color: var(--palette-lake);
}

.color--sky {
  background-color: var(--palette-sky);
}

.color--earth {
  background-color: var(--palette-earth);
}

.color--beige {
  background-color: var(--palette-beige);
}

.color--yellow {
  background-color: var(--palette-yellow);
}

.color--orange {
  background-color: var(--palette-orange);
}

.color--red {
  background-color: var(--palette-red);
}

.color-translucent-white {
  background-color: var(--palette-translucent-white);
}

.color-translucent-black {
  background-color: var(--palette-translucent-black);
}

.color-translucent-green {
  background-color: var(--palette-translucent-green);
}

/* Homepage Hero */
.hero {
  height: 800px;
  width: 100%;
  background-color: #f4f4f4;
  font-family: var(--font-primary);
}

.hero .wrapper {
  max-width: 1022px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  margin-bottom: 60px;
  max-width: 600px;
  font-weight: 400;
  line-height: 1.06;
  color: var(--palette-white);
}

.hero button {
  margin-bottom: 180px;
}

.hero .slide-nav {
  position: absolute;
  bottom: 0;
  display: flex;
}

.hero .slide-rail {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--palette-translucent-white);
}

.hero .slide-nav__item {
  flex: 1;
  height: 100%;
}

.hero .slide-nav__item input[type="radio"] {
  position: absolute;
  visibility: hidden;
}

.hero .slide-nav__item label {
  height: 126px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  border-top: 1px solid transparent;
  color: var(--palette-white);
  transition: var(--transition);
}

.hero .slide-indicator {
  height: 36px;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  color: var(--palette-white);
  border-radius: 100px;
  border: 1px solid var(--palette-translucent-white);
  transition: var(--transition);
}

/* active states */
.hero .slide-nav__item input[type="radio"]:checked + label {
  border-top: 1px solid var(--palette-white);
}

.hero .slide-nav__item input[type="radio"]:checked + label .slide-indicator {
  border: 1px solid var(--palette-white);
}

/* mobile */
@media (max-width: 1100px) {
  .hero {
    height: 667px;
  }

  .hero .wrapper {
    padding: 0 32px;
    justify-content: flex-end;
  }

  .hero .slide-nav {
    display: none;
  }

  .hero h1 {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: normal;
  }

  .hero button {
    margin-bottom: 80px;
  }
}

/* textured BG*/
.texture-bg {
  background-image: url(//cdn.shopify.com/s/files/1/0263/5926/7437/t/14/assets/txtr-light.png?v=15599882012019813443);
  background-size:cover;
}

/* Input fields */
:root {
  --border-radius: 4px;
  --line-height: 1.71;
  --filled-color: #22434f;
  --error-color: #ff6523;
  --active-color: rgba(0, 118, 116, 0.06);
  --border-color: rgba(34, 67, 79, 0.1);
  --border-error-color: rgba(255, 101, 35, 0.2);
  --placeholder-color: #7a8e95;
  --transition: 0.2s ease;
}

/* resets */
input,
textarea,
select {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
  outline: 0;
}

input[type="number"],
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--filled-color);
  line-height: var(--line-height);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: #fff;
}

input[type="number"]::-webkit-input-placeholder,
input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="tel"]-placeholder,
input[type="email"]-placeholder {
  color: var(--placeholder-color);
}

input[type="number"]::-moz-placeholder,
input[type="text"]::-moz-placeholder,
input[type="password"]::-moz-placeholder,
input[type="tel"]-placeholder,
input[type="email"]-placeholder {
  color: var(--placeholder-color);
}

input[type="number"]:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
input[type="tel"]-placeholder,
input[type="email"]-placeholder {
  color: var(--placeholder-color);
}

input[type="number"]:-moz-placeholder,
input[type="text"]:-moz-placeholder,
input[type="password"]:-moz-placeholder,
input[type="tel"]-placeholder,
input[type="email"]-placeholder {
  color: var(--placeholder-color);
}

input[type="number"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.08);
}

input[type="number"]::selection,
input[type="text"]::selection,
input[type="password"]::selection,
input[type="tel"]:selection,
input[type="email"]:selection {
  background-color: var(--active-color);
}

input[type="number"]:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="tel"]:disabled,
input[type="email"]:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

input[type="number"].error,
input[type="text"].error,
input[type="password"].error,
input[type="tel"].error,
input[type="email"].error {
  color: var(--error-color);
  border-color: var(--border-error-color);
}
/*
Nav Component
*/

.nav {
  width: 100%;
  height: 94px;
}

.nav .wrapper {
  height: 100%;
  display: flex;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  background-color: var(--palette-white);
  border-bottom: 1px solid #e8eced;
}

.nav .logo {
  height: 70px;
  margin-right: 42px;
}

.nav .row {
  display: flex;
  align-items: center;
}

.nav .links {
  display: flex;
  align-items: center;
}

.links.end {
  justify-content: flex-end;
}

.nav .links a {
  margin-right: 9px;
  min-width: 113px;
  display: inline-block;
  text-align: center;
  font-size: var(--fs-nav-item);
  line-height: var(--fs-nav-line-height);
  font-family: var(--font-primary);
  color: var(--palette-grey);
  font-weight: 500;
}

.nav .links .input-wrap a {
  min-width: auto;
  z-index: 999;
}

.nav .links .input-wrap a img {
  margin-top: 15px;
}

.links a span {
  padding-right: 8px;
}

.nav .cart-link {
  margin-right: 0px !important;
  min-width: auto !important;
}

.nav .cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  width: 54px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../assets/circle_nav.svg");
}

/* nav child menus */

.nav-menu {
  display: none;
}

.nav-menu-sections {
    display: flex;
    width: 100%;
}

.nav-menu-sections section {
    flex: 1;
    padding-top: 48px;
    padding-bottom: 48px;
}

.nav-menu-sections section.has-see-all {
  padding-bottom: 96px;
}

.nav-menu-sections section.child-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid #e8eced;
    padding-right: 28px;
}

.nav-menu-sections section.featured-links {
    display: flex;
    padding-left: 28px;
}

.nav-menu-sections section.featured-links img {
    border-radius: 4px;
}

.underlay {
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;   
}

.underlay.open {
    display: block;
}

.nav-menu.open {
  position: absolute;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  left: 0;
  top: 94px;
  padding-left: 206px;
  padding-right: 206px;
  background-color: var(--palette-white);
  box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.08);
}

.nav-menu a {
  color: var(--palette-black) !important;
  text-align: left !important;
  margin-bottom: 8px;
}

.nav-menu .see-all {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    margin-bottom: 0px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--palette-white) !important;
    background-color: var(--palette-green);
    cursor: pointer;
    transition: var(--transition);
}

.nav-menu .see-all:hover {
    background-color: var(--palette-green-dark);
}

/* specific nav layout per menu item type */

/* wonder if there is a plugin that 
allows us to add a class name to a nav 
item via the cms? */

.nav-menu.engage,
.nav-menu.support {
}

/* nav mobile */
.nav.mobile {
  height: 64px;
}

.nav.mobile .logo {
  height: 55px;
}

.mobile .menu-icon {
  height: 17px;
}

/* Form Picker */
.picker {
  font-family: var(--font-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 48px 14px 48px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #e8eced;
  transition: var(--transition);
}

.picker:hover {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.08);
}

.picker .selected {
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-black);
}

.picker .selected img {
  margin-left: 12px;
  transform: rotate(180deg);
}

.options {
  width: 100%;
  margin-top: 40px;
}

.options h5 {
  margin: 0px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-grey);
}

.options ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

.options li {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-black);
  cursor: pointer;
}

.picker.closed .options {
  display: none;
}

.picker.closed .selected img {
  margin-left: 12px;
  transform: rotate(0deg);
}

.picker.error {
  border: 1px solid var(--palette-red);
}

.picker.error .selected {
  color: var(--palette-red);
}
/* Radio Button Questions */
.rb-question {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid #e8eced;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-black);
  transition: var(--transition);
}

.rb-question:hover {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.08);
}

.rb-question .prompt {
  display: flex;
  align-items: center;
}

.rb-question input[type="radio"] {
  position: absolute;
  visibility: hidden;
}

.rb-question input[type="radio"] + .prompt label:nth-of-type(1) {
  position: relative;
  height: 18px;
  width: 18px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.rb-question input[type="radio"]:checked + .prompt label:nth-of-type(1) {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: 3px solid var(--palette-green);
}

.rb-question input[type="radio"]:checked + .prompt label:nth-of-type(1):after {
  content: "";
  position: absolute;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: var(--palette-green);
}

.rb-question .title {
  margin-left: 20px;
  cursor: pointer;
}

.rb-question .response {
  margin-top: 12px;
  margin-left: 38px;
  padding-top: 12px;
  border-top: 1px solid #e8eced;
}

.rb-question input[type="radio"] ~ .response {
  display: none;
}

.rb-question input[type="radio"]:checked ~ .response {
  display: block;
}

.rb-question .response.split {
  display: flex !important;
}

.rb-question .response.split input {
  flex: 1;
}

.rb-question .divider {
  margin-right: 20px;
  margin-left: 20px;
  height: 32px;
  width: 1px;
  background-color: var(--palette-translucent-black);
}

.rb-question .response input {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-black);
}

.rb-question .description {
  margin-top: 4px;
  padding-left: 38px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: var(--palette-grey);
}
