/**
 * @file
 * Styles are organized using the SMACSS technique. @see http://smacss.com/book/
 *
 * When you turn on CSS aggregation at admin/config/development/performance, all
 * of these @include files will be combined into a single file.
 */

/* HTML element (SMACSS base) rules */
@import "normalize.css";

/* Layout rules */
@import "layouts/responsive.css";

/* Component (SMACSS module) rules */
@import "components/misc.css";
/* Optionally, add your own components here. */
@import "print.css";

/* SMACSS theme rules */
/* @import "theme-A.css"; */
/* @import "theme-B.css"; */

/*========================================
=            Start Custom CSS            =
========================================*/
/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Inconsolata|Merriweather:400,700|Open+Sans|Oswald:400,500|Raleway:400,800');

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

body {
  font-family: "Merriweather", serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3f2104;
  background: url('/sites/all/themes/foodforlife/images/background.jpg') top center repeat;
  position: relative;
  -ms-overflow-style: scrollbar;
}

body {
  cursor: url('/sites/all/themes/foodforlife/images/cursor-one.png'),auto;
}

input[list="datalist"],
input[type="button"  ],
input[type="checkbox"],
input[type="radio"   ],
input[type="color"   ],
input[type="range"   ],
input[type="reset"   ],
input[type="file"    ],
input[type="submit"  ],
label:not([for=""]),
a,button,select,keygen {
  cursor: url('/sites/all/themes/foodforlife/images/cursor-one.png'),auto !important;
}

/*----------  Common Tags  ----------*/
h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.7px;
}

h2 {
  font-size: 1.875em;
  line-height: 1.25em;
}

h3 {
  font-size: 1.5em;
}

p {
  margin: 1em 0;
  line-height: 1.5;
  letter-spacing: -0.58px;
}

hr {
  border: 0;
  background: #e8c9a3;
  height: 1px;
  width: 95%;
  margin: 0 auto;
}

a {
  color: inherit;
}

.front a, /* links on homepage */
/*.menu a,*/ /* links in menu */
.sidebar a, /* links in left bar */
header a, /* links in header */
footer a, /* links in footer*/
.breadcrumb a, /* links in breadcrumb */
.view a /* links in views */ {
  text-decoration: none;
}

a:hover,
a:focus {
  color: #a0cd03;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
  background: #ffffff;
  padding: 0.5em 0.75em;
  border: none;
  border-radius: 0;
  -webkit-appearance: none; /* legacy */
}

select {
  padding-top: 0.49em;
  padding-bottom: 0.49em;
  border-radius: 0;
  width: 100%;
  border: none;
}

input:focus,
textarea:focus {
  outline: none;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
  -webkit-box-shadow: inset 0px 0px 2px 1px rgba(239,96,2,1);
  -moz-box-shadow: inset 0px 0px 2px 1px rgba(239,96,2,1);
  box-shadow: inset 0px 0px 2px 1px rgba(239,96,2,1);
}

@media (min-width: 1024px) {
  /* default webform component config */
  input[size="60"],
  textarea[cols="60"] {
    width: 100%;
  }
}

::-webkit-input-placeholder {
  color: #3f2104;
  font-size: 1.025em;
  font-style: italic;
  letter-spacing: 1.4px;
  font-family: "Raleway", sans-serif;
}

::-moz-placeholder {
  color: #3f2104;
  font-size: 1.025em;
  font-style: italic;
  letter-spacing: 1.4px;
  font-family: "Raleway", sans-serif;
}

:-ms-input-placeholder {
  color: #3f2104;
  font-size: 1.025em;
  font-style: italic;
  letter-spacing: 1.4px;
  font-family: "Raleway", sans-serif;
}

.block {
  margin-bottom: 0;
}

/*----------  Buttons  ----------*/
a.btn,
input[type=submit],
button {
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 0;
  padding: 0.5em;
  background: #00c4c9;
  box-shadow: 3px 3px 0px #d5cdc6;
  -webkit-box-shadow: 3px 3px 0px 0px #d5cdc6;
  -moz-box-shadow: 3px 3px 0px 0px #d5cdc6;
  -webkit-appearance: none;
  border-radius: 0;
}

a.btn.orange,
input[type=submit].orange,
button.orange {
  background: #ff6500;
}

a.btn.yellowgreen,
input[type=submit].yelowgreen,
button.yelowgreen {
  background: #dfd500;
}

a.btn.blue,
input[type=submit].blue,
button.blue {
  background: #50a0fa;
}

a.btn.maroon,
input[type=submit].maroon,
button.maroon {
  background: #ad2479;
}

a.btn.pink,
input[type=submit].pink,
button.pink {
  background: #ff0084;
}

@media (min-width: 992px) {
  a.btn,
  input[type=submit],
  button {
    font-size: 1.125em;
    padding: 0.5em;
  }
}

/*----------  Misc.  ----------*/
ul.menu {
  padding: 0;
}

.menu a.active {
  color: inherit;
}

.sidebar .menu a.active {
  color: #a8cd31;
}

.tabs-primary__tab,
.tabs-primary__tab.is-active {
  border-radius: 0;
  text-shadow: none;
  margin: 0 1px;
  background: #ffffff;
}

.tabs-primary__tab.is-active {
  background: #a8cd31;
  font-weight: bold;
}

a.tabs-primary__tab-link,
a.tabs-primary__tab-link.is-active {
  background: none;
  color: #a8cd31;
  border: 0;
}

a.tabs-primary__tab-link.is-active {
  color: #ffffff;
}

.truncate-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.youtube-container--responsive {
  width: 100%;
}

/*==============================
=            Header            =
==============================*/
.header-wrapper {
  background: rgba(255, 255, 255, 0.8);
  -webkit-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 5px 7px 0px rgba(0,0,0,0.1);
  height: 118px;
  overflow: visible;
  z-index: 120;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

@media (max-width: 580px) {
  .header-wrapper {
    height: 70px;
  }
}

#header {
  width: 100%;
  /* so header does not extend full height to contain the logo which is stricking out and block other elements that can't be clicked on */
  height: 100%;
  text-align: right;
}

@media (min-width: 1250px) {
  #header {
    padding-right: 0px;
  }
}

#header #logo {
  float: left;
  width: 35%;
}

@media (min-width: 768px) {
  #header #logo {
    width: 25.5%;
  }
}

.retion-header {
  float: right;
}

#header .block.social-media {
  color: #a8cd31;
  text-align: right;
  font-size: 1.8em;
  margin-top: 12px;
  position: absolute;
  right: 0;
  top: 0;
}

#header .block.social-media > .content > div {
  display: inline-block;
}

#header .block.social-media a {
  margin: 0 0 0 7px;
}

#header .block.social-media a.pro-ph {
  border-right: 1px solid #d0d0d0;
  margin-right: 10px;
}

#header .block.social-media a.pro-ph img {
  max-width: 35px;
  vertical-align: middle;
  margin-right: 13px;
  margin-bottom: 3px;
}

#header .block.social-media a.non-gmo-nsf img {
  max-width: 48px;
  vertical-align: middle;
  margin-bottom: 3px;
}

#header .block-search {
  float: right;
  margin-top: 76px;
  margin-left: 0;
  width: 193px;
  height: 31px;
  position: relative;
}

@media (max-width: 1198px) {
  #header .block-search {
    width: 125px;
  }
}

#header .block-search > .content {
  position: absolute;
  top: 0;
  left: 0;
}

#header .block-search .form-actions {
  display: block;
}

#header .block.pro-ph {
  position: absolute;
  right: 6.4em;
  top: 1em;
}

#header .block.pro-ph img {
  max-width: 4em;
}

@media (max-width: 580px) {
  #header .block.pro-ph {
    right: 2.9em;
    top: 0.3em;
  }

  #header .block.pro-ph img {
    max-width: 2.5em;
  }
}

/*----------  Navigation  ----------*/

.region-navigation {
  position: relative;
  margin-left: 19.6vw;
}

@media (min-width: 1650px) {
  .region-navigation {
    margin-left: 324px;
  }
}

.block.block-superfish {
  font-weight: bold;
}

#block-superfish-1 ul {
  text-align: left;
}

.block.block-superfish .menu a.active {
  color: inherit;
}

/* SuperFish Menu*/
.block.block-superfish a.sf-depth-1.menuparent:after {
  content: "\203a";
  padding-left: 5px;
}

/* Desktop */
@media (min-width: 992px) {
  .block.block-superfish {
    display: inline-block;
    font-size: 0.875em;
    float: none;
    margin: 86px 16px 7px 0;
  }

  #header #block-search-form.block-search {
    float: none;
    display: inline-block !important;
    vertical-align: top;
  }

  .block.block-superfish .sf-menu li.sf-depth-1 {
    margin: 0 7px;
  }

  .block.block-superfish .sf-menu li.sf-depth-1 > a.active,
  .block.block-superfish .sf-menu li.sf-depth-1 > span > a.active {
    color: #ff6500;
  }

  .block.block-superfish li.sfHover:after,
  .block.block-superfish .sf-menu > li:hover:after {
    content: url('/sites/all/themes/foodforlife/images/nav_arrow.png');
    z-index: 500;
    position: relative;
  }

  .block.block-superfish li.sfHover.sf-no-children:after,
  .block.block-superfish .sf-menu > li.sf-no-children:hover:after {
    content: '';
  }

  .block.block-superfish li ul {
    background: rgba(255, 101, 0, 0.92);
    color: #ffffff;
    top: 32px;
    list-style: disc;
    padding: 10px;
    width: 250px;
    left: -50px;
  }

  .block.block-superfish li.sf-depth-2 {
    padding: 0px 15px;
  }

  .block.block-superfish li.column-3 ul {
    left: -320px;
    width: 860px;
    height: 350px;
     /* Updated to fit more list items
    width: 796px;
    height: 330px;
    */
    padding: 17px 0px;
    -moz-column-count: 3;
    -moz-column-gap: 0px;
    -moz-column-fill: balance;
    -webkit-column-count: 3;
    -webkit-column-gap: 0px;
    column-count: 3;
    column-gap: 0px;
  }

  .block.block-superfish li.sf-item-3 ul {
    height: 260px;
  }

  .block.block-superfish li.column-3 li.mid-column {
    border: 1px solid #fe9652;
    border-width: 0 1px;
  }

  .block.block-superfish li.column-3 li.sf-depth-2 {
    padding: 10px 20px 7px 30px;
  }

  .block.block-superfish li.sf-depth-2:before {
    content: url('/sites/all/themes/foodforlife/images/icon_dot.png');
    display: inline-block;
    vertical-align: middle;
    width: 12px;
  }

  .block.block-superfish li.sf-depth-2 a {
    text-transform: uppercase;
    display: inline;
  }

  .block.block-superfish li.icon:before {
    width: 40px;
  }

  .block.block-superfish li.breads:before {
    content: url('/sites/all/themes/foodforlife/images/icon_breads.png');
  }

  .block.block-superfish li.english-muffins:before {
    content: url('/sites/all/themes/foodforlife/images/icon_englishmuffins.png');
  }

  .block.block-superfish li.cereals:before {
    content: url('/sites/all/themes/foodforlife/images/icon_cereals.png');
  }

  .block.block-superfish li.tortillas:before {
    content: url('/sites/all/themes/foodforlife/images/icon_tortilla.png');
  }

  .block.block-superfish li.pocket-breads:before {
    content: url('/sites/all/themes/foodforlife/images/icon_pocketbreads.png');
  }

  .block.block-superfish li.buns:before {
    content: url('/sites/all/themes/foodforlife/images/icon_buns.png');
  }

  .block.block-superfish li.waffles:before {
    content: url('/sites/all/themes/foodforlife/images/icon_waffles.png');
  }

  .block.block-superfish li.pasta:before {
    content: url('/sites/all/themes/foodforlife/images/icon_pasta.png');
  }
}

@media (min-width: 1199px) {
  .block.block-superfish li.column-3 ul {
    left: -220px;
  }

  .block.block-superfish .sf-menu li.sf-depth-1 {
    margin: 0 12px;
  }
}

/* Hamburger Menu */
@media (max-width: 991px) {
  #superfish-toggle {
    position: absolute;
    right: 2em;
    top: 2em;
    cursor: pointer;
    z-index: 501;
  }

  #superfish-toggle .fa {
    font-size: 3em;
    color: #ff6500;
  }

  /* replace with a fa-times icon */
  #superfish-toggle.sf-expanded .fa-bars:before {
    content: "\f00d";
    color: #ffffff;
  }

  .block.block-superfish {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 700px;
    max-width: 75%;
    color: #ffffff;
    background: rgba(255, 101, 0, 0.92);
    padding: 1em;
    z-index: 500;
    font-size: 2em;
    display: none;
    overflow-y: auto;
  }

  .block.block-superfish.mobile-visible {
    display: block;
  }

  .block.block-superfish .sf-menu ul {
    position: relative;
    top: auto !important; /* override SF JS calculation */
    bottom: auto !important;
    width: auto;
  }

  .block.block-superfish .sf-menu ul.sf-hidden {
    display: none;
  }

  .block.block-superfish .sf-menu li {
    float: none;
    display: block;
    border-top: 1px solid #fe9754;
  }

  .block.block-superfish .sf-menu > li.first {
    border-top: 0;
  }

  .block.block-superfish .sf-menu li a {
    padding: 0.75em 1.5em;
    display: block;
  }

  .block.block-superfish .sf-menu li li {
    padding-left: 2em;
  }

  .block.block-superfish .sf-menu li li a {
    background: url('/sites/all/themes/foodforlife/images/icon_dot.png') left center no-repeat;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 580px) {
  #superfish-toggle {
    right: 1em;
    top: 1em;
  }

  #superfish-toggle .fa {
    font-size: 1.5em;
  }

  .block.block-superfish {
    font-size: 1.15em;
    max-width: 90%;
  }
}

/*=====  End of Header  ======*/


/*=================================
=            Highlight            =
=================================*/
.highlighted-wrapper {
  background-position: top center;
  background-size: cover;
}
/*=====  End of Highlight  ======*/


/*==================================
=            Breadcrumb            =
==================================*/
nav.breadcrumb {
  font-family: 'Oswald', sans-serif;
  color: #ff6500;
  letter-spacing: -0.4px;
  margin-bottom: 43px;
}

nav.breadcrumb li:last-child {
  color: #3f2104;
}

.page-views nav.breadcrumb {
  display: none;
}

/*=====  End of Breadcrumb  ======*/


/*==============================
=            Footer            =
==============================*/
.footer-wrapper {
  background: rgba(255, 255, 255, 0.7);
}

#footer {
  padding-left: 0;
  padding-right: 0;
}

#footer .block.social-media {
  background: #a8cd31;
  color: #ffffff;
  text-align: right;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
}

#footer .block.social-media .fa,
#footer .sm-fa-footer a {
  font-size: 2em;
  padding-left: 17px;
}

#footer .block-menu {
  color: #ad2479;
  font-family: 'Open sans', sans-serif;
  font-size: 0.75em;
  padding: 29px 0px 0px;
  margin-bottom: 29px;
  border-top: 1px solid #c8baab;
  background: url('/sites/all/themes/foodforlife/images/logo_clean.png') right bottom no-repeat;
}

#footer .block-menu .content {
  max-width: 1061px;
  margin: 0 auto;
}

#footer .block-menu > ul > li.last {
  padding-bottom: 250px;
}

@media (max-width: 767px) {
  #footer .block.social-media {
    text-align: center;
  }
}



@media (min-width: 992px) {
  #footer .block.social-media .fa {
    font-size: 2.5em;
  }
}

@media (min-width: 1200px) {
  #footer .block-ffl-misc {
    padding-left: 31px;
    padding-right: 31px;
    margin-top: 56px;
  }

  #footer .block.social-media {
    padding-top: 1.15em;
    padding-bottom: 1.05em;
  }

  #footer .block.social-media .fa {
    font-size: 3em;
  }
}
/*=====  End of Footer  ======*/


/*===================================
=            Page Bottom            =
===================================*/
.page-bottom-wrapper {
  background: #ff8400;
  color: #ffffff;
}

.region-bottom {
  padding: 1.7em 0.8em 1.2em;
}
/*=====  End of Page Bottom  ======*/


/*============================
=            Page            =
============================*/



/*=====  End of Page  ======*/


/*=====================================
=            Jingle Player            =
=====================================*/
.mejs__container {
  background: #b0a79b;
}

.mejs__container .mejs__controls {
  background: none;
}

.mejs__container .mejs__controls button {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.mejs__controls .mejs__time-rail .mejs__time-loaded {
  background: #619ffb;
  border-radius: 4px;
}

.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-total {
  background: #676767;
  border-radius: 4px;
}

.mejs__controls .mejs__horizontal-volume-slider .mejs__horizontal-volume-current {
  background: #ffffff;
  border-radius: 4px;
}
/*=====  End of Jingle Player  ======*/


/* account for the admin menu */
.admin-menu .header-wrapper {
  top: 30px;
}

/*=====================================
=        Grain and Seed Guide         =
=====================================*/

.field .field-items .field-item p img {
  margin-left: 10px;
}

.grain-seed-products {
  overflow: hidden;
  display: block;
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
}

.grain-seed-product-header {
  font-family: 'Merriweather', serif;
  text-transform: none;
  letter-spacing: 0px;
  margin-top: 24px;
}

.grain-seed-product-name {
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  line-height: 22px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: "...";
}

.grain-seed-heading {
  font-family: 'Merriweather', serif;
  text-transform: none;
  margin-top: 35px;
  margin-bottom: 18px;
  letter-spacing: 0px;
}

.grain-seed-products-button {
  display: none;
}

/* Remove and grain/seed image heading for accordion view, show button */
.grain-seed-accordion-body .grain-seed-heading {
  display: none;
}

.grain-seed-accordion-body .grain-seed-image {
  display: none;
}

.grain-seed-accordion-body .grain-seed-products-button {
  display: block;
  padding-top: 10px;
}

h3.grain-seed-heading + p {
  letter-spacing: 0.4px;
  font-weight: bold;
}

.grain-seed-menu-overview {
  font-size: 24px;
}

.grain-seed-image {
  height: auto !important;
}

@media (max-width: 992px) {
  .grain-seed-image {
    display: block;
    float: none !important;
    margin-left: 0 !important;
  }
}

/*=====  End of Grain and Seed Guide  ======*/

/* Menu Blink Fix */
#superfish-1 li ul{
  display: none;
}

/*=====================================
=          Product Grid Sort          =
=====================================*/

.product-grid-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1.5em;
  text-transform: uppercase;
  letter-spacing: -1px;
  clear: both;
  margin: 0 0 0.3em 0.3em;
}

.recipe-grid-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 2.15em;
  text-transform: uppercase;
  letter-spacing: -1px;
  clear: both;
  margin: 0 0 0.3em 0.3em;
}

.grain-seed-grid-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 2.15em;
  text-transform: uppercase;
  letter-spacing: -1px;
  clear: both;
  margin: 0 0 0.3em 0.3em;
}

/*#block-views-grain-seed-products-blockk .col-md-4:nth-child(3n+3) + .col-md-4{
  clear: both;
}*/

.product-grid-name {
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
  line-height: 22px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recipe-grid-name {
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.3px;
  line-height: 22px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-read-more .node-readmore {
  display: none;
}

/*=====  End of Product Grid Sort  ======*/

/* START EU COOKIE COMPLIANCE BANNER STYLING */

#sliding-popup .popup-content{
  padding: 2% 0;
}

#sliding-popup .eu-cookie-compliance-default-button,
#sliding-popup .eu-cookie-compliance-hide-button,
#sliding-popup .eu-cookie-compliance-more-button-thank-you,
#sliding-popup .eu-cookie-withdraw-button,
#sliding-popup .eu-cookie-compliance-secondary-button,
.eu-cookie-withdraw-button,
.eu-cookie-compliance-save-preferences-button {
  box-shadow: none;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-family: "Merriweather", serif;
  text-shadow: none;
  background-image: none;
}

#sliding-popup .eu-cookie-compliance-default-button:hover,
#sliding-popup .eu-cookie-compliance-hide-button:hover,
#sliding-popup .eu-cookie-compliance-more-button-thank-you:hover,
#sliding-popup .eu-cookie-withdraw-button:hover,
#sliding-popup .eu-cookie-compliance-secondary-button:hover
{
  background-color: #fff;
  color: #000 !important;
  border: 1px solid #fff;
  background-image: none;
}

#sliding-popup .eu-cookie-compliance-secondary-button{
  padding: 4px 8px;
  border-radius: 6px;
}

#sliding-popup .popup-content #popup-text p#cookie_warning{
  font-size: 16px;
}

/*Stacks the cookie message and button for mobile*/
@media only screen and (max-width: 666px){
  #sliding-popup .popup-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


/* END EU COOKIE COMPLIANCE BANNER STYLING */

/* START TERMS AND CONDITIONS PAGE */

span.terms-underline{
  text-decoration: underline;
}

h1#dmca-policy{
  margin-top: 1.08205em;
}

article.terms-conditions ol{
  list-style-type: lower-alpha;
}

article.terms-conditions li{
  margin-bottom: 0.5em;
}

/* START TERMS AND CONDITIONS PAGE */

/* START PRIVACY POLICY PAGE */

article.privacy-policy h4 > span{
  text-decoration: underline;
}

article.privacy-policy li{
  margin-bottom: 0.5em;
}

/* END PRIVACY POLICY PAGE */

/* START COOKIE POLICY PAGE */

article.cookie-policy table#cookie-policy-info td{
  padding: 4px;
  vertical-align: top;
}

@media only screen and (max-width: 992px){
  
  div#cookie-policy-info-container{
    overflow-x: auto;
  }
}

/* END COOKIE POLICY PAGE */

/* START FOOTER LEFT MAILCHIMP EMAIL SIGNUP */

  div.terms-conditions-signup{
    display: flex;
    margin-top: 5px;
  }

  div.terms-conditions-signup > input{
    margin-top: 5px;
  }

  div.terms-conditions-signup > label{
    padding-left: 5px;
  }

  div.terms-conditions-signup > label > span > a{
    text-decoration: underline;
  }

/* END FOOTER LEFT MAILCHIMP EMAIL SIGNUP */


/* FOOD CATEGORIES RESPONSIVE */


@media (max-width: 100px) {

#block-ffl-products-grid-animated-product-types-block .product-grid-item{
    flex: 100%;

}
 
}

