ul.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  padding-inline-start: 17px;
}
.timeline .ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #D1CCCC;
  background-color: #fff;
  margin-inline-start: -46px;
  float: left;
  color: #fff;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  line-height: 1.8;
}
/* Backoffice preview: centre the tick in the ball */
.timeline.preview-container .ball {
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline li.inprogress .ball {
  border-color: var(--green-vdark-old);
}
.timeline li.completed .ball {
  border-color: var(--green-vdark-old);
  background-color: var(--green-vdark-old);
}
.timeline li.laststep > div,
.timeline:not(.expanded) li.thirdstep > div {
  border-left: none;
}
.timeline:not(.expanded) li.hiddenstep > div {
  display: none;
}
.timeline li > div {
  padding-bottom: 40px;
  min-height: 50px;
  border-left: 2px solid #D1CCCC;
  padding-inline-start: 29px;
}
.timeline li.inprogress > div,
.timeline li.completed > div {
  border-left-color: var(--green-vdark-old);
}
.timeline .title {
  font-weight: bold;
}
.timeline button {
  background-color: var(--green-dark-old);
  color: #fff;
  padding-left: 32px;
  padding-right: 32px;
}
.timeline button:hover {
  color: #fff;
}
div[style^="background"] .timeline .title {
  background-color: #fff;
  padding: 16px 16px 0 16px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
div[style^="background"] .timeline .description {
  background-color: #fff;
  padding: 0 16px 16px 16px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

