.js-nmo-progressbar {
  position: relative;
  transition: 1s;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  margin: 30px 0;
}

.js-nmo-progressbar.loading {
  height: 5px;
  background-color: #eee;
}

.js-nmo-progressbar.loading:before {
  content: '';
  position: absolute;
  display: block;
  width: 10%;
  height: 100%;
  transition: .3s;
  left: 0;
  top: 0;
  background-color: #2cd28d;
  animation: 1s ease-in-out 0s infinite alternate loading;
}

.progress-bar__line {
  position: relative;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 575px) {
  .progress-bar__line {
    display: block;
  }
}

.progress-bar__line-item {
  position: relative;
  width: 25%;
  text-align: center;
}

@media (max-width: 575px) {
  .progress-bar__line-item {
    text-align: left;
    width: 100%;
    padding-left: 50px;
    min-height: 30px;
    margin-bottom: 30px;
  }
}

.progress-bar__line-item:before {
  content: '';
  position: absolute;
  display: block;
  height: 2px;
  width: 100%;
  background-color: #eee;
  left: 50%;
  top: 14px;
}

@media (max-width: 575px) {
  .progress-bar__line-item:before {
    height: 100%;
    width: 2px;
    left: 14px;
    top: 30px;
  }
}

.progress-bar__line-item:last-of-type:before {
  display: none;
}

.progress-bar__line-dot {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #eee;
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 100%;
  text-align: center;
  line-height: 28px;
  font-size: 16px;
  display: inline-block;
  top: 0;
  font-weight: 400;
}

@media (max-width: 575px) {
  .progress-bar__line-dot {
    position: absolute;
    left: 0;
    top: 0;
  }
}

.progress-bar__line-item.passed:before {
  background-color: #7cdc76;
}
.progress-bar__line-item.passed .progress-bar__line-dot {
  border-color: #7cdc76;
  background: #7cdc76;
  color: #fff;
}

.progress-bar__line-desc {
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  color: #666;
  margin-bottom: 5px;
}

.progress-bar__line-status {
  font-size: 12px;
  line-height: 14px;
  font-weight: 300;
  color: #999;
}

@keyframes loading {
  from {
    left: 0;
    width: 10%;
  }
  to {
    left: calc(100% - 10%);
    width: 10%;
  }
  50% {
    width: 30%;
  }
}
