.c-main {
  font-family: Roboto !important;
}

.storyItem__title {
  color: #094da5;
  font-family: Lobster !important;
  font-weight: 400;
}

.storyContainer {
  max-width: 1280px !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.storyImage_1882 {
}

.header-history {
  flex-direction: row;
  background-image: url("https://www.galbani.at/wp-content/uploads/2022/03/cover-storia.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 325px;
  width: 100vw;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.datelist {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100vw;
  font-weight: bold;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
}

.datelist a {
  position: relative;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  color: #707070;

  height: 69px;
  width: 70px;
  padding: 0 10px;
  margin: 0 15px;
  font-weight: 500;
  vertical-align: baseline;
  padding: 0 10;
  font-family: "space-grotesk";
}

.header-history.hidden {
  display: none;
}

.datelist.fixed {
  position: fixed;
  margin-top: 70px;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transform: none;
  /* Remove the translateX when fixed */
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(9, 77, 165, 0.2);
}

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

@media (max-width: 768px) {
  .header-history {
    margin-top: 60px !important;
  }
}

.datelist.fixed {
  position: fixed;
  margin-top: 60px;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transform: none;
  background-color: #fff !important;
  box-shadow: 0 4px 20px rgba(9, 77, 165, 0.2);
  z-index: 10;
}

body,
html {
  position: relative;
  width: 100%;
  height: 100%;
}

html {
  font-size: 62.5%;
}

body {
  color: #5c5c5c;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 22px;
  line-height: 2.2rem;
  font-weight: 300;
}

body.customize-support .header--main {
  top: 32px;
}

.noscroll {
  overflow: hidden;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 10px;
}

.center {
  text-align: center;
}

.clearfix:after,
.clearfix:before {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.section--excerpt,
.sidebar {
  text-align: center;
}

.h1,
h1 {
  font-size: 30px;
  font-size: 3rem;
  line-height: 30px;
  line-height: 3rem;
}

.h1,
.h2,
.quiz--form-validation .message,
h1,
h2 {
  color: #094da5;
  font-family: Lobster-Regular, cursive;
  font-weight: 400;
  padding: 0 0 20px;
}

.h2,
.quiz--form-validation .message,
h2 {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 24px;
  line-height: 2.4rem;
}

.h3,
h3,
legend {
  color: #094da5;
  font-family: Lobster-Regular, cursive;
  font-size: 20px;
  font-size: 2rem;
  line-height: 20px;
  line-height: 2rem;
  font-weight: 400;
  padding: 0 0 20px;
}

.h4,
h4 {
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 18px;
  line-height: 1.8rem;
}

.h4,
.h5,
h4,
h5 {
  color: #094da5;
  font-family: Lobster-Regular, cursive;
  font-weight: 400;
  padding: 0 0 15px;
}

.h5,
h5 {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 16px;
  line-height: 1.6rem;
}

.h6,
h6 {
  color: #094da5;
  font-family: Lobster-Regular, cursive;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 14px;
  line-height: 1.4rem;
  font-weight: 400;
}

.h6,
h6,
p {
  padding: 0 0 15px;
}

p {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 20px;
  line-height: 2rem;
}

strong {
  font-weight: 600;
}

i {
  font-style: italic;
}

sup {
  vertical-align: super;
}

sub,
sup {
  font-size: 0.75em;
}

sub {
  vertical-align: sub;
}

ul {
  padding: 10px 0 10px 20px;
  list-style: disc;
}

ul li {
  margin: 0 0 7px;
}

ol {
  padding: 10px 0 10px 20px;
  list-style: decimal;
}

ol li {
  margin: 0 0 7px;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.storyDates {
  height: 69px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(9, 77, 165, 0.2);
  margin-bottom: 40px;
}

.storyDates.header--main.opened,
.storyDates.sticky {
  z-index: 98;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
}

.storyDates__TranslateWrap {
  white-space: nowrap;
  position: absolute;
  left: 50%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.storyDates__link {
  float: left;
  height: 69px;
  width: 70px;
  padding: 0 10px;
  margin: 0 15px;
  font-weight: 700;
  font-size: 18px;
  line-height: 69px;
  color: #094da5;
  text-decoration: none;
}

.storyDates__link.active {
  border-bottom: 5px solid #f49811;
}

.datelist a.active {
  color: #094da4;
  font-size: 30px;
}

.storyContainer {
  position: relative;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
}

.storyItem {
  position: relative;
  display: flex;
  align-items: flex-start;
  /* Alinha o conteúdo ao topo */
  padding: 20px 0;
  text-align: left;
  justify-content: center;
  gap: 30px;
}

.storyItem__title {
  font-size: 45px;
  line-height: 1.2;
}

/* .storyItem__title::before {
    position: absolute;
    content: "\2014";
    left: 0;
    bottom: -15px;
    font-size: 48px;
    color: inherit;
} */

.story__middleLine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  /* Mover a linha para a esquerda */
  width: 3px;
  background: #094da5;
}

.vertical-line {
  position: absolute;
  top: 50px;
  /* Começa logo abaixo da primeira bola */
  bottom: 72px;
  /* Termina um pouco acima da última */
  left: 50%;
  /* Alinha no meio */
  width: 3px;
  background-color: #094da5;
  z-index: 5;
  /* Garante que a linha fique sobre o conteúdo */
  transform: translateX(-12850%);
}

.storyItem__content {
  padding-left: 60px;
  /* Espaço para a linha e número da data */
  white-space: normal;
  /* max-width: 600px; Limita a largura do conteúdo */
}

.storyItem:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f49811;
  border-radius: 50%;
  left: 0;
  /* Ponto à esquerda */
  transform: translateX(-50%);
  top: 0;
}

.storyItem:before {
  display: none;
}

.story__middleLine {
  left: 50%;
}

.storyContainer--mobile .storyItem {
  float: none;
  /* Certifique-se de que o comportamento "mobile" também empilhe verticalmente */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Remover estilo específico para layout em pares */
.storyItem:nth-child(2n):before {
  left: 50%;
  /* Mantém o ícone de linha de tempo centralizado */
  transform: translateX(-50%);
}

.storyItem__title__container {
  width: 100px;
  height: 100px;
  background-color: #fff;
  display: flex;
  border-radius: 50%;
  /* Garante um círculo perfeito */
  align-items: center;
  justify-content: center;
  z-index: 6;
  border: 3px solid #094da4;
  /* Cor da borda */
  box-sizing: border-box;
  /* Inclui padding e borda no tamanho total */
  position: relative;
  top: 0;
  /* Garante que comece alinhado com o topo */
  margin-right: 30px;
  /* Espaço entre a bola e o card */
}

.storyItem__description__container {
  width: 440px;
  flex-shrink: 0;
  padding-top: 22px;
}

.storyItem__description__container_single {
  width: 650px;
  flex-shrink: 0;
  padding-top: 22px;
}

.storyItem__description {
  color: #094da4;
  font-family: "space-grotesk";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
}

.storyItem__title {
  position: relative;
  font-size: 28px;
  line-height: 1.2;
}

/* .storyItem__title:before {
    position: absolute;
    content: "\2014";
    left: 50%;
    bottom: -15px;
    font-size: 48px;
    font-size: 4.8rem;
    line-height: 48px;
    line-height: 4.8rem;
    color: inherit;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%)
} */

.storyItem__content {
  padding-left: 0;
  /* Remove espaço à esquerda */
  white-space: normal;
  display: flex;
  flex-direction: row-reverse;
  gap: 25px;
  width: 710px;
  background-color: #fff;
  border-radius: 10px;
  align-items: flex-start;
  justify-content: center;
}

.storyItem__content img {
  display: block;
  width: fit-content;
  margin-top: 22px;
  margin-bottom: 22px;
}

.storyContainer--mobile {
  padding-top: 20px;
}

.storyContainer--mobile .story__middleLine {
  display: none;
}

.storyContainer--mobile .storyItem {
  float: none;
  width: 100%;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
}

.storyContainer--mobile .storyItem:nth-child(2n) {
  float: none;
}

.storyContainer--mobile .storyItem:nth-child(2) {
  margin-top: 0;
}

.storyContainer--mobile .storyItem:before {
  display: none;
}

/* ## */

@media (max-width: 889px) {
  .storyItem {
    padding-right: 30px;
    padding-left: 30px;
    position: relative;
    padding: 50px 0;
  }

  .storyItem__content {
    flex-direction: column;
    /* Coloca a imagem e o texto em coluna */
    width: 470px;
    position: relative;
    gap: 0px;
    align-items: center;
  }

  .storyItem__content img {
    width: 150px;
    height: auto;
    position: absolute;
    top: -50px;
    left: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .storyItem__description__container {
    padding-top: 150px;
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
  }

  .storyItem__description__container_single {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 22px;
  }

  .vertical-line {
    transform: translateX(-8900%);
  }
}

@media (max-width: 635px) {
  .storyItem__title__container {
    width: 60px;
    height: 60px;
    border: 2px solid #094da4;
    position: relative;
    left: 39px;
    top: 51px;
    z-index: 6;
    /* Garante que fique acima do card */
  }

  .storyItem {
    padding-right: 30px;
    padding-left: 30px;
    position: relative;
    padding: 50px 0;
    gap: 0;
    margin-right: 51px;
  }

  .storyItem__content {
    flex-direction: column;
    width: 270px;
    position: relative;
    gap: 0px;
    align-items: center;
  }

  .storyItem__content img {
    width: 130px;
    height: auto;
    position: absolute;
    top: -50px;
    left: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .storyItem__description__container {
    padding-top: 150px;
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
    text-align: left;
  }

  .storyItem__description__container_single {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 22px;
  }

  .vertical-line {
    transform: translateX(-4600%);
    top: 101px;
    bottom: 312px;
  }

  .storyItem__title {
    font-size: 18px;
  }

  .datelist a.active {
    font-size: 18px;
  }

  .datelist a {
    font-size: 14px;
  }
}

@media (max-width: 416px) {
  .vertical-line {
    transform: translateX(-translateX(-4600%));
  }
}

@media (max-width: 390px) {
  .vertical-line {
    left: 53%;
    transform: translateX(-translateX(-4600%));
  }

  .storyItem__title__container {
    width: 70px;
    height: 60px;
  }
}

@media (max-width: 392px) {
  .vertical-line {
    left: 53%;
    transform: translateX(-translateX(-4600%));
  }

  .storyItem__title__container {
    width: 70px;
    height: 60px;
  }
}

@media (max-width: 375px) {
  .vertical-line {
    left: 55%;
    transform: translateX(-translateX(-4600%));
  }

  .storyItem__title__container {
    width: 70px;
    height: 60px;
  }
}

.banner-historia-mobile {
  display: none;
}

@media (max-width: 768px) {
  .banner-historia-desktop {
    display: none;
  }

  .banner-historia-mobile {
    display: block;
  }
}
