.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-container {
  padding: 15px 30px;
  position: relative;
  background: inherit;
  width: 55%;
}

.timeline-container.left {
  left: 0%;
}

.timeline-container.right {
  left: 50%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -30px;
  background: #1b3e7d;
  border: 2px solid #1b3e7d;
  border-radius: 16px;
  z-index: 1;
}

.timeline-container.right::after {
  left: -30px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: -20px;
  background: #1b3e7d;
  z-index: 1;
}

.timeline-container.right::before {
  left: -20px;
}

.timeline-container .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 13px);
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: #e39b00;
  text-transform: uppercase;
  z-index: 1;
}

.timeline-container.left .date {
  right: -130px;
}

.timeline-container.right .date {
  left: -130px;
}

.timeline-container .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #f6d155;
  border: 2px solid #006e51;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #006e51;
  z-index: 1;
}

.timeline-container.left .icon {
  right: 56px;
}

.timeline-container.right .icon {
  left: 56px;
}

.timeline-container .content {
  padding: 30px 90px 30px 30px;
  background: #ffff;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.timeline-container.right .content {
  padding: 30px 30px 30px 90px;
  border-radius: 50px;
}

.timeline-container .content::before,
.timeline-container .content::after {
  content: "";
  position: absolute;
  width: 50px; /* Width of the endpoints */
  height: 100%; /* Height of the endpoints */
  border-radius: 0 250px 250px 0;
}

.timeline-container.left .content::after {
  background-color: #f6d155; /* Right endpoint color */
  right: 0;
  top: 0;
}
.timeline-container.right .content::after {
  background-color: #f6d155; /* Right endpoint color */
  left: 0;
  top: 0;
  border-radius: 250px 0 0 250px;
}

.timeline-container .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-family: "Roboto", sans-serif;
  color: #878987;
}

@media (max-width: 767.98px) {
  .timeline-container.left .content::after,
  .timeline-container.right .content::after{
	  left:0;
  }
  .timeline-container .content::before, .timeline-container .content::after{
	  border-radius:250px 0 0 250px;
  }
  .timeline::after {
    left: 90px;
  }

  .timeline-container {
    width: 100%;
  }

  .timeline-container.right {
    left: 0%;
  }

  .timeline-container.left::after,
  .timeline-container.right::after {
    left: 82px;
  }

  .timeline-container.left::before,
  .timeline-container.right::before {
    left: 100px;
    border-color: transparent #006e51 transparent transparent;
  }

  .timeline-container.left .date,
  .timeline-container.right .date {
    right: auto;
    left: 15px;
	display:flex;
	position:unset;
	margin:20px 0;
  }

  .timeline-container.left .icon,
  .timeline-container.right .icon {
    right: auto;
    left: 146px;
  }

  .timeline-container.left .content,
  .timeline-container.right .content {
    padding: 30px 30px 30px 70px;
    border-radius: 50px;
  }
	.timeline-container.left::before, .timeline-container.right::before{
		display:none;
	}
	.timeline-container.left::after, .timeline-container.right::after{
		display:none;
	}
}
