@import "mixins/mixins";
@import "common/var";
@import "mixins/utils";

@include b(steps2) {
  @include utils-clearfix;

  overflow: hidden;
  padding: 40px 0;
  background-color: #F6F7FB;
  border: 1px solid $--color-line-secondary;
  font-size: 16px;
  color: $--color-text-regular;
  
  @include e(nav) {
    height:32px;
  }
  @include e(step) {
    position: relative;
    float: left;
    left: 60px;
    height: 32px;
    color: $--color-text-disabled;
    > * {
      vertical-align: middle;
    }
    span {
      display: inline-block;
      line-height: 1;
    }
    @include when(active) {
      color: $--color-primary;
    }
    @include when(success) {
      color: $--color-text-regular;
      s {
        display: none;
      }
      @include e(istep) {
        &:before {
            font-family: 'element-icons';
            content: "\E611";
        }
      }
    }
  }
  @include e(istep) {
    display: inline-block;
    margin-right: 10px;
    background: transparent;
    width: 28px;
    height: 28px;
    font-size: 20px;
    border-radius: 50%;
    border: 2px solid;
    border-color: inherit;
    line-height: 28px;
    text-align: center;
  }
  @include e(arrow) {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 62px;
    margin-top: -8px;
    text-align: center;
    width: 14px;
    height: 26px;
    display: inline-block;
    &:before, &:after {
      content: "";
      display: inline-block;
      position: absolute;
      height: 17px;
      width: 1px;
      background: $--color-text-disabled;
    }
    &:before {
      transform: rotate(-45deg) translateY(-5px);
      transform-origin: 0 0;
    }
    &:after {
      transform: rotate(45deg) translateY(5px);
      transform-origin: 100% 100%;
    }
  }
}
