/* 

Si cambia el número de elementos hay que ajustar los valores porque se calculan con formulas
https://codepen.io/cjl750/pen/mXbMyo

$numDots: 5
$parentWidthBase: 0.8
$parentWidth: $parentWidthBase * 100vw
$parentMaxWidth: 1000px
$dotWidth: 25px
$dotWidthSm: 17px
$active: #2C3E50
$inactive: #AEB6BF



h1 {
  text-align: center;
  height: 38px;
  margin: 60px 0;
}
h1 span {
  white-space: nowrap;
}
 */
.flex-parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-top: 115px;
}
@media (max-width: 767px) {
	.flex-parent {
	  margin-top: 15px;
	}
}
.input-flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80vw;
  height: 100px;
  max-width: 1000px;
  position: relative;
  z-index: 0;
}

.input-pasos {
  width: 25px;
  height: 25px;
  background-color: #2C3E50;
  position: relative;
  border-radius: 50%;
}
/*.input-pasos:hover {
  cursor: pointer;
}LO QUITAMOS DE MOMENTO PORQUE NO PERMITO CAMBIAR*/
.input-pasos::before, .input-pasos::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2C3E50;
  width: 16vw;
  height: 5px;
  max-width: 200px;
}
.input-pasos::before {
  left: calc(-16vw + 12.5px);
}
.input-pasos::after {
  right: calc(-16vw + 12.5px);
}
.input-pasos.active {
  background-color: #2C3E50;
}
.input-pasos.active::before {
  background-color: #2C3E50;
}
.input-pasos.active::after {
  background-color: #AEB6BF;
}
.input-pasos.active span {
  font-weight: 700;
}
.input-pasos.active span::before {
  font-size: 13px;
}
.input-pasos.active span::after {
  font-size: 15px;
}
.input-pasos.active ~ .input-pasos, .input-pasos.active ~ .input-pasos::before, .input-pasos.active ~ .input-pasos::after {
  background-color: #AEB6BF;
}
.input-pasos span {
  width: 1px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}
.input-pasos span::before, .input-pasos span::after {
  visibility: visible;
  position: absolute;
  left: 50%;
}
.input-pasos span::after {
  content: attr(data-year);
  top: 25px;
  transform: translateX(-50%);
  font-size: 14px;
}
.input-pasos span::before {
  content: attr(data-info);
  top: -55px;
  width: 70px;
  transform: translateX(-5px) rotateZ(-35deg);
  font-size: 12px;
  text-indent: -10px;
}

.description-flex-container {
  width: 80vw;
  font-weight: 400;
  font-size: 22px;
  margin-top: 100px;
  max-width: 1000px;
}
.description-flex-container p {
  margin-top: 0;
  display: none;
}
.description-flex-container p.active {
  display: block;
}

@media (min-width: 1250px) {
  .input-pasos::before {
    left: -187.5px;
  }

  .input-pasos::after {
    right: -187.5px;
  }
}
@media (max-width: 850px) {
  .input-pasos {
    width: 17px;
    height: 17px;
  }
  .input-pasos::before, .input-pasos::after {
    height: 3px;
  }
  .input-pasos::before {
    left: calc(-16vw + 8.5px);
  }
  .input-pasos::after {
    right: calc(-16vw + 8.5px);
  }
}
@media (max-width: 600px) {
  .flex-parent {
    justify-content: initial;
	margin-top: 0px;
	margin-bottom: -30px; /*sapani*/
  }

  .input-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 2vh;
  }

  .input-pasos {
    width: 45px;     /*sapani 60*/
    height: 45px;	 /*sapani 60*/
    margin: 0 8px 50px; 
    background-color: #AEB6BF;
  }
  .input-pasos::before, .input-pasos::after {
    content: none;
  }
  .input-pasos span {
    width: 100%;
    height: 100%;
    display: block;
  }
  .input-pasos span::before {
    top: calc(100% + 5px);
    transform: translateX(-40%);
    /*text-indent: 0; sapani*/
    text-align: center;
  }
  .input-pasos span::after {
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ECF0F1;
  }

  .description-flex-container {
    margin-top: 30px;
    text-align: center;
  }
}
