.pdm_layout_Experience {
  counter-reset: step;
}

/* intro */
/* conclusion */
.experience-intro {
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .experience-intro {
    margin-top: 6rem;
  }
}
.experience-intro .step--title {
  font-size: 2.4rem;
}
.experience-conclusion {
  margin-bottom: 2rem;
}

.experience-intro .step--text {
  max-width: 39rem;
}
.experience-conclusion .step--text {
  max-width: 43rem;
}
.experience-intro .step--text,
.experience-conclusion .step--text {
  margin: 2rem auto;
}
.experience-intro,
.experience-conclusion {
  position: relative;
}
.experience-intro {
  margin-bottom: 13vh;
}
.experience-conclusion {
  margin-top: 8vh;
}
.experience-intro:after,
.experience-conclusion:before {
  content: '';
  display: block;
  position: absolute;
  width: 5px;
  height: 10vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #f4ad3b;
}
.experience-intro:after {
  bottom: -11vh;
}
.experience-conclusion:before {
  top: calc( -10vh -  5px );
}

/* images */
.step-image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step--image-wrapper {
  max-width: 18rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.experience-conclusion .step--image-wrapper {
  max-height: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* counter */
.experience-step .step-text-column {
  position: relative;
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 2rem;
}
.experience-step .step-text-column:before {
  counter-increment: step;
  content: counter(step);
  display: block;
  position: absolute;
  text-align: center;
  padding-top: 0.1rem;
  border-radius: 100%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  background-color: #201751;
  color: #fff;
  left: 0;
  right: 0;
  top: -3rem;
  margin: 0 auto;
}
.experience-conclusion .step--title,
.experience-step .step--title {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

@media (min-width: 576px) {

  .experience-intro {
    margin-bottom: 11vh;
  }
  .experience-conclusion:before {
    top: calc( -12vh -  5px );
  }

  .step--image-wrapper {
    max-height: 8rem;
  }

  .experience-step {
    margin-top: -5px;
  }
  .experience-step > div {
    min-height: 18rem;
  }
  .experience-step .step-text-column {
    margin-bottom: 0;
    margin-top: 0;
  }
  .experience-step .step-text-column:before {
    top: -1.15rem;
    left: -1.5rem;
    right: auto;
  }
  .experience-step-even .step-text-column:before {
    left: auto;
    right: -1.5rem;
  }
  /* path */
  .step-image-column {
    border: 5px solid transparent;
  }
  .experience-step .step-text-column {
    padding: calc(7rem / 2);
    text-align: left;
  }
  .experience-step-odd .step--title,
  .experience-step-odd .step--text {
    padding-right: 0;
    margin-left: 1rem;
  }
  .experience-step-odd .step-image-column {
    border-top-left-radius: 10rem;
    border-bottom-left-radius: 10rem;
    border-color: #f4ad3b;
    border-right-color: transparent;
    position: relative;
    right: -2.5px;
  }

  .experience-step-even {
    flex-direction: row-reverse;
  }
  .experience-step-even .step-image-column {
    border-top-right-radius: 10rem;
    border-bottom-right-radius: 10rem;
    border-color: #f4ad3b;
    border-left-color: transparent;
    position: relative;
    left: -2.5px;
  }
  .experience-step-even .step--title,
  .experience-step-even .step--text {
    padding-left: 0;
  }

  .experience-conclusion .step--image-wrapper {
    margin-top: 0;
  }

  .experience-step-odd.last .step-image-column {
    border-color: transparent;
    margin-top: -3rem;
  }
}
@media (min-width: 768px) {
  .step--image-wrapper {
    max-height: 11rem;
  }

  .experience-step-even .step--title,
  .experience-step-even .step--text {
    padding-left: calc(9.5rem / 2);
  }
  .experience-step-odd .step--title,
  .experience-step-odd .step--text {
    padding-right: calc(8.5rem / 2);
    /*margin-left: -0.25rem;*/
  }

  .experience-step-even .step-text-column:before {
    left: calc( 5rem - 1.5rem );
    right: auto;
    top: -2.5rem;
  }
}
@media (min-width: 992px) {
  .experience-step-even .step--title,
  .experience-step-even .step--text {
    padding-left: calc(19rem / 2);
  }
  .experience-step-odd .step--title,
  .experience-step-odd .step--text {
    padding-right: calc(17rem / 2);
    margin-left: -0.25rem;
  }

  .experience-step-even .step-text-column:before {
    left: calc( 10rem - 1.5rem );
    right: auto;
    top: -1.15rem;
  }
}
