﻿.stepper-controller {
  position: relative;
}
.stepper-controller > li {
  position: relative;
}
.two-step {
  width: 50%;
}
.three-step {
  width: 33%;
}
.four-step {
  width: 25%;
}
.stepper-controller > li:after {
  content: "";
  position: absolute;
  background: #f1f1f1;
  display: block;
  width: 100%;
  height: 5px;
  top: 30px;
  left: 50%;
  z-index: 1;
}
.stepper-controller > li.completed::after {
  background: #34bc9b;
}
.stepper-controller > li:last-child::after {
  background: transparent;
  width: 0%;
}
.stepper-controller [data-toggle="tab"] {
  width: 25px;
  height: 25px;
  margin: 20px auto;
  border-radius: 100%;
  border: none;
  padding: 0;
  color: #f1f1f1;
}
.stepper-controller [data-toggle="tab"]:hover {
  background: transparent;
  border: none;
}
.stepper-controller > .active > [data-toggle="tab"],
.stepper-controller > .active > [data-toggle="tab"]:hover,
.stepper-controller > .active > [data-toggle="tab"]:focus {
  color: #34bc9b;
  cursor: default;
  border: none;
}
.stepper-controller .round-tab {
  width: 25px;
  height: 25px;
  line-height: 22px;
  display: inline-block;
  border-radius: 25px;
  background: #fff;
  border: 2px solid #34bc9b;
  color: #34bc9b;
  z-index: 2;
  position: absolute;
  left: 0;
  text-align: center;
  font-size: 14px;
}
.stepper-controller .completed .round-tab {
  background: #34bc9b;
}
.stepper-controller .completed .round-tab::after {
  content: "✔";
  color: #fff;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 0;
  display: block;
}
.stepper-controller .active .round-tab {
  background: #fff;
  border: 2px solid #34bc9b;
}
.stepper-controller .active .round-tab:hover {
  background: #fff;
  border: 2px solid #34bc9b;
}
.stepper-controller .active .round-tab::after {
  display: none;
}
.stepper-controller .disabled .round-tab {
  background: #fff;
  color: #f1f1f1;
  border-color: #f1f1f1;
}
.stepper-controller .disabled .round-tab:hover {
  color: #4dd3b6;
  border: 2px solid #a6dfd3;
}
.stepper-controller .disabled .round-tab::after {
  display: none;
}
