/*!*************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../node_modules/postcss-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js!./pages/recipe/ingredients.scss ***!
  \*************************************************************************************************************************************************************************************************/
/** GLOBALS **/
/************
/** VARIABLES
/****************************************/
/*
$grids: (
    'default': $mobile_base,
    'switches': (
        $mobile_switch: $mobile_base,
        $tablet_switch: $tablet_base,
        $max_switch: $max_base
    ),
    'definitions': (
        $mobile_base: (
            'columns': 8,
            'column': 44,
            'gutter': 14,
            'fix': false
        ),
        $tablet_base: (
            'columns': 12,
            'column': 56,
            'gutter': 22,
            'fix': false
        ),
        $max_base: (
            'columns': 12,
            'column': 139,
            'gutter': 54,
            'fix': true
        )
    )
);
*/
/* EASING */
/* Font settings */
/************
/** COLOR VARIABLES
/****************************************/
/* **************************** */
/* Pimcore-editmode used colors */
/* **************************** */
/* **************************** */
/************
/** DEFINITION OF OWN MIXINS
/****************************************/
.recipe-ingredients__list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* stylelint-disable */
.recipe-ingredient {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
}

.recipe-ingredient__name {
  width: calc(100% - 112px);
  flex-shrink: 0;
  flex-grow: 0;
  word-break: break-word;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredient__name {
    width: calc(100% - 138px);
  }
}

.recipe-ingredient__amount-group {
  flex-grow: 1;
  padding-right: 10px;
}

.recipe-ingredients {
  background-color: var(--recipe-ingredients-background-color, white);
  box-shadow: var(--box-shadow-l);
  border-radius: var(--border-radius-l);
  display: flex;
  flex-direction: column;
  position: relative;
}
@media only screen and (min-width: 1024px) {
  .recipe-detail__ingredients--sticky .recipe-ingredients {
    max-height: calc(100vh - 24px - var(--siteheader-height-meta));
  }
  .recipe-detail__ingredients--sticky .recipe-ingredients::after {
    border-radius: 0 0 var(--border-radius-l) var(--border-radius-l);
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background-image: linear-gradient(to top, var(--recipe-ingredients-background-color) 10px, color-mix(in srgb, var(--recipe-ingredients-background-color), transparent 100%) 100%);
    pointer-events: none;
    z-index: 1;
  }
}

.recipe-ingredients__header {
  padding: 24px 24px 0;
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredients__header {
    flex-shrink: 0;
    position: relative;
    padding: 24px 32px 0;
  }
  .recipe-ingredients__header::before {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 24px;
    background-image: linear-gradient(to bottom, var(--recipe-ingredients-background-color) 10px, color-mix(in srgb, var(--recipe-ingredients-background-color), transparent 100%) 100%);
    pointer-events: none;
    z-index: 1;
  }
}

.recipe-ingredients__content {
  padding: 24px 24px 32px;
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredients__content {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    position: relative;
    z-index: 0;
    flex-grow: 1;
    padding: 24px 32px;
  }
  .recipe-ingredients__content::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  }
}

.recipe-ingredients__headline {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 400;
  line-height: 120%;
  font-size: 2rem;
  color: var(--recipe-ingredients-headline-color);
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .recipe-ingredients__headline {
    font-size: 2.5rem;
  }
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredients__headline {
    font-size: 3rem;
  }
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredients__headline {
    text-align: left;
  }
}

.recipe-ingredients__subline {
  font-family: "Istok Web", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  display: block;
  color: var(--recipe-ingredients-subline-color);
  margin-top: 6px;
}

.recipe-ingredients__group {
  font-weight: 700;
  margin-bottom: 16px;
}

.recipe-ingredients__list:not(:last-of-type) {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--recipe-ingredients-border-color);
  margin-bottom: 24px;
}

.recipe-ingredients__wrap:not(:last-of-type) {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--recipe-ingredients-border-color);
  margin-bottom: 24px;
}
@media only screen and (min-width: 1024px) {
  .recipe-ingredients__wrap:not(:last-of-type) {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
}

.recipe-ingredients__list-item:not(:first-child) {
  margin-top: 8px;
}
.recipe-ingredients__list-item:not(:last-child) {
  margin-bottom: 8px;
}
