/*! component's theme wise override definitions and variables */
$hscroll-skin: 'bootstrap5.3' !default;
$border-type: solid;
$hscroll-hover-font: $secondary-text-color-hover !default;
$hscroll-active-font-color: $content-text-color-alt2 !default;
$hscroll-default-bg: $content-bg-color-alt2 !default;
$hscroll-press-bg: $secondary-bg-color-pressed !default;
$hscroll-active-bg: $content-bg-color-alt2 !default;
$hscroll-border-size: 1px !default;
$hscroll-nav-nrml-minheight: 38px !default;
$hscroll-nav-bgr-minheight: 46px !default;
$hscroll-mob-nav-nrml-width: 40px !default;
$hscroll-nav-nrml-width: 32px !default;
$hscroll-nav-bgr-width: 38px !default;
$hscroll-nrml-padding: 0 $hscroll-nav-nrml-width !default;
$hscroll-bgr-padding: 0 $hscroll-nav-bgr-width !default;
$hscroll-border-type: $border-type !default;
$hscroll-box-shadow: none !default;
$hscroll-hover-bg: $secondary-bg-color !default;
$hscroll-hover-border-color: $border-light !default;
$hscroll-default-icon-color: $icon-color !default;
$hscroll-focus-border: 0 !default;
$hscroll-active-border: 0 !default;
$hscroll-hover-border: 0 !default;
$hscroll-active-box-shadow: none !default;
$hscroll-overlay-opacity: .5 !default;
$hscroll-overlay-bg: $content-bg-color-alt2 !default;
$hscroll-overlay-start: rgba($hscroll-overlay-bg, 0) !default;
$hscroll-overlay-end: rgba($hscroll-overlay-bg, 1) !default;
$hscroll-right-bg: linear-gradient(-270deg, $hscroll-overlay-start 0%, $hscroll-overlay-end 100%) !default;
$hscroll-left-bg:  linear-gradient(-270deg, $hscroll-overlay-end 0%, $hscroll-overlay-start 100%) !default;

$hscroll-device-arrow-box-shadow: $shadow !default;
$hscroll-device-arrow-rtl-box-shadow: $shadow !default;
$hscroll-device-arrow-bg: $content-bg-color-alt2 !default;
$hscroll-device-arrow-border-size: 1px !default;
$hscroll-device-arrow-border-color: $border-light !default;
$hscroll-device-arrow-color: $icon-color !default;
$hscroll-device-arrow-size: 18px !default;
$hscroll-device-arrow-icon-size: 18px !default;
$hscroll-device-arrow-size-bigger: 18px !default;
$hscroll-device-arrow-width: 48px !default;

$hscroll-default-border: $hscroll-hover-border-color !default;
$hscroll-ribble-animation-border-frame: rgba(255, 255, 255, .5) !default;
$hscroll-ribble-animation-shadow-frame: 0 0 0 0 $hscroll-ribble-animation-border-frame !default;
$hscroll-ribble-animation-shadow-frame-end: 0 0 0 200px rgba(255, 255, 255, .12) !default;

$hscroll-nav-hover-press-bg: $hscroll-press-bg !default;
$hscroll-nav-hover-icons-color: $secondary-text-color-focus !default;
$hscroll-nav-focus-bg-color: $secondary-bg-color-focus !default;
$hscroll-nav-focus-border: $hscroll-focus-border !default;
$hscroll-nav-active-color: $secondary-text-color-pressed !default;

@mixin hscroll-btn-animation {
  background-color: transparent;
  border-radius: 50%;
  border-width: 1px;
  box-sizing: border-box;
  content: '';
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  visibility: hidden;
  width: 1px;
}

@mixin hscroll-btn-animation-after {
  animation: hscroll-popup-shadow .6s ease-out 0ms;
  visibility: visible;
}

@keyframes hscroll-popup-shadow {
  0% {
    border-color: $hscroll-ribble-animation-border-frame;
    box-shadow: $hscroll-ribble-animation-shadow-frame;
  }

  100% {
    box-shadow: $hscroll-ribble-animation-shadow-frame-end;
  }
}
