/* .page-node-type-story-item #main-content .story-section h3,
.page-node-type-story-item #main-content .story-section h2 {
  margin-bottom: 1.75rem;
} */

.page-node-type-story-item #header {
  position: absolute;
  left: var(--gin-toolbar-x-offset, 0);
  background-color: #ffffff !important;
  padding: 0;
  border-bottom: 1px solid #ebebeb;
}

.page-node-type-story-item #header.active {
  position: fixed;
}
body.page-node-type-story-item header {
  background: transparent;
}
body.page-node-type-story-item:not(.user-logged-in)
  header
  .menu-wrapper
  .main-menu
  > .submenu-wrapper
  > ul.menu.expanded-menu-parent
  > li
  > .submenu-wrapper {
  width: 100vw;
  left: 0;
  right: 0;
  position: absolute;
  margin: auto;
}
body.page-node-type-story-item.user-logged-in
  header
  .menu-wrapper
  .main-menu
  > .submenu-wrapper
  > ul.menu.expanded-menu-parent
  > li
  > .submenu-wrapper {
  right: 0;
  /*left: -205px;*/
  left: 0;
  margin: auto;
  position: absolute;
}

#story-title-area:not(.banner-hidden) {
  display: flex;
  flex-direction: column;
  height: calc(var(--doc-height) - 72px);
}

#story-title-area {
  padding-top: 72px;
}

#story-title-area.banner-hidden + #story-content {
  border-top: 1px solid #ebebeb;
}

#story-title-image {
  height: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
}

#story-background img {
  height: 100%;
  object-fit: cover;
  width: 100vw;
  display: block;
  transform: translate(0px, 0px) !important;
}

#story-background {
  width: 100%;
  /*  position: absolute;
    top: 0;
    left: 0;
    height: 100%;*/
}

#story-content .section-full.section-back-top .section-small .back-top {
  margin: 20px;
}
#story-content .section-full.section-back-top .section-small {
  text-align: center;
}

#story-content .section-full.section-back-top {
  width: 100%;
  margin: auto;
  height: auto;
  padding: 50px 0;
}
/* 
alteração pc
#story-g-logo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-mask: url(../images/ico_logoG.svg) no-repeat 50% 50%;
  mask: url(../images/ico_logoG.svg) no-repeat 50% 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
  width: 30vh;
  height: 30vh;
  transform: translateY(70px);
  opacity: 0;
  filter: blur(0px);
} */

#story-title-info {
  height: auto;
  /* min-height: 185px; */
}

#story-title-info {
  /* padding-bottom: 20px; */
  position: relative;
}

#story-title-info-title {
  width: 904px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

/*#story-title-area #story-title-info-title {
  transform: translateY(0);
  opacity: 1;
  transition: all 1.5s ease-in-out;
  transition-delay: 0.3s;
}*/

#story-title-info h1 {
  font-size: 48px;
  line-height: 58px;
  font-family: var(--title-font);
  color: #ffffff;
  padding-bottom: 20px;
}

#story-title-info-intro {
  display: none;
}

.breadcrumb {
  opacity: 0;
  margin-top: 5px;
}

#story-title-area .breadcrumb {
  opacity: 1;
  text-align: center;
  margin-top: 3.25rem;
}

#story-background-video {
  height: 100%;
}

#story-background-video .brightcove_player_item {
  height: 100% !important;
}

.breadcrumb li a {
  color: #fff;
  font-size: 14px;
  font-family: var(--title-font);
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* SCROLL MENU */

#scroll-menu {
  display: none;
  position: fixed;
  top: var(--drupal-displace-offset-top, 0);
  min-height: 60px;
  height: auto;
  z-index: 6;
  width: 100%;
}

#scroll-menu.active {
  display: block;
}

#main-content #scroll-menu ul {
  display: flex;
  width: 100%;
  list-style: none;
  background-color: #fff;
  min-height: 60px;
  height: auto;
  color: #646464;
  border-bottom: 5px solid;
  box-sizing: border-box;
  position: relative;
  padding: 0;
  margin: 0;
}

#scroll-menu ul::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: -5px;
  background-color: #fff;
  opacity: 0.9;
}

#scroll-menu ul li {
  flex: 1;
  text-align: center;
  font-family: var(--title-font);
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  border-left: 2px solid #ededed;
}

#scroll-menu ul li span {
  padding: 15px 15px;
  font-size: var(--font-body-small);
  line-height: var(--line-height-small);
}

#scroll-menu-bar {
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  transition: width 1s ease-in-out;
}

/* SECTIONS */

.story-section.bg-white {
  background-color: transparent;
}

.story-section.bg-black {
  /* color: #ffffff; */
  background-color: var(--grey-extra-light);
}

/*.section-wrapper {
  transform: translateY(100px);
  opacity: 0;
}*/

.section-wrapper {
  opacity: 1;
}

.section-wrapper.small {
  width: 904px;
  margin: auto;
}

.section-wrapper.wide {
  width: 1120px;
  margin: auto;
}

.section-wrapper.full {
  width: 100%;
}

.story-section h1 {
  font-size: 48px;
  line-height: 58px !important;
  font-family: var(--title-font);
}

.story-section h2 {
  font-size: 32px;
  line-height: 43px;
  font-family: var(--title-font);
}

/* .story-section h3 {
  font-size: 20px;
  line-height: 32px;
  font-family: var(--title-font);
} */

#story-title-info #story-title-info-title {
  flex-wrap: wrap;
}

#story-title-info-title #story-title-info-intro {
  width: 100%;
}

/* CONTENT */

.section-wrapper .brightcove_player_wrapper {
  overflow: hidden;
  width: 100%;
  display: inline-block;
}

.story-section .colapse-header {
  display: none;
}

.story-section .field--name-field-ss-component-content .field__label {
  display: none;
}
.section-wrapper.full figure {
  width: 100%;
  /*max-width: 70vw;
  margin: auto;*/
}

.section-wrapper.full figure img,
.section-wrapper.full
  .brightcove_player_wrapper
  .brightcove_player_item.brightcove_player {
  min-width: 100%;
}

.story-section.bg-black .field--name-field-cpp-title {
  color: #000000;
}

@media screen and (max-width: 1119px) {
  #story-title-area {
    padding-top: calc(90px - var(--drupal-displace-offset-top, 0px));
    height: 100%;
  }

  #story-g-logo {
    top: 90px;
  }

  #story-title-info-title {
    width: 100%;
    padding-top: 10px;
    margin-bottom: 1.5rem;
  }

  .story-section .colapse-header {
    display: block;
  }

  .story-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .colapse-header.section {
    display: flex;
    height: auto;
    justify-content: left;
    align-items: center;
    font-size: 28px;
    line-height: 33px !important;
    font-family: var(--title-font);
    font-weight: 400;
    padding: 20px 0;
    cursor: pointer;
    border-bottom: 1px solid #efefef;
    width: 768px;
    margin: auto;
  }

  .story-section.expanded .colapse-header.section {
    border-bottom: 0;
  }

  .story-section.bg-black {
    background-color: #ffffff;
  }

  .story-section.expanded.bg-black {
    background-color: var(--grey-extra-light);
  }

  #story-title-info > .center {
    width: 768px;
    margin: auto;
    padding: 15px 15px;
  }

  .section-wrapper {
    transform: none;
    opacity: 1;
    overflow: hidden;
    height: 0;
  }

  .section-wrapper.active {
    overflow: visible;
    height: auto;
  }

  .section-wrapper.small,
  .section-wrapper.wide {
    width: 768px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .colapse-header.section > span {
    width: 90%;
    padding-left: 2%;
    box-sizing: border-box;
    font-size: 22px;
    line-height: 28px;
    padding-right: 2%;
    font-family: var(--text-font);
  }

  .colapse-header.section > svg {
    width: 25px;
    height: 25px;
  }

  .story-section.expanded .colapse-header > svg {
    transform: rotate(180deg);
  }

  #story-title-area .breadcrumb.mobile {
    margin-top: 2.5rem;
  }

  #story-content .section-wrapper.intro-section {
    overflow: visible;
    height: auto;
    padding-top: 2rem;
  }
}

@media screen and (max-width: 767px) {
  #story-title-info-title > .center {
    width: 320px;
    padding-left: 0;
    padding-right: 0;
  }

  .colapse-header.section {
    width: 320px;
  }

  /*  #main-content #story-title-info-title h1 {
    padding-right: 0;
    line-height: 2.5rem;
    font-size: 2rem;
  }*/

  .section-wrapper.small,
  .section-wrapper.wide {
    width: 90%;
    padding-left: 0;
    padding-right: 0;
    margin: auto;
  }

  .story-section p {
    font-size: 16px;
    line-height: 28px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  #story-title-area {
    padding-top: 90px;
    height: var(--doc-height);
  }
}

@media (max-width: 768px) {
  .page-node-type-story-item
    #block-javali-theme-breadcrumbs
    .breadcrumb
    ol
    li
    a,
  .page-node-type-story-item #block-javali-theme-breadcrumbs .breadcrumb ol li {
    line-height: 20px;
  }
}

@media (min-width: 1119px) {
  .section-wrapper {
    transform: translateY(200px);
    opacity: 0;
  }

  .page-node-type-story-item #story-content {
    margin: 20px 0 20px;
  }
}

/** ALTERAÇÂO PC MENU **/

.page-node-type-story-item header .primary-menu .top-link,
.page-node-type-story-item header .secondary-menu .top-link {
  color: #000000 !important;
}

.page-node-type-story-item
  #wrapper
  header
  .region-header-3
  .search
  .search-toggle:not(.opened) {
  background-image: url(../images/ico_search_black.svg);
}

.page-node-type-story-item
  #wrapper
  header
  .language-switcher
  ul.links
  li.is-active
  a {
  color: black !important;
}

.page-node-type-story-item #wrapper header .language-switcher .expand-icon {
  background-image: url("../images/ico_drop_black.svg");
  /* background-color: black;
  background-image: none;
  -webkit-mask: url(../images/ico_drop.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 3px;
  mask: url(../images/ico_drop.svg);
  mask-repeat: no-repeat;
  mask-position: 0 3px; */
}

/** section **/

#main-content p {
  font-size: var(--font-body-large);
  line-height: var(--line-height-large);
  color: var(--dark-grey);
}

.story-section .section-wrapper.small .parallax-container {
  box-sizing: border-box;
  width: 100%;
}

@media all and (min-width: 1120px) {
  #story-title-area .breadcrumb {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .section-wrapper.small .center {
    width: 904px;
  }

  .story-section
    .section-wrapper.small
    .javali-new-cke-templates[data-number="5"] {
    --elements-width: 160px;
  }

  .story-section .section-wrapper.small .tab-table {
    width: 904px;
  }

  .story-section .section-wrapper.small .tab-tables-title,
  .story-section .section-wrapper.small .tab-tables-subtitle{
    width: 930px;
    margin: auto;
  }

  .story-section .section-wrapper.full .parallax-container {
    width: 100%;
    box-sizing: border-box;
  }
}

.page--taste_wellbeing-market_drivers-sugar_reduction .story-section.bg-black {
  background-color: var(--grey);
}

.page--taste_wellbeing-market_drivers-sugar_reduction
  #main-content
  .story-section.bg-black
  h3 {
  color: var(--color-2) !important;
}

@media screen and (min-width: 1921px) {
  #story-title-area .breadcrumb {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .section-wrapper.wide {
    width: var(--grid-wide);
  }

  .story-section .section-wrapper.small {
    width: 1400px;
  }
}
@media all and (min-width: 3441px) {
  .section-wrapper.small .center {
    width: 1808px;
  }

  .story-section .section-wrapper.small .tab-table {
    width: 1808px;
  }

  .section-wrapper.wide {
    width: var(--grid-4k);
  }

  #story-title-area {
    padding-top: 190px;
  }
  #story-title-info-title {
    width: var(--grid-4k);
    margin-bottom: 6rem;
  }
  #story-title-area .breadcrumb {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  .story-section .section-wrapper.small {
    width: 1896px;
  }
  .page-node-type-story-item #main-content .story-section h3,
  .page-node-type-story-item #main-content .story-section h2 {
    padding-bottom: 2rem;
  }
}

.bg-black table:not(#recaptcha_table) tbody tr td {
  color: black;
}
