*,
*::before,
*::after {
  box-sizing: border-box;
}


.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #dd1c2b;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.container-timeline {
  padding: 9px 20px;
  position: relative;
  background: inherit;
  width: 50%;
}

.container-timeline.left {
  left: 0;
}

.container-timeline.right {
  left: 50%;
}

.container-timeline::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -8px;
  background: #ffffff;
  border: 2px solid #dd1c2b;
  border-radius: 16px;
  z-index: 1;
}

.container-timeline.right::after {
  left: -8px;
}

.container-timeline::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: 8px;
  background: #dd1c2b;
  z-index: 1;
}

.container-timeline.right::before {
  left: 8px;
}

.container-timeline .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #dd1c2b;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.container-timeline.left .date {
  right: -55px;
}

.container-timeline.right .date {
  left: -55px;
}

.container-timeline .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #f4df29;
  border: 2px solid #dd1c2b;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #dd1c2b;
  z-index: 1;
}

.container-timeline.left .icon {
  right: 56px;
}

.container-timeline.right .icon {
  left: 56px;
}

.container-timeline .content {
  padding: 20px 90px 20px 20px;
  background: #f4df29;
  position: relative;
  border-radius: 0 500px 500px 0;
}

.container-timeline.right .content {
  padding: 20px 20px 20px 90px;
  border-radius: 500px 0 0 500px;
}

.container-timeline .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #dd1c2b;
}

.container-timeline .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

@media (max-width: 767.98px) {
  .timeline::after {
    display: none;
  }

  .container-timeline {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }

  .container-timeline.right {
    left: 0%;
  }

  .container-timeline.left::after, 
  .container-timeline.right::after {
    display: none;
  }

  .container-timeline.left::before,
  .container-timeline.right::before {
    display: none;
  }

  .container-timeline.left .date,
  .container-timeline.right .date {
    right: auto;
    left: 15px;
  }

  .container-timeline.left .icon,
  .container-timeline.right .icon {
    display: none;
  }

  .container-timeline.left .content,
  .container-timeline.right .content {
    padding: 15px 15px 15px 60px;
    border-radius: 500px 0 0 500px;
  }
}