.menu-container {
  max-height: 200px;
  /* Set the desired maximum height */
  overflow: auto;
}

.main-timeline8 {
  overflow: hidden;
  position: relative
}

.main-timeline8:after,
.main-timeline8:before {
  content: "";
  display: block;
  width: 100%;
  clear: both
}

.main-timeline8:before {
  content: "";
  width: 3px;
  height: 100%;
  background: #d6d5d5;
  position: absolute;
  top: 30px;
  left: 50%
}

.main-timeline8 .timeline {
  width: 50%;
  float: left;
  padding-right: 30px;
  position: relative
}

.main-timeline8 .timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fe6847;
  position: absolute;
  top: 5.5%;
  right: -17.5px
}

.main-timeline8 .year {
  display: block;
  padding: 10px;
  margin: 0;
  font-size: 30px;
  color: #fff;
  border-radius: 0 50px 50px 0;
  background: #fe6847;
  text-align: center;
  position: relative
}

.main-timeline8 .year:before {
  content: "";
  border-top: 35px solid #f59c8b;
  border-left: 35px solid transparent;
  position: absolute;
  bottom: -35px;
  left: 0
}

.main-timeline8 .timeline-content {
  padding: 30px 20px;
  margin: 0 45px 0 35px;
  background: #f2f2f2
}

.main-timeline8 .title {
  font-size: 19px;
  font-weight: 700;
  color: #504f54;
  margin: 0 0 10px
}

.main-timeline8 .description {
  font-size: 14px;
  color: #7d7b7b;
  margin: 0
}

.main-timeline8 .timeline:nth-child(2n) {
  padding: 0 0 0 30px
}

.main-timeline8 .timeline:nth-child(2n) .timeline-icon {
  right: auto;
  left: -14.5px
}

.main-timeline8 .timeline:nth-child(2n) .year {
  border-radius: 50px 0 0 50px;
  background: #7eda99
}

.main-timeline8 .timeline:nth-child(2n) .year:before {
  border-left: none;
  border-right: 35px solid transparent;
  left: auto;
  right: 0
}

.main-timeline8 .timeline:nth-child(2n) .timeline-content {
  text-align: right;
  margin: 0 35px 0 45px
}

.main-timeline8 .timeline:nth-child(2) {
  margin-top: 170px
}

.main-timeline8 .timeline:nth-child(odd) {
  margin: -175px 0 0
}

.main-timeline8 .timeline:nth-child(even) {
  margin-bottom: 80px
}

.main-timeline8 .timeline:first-child,
.main-timeline8 .timeline:last-child:nth-child(even) {
  margin: 0
}

.main-timeline8 .timeline:nth-child(2n) .timeline-icon {
  border-color: #7eda99
}

.main-timeline8 .timeline:nth-child(2n) .year:before {
  border-top-color: #92efad
}

.main-timeline8 .timeline:nth-child(3n) .timeline-icon {
  border-color: #8a5ec1
}

.main-timeline8 .timeline:nth-child(3n) .year {
  background: #8a5ec1
}

.main-timeline8 .timeline:nth-child(3n) .year:before {
  border-top-color: #a381cf
}

.main-timeline8 .timeline:nth-child(4n) .timeline-icon {
  border-color: #f98d9c
}

.main-timeline8 .timeline:nth-child(4n) .year {
  background: #f98d9c
}

.main-timeline8 .timeline:nth-child(4n) .year:before {
  border-top-color: #f2aab3
}

@media only screen and (max-width:767px) {
  .main-timeline8 {
    overflow: visible;
  
  }

  #sizeofbox{
    padding-left:36px;
  padding-right:36px;
  }
  .main-timeline8:before {
    top: 0;
    left: 0
  }

  .main-timeline8 .timeline:nth-child(2),
  .main-timeline8 .timeline:nth-child(even),
  .main-timeline8 .timeline:nth-child(odd) {
    margin: 0
  }

  .main-timeline8 .timeline {
    width: 100%;
    float: none;
    padding: 0 0 0 30px;
    margin-bottom: 20px !important;
    font-size:15px;
  }

  .main-timeline8 .timeline:last-child {
    margin: 0 !important
  }

  .main-timeline8 .timeline-icon {
    right: auto;
    left: -14.5px
  }

  .main-timeline8 .year {
    border-radius: 50px 0 0 50px;
    font-size: 20px;
  }

  .main-timeline8 .year:before {
    border-left: none;
    border-right: 35px solid transparent;
    left: auto;
    right: 0
  }

  .main-timeline8 .timeline-content {
    margin: 0 35px 0 45px
  }
}

.procedure {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.step {
  position: relative;
  width: 30%;
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
}

.step-number {
  font-size: 24px;
  font-weight: bold;
  color: #3498db;
}



.step:not(:last-child) .arrow {
  background-color: #3498db;
}

.step p {
  margin-top: 10px;
}




.procedure2 {

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.arrow2 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  /* Size and direction of arrow */
  border-color: transparent transparent transparent #000;
  /* Arrow color */
  transform: translateY(-50%) translateX(100%);

}

.line-container2 {
  position: relative;
  width: 2%;
  height: 200px;
  /* Set the height of the line */
  transform: rotate(180deg);
}






.line-container {
  position: relative;
  width: 2%;
  height: 200px;
  /* Set the height of the line */
}

.line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  /* Line thickness */
  background-color: #000;
  /* Line color */
  transform-origin: left center;
  transform: translateY(-50%);
}

.arrow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  /* Size and direction of arrow */
  border-color: transparent transparent transparent #000;
  /* Arrow color */
  transform: translateY(-50%) translateX(100%);
}


ul.timeline {
  list-style-type: none;
  position: relative;
}

ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}

ul.timeline>li {
  margin: 20px 0;
  padding-left: 20px;
}

ul.timeline>li:before {
  content: ' ';
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}
