/**,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}*/

.contenedor-linea-tiempo {
  font: inherit;
  background:transparent;
  color: #fff !important;
  overflow-x: hidden;
  padding-bottom: 50px;
  --fondo: #C1D3EE;
  --fondo-texto: #4272B8;
}  /* INTRO SECTION*/
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/*.intro {
  background: var(--fondo-texto);
  padding: 20px 0;
}*/

.contenedor-linea-tiempo .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contenedor-linea-tiempo h1 {
  font-size: 2.5rem;
}


/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul {
  background: var(--fondo);
  padding: 50px 0;
}
.timeline ul li p {
  margin-bottom: 2rem;
  color:#fff;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #fff;
  color:#fff;
  letter-spacing: 0.2px;
}

.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: var(--fondo-texto);
}

.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent var(--fondo-texto) transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent var(--fondo-texto);
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.lista-linea-tiempo {
  color: #ffffff;
  font: inherit;
  margin-bottom: 0;
  text-align: inherit;
}

.margen-top {
  margin-top:2rem;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
  transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: #181E40;
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 125px);
    /*font-size: 12px;*/
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent var(--fondo-texto) transparent transparent;
  }
}

@media screen and (min-width: 601px) {
  .timeline ul li div {
    width: 230px;
    /*font-size: 12px;*/
  }
  .timeline ul li:nth-child(even) div {
    left: -270px;
    /*250+45-6*/
  }
}


@media screen and (min-width:756px) {
  .timeline ul li div {
    width: 300px;
  }
  .timeline ul li:nth-child(2n) div {
    left: -339px;
  }
}

@media screen and (min-width:992px) {
  .timeline ul li div {
    width: 400px;
  }
  .timeline ul li:nth-child(2n) div {
    left: -439px;
  }
}

