/* The actual timeline (the vertical ruler) */
.timeline {
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}
.timeline::after {
  background-color: #ffffff;
  bottom: 0;
  content: '';
  left: 50%;
  margin-left: -2px;
  position: absolute;
  top: 0;
  width: 4px;
}
.timeline-container {
  background-color: inherit;
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-container::after {
  background-color: #ffffff;
  border: 4px solid #1532eb;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(38,57,71,.2);
  content: '';
  height: 24px;
  position: absolute;
  right: -12px;
  top: 32px;
  width: 24px;
  z-index: 1;
}
/* Place the container to the left */
.timeline-container:nth-child(odd) {
  left: 0;
}
/* Place the container to the right */
.timeline-container:nth-child(even) {
  left: 50%;
}
/* Add arrows to the left container (pointing right) */
.timeline-container:nth-child(odd)::before {
  border: medium solid #ffffff;
  border-color: transparent transparent transparent #ffffff;
  border-width: 16px 0 16px 16px;
  content: " ";
  height: 0;
  position: absolute;
  right: 24px;
  top: 28px;
  width: 0;
  z-index: 1;
}
/* Add arrows to the right container (pointing left) */
.timeline-container:nth-child(even)::before {
  border: medium solid #ffffff;
  border-color: transparent #ffffff transparent transparent;
  border-width: 16px 16px 16px 0;
  content: " ";
  height: 0;
  left: 24px;
  position: absolute;
  top: 28px;
  width: 0;
  z-index: 1;
}
/* Fix the circle for containers on the right side */
.timeline-container:nth-child(even)::after {
  left: -12px;
}
.timeline-content {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(38,57,71,.2);
  padding: 20px;
  position: relative;
}
.timeline-content h3 {
  color: #1532eb;
  font-weight: 700;
  margin-bottom: 16px;
}
.timeline-content p {
  font-size: 20px;
  font-weight: 400;
  padding: 16px 0 0;
}
.timeline-content h3+p {
  padding-top: 0 !important;
}
.timeline-content img {
  border: 1px solid #dddddd;
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 12px;
  }
/* Full-width containers */
  .timeline-container {
    padding-left: 56px;
    padding-right: 0;
    width: 100%;
  }
/* Make sure that all arrows are pointing leftwards */
  .timeline-container:nth-child(odd)::before {
    border: medium solid #ffffff;
    border-width: 16px 16px 16px 0;
    border-color: transparent #ffffff transparent transparent;
    left: 40px;
  }
  .timeline-container:nth-child(even)::before {
    left: 40px;
  }
/* Make sure all circles are at the same spot */
  .timeline-container:nth-child(odd)::after,
  .timeline-container:nth-child(even)::after {
    left: 0;
  }
/* Make all right containers behave like the left ones */
  .timeline-container:nth-child(even) {
    left: 0%;
  }
  .timeline-content p {
    font-size: 16px;
    font-weight: 500;
}