/*** Food Service Redesign CSS ***/

/* css Variables */
:root {
  /* colors */
  --primary: #4caa47;
  --primaryTint: #8cc63e;
  --secondary: #ffc72c;
  --offwhite: #e6e6e6;
  --mint: #eef7e2;
  --white: #fff;
}

/* General Layouts/Panels */

.fs-panel {
  padding: 4rem 0;
}
.fs-panel .row {
  width: 90%;
}
.fs-panel .row--full {
  width: 100%;
}

.fs-panel--swoosh {
  padding-bottom: 0;
}
.fs-panel--swoosh::after {
  background: url('../img/swoosh.svg') repeat-x center bottom;
  background-size: 100% auto;
  content: '';
  display: block;
  margin-top: 2rem;
  padding-bottom: 5.9375%;
  transform: translateY(1px);
  width: 100%;
}
.fs-panel--swoosh-top {
  padding-top: 0;
}
.fs-panel--swoosh-top::before {
  background: url('../img/swoosh.svg') repeat-x center bottom;
  background-size: 100% auto;
  content: '';
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 5.9375%;
  transform: translateY(-1px) rotate(180deg);
  width: 100%;
}
.fs-panel--swoosh--mint::after {
  background-image: url('../img/swoosh-mint.svg');
}
.fs-panel--green { background-color: var(--primary); color: var(--white); }
.fs-panel--lightGreen { background-color: var(--primaryTint); color: var(--white); }
.fs-panel--offwhite { background-color: var(--offwhite); }
.fs-panel--mint { background-color: var(--mint); }


.fs-panel__intro {
  margin: 0 auto 4rem;
  max-width: 38rem;
  text-align: center;
}

.fs-panel__intro--narrow p {
  margin-left: auto;
  margin-right: auto;
  max-width: 22.75rem;
}

@media (min-width: 768px) {
  .fs-row--narrow {
    max-width: calc(75rem - (2 * 8.3333%));
  }
}

/* Font/styles */
.fs-page h1 {
  line-height: 1.1em;
}

.fs-kicker {
  color: var(--green);
  font-size: 16px !important;
  letter-spacing: 0.075em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.fs-caption {
  display: block;
  font-size: 13px;
  text-transform: none;
  font-weight: 400;
}

.fs-panel--green a,
.fs-panel--lightGreen a {
  color: var(--white);
  text-decoration: underline;
}

.fs-panel--green a:hover,
.fs-panel--green a:focus,
.fs-panel--lightGreen a:hover,
.fs-panel--lightGreen a:focus {
  color: var(--white);
  text-decoration: none;
}

.fs-heading--desktop {display: none;}
@media (min-width: 768px) {
  .fs-heading--desktop {display: block;}
  .fs-heading--mobile {display: none;}
}

/* Components */
/* cards */

.fs-card__wrapper {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  overflow: hidden;
}

.fs-card {
  margin-bottom: 3rem;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.fs-card__image {
  display: block;
  line-height: 0;
  margin: 0 auto 2rem;
}

.fs-card__image img {
  display: block;
  margin: 0 auto;
}

.fs-card__image--circle {
  margin: 0 1rem 2rem;
}

.fs-card__image--circle img {
  border-radius: 50%;
}

.fs-card__body {
  padding: 0 2rem;
  text-align: center;
}

.fs-card__footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
}

/* Sections */

/* Hero */
.fs-hero.fs-panel--swoosh::after {
  display: none;
}

.fs-hero__title {
  margin-bottom: 1.5rem;
}

.fs-hero__content {
  background: var(--white);
  margin-top: 1rem;
  padding: 1.25rem 2.375rem 0;
}

.fs-hero__content__body {
  margin: 0 auto;
  max-width: 400px;
  text-align: center;
}

.fs-hero__content__body .df-button {
  margin: 1rem auto 2rem;
}

.fs-hero__nav {
  background: var(--primary);
  margin: 0 -2.375rem;
  padding: 0.75rem 2.375rem;
  text-align: center;
}
.fs-hero__nav span {
  color: var(--primaryTint);
  display: inline-block;
  padding: 0 0.25rem;
}
.fs-hero__nav span:first-child {
  display: none;
}

.fs-hero__nav__link {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: underline;
  text-transform: uppercase;
}
.fs-hero__nav__link:hover,
.fs-hero__nav__link:focus {
  color: var(--white);
  text-decoration: none;
}

.fs-hero__img-mobile {
  position: relative;
}
.fs-hero__img-mobile::after {
  background: url('../img/swoosh.svg') repeat-x center bottom;
  background-size: 100% auto;
  bottom: -1px;
  content: '';
  display: block;
  left: 0;
  padding-bottom: 5.9375%;
  position: absolute;
  right: 0;
  width: 100%;
  z-index: 1;
}


@media (min-width: 768px) {
  .fs-hero {
    background: var(--background-image) right bottom no-repeat;
    background-size: cover;
  }

  .fs-hero.fs-panel--swoosh::after {
    display: block;
  }

  .fs-hero__img-mobile {
    display: none;
  }

  .fs-hero__content {
    display: inline-block;
    margin: 3rem 0;
  }

  .fs-hero__content__body .df-button {
    margin: 0 auto 1rem;
  }

  .fs-hero__nav {
    margin: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    transform: translateY(50%);
  }
}

/* Section 2: Form */

.fs-form__iframe-wrapper,
.fs-form__iframe-wrapper iframe {
  height: 1050px;
}
.fs-form__iframe-wrapper iframe {
  width: 100%;
}

@media (min-width: 768px) {
  .fs-form h2 {
    text-align: left;
  }
}

@media (min-width: 850px) {
  .fs-form__iframe-wrapper,
  .fs-form__iframe-wrapper iframe {
    height: 720px;
  }
}

/* Section 6: Video */
.fs-panel--video {padding-top: 0;}

.fs-panel--video__media {
  line-height: 0;
}

.fs-panel--video__caption {
  background: var(--mint);
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33em;
  margin: 0 5%;
  padding: 2.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .fs-panel--video__wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .fs-panel--video__media {
    width: calc( 7 / 12 * 100 * 1% );
  }

  .fs-panel--video__caption {
    margin: 0;
    padding: 3.5rem;
    width: calc( 5 / 12 * 100 * 1% );
  }
}

/* Section 7: Testimonial */
.fs-panel--testimonial .row {
  position: relative;
}

.fs-testimonialSlider__arrow {
  background: url('../img/arrow-thin-white.svg') center center no-repeat;
  background-size: 100% auto;
  height: 3rem;
  position: absolute;
  top: calc(22% - 1.5rem);
  width: 1.5rem;
  z-index: 1;
}
.fs-testimonialSlider__arrow--prev {
  left: 0;
  transform: scaleX(-1);
}
.fs-testimonialSlider__arrow--next {
  right: 0;
}

.fs-testimonial__image {
  margin: 0 4rem 2rem;
}

.fs-testimonial__image + .fs-testimonial__quote {
  margin: 0;
}

.fs-testimonial__image img {
  border-radius: 50%;
}

.fs-testimonial__quote {
  color: var(--white);
  margin: 0 4rem;
  padding-top: 5rem;
  position: relative;
  z-index: 2;
}

.fs-testimonial__quote::before,
.fs-testimonial__quote::after {
  color: var(--primary);
  font-size: 150px;
  font-weight: 700;
  position: absolute;
  line-height: 0;
  z-index: -1;
}

.fs-testimonial__quote::before {
  content: '\201c';
  left: 0;
  top: 4rem;
}

.fs-testimonial__quote::after {
  content: '\201d';
  right: 0;
  bottom: 2rem;
}


.fs-testimonial__quote p {
  margin-bottom: 2rem;
}

.fs-testimonial__cite {
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.4375em;
  padding-left: 2rem;
  position: relative;
  text-transform: uppercase;
}

.fs-testimonial__cite::before {
  content: '–';
  left: 0;
  position: absolute;
}

@media (min-width: 768px) {
  .fs-testimonialSlider__arrow {
    top: calc(50% - 1.5rem);
  }

  .fs-testimonial__inner {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 8.3333%;
  }
  
  .fs-testimonial__quote {
    margin-left: calc(1 / 12 * 100 * 1%);
    margin-right: calc(1 / 12 * 100 * 1%);
  }
  
  .fs-testimonial__image {
    margin: 0 3rem 0 0;
    width: calc(50% - 1.5rem);
  }
  
  .fs-testimonial__image + .fs-testimonial__quote {
    flex: 1 1 0;
    flex-basis: calc(50% - 1.5rem);
    margin: 0;
  }
}

/* Section 8: CTA */
.fs-panel--cta__content {
  margin-bottom: 0;
  text-align: center;
}

.fs-panel--cta__content p {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33em;
  margin-bottom: 2rem;
}