.progressbar {
      counter-reset: step;
      margin-bottom: 30px;
  }
  .progressbar li {
      list-style-type: none;
      width: 33%;
      float: left;
      font-size: 14px;
      position: relative;
      text-align: center;
      text-transform: uppercase;
  }
  .progressbar li:before {
      width: 50px;
      height: 50px;
      content: counter(step);
      counter-increment: step;
      line-height: 45px;
      border: 2px solid #7d7d7d;
      display: block;
      text-align: center;
      margin: 0 auto 10px auto;
      border-radius: 50%;
      background-color: white;
  }
  .progressbar li:after {
      width: 100%;
      height: 2px;
      content: '';
      position: absolute;
      background-color: #7d7d7d;
      top: 25px;
      left: -50%;
      z-index: -1;
  }
  .progressbar li:first-child:after {
      content: none;
  }
  .progressbar li.active {
      color: #000;
  }
  .progressbar li.active:before {
      border-color: #000;
      background-color: #000;
      color: #fff;
  }
  .progressbar li.active + li:after {
      background-color: #000;
  }