/*
* DNB Slider
*
*/
/**
 * This file is only used to make components independent
 * so that they can get imported individually, without the core styles
 *
 */
/*
 * Utilities
 */
/*
 * Scopes
 *
 */
/*
 * Document Reset
 *
 */
.dnb-slider {
  font-family: 'Fedra Sans Std', sans-serif;
  font-family: var(--font-family-default);
  font-weight: normal;
  font-weight: var(--font-weight-default);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.5rem;
  color: #333;
  color: var(--color-black-80, #333);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-variant-numeric: lining-nums;
  -webkit-font-feature-settings: "lnum";
          font-feature-settings: "lnum";
  /**
  * 1. Remove repeating backgrounds in all browsers (opinionated).
  * 2. Add border box sizing in all browsers (opinionated).
  */
  /**
  * 1. Add text decoration inheritance in all browsers (opinionated).
  * 2. Add vertical alignment inheritance in all browsers (opinionated).
  */
  margin: 0;
  padding: 0; }
  .dnb-slider *,
  .dnb-slider ::before,
  .dnb-slider ::after {
    background-repeat: no-repeat;
    /* 1 */
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    /* 2 */ }
  .dnb-slider ::before,
  .dnb-slider ::after {
    text-decoration: inherit;
    /* 1 */
    vertical-align: inherit;
    /* 2 */ }

/*
* Slider component
*
*/
.dnb-slider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }
  .dnb-slider .slider__root {
    width: 100%;
    cursor: pointer;
    padding: 1rem 0.5rem;
    position: relative; }
  .dnb-slider.slider__vertical {
    height: 100%;
    padding: 0.5rem 1rem; }
    .dnb-slider.slider__vertical .slider__root {
      width: inherit;
      height: inherit; }
  .dnb-slider.slider__reverse .slider__root {
    -webkit-transform: scaleX(-1);
            transform: scaleX(-1); }
  .dnb-slider.slider__reverse.slider__vertical .slider__root {
    -webkit-transform: scaleY(-1);
            transform: scaleY(-1); }
  .dnb-slider .slider__line {
    position: absolute;
    top: 50%;
    height: 2px;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    background-color: #007272;
    background-color: var(--color-sea-green); }
  .dnb-slider .slider__state--disabled .slider__line {
    background-color: #b3b3b3;
    background-color: var(--color-black-30); }
  .dnb-slider.slider__vertical .slider__line {
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    left: 50%;
    top: auto;
    top: initial;
    width: 2px; }
  .dnb-slider .slider__line__before {
    left: 0;
    z-index: 1; }
  .dnb-slider .slider__line__after {
    right: 0;
    opacity: 0.24; }
  .dnb-slider.slider__vertical .slider__line__before {
    top: 0; }
  .dnb-slider.slider__vertical .slider__line__after {
    bottom: 0; }
  .dnb-slider .slider__thumb {
    position: absolute;
    z-index: 2;
    height: 1.5rem;
    width: 1.5rem;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    vertical-align: middle;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    outline: none;
    color: inherit;
    border: 1px solid #d2f0e9;
    border: 1px solid var(--color-mint-green-50);
    border-radius: 50%;
    text-decoration: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-color: white;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 135, 137, 0.25), 0 0 1px rgba(0, 160, 163, 0.25);
            box-shadow: 1px 1px 2px rgba(0, 135, 137, 0.25), 0 0 1px rgba(0, 160, 163, 0.25); }
    .dnb-slider .slider__thumb:focus {
      outline: none; }
      html[data-whatinput='keyboard'] .dnb-slider .slider__thumb:focus {
        -webkit-box-shadow: 0 0 0 0.125rem #14555a;
                box-shadow: 0 0 0 0.125rem #14555a;
        -webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
                box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
        border-color: transparent; }
  .dnb-slider .slider__state--disabled .slider__thumb {
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: #b3b3b3;
    background-color: var(--color-black-30);
    height: 0.5rem;
    width: 0.5rem; }
  .dnb-slider .slider__state--jumped .slider__thumb,
  .dnb-slider .slider__state--jumped .slider__line {
    -webkit-transition: width 250ms ease 0ms, height 250ms ease 0ms, left 250ms ease 0ms, top 250ms ease 0ms, -webkit-box-shadow 250ms ease 0ms;
    transition: width 250ms ease 0ms, height 250ms ease 0ms, left 250ms ease 0ms, top 250ms ease 0ms, -webkit-box-shadow 250ms ease 0ms;
    transition: width 250ms ease 0ms, height 250ms ease 0ms, left 250ms ease 0ms, top 250ms ease 0ms, box-shadow 250ms ease 0ms;
    transition: width 250ms ease 0ms, height 250ms ease 0ms, left 250ms ease 0ms, top 250ms ease 0ms, box-shadow 250ms ease 0ms, -webkit-box-shadow 250ms ease 0ms; }
  .dnb-slider .slider__state--activated .slider__thumb {
    border-width: 2px; }
  .dnb-slider .slider__state--disabled.slider__root,
  .dnb-slider .slider__state--disabled .slider__thumb {
    cursor: not-allowed; }
