/*Timeline New CSS devtariq*/
.timeline-wrap {
  padding: 0 200px;
  position: relative;
  display: flex;
  justify-content: space-around;
}

.timeline-wrap .item {
  text-align: center;
  position: relative;
}

.timeline-wrap .item span.number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--egx-gd-1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 51%;
  bottom: -42px;
  transform: translateX(-50%);
  font-weight: 700;
}

.timeline-wrap .item::after {
  content: "";
  width: 5px;
  height: 45px;
  position: absolute;
  top: 148px;
  background: var(--egx-gd-1);
  z-index: -2;
}

.timeline-wrap .item:nth-child(odd):after {
  top: -97px;
}

.timeline-wrap .item:nth-child(odd) {
  top: 300px;
  position: absolute;
}

.timeline-wrap .item:nth-child(odd) span.number {
  bottom: 130px;
}

.egx-process-2-wrap.fix {
  min-height: 450px;
}

.timeline-wrap .item:nth-child(1) {
  left: 15%;
}

.timeline-wrap .item:nth-child(3) {
  left: 38%;
}

.timeline-wrap .item:nth-child(5) {
  left: 58%;
}

.timeline-wrap .item:nth-child(7) {
  left: 78%;
}

@media only screen and (max-width: 767px) {
.timeline-wrap {
    padding: 50px 0 0;
    display: block;
}
  .timeline-wrap .item:nth-child(odd) {
    position: relative;
    top: auto;
    left: auto !important;
  }

  .timeline-wrap .item {
    margin-bottom: 80px;
  }
  .timeline-wrap .item:last-child{
    margin-bottom: 0;
  }
  .timeline-wrap .item span.number {
    bottom: 120px !important;
  }
  .timeline-wrap .item::after {
    width: 0;
  }
}