/* Reset CSS */
#quality-nutrition-page {
  font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
}

#quality-nutrition-page a {
  cursor: pointer;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

#quality-nutrition-page div {
  box-sizing: border-box;
}

/* ------ CSS Geral ------ */
.container-quality {
  max-width: 1160px;
  margin: auto;
  display: flex;
}

#quality-nutrition-page h2 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 45px;
  font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
}

#quality-nutrition-page h3 {
  font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 2.25rem;
  line-height: 36px;
}

h3.mt-d-24 {
  margin-top: 24px;
}


h3.mt-d-60 {
  margin-top: 60px;
}

#quality-nutrition-page h4 {
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
}

#quality-nutrition-page p {
  color: #666666;
}

#quality-nutrition-page a:hover {
  opacity: 60%;
  transition: ease;
}

strong {
  color: #000000;
}

.mb-24 {
  margin-bottom: 24px;
}

/* ------ Section 1 ------ */
.image-header {
  background-image: url(https://essentialnutrition-upload-files.s3.amazonaws.com/site-usa/quality/image-header-pagina-qualidade.jpg);
  background-size: cover;
  background-position: center;
  height: 580px;
}

/* ------ Section 2 ------ */
.section-2 {
  padding: 120px 0 104px;
  flex-direction: column;
}

.section-2>div {
  display: flex;
}

.section-2>div>div {
  width: 50%;
}

.logo-essentia-group {
  width: 261px;
  margin-bottom: 60px;
}

.logo-quality {
  width: 95px;
  margin-bottom: 60px;
}

#quality-nutrition-page .section-2 h2 {
  margin: 0 0 30px;
}

#quality-nutrition-page .section-2 h4 {
  max-width: 435px;
  color: #141414;
}

.section-2 p {
  max-width: 500px;
}

/* ------ Section 3 ------ */
.section-3 {
  background-color: #000000;
}

.section-3.dreams {
  padding-top: 120px;
}

.section-3 img {
  max-width: 405px;
  width: 100%;
  margin-top: 47px;
}

.section-3 iframe {
  width: 100%;
  max-width: 1160px;
  height: 625px;
}

.bottom-section-3 {
  padding-top: 60px;
}

.section-3>div {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
}

#quality-nutrition-page .section-3 h2 {
  max-width: 330px;
  color: #FFFFFF;
}

#quality-nutrition-page .section-3 p {
  max-width: 300px;
  color: #C4C4CB;
  margin: 0;
}

#quality-nutrition-page .section-3 h3 {
  color: #FFFFFF;
  margin-bottom: 30px;
  max-width: 417px;
}

.top-section-3>div {
  width: 50%;
}

.details {
  max-width: 670px;
  width: 100%;
  height: 606px;
  overflow-y: scroll;
  margin: 0 0 120px auto;
}

.details>div {
  display: flex;
}

#quality-nutrition-page .details p {
  max-width: 565px;
}

.icons {
  min-width: 90px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 10px;
}

.icons img {
  max-width: min-content;
}

.section-3 hr {
  margin: 70px 0 40px;
  background: #FFFFFF;
  height: 1px;
  width: 100%;
}

.section-3>.top-section-3 {
  margin-bottom: 60px;
}

/* Remover a barra de rolagem */
.details::-webkit-scrollbar {
  width: 0.5em;
}

.details::-webkit-scrollbar-track {
  background-color: transparent;
}

.details::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.details {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

@supports (-moz-appearance: none) {
  .details {
    overflow: -moz-scrollbars-none;
  }

  .details::-moz-scrollbar {
    display: none;
  }
}

/* ------ Section 4 ------ */
.section-4 {
  background-image: url(https://essentialnutrition-upload-files.s3.amazonaws.com/site-usa/quality/image-background-cacao-and-immuno-whey.jpg);
  background-size: 1920px;
  background-position: center top;
  height: 699px;
  color: #FFFFFF;
  padding: 133px 0 0;
  box-sizing: border-box;
}

#quality-nutrition-page .section-4 h2 {
  margin-bottom: 30px;
}


#quality-nutrition-page .section-4 p {
  color: #EBEBF5;
  max-width: 465px;
}

.list-for-you {
  display: flex;
  margin-top: 55px;
}

.list-for-you>div {
  width: 220px;
  margin-right: 30px;
}

.list-for-you>div:first-child {
  width: 200px;
  margin-right: 30px;
}

.list-for-you ul {
  padding-left: 14px;
}

.list-for-you ul li {
  margin: 12px 0;
}

.images-section-4 img {
  display: block;
  width: 100%;
  display: none;
}

/* ------ Section 5 ------ */
.section-5 {
  background-color: #F9F9F9;
}

.section-5>div {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 0 34px;
  position: relative;
}


#quality-nutrition-page .section-5 p {
  max-width: 365px;
  margin: 30px 0 0px;
  line-height: 22px;
}

.section-5 p.font17 {
  font-size: 17px;
}

/* ------ Slide ------ */


.slide .item {
  background-color: #FFFFFF;
  padding: 44px;
  border-radius: 20px;
  height: 100%;
  /* display: none; */
}


.slide>div a {
  text-decoration: underline;
}

.section-5 img {
  max-width: min-content;
}

#button-previous,
#button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

#button-previous:focus,
#button-next:focus {
  outline: none;
}

#button-previous:active,
#button-next:active {
  box-shadow: none;
}

#button-previous:hover,
#button-next:hover {
  opacity: 0.7;
}

#button-previous {
  left: -62px;
}

#button-next {
  right: -62px;
}

.indicators {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
}

.indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: none;
  border: 2px solid #141414;
  margin: 0 5px;
  cursor: pointer;
}

.indicator.active {
  background-image: radial-gradient(#141414 50%, #F9F9F9 50%);
}

/* ------ Section 6 ------ */
.section-6 {
  flex-direction: column;
  padding: 60px 0 120px;
}

#quality-nutrition-page .section-6 h2 {
  text-align: center;
}

#quality-nutrition-page .section-6 p {
  text-align: center;
  max-width: 610px;
  margin: 30px auto 60px;
}

.container-quality .list-of-partners {
  width: 100%;
  max-width: 866px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.list-of-partners div {
  width: 100%;
  max-width: 278px;
  height: 150px;
  background: #F9F9F9;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-of-partners div img {
  width: min-content;
}

#palatinose {
  margin-top: 10px;
}

#glanbia {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .slide {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease-in-out;
    position: relative;
    margin-top: 63px;
  }

  .slide .owl-stage {
    align-items: stretch;
    display: flex;
    height: 600px;
  }
}

/* ------ Mobile ------ */
@media (max-width: 1300px) {

  .container-quality,
  .section-3>div,
  .section-5>div,
  .container-quality .list-of-partners {
    max-width: 860px;
  }

  .image-header {
    height: 420px;
  }

  .details {
    max-width: 520px;
  }

  .section-3 iframe {
    width: 100%;
    max-width: 860px;
    height: 483px;
  }
}



@media (max-width: 970px) {

  .container-quality,
  .section-3>div,
  .section-5>div,
  .container-quality .list-of-partners {
    max-width: 560px;
    width: 100%;
  }

  /* Section 1 */
  .image-header {
    background-image: url(https://essentialnutrition-upload-files.s3.amazonaws.com/site-usa/quality/image-header-pagina-qualidade-mobile.jpg);
    background-size: cover;
    background-position: center;
    height: 375px;
  }

  /* Section 2 */
  .infos {
    flex-direction: column;
  }

  .section-2>div>div {
    width: 100%;
  }

  #quality-nutrition-page .section-2 h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 20px;
    max-width: 100%;
  }

  #quality-nutrition-page .section-2 p {
    max-width: 100%;
    line-height: 19px;
  }

  .section-3 .details p {
    line-height: 20px;
  }

  /* Section 4 */
  .section-4 {
    background: #000000;
  }

  .section-4>div {
    width: 100%;
    margin: 0 auto;
    max-width: 560px;
  }

  #quality-nutrition-page .section-4 p {
    max-width: 100%;
  }

  /* Section 5 */
  .slide>div {
    width: 100%;
    flex: 0 0 100%;
  }

  /* Section 6 */
  .list-of-partners div {
    max-width: 158px;
    height: 120px;
  }

  .list-of-partners div img {
    max-width: 110px;
  }

  .images-section-4 img.image-tablet {
    display: block;
  }

  .section-3 iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
  }

}

@media (max-width: 667px) {

  .container-quality,
  .section-3>div,
  .section-4>div,
  .section-5>div,
  .container-quality .list-of-partners {
    max-width: 375px;
  }

  .section-2,
  .section-4,
  .section-5>div,
  .section-6 {
    padding: 60px 0;
  }

  .section-3.dreams {
    padding-top: 60px;
  }

  #quality-nutrition-page h2 {
    font-size: 2.25rem;
    line-height: 36px;
  }

  #quality-nutrition-page h3 {
    font-size: 1.875rem;
  }

  .text-essentia-group {
    padding-right: 33px;
  }

  /* Section 2 */
  .section-2 div {
    align-items: center;
  }

  .logo-essentia-group {
    width: 147px;
    margin-bottom: 40px;
  }

  .logo-quality {
    width: 70px;
    margin-bottom: 90px;
  }

  /* Section 3 */

  .section-3 hr {
    margin: 60px 0 40px;
  }

  .section-3 .details {
    margin-bottom: 50px;
  }

  .section-3 img {
    margin-top: 0;
  }

  .top-section-3 {
    flex-direction: column;
    gap: 28px;
  }

  .top-section-3 div {
    width: 100%;
  }

  .bottom-section-3,
  .details>div {
    flex-direction: column;
  }

  .bottom-section-3 h2 {
    margin-bottom: 48px;
  }

  /* Section 4 */
  #quality-nutrition-page .section-4 h2 {
    max-width: 290px;
  }

  .list-for-you {
    flex-direction: column;
    margin-top: 24px;
  }

  .list-for-you ul {
    margin: 0;
  }

  .list-for-you ul li {
    margin: 0 0 12px;
  }

  .section-4 {
    height: auto;
  }

  .images-section-4 img.image-tablet {
    display: none;
  }

  .images-section-4 img.image-mobile {
    display: block;
  }

  .list-for-you>div {
    width: 100%;
  }

  .icons {
    display: block;
    margin-top: 0;
    margin-bottom: 20px;
  }

  /* Section 5 */
  .indicator {
    margin: 0;
  }

  .slide {
    margin-top: 40px;
  }

  .slide .owl-stage {
    align-items: stretch;
    display: flex;
    height: 600px;
  }

  .slide.owl-carousel .owl-stage-outer {
    margin-bottom: 30px;
  }

  .slide.owl-theme .owl-dots .owl-dot {
    outline: none;
    border: none;
    box-shadow: none;
  }

  .slide.owl-theme .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
    margin: 5px 8px;
    background: transparent;
    outline: 1px solid #141414;
    border: 3px solid #fff;
  }

  .slide.owl-theme .owl-dots .owl-dot.active span,
  .slide.owl-theme .owl-dots .owl-dot:hover span {
    background: #141414;
  }

  .slide.owl-carousel .owl-nav button.owl-prev span,
  .slide.owl-carousel .owl-nav button.owl-next span {
    display: none;
  }

  .slide.owl-carousel .owl-nav button.owl-prev {
    background: url(https://essentialnutrition-upload-files.s3.amazonaws.com/site-usa/quality/image-icon-arrow-left.svg) center no-repeat;
    width: 27px;
    height: 20px;
    position: absolute;
    left: 0;
    outline: none;
  }

  .slide.owl-carousel .owl-nav button.owl-next {
    background: url(https://essentialnutrition-upload-files.s3.amazonaws.com/site-usa/quality/image-icon-arrow-right.svg) center no-repeat;
    width: 27px;
    height: 20px;
    position: absolute;
    right: 0;
    outline: none;
  }

  .section-5 p {
    margin-top: 16px;
  }

  .section-2>div,
  .section-3>div,
  .section-3>div,
  .section-4>div,
  .section-5>div,
  .section-6>h2,
  .section-6>p {
    padding-left: 24px;
    padding-right: 24px;
  }

  #quality-nutrition-page .section-6>h2,
  #quality-nutrition-page .section-6>p {
    text-align: left;
  }

  #quality-nutrition-page .section-6 p {
    margin: 20px auto 40px;
  }

  .section-3 iframe {
    width: 100%;
    max-width: 327px;
    height: 183px;
  }

  h3.mt-d-60 {
    margin-top: 16px;
  }

  h3.mt-d-24 {
    max-width: 100%;
    margin-top: 16px;
  }
}