/* ========================================================================
 * ION RANGESLIDER
 * ======================================================================= */
#result-rangeSlider{
  position: relative;
  white-space: pre;
  line-height: 1.5;
}

.irs-line-mid,
.irs-line-left,
.irs-line-right,
.irs-diapason,
.irs-slider {
  background-color: #e1e4e9;
  background-repeat: repeat-x;
  @include border-radius(2px);
}

.irs {
  height: 40px;
}
.irs-with-grid {
  height: 60px;
}
.irs-line {
  height: 12px; top: 25px;
}
.irs-line-left {
  height: 12px;
  background-color: #e1e4e9;
}
.irs-line-mid {
  height: 12px;
  background-color: #e1e4e9;
}
.irs-line-right {
  height: 12px;
  background-color: #e1e4e9;
}

.irs-diapason {
  height: 12px; top: 25px;
}

.irs-slider {
  width: 16px;
  height: 18px;
  top: 22px;
}

.irs-min, .irs-max {
  color: #999;
  font-size: 10px; line-height: 1.333;
  text-shadow: none;
  top: 0; padding: 1px 3px;
  background: #e1e4e9;
  border-radius: 4px;
}

.irs-from, .irs-to, .irs-single {
  color: #fff;
  font-size: 10px; line-height: 1.333;
  text-shadow: none;
  padding: 1px 5px;
  border-radius: 4px;
}

.irs-from:after, .irs-to:after, .irs-single:after {
  position: absolute; display: block; content: "";
  bottom: -6px; left: 50%;
  width: 0; height: 0;
  margin-left: -3px;
  overflow: hidden;
  border: 3px solid transparent;
}

.irs-grid-pol {
  background: #e1e4e9;
}
.irs-grid-text {
  color: #999;
}

.irs-disabled {
}


.slider-teal{
  .irs-line-mid,
  .irs-line-left,
  .irs-line-right,
  .irs-diapason,
  .irs-slider {
    background-color: #e1e4e9;
    background-repeat: repeat-x;
    @include border-radius(2px);
  }

  .irs {
    height: 40px;
  }
  .irs-with-grid {
    height: 60px;
  }
  .irs-line {
    height: 12px; top: 25px;
  }
  .irs-line-left {
    height: 12px;
    background-color: #e1e4e9;
  }
  .irs-line-mid {
    height: 12px;
    background-color: #e1e4e9;
  }
  .irs-line-right {
    height: 12px;
    background-color: #e1e4e9;
  }

  .irs-diapason {
    height: 12px; top: 25px;
    background-color: lighten($color-teal,5%);
  }

  .irs-slider {
    width: 16px; height: 18px;
    top: 22px;
    background-color: $color-teal;
  }
  #irs-active-slider, .irs-slider:hover {
    background-color: $color-teal;
  }

  .irs-min, .irs-max {
    color: #999;
    font-size: 10px; line-height: 1.333;
    text-shadow: none;
    top: 0; padding: 1px 3px;
    background: #e1e4e9;
    border-radius: 4px;
  }

  .irs-from, .irs-to, .irs-single {
    color: #fff;
    font-size: 10px; line-height: 1.333;
    text-shadow: none;
    padding: 1px 5px;
    background-color: $color-teal;
    border-radius: 4px;
  }
  .irs-from:after, .irs-to:after, .irs-single:after {
    position: absolute; display: block; content: "";
    bottom: -6px; left: 50%;
    width: 0; height: 0;
    margin-left: -3px;
    overflow: hidden;
    border: 3px solid transparent;
    border-top-color: $color-teal;
  }


  .irs-grid-pol {
    background: #e1e4e9;
  }
  .irs-grid-text {
    color: #999;
  }

  .irs-disabled {
  }

  &.circle{
    .irs-slider {
      top: 21px;
      @include resize(20px);
      @include border-radius(50%);
    }
  }
}

// CONTEXTUAL CLASSES SLIDER ---------------------------------------------------
@include slider-color(primary,$color-primary);
@include slider-color(success,$color-success);
@include slider-color(info,$color-info);
@include slider-color(warning,$color-warning);
@include slider-color(danger,$color-danger);
@include slider-color(lilac,$color-lilac);
@include slider-color(inverse,$color-inverse);