
/*----------------------------------------------------------------------------------- */
/*  Globals */
/*----------------------------------------------------------------------------------- */

:root {
  --light_blue: #7396f7;
  --light_blue_600: #2B60F3;
  --dark_blue: #4C6294;
  --greys_white: #FFFFFF;
  --greys_grey: #999999;
  --light_orange: #FF8100;
  --light_orange_100: #FFDEBE;
  --light_orange_300: #FF9933;
  --cork: #F7F6F2;
  --text_dark: #0F1422;
  
  --base_font: "sharp-grotesk", Trebuchet MS, sans-serif;
  --alt_font: "cambon", Georgia, serif;
}

.hst-container {
  padding: 0 16px;
}

/*----------------------------------------------------------------------------------- */
/*  Hero */
/*----------------------------------------------------------------------------------- */

section.fi-hero {
  margin-bottom: 48px;
}

.fi-hero .fi-hero__wrapper {
  background-image: url('../jpg/az-index-title-image.jpg') !important;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.fi-hero .fi-hero__wrapper .fi-hero__background-overlay {
  background-color: #20293E;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 35%;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents {
  padding: 48px 0;
  text-align: center;
  z-index: 1;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title {
  font-size: 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text__block {
  display: flex;
  flex-direction: column;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text {
  display: block;
  height: 50px;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text span {
  font-family: var(--alt_font);
  font-size: 26px;
  line-height: 130%;
  padding: 8px 16px;
  font-weight: 400;
  display: inline-block;
  background-color: var(--greys_white);
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text__block .fi-hero__text span {
  background-color: var(--light_blue);
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-1 {
  border-radius: 16px 0px 0px 0px;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-2 {
  border-radius: 0px 16px 0px 0px;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-3 {
  border-radius: 0px 0px 0px 16px;
}

.fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__subtitle {
  margin: 0;
  font-size: 14px;
  font-family: var(--base_font);
  padding: 4px 8px;
  background-color: var(--light_orange);
  display: inline-block;
  line-height: 1;
  font-weight: 500;
}

/*----------------------------------------------------------------------------------- */
/*  Intro Text */
/*----------------------------------------------------------------------------------- */

.fi_intro-text {
  margin-bottom: 48px;
}

.fi_intro-text p {
  font-size: 12px;
  line-height: 150%;
  font-family: var(--base_font);
}

.fi_intro-text p strong {
  font-weight: 500;
}

/*----------------------------------------------------------------------------------- */
/*  Main */
/*----------------------------------------------------------------------------------- */

section.fi_main {
  background-color: var(--cork);
  padding: 48px 0;
}

/*----------------------------------------------------------------------------------- */
/*  Buttons */
/*----------------------------------------------------------------------------------- */

.food-index.button-group {
  max-width: 960px;
  margin: 0 auto 14px auto;
}

.food-index .button {
  font-family: var(--base_font);
  font-size: 14px;
  line-height: 150%;
  font-weight: 500;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -o-border-radius: 24px;
  height: 40px;
  padding: 0 24px;
  margin-bottom: 8px;
  margin-right: 2px;
}

.food-index .button:not(.disabled) {
  color: var(--text_dark);
  background-color: var(--greys_white);
  border: 2px solid var(--light_orange);
  cursor: pointer;
  transition: all 0.1s ease-in;
}

.food-index .button:not(.disabled):hover {
  background-color: var(--light_orange_100);
}

.food-index .button:not(.disabled):focus {
  background-color: var(--light_orange_300);
  outline: none;
}

.food-index .button:not(.disabled):focus-visible {
  background-color: var(--light_orange_100);
  outline: 2px solid var(--light_blue_600);
  outline-offset: 2px;
}

.food-index .button.disabled {
  color: #525657;
  background-color: #D6D6D6;
  border: 2px solid #D6D6D6;
}

.food-index .button.disabled:focus {
  outline: none;
}

.food-index .button.show-all-button {
  width: 100%;
  margin-right: 0;
}

/*----------------------------------------------------------------------------------- */
/*  Progress Bars */
/*----------------------------------------------------------------------------------- */

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -3em 0 0 -3em;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 6em;
    height: 6em;
    padding: 0.5em;
}
.loader svg {
    width: 5em;
    height: 5em;
    display: inline-block;
    padding: 0.25em;
    background-color: transparent;
    border-radius: 0.15em;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}
.loader .circle {
    fill: transparent;
    stroke: white;
    stroke-width: 0.75em;
    -webkit-animation: 1.5s fade infinite ease-in;
    animation: 1.5s fade infinite ease-in;
}

/*----------------------------------------------------------------------------------- */
/*  Index Cards */
/*----------------------------------------------------------------------------------- */

.social-wrapper #hidden-items {
    display: none;
}

.social-wrapper #social-container {
    margin: 0 auto;
}

.social-wrapper #social-container .item {  
  width: 100%;
  max-width: 300px;
  margin: 10px;
  border-radius: 32px 0 32px 0;
  background-color: var(--greys_white);
}

.social-wrapper #social-container .item-hidden {
    display: none;
}

.social-wrapper #social-container .social-entry .panel-body {
  padding: 0;
  font-family: var(--base_font);
}

.social-wrapper #social-container .social-entry .panel-body .content-image img {
  width: 100%;
  border-top-left-radius: 32px;
  -moz-border-top-left-radius: 32px;
  -webkit-border-top-left-radius: 32px;
  -o-border-top-left-radius: 32px;
}

.social-wrapper #social-container .social-entry .panel-body .content-text {
  padding: 24px 16px;
}

.social-wrapper #social-container .social-entry h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
  color: var(--dark_blue);
}

.social-wrapper #social-container .social-entry .content {
  margin-top: 0;
  margin-bottom: 16px;
}

.social-wrapper #social-container .social-entry .content span.recommended {
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--greys_grey);
  display: block;
}

.social-wrapper #social-container .social-entry .content a {
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  text-decoration: underline;
  color: var(--text_dark);
}

.social-wrapper #social-container .social-entry p.content-details {
  font-size: 12px;
  color: var(--text_dark);
  line-height: 150%;
  margin: 0;
}

/*----------------------------------------------------------------------------------- */
/*  Media Queries */
/*----------------------------------------------------------------------------------- */

// fix for 320px screen size container

@media (max-width: 330px) {
  .social-wrapper #social-container {
    width: auto !important;
  }
}

@media (min-width: 640px) {
  .hst-container {
    padding: 0 24px;
  }

  section.fi-hero {
    margin-bottom: 64px;
  }
  
  .fi-hero .fi-hero__wrapper .fi-hero__contents {
    padding: 64px 0;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text__block {
    flex-direction: row;
    margin-left: 45px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text {
    height: 55px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text span {
    font-size: 30px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-1 {
    padding-right: 0;
  }
  
  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-2 {
    padding-left: 6px;
    border-radius: 0;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-3 {
    border-radius: 0px 16px 0px 0px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__subtitle {
    font-size: 16px;
  }

  .fi_intro-text {
    margin-bottom: 64px;
  }
  
  .fi_intro-text p {
    font-size: 14px;
  }

  .food-index.button-group {
    margin-bottom: 22px;
  }

  .food-index .button.show-all-button {
    width: 128px;
    margin-right: 2px;
  }
}

@media (min-width: 992px) {
  section.fi-hero {
    margin-bottom: 80px;
  }
  
  .fi-hero .fi-hero__wrapper .fi-hero__contents {
    padding: 80px 0;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text__block {
    margin-left: 80px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text {
    height: 71px;
  }

  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text span {
    font-size: 42px;
  }
  
  .fi-hero .fi-hero__wrapper .fi-hero__contents .fi-hero__title .fi-hero__text .fi-hero__inner-2 {
    padding-left: 6px;
  }

  .fi_intro-text {
    max-width: 830px;
    margin: 0 auto 80px auto;
  }

  .food-index.button-group {
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .hst-container {
    max-width: 960px;
    padding: 0;
    margin: 0 auto;
  }

  .fi_intro-text {
    max-width: 100%;
  }
}

@keyframes fade {
  0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
  100%{
    opacity: 0;
  }
}