
.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background: #DD2628;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2.5px;
}

.containertimeline {
  padding: 0 30px;
  position: relative;
  background: inherit;
  width: 50%;
}

.containertimeline.left {
  left: 0;
}

.containertimeline.right {
  left: 50%;
}

.containertimeline::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 31px);
  right: -8px;
  background: #ffffff;
  border: 2px solid #DD2628;
  border-radius: 16px;
  z-index: 1;
}

.containertimeline.right::after {
  left: -8px;
}

.containertimeline::before {
  content: '';
  position: absolute;
  width: 53px;
  height: 4px;
  top: calc(50% - 26px);
  right: 8px;
  background: #DD2628;
  z-index: 1;
  
}

.containertimeline.right::before {
  left: 8px;

}

.containertimeline .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #DD2628;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.containertimeline.left .date {
  right: -75px;
}

.containertimeline.right .date {
  left: -75px;
}

.containertimeline .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #F6D155;
  border: 2px solid #DD2628;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #DD2628;
  z-index: 1;
}

.containertimeline.left .icon {
  right: 56px;
}

.containertimeline.right .icon {
  left: 56px;
}

.containertimeline .content {
  padding: 10px 30px 30px 30px;
  background: #fff;
  position: relative;
  border-radius: 0 500px 500px 0; 
  margin-bottom: -50px;
}

.containertimeline.right .content {
  padding: 10px 30px 30px 30px;
  border-radius: 500px 0 0 500px;
  margin-bottom: -50px;
}

.containertimeline .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #DD2628;
}

.containertimeline .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

@media (max-width: 767.98px) {
  .timeline::after {
    left: 90px;
  }

  .containertimeline {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
  }

  .containertimeline.right {
    left: 0%;
  }

  .containertimeline.left::after, 
  .containertimeline.right::after {
    left: 82px;
  }

  .containertimeline.left::before,
  .containertimeline.right::before {
    left: 100px;
    border-color: transparent #DD2628 transparent transparent;
  }

  .containertimeline.left .date,
  .containertimeline.right .date {
    right: auto;
    left: 15px;
  }

  .containertimeline.left .icon,
  .containertimeline.right .icon {
    right: auto;
    left: 146px;
  }

  .containertimeline.left .content,
  .containertimeline.right .content {
    padding: 30px 30px 30px 90px;
    border-radius: 500px 0 0 500px;
  }
}