.progress{
  height: auto;
  background-color: #000;
  
}
/* Add styles to the progress bar */
#progressbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* background-color: #f1f1f1; */
}

#progressbar li {
  float: left;
  width: 25%;
  position: relative;
  text-align: center;
  line-height: 40px;
  
}

/* Add styles to the progress bar steps */
#progressbar li:before {
  content: "";
  width: 20px;
  height: 20px;
  line-height: 40px;
  border: 2px solid #f0e9e9;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  background-color: white;
  border-radius: 50%;
}

#progressbar li:nth-child(1):before {
  content:'';
  color: #f5ebeb;


}

#progressbar li:nth-child(2):before {
  content: '';
 
}

#progressbar li:nth-child(3):before {
  content: '';
  
}

#progressbar li:nth-child(4):before {
  
}
/* connector */
#progressbar li:after{
  content: '';
  width: 100%;
  height: 5px;
  background-color:white;
  position: absolute;
  top: 8px;
  left: 0;
  z-index: -1;
}
#progressbar li:last-child::after{
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: absolute;
  left: -50%;
}

#progressbar li.active:before,
#progressbar li.active:after {
  background-color: #000;
  color: white;
}

#progressbar li.active:before{
  
}


#progressbar li.activeli:before {
  content: "";
  position: absolute;
  top: 8%;
  left: -50%;
  width: 100%;
  height: 2px;
  background-color: #000;
}
#progressbar li:nth-child(2)::after,
#progressbar li:nth-child(3):after{
  left: -50%;
}

#progressbar li:first-child::after{
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: absolute;
  left: -100%;
}
