// =============================================================================
// SCSS/SITE/STACKS/INTEGRITY/_SLIDER-REVOLUTION.SCSS
// -----------------------------------------------------------------------------
// Styling for the Slider Revolution plugin.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Slider Revolution Container Styles
//   02. Slider Revolution Navigation Styles
//       a. Bullets
//       b. Arrows
//   03. Buttons in Slider Revolution
//   04. Scroll Bottom
// =============================================================================

// Slider Revolution Container Styles
// =============================================================================

.x-slider-revolution-container {
  position: relative;

  &.below {
    border-bottom: 5px solid $accentColor;
  }

  .rev_slider_wrapper {
    padding: 0 !important;
  }
}

.page-template-template-blank-3-php,
.page-template-template-blank-6-php {
  .x-slider-revolution-container {
    &.above {
      border-bottom: 5px solid $accentColor;
    }
  }
}



// Slider Revolution Navigation Styles
// =============================================================================

//
// Bullets.
//

.tp-bullets.tp-thumbs {
  padding: 0;
}

.tp-bullets.simplebullets.navbar,
.tp-bullets.simplebullets.navbar-old {
  height: 40px;
  border: 0;
  background: $headingsColor;
  @include break(middle-bear) {
    display: none;
  }

  .bullet {
    width: 19px;
    height: 19px;
    margin-top: 10px;
    background: $baseModBackground;
    border-radius: 100em;
    @include transition(#{background-color 0.3s ease});

    &:hover,
    &.selected {
      background-color: $accentColor;
    }

    &.last {
      margin-right: 0;
    }
  }
}

.tp-bullets.simplebullets.round,
.tp-bullets.simplebullets.round-old,
.tp-bullets.simplebullets.square-old {
  @include break(middle-bear) {
    display: none;
  }

  .bullet {
    width: 19px;
    height: 19px;
    margin: 3px 0;
    background: $baseModBackground;
    @include transition(#{background-color 0.3s ease});

    &:hover,
    &.selected {
      background-color: $accentColor;
    }

    &.last {
      margin-right: 0;
    }
  }
}

.tp-bullets.simplebullets.round,
.tp-bullets.simplebullets.round-old {
  .bullet {
    border-radius: 100em;
  }
}


//
// Arrows.
//

.tp-leftarrow,
.tp-rightarrow {
  background-image: none !important;

  &:before {
    display: block;
    margin: 0 auto;
    font-family: "fontawesome";
    font-weight: normal;
    @include font-size(1.8);
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    speak: none;
    color: $baseModBackground;
  }

  &.default {
    text-align: center;
    background-color: $accentColor;
    border-radius: 100em;
    @include transition(#{background-color 0.3s ease, opacity 0.3s ease});

    &:before {
      width: 40px;
      height: 40px;
      line-height: 39px;
    }

    &:hover {
      background-color: $linkColorHover;

      &:before {
        color: $baseModBackground;
      }
    }
  }
}

.tp-leftarrow {
  &:before {
    content: "\f060";
  }
}

.tp-rightarrow {
  &:before {
    content: "\f061";
  }
}

.tp-leftarrow.navbar,
.tp-rightarrow.navbar,
.tp-leftarrow.navbar-old,
.tp-rightarrow.navbar-old {
  width: 40px;
  height: 40px;
  margin: 0;
  line-height: 38px;
  text-align: center;
  background: none;
}

.tp-leftarrow.round,
.tp-rightarrow.round,
.tp-leftarrow.round-old,
.tp-rightarrow.round-old,
.tp-leftarrow.square-old,
.tp-rightarrow.square-old {
  width: 26px;
  height: 26px;
  margin: 0;
  line-height: 25px;
  text-align: center;
  background: none;
}



// Buttons in Slider Revolution
// =============================================================================

.rev_slider_wrapper {
  .x-btn {
    padding: 0.563em 1.125em 0.813em !important;
    font-size: 16px !important;
    font-size: 1.6rem !important;
    @include break(cubs) {
      font-size: 13px !important;
      font-size: 1.3rem !important;
    }
    @include break(middle-bear) {
      font-size: 11px !important;
      font-size: 1.1rem !important;
    }
    @include break(baby-bear) {
      font-size: 8px !important;
      font-size: 0.8rem !important;
    }
  }
}



// Scroll Bottom
// =============================================================================

.x-slider-scroll-bottom {
  position: absolute;
  display: block;
  border: 3px solid $white;
  width: 60px;
  height: 60px;
  font-size: 41px;
  line-height: 53px;
  text-align: center;
  color: $white;
  border-radius: 100em;
  z-index: $zindexNavbar - 10;
  @include transition(#{all 0.3s ease});

  &.top {
    top: 20px;
  }

  &.left {
    left: 20px;
  }

  &.right {
    right: 20px;
  }

  &.bottom {
    bottom: 20px;
  }

  &.center {
    left: 50%;
    margin-left: -30px;
  }

  &:hover {
    color: $accentColor;
    border-color: $accentColor;
  }

  @include break(old-bear) {
    width: 50px;
    height: 50px;
    font-size: 38px;
    line-height: 43px;

    &.center {
      margin-left: -25px;
    }
  }

  @include break(middle-bear) {
    border-width: 2px;
    width: 46px;
    height: 46px;
    font-size: 31px;
    line-height: 40px;

    &.center {
      margin-left: -23px;
    }
  }

  @include break(baby-bear) {
    width: 40px;
    height: 40px;
    font-size: 25px;
    line-height: 34px;

    &.center {
      margin-left: -20px;
    }
  }
}