@import '../../global-sass-files/variables';
@import '../../global-sass-files/mixins';

// Progress bar steps
.progress-bar {
  padding-bottom: 39px;
  padding-left:24px;
  padding-right:24px;
  max-width: 890px;
  margin: 0 auto;
  &-items {
    list-style: none;
    padding: 0;
    position: relative;
    @include flexbox();
    margin-bottom: 0;
    justify-content: space-between;
    &:after {
      background-color: #cdcdcd;
      content: '';
      display: block;
      height: 1px;
      position: absolute;
      left: 20px;
      right: 20px;
      top: 17px;
      z-index: 1;
    }
  }
  &-item {
    border-radius: 50%;
    background: $white-color;
    width: 33px;
    height: 33px;
    z-index: 2;
  }
  &-link {
    border-radius: 50%;
    display: block;
    width: 33px;
    height: 33px;
    line-height: 31px;
    text-align: center;
    border: 1px solid #cdcdcd;
    font-family: $primary-font-light;
    font-size: 0.75rem;
    color: #cdcdcd;
    box-sizing: border-box;
    &.active {
      background: $lightblue-centreon-primary;
      color: $white-color;
      border: none;
      &.prev {
        background: $white-color;
        color: $lightblue-centreon-primary;
        border: 1px solid $lightblue-centreon-primary;
      }
    }
  }
  &-custom-styles {
    .progress-bar-link {
      background-color: #009fdf;
      color: $white-color;
      border: 1px solid $white-color;
      &.active {
        border: 1px solid $white-color;
        background-color: $white-color;
        color: #009fdf;
      }
    }
    .progress-bar-items {
      &:after {
        background-color: $white-color;
      }
    }
  }
}