@charset "UTF-8";
/**
 * Bootstrap 5.3 – Variabili SCSS di base
 * @see https://getbootstrap.com/docs/5.3/customize/sass/
 */
/* ----------------------------------------------------------
 * SPACING
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * COLOR SYSTEM
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BACKGROUNDS CUSTOM
 * ---------------------------------------------------------- */
.bg-gradient {
  background-image: linear-gradient(270deg, #57bfe6 0%, #1d71b8 100%) !important;
}

/* ----------------------------------------------------------
 * BODY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * LINK
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BORDER RADIUS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TABS
 * ---------------------------------------------------------- */
/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.block_timeline {
  white-space: nowrap;
  overflow-x: hidden;
}
@media (min-width: 576px) {
  .block_timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

.block_timeline ol {
  font-size: 0;
  width: 100vw;
  padding: 250px 0;
  transition: all 1s;
}

.block_timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 300px;
  height: 2px;
  background: #1d71b8;
}

.block_timeline ol li:last-child {
  width: 500px;
}

.block_timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.block_timeline ol li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #1d71b8;
}

.block_timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 370px;
  padding: 1.5rem;
  white-space: normal;
  color: #333739;
  background: white;
  box-shadow: 9px 10px 17px -7px rgba(0, 0, 0, 0.31);
  -webkit-box-shadow: 9px 10px 17px -7px rgba(0, 0, 0, 0.31);
  -moz-box-shadow: 9px 10px 17px -7px rgba(0, 0, 0, 0.31);
}
.block_timeline ol li div h5 {
  font-size: 1rem;
}
.block_timeline ol li div p {
  font-size: 0.875rem;
}

.block_timeline ol li div::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.block_timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
  border-radius: 0.625rem 0.625rem 0.625rem 0;
}

.block_timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: white transparent transparent transparent;
}

.block_timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
  border-radius: 0 0.625rem 0.625rem 0.625rem;
}

.block_timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent white;
}

.block_timeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.block_timeline .arrows {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.block_timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.block_timeline .disabled {
  opacity: 0.5;
}

.block_timeline .arrows .arrow {
  border: none;
  background-color: #1ba79d;
  border-radius: 50px;
  padding: 8px 24px;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {
  .block_timeline ol,
  .block_timeline ol li,
  .block_timeline ol li:last-child {
    width: auto;
  }
  .block_timeline ol {
    padding: 0;
    transform: none !important;
  }
  .block_timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }
  .block_timeline ol li:first-child {
    margin-top: 25px;
  }
  .block_timeline ol li:not(:first-child) {
    margin-left: auto;
  }
  .block_timeline ol li div {
    border-radius: 0.625rem;
    position: static;
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }
  .block_timeline ol li:nth-child(odd) div {
    transform: none;
  }
  .block_timeline ol li:nth-child(odd) div::before,
  .block_timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid #1d71b8;
    height: 25px;
  }
  .block_timeline ol li:not(:last-child)::after,
  .block_timeline .arrows {
    display: none;
  }
  .block_timeline ol li:last-child div::before {
    display: none;
  }
}