*,
*::before,
*::after {
  box-sizing: border-box;
}
.wrapper {
  background-color: #444;
}
.heading {
  text-align: center;
  padding-top: 1.5em;
  color: white;
}

.timeline {
  position: relative;
  background: #444;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 85vw;
  margin: auto;
}

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

.cont {
  padding: 15px 30px;
  position: relative;
  background: inherit;
  width: 50%;
}

.cont.left {
  left: 0;
}

.cont.right {
  left: 50%;
}

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

.cont.right::after {
  left: -8px;
}

.cont::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: 8px;
  background: #006e51;
  z-index: 1;
}

.cont.right::before {
  left: 8px;
}

.cont .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.cont.left .date {
  right: -100px;
}

.cont.right .date {
  left: -100px;
}

.cont .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;
}

.cont.left .icon {
  right: 56px;
}

.cont.right .icon {
  left: 56px;
}

.cont .content {
  padding: 10px 90px 10px 30px;
  background: #f6d155;
  position: relative;
  border-radius: 0 500px 500px 0;
}

.cont.right .content {
  padding: 10px 30px 10px 90px;
  border-radius: 500px 0 0 500px;
}

.cont .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #006e51;
}

.cont .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

@media (max-width: 767.98px) {
  .timeline::after {
    left: 130px;
    content: none;
  }

  .cont {
    width: 100%;
    /*padding-left: 100px;*/
    /*padding-right: 30px;*/
  }

  .cont.right {
    left: 0%;
  }

  .cont.left::after,
  .cont.right::after {
    /*left: 120px;*/
      content: none;
  }

  .cont.left::before,
  .cont.right::before {
      content: none;
    /*left: 130px;*/
    border-color: transparent #006e51 transparent transparent;
  }

  .cont.left .date,
  .cont.right .date {
      position: relative;
    right: auto;
    left: 15px;
  }

  .cont.left .icon,
  .cont.right .icon {
      display: none;
    /*right: auto;*/
    /*left: 146px;*/
  }

  .cont.left .content,
  .cont.right .content {
    /*padding: 30px 30px 30px 90px;*/
    /*border-radius: 500px 0 0 500px;*/
    /*margin-left: 40px;*/
  }
}
