/*---------------------------------
-----  dimension variables --------
----------------------------------*/
/*------  standard elements padding & margin  -------*/
/**
* mobile first breakpoints based on design specification 
* deprecated variables
*/
/**
* mobile first breakpoints based on design specification 
* $bp-m: >= 768px
* $bp-l: >= 1024px
* $bp-xl: >= 1440px
* @media only screen and (min-width: $bp-m) {}
*/
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
/*
    Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
    Add an arbitrary list of selectors into the arguments, and the styling in the block.
    I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

    There are two mixins: 
    - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
    - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

    Use focus-visible:
    The key thing here is checking which slot is being rendered.
    For example, you can reset box-shadow here, or anything else.

    @include focus-visible using ($slot) {
        @if $slot == focus {
            outline: 2px solid transparent;
            box-shadow: 0 0 0 4px blue;
        }
        @if $slot == focusReset {
            box-shadow: none;
        }
        @if $slot == focusVisible {
            box-shadow: 0 0 0 4px blue;
        }
    }

    Use focus-visible-outline:
    @include focus-visible-outline("button", "a[href]") {
        outline: 2px solid blue;
    }

    Resulting CSS (compressed):

    button:focus,
    a[href]:focus {
        outline: 2px solid blue;
    }

    button:focus:not(:focus-visible),
    a[href]:focus:not(:focus-visible) {
        outline: none;
    }
    button:focus-visible,
    a[href]:focus-visible {
        outline: 2px solid blue;
    }
*/
/**
* mobile first breakpoints based on design specification 
* deprecated variables
*/
/**
* mobile first breakpoints based on design specification 
* $bp-m: >= 768px
* $bp-l: >= 1024px
* $bp-xl: >= 1440px
* @media only screen and (min-width: $bp-m) {}
*/
.ux-number-input {
  display: inline-block;
  position: relative;
}
.ux-number-input__wrapper {
  display: flex;
  width: auto;
  max-width: 100%;
  border: 1px solid #131313;
}
@media (min-width: 768px) {
  .ux-number-input__wrapper {
    display: inline-flex;
  }
}
.ux-form-group .ux-number-input__wrapper {
  display: inline-flex;
}
.ux-number-input__input[type=number] {
  font-family: "Frutiger-Light", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  padding: 13px 10px;
  width: 100%;
  min-width: 47px;
  border-radius: 0;
  outline: none;
  border: 1px solid #131313;
  border-top-width: 0;
  border-bottom-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  margin: 0;
}
.ux-form-group .ux-number-input__input[type=number] {
  width: auto;
}
.ux-number-input__input[type=number]::-webkit-outer-spin-button, .ux-number-input__input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}
@media (min-width: 768px) {
  .ux-number-input__input[type=number] {
    width: auto;
  }
}
.ux-number-input__btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  background: #e7e7e7;
  width: 45px;
  text-align: center;
  border-radius: 0;
  outline: 1px solid transparent;
  outline-offset: -1px;
  cursor: pointer;
  margin: 0;
}
.ux-number-input__btn:focus-visible:not(:hover) {
  outline: 1px solid #000;
  outline-offset: -1px;
}
.ux-number-input__btn:not(:active):hover {
  background: #e7e7e7;
  color: #000;
  border-color: #e7e7e7;
}
.ux-number-input__btn:active, .ux-number-input__btn:active:hover {
  color: #000;
  border-color: #c5c5c5;
  background-color: #c5c5c5;
  box-shadow: none;
}
.ux-form-group--error .ux-number-input .ux-number-input__wrapper, .ux-number-input--error .ux-number-input__wrapper {
  border-color: #ff0201;
}
.ux-form-group--error .ux-number-input .ux-number-input__input[type=number], .ux-number-input--error .ux-number-input__input[type=number] {
  color: #ff0201;
  border-color: #ff0201;
}
.ux-form-group--error .ux-number-input .ux-number-input__btn, .ux-number-input--error .ux-number-input__btn {
  color: #ff0201;
}
.ux-form-group--disabled .ux-number-input, .ux-number-input--disabled {
  opacity: 0.3;
  pointer-events: none;
}