.step-wizard {
  padding-bottom: 3em;
  padding-top: 3em;
  margin-right: auto;
  margin-left: auto;
}

.step-wizard ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
}

.step-wizard li {
  text-align: center;
  position: relative;
}

.step-wizard li.line {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background-color: #dee2e6;
}

.step-wizard .Index {
  display: block;
  margin: auto;
  width: 45px;
  height: 45px;
  line-height: 37px;
  font-size: 20px;
  border-radius: 50%;
  border: 4px solid #dee2e6;
  color: #ced4da;
}

.step-wizard .Title {
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  padding: .5rem 0;
  color: #ced4da;
}

.step-wizard .active.line {
  background-color: #ced4da;
}

.step-wizard .active .Index {
  border-color: #343a40;
  background-color: #343a40;
  color: #fff;
}

.step-wizard .active .Title {
  color: #343a40;
}

.step-wizard .done .Index {
  color: #fff;
  background-color: #adb5bd;
  border-color: #adb5bd;
}

.step-wizard .done .Title {
  color: #adb5bd;
}

.step-wizard .done a:hover .Index {
  background-color: #007bff;
  border-color: #007bff;
}

.step-wizard .done a:hover .Title {
  color: #007bff;
}

.step-wizard-vertical ul {
  list-style: none;
  display: flex-column;
  padding-left: 0;
}

.step-wizard-vertical li {
  position: relative;
  margin-bottom: 1rem;
}

.step-wizard-vertical li.line {
  margin-left: 18px;
  width: 4px;
  height: 50px;
  border-radius: 4px;
  background-color: #dee2e6;
}

.step-wizard-vertical .Index {
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 32px;
  font-size: 16px;
  border-radius: 50%;
  border: 4px solid #dee2e6;
  color: #ced4da;
}

.step-wizard-vertical .Title {
  margin-left: 1rem;
  margin-right: 1rem;
  color: #adb5bd;
  font-size: 18px;
}

.step-wizard-vertical .active.line {
  background-color: #ced4da;
}

.step-wizard-vertical .active .Index {
  border-color: #343a40;
  background-color: #343a40;
  color: #fff;
}

.step-wizard-vertical .active .Title {
  color: #343a40;
}

.step-wizard-vertical .done .Index {
  color: #fff;
  background-color: #dee2e6;
  border-color: #dee2e6;
}

.step-wizard-vertical .done .Title {
  color: #ced4da;
}

.step-wizard-vertical .done a:hover .Index {
  background-color: #007bff;
  border-color: #007bff;
}

.step-wizard-vertical .done a:hover .Title {
  color: #007bff;
}
