.horizontal-steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.horizontal-steps:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: .2em;
  background-color: #eef2f7
}

.horizontal-steps .process-line {
  display: block;
  position: absolute;
  width: 50%;
  height: .2em;
  background-color: rgba(21, 54, 104, 0.788);
}

.horizontal-steps .horizontal-steps-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.horizontal-steps .horizontal-steps-content .step-item {
  display: block;
  position: relative;
  bottom: calc(100% + 1em);
  height: 8px;
  width: 8px;
  margin: 0 2em;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  /* color: rgb(21, 54, 104); */
  background-color: currentColor;
  border: .2em solid #fafbfe;
  border-radius: 50%;
  z-index: 5;
}

.horizontal-steps .horizontal-steps-content .step-item:first-child {
  margin-left: 0;
}

.horizontal-steps .horizontal-steps-content .step-item:last-child {
  margin-right: 0;
  color: rgb(37, 88, 28);
}

.horizontal-steps .horizontal-steps-content .step-item span {
  position: absolute;
  top: calc(100% + 1em);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
  color: #adb5bd;
}

.horizontal-steps .horizontal-steps-content .step-item.current:before {
  content: '';
  display: block;
  position: absolute;
  top: 47.5%;
  left: 51%;
  padding: 1em;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  -webkit-animation-name: animation-steps-current;
  animation-name: animation-steps-current;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

.horizontal-steps .horizontal-steps-content .step-item.current span {
  color: rgb(21, 54, 104);
}
.horizontal-steps .horizontal-steps-content .step-item.current:last-child span {
  color:rgb(37, 88, 28) ;
}

@-webkit-keyframes animation-steps-current {
  from {
      -webkit-transform: translate(-50%,-50%) scale(0);
      transform: translate(-50%,-50%) scale(0);
      opacity: 1;
  }

  to {
      -webkit-transform: translate(-50%,-50%) scale(1);
      transform: translate(-50%,-50%) scale(1);
      opacity: 0;
  }
}

@keyframes animation-steps-current {
  from {
      -webkit-transform: translate(-50%,-50%) scale(0);
      transform: translate(-50%,-50%) scale(0);
      opacity: 1;
  }

  to {
      -webkit-transform: translate(-50%,-50%) scale(1);
      transform: translate(-50%,-50%) scale(1);
      opacity: 0;
  }
}

@media (max-width: 767.98px) {
  .horizontal-steps .horizontal-steps-content .step-item span {
      white-space:inherit;
  }
}






