// ==========================================================================
// Essentials variables
// ==========================================================================
//
// Table of Contents:
//
//  1. Colors
//  2. Components
//  1. Typography

//  3. Cards



// 1. Colors
// ==========================================================================

$gradient-direction: to right !default;

$white:    #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black:    #000 !default;

$grays: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$grays: map-merge(
  (
    "100": $gray-100,
    "200": $gray-200,
    "300": $gray-300,
    "400": $gray-400,
    "500": $gray-500,
    "600": $gray-600,
    "700": $gray-700,
    "800": $gray-800,
    "900": $gray-900
  ),
  $grays
);

$gray-colors: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$gray-colors: map-merge(
  (
    "gray-1": $gray-100,
    "gray-2": $gray-200,
    "gray-3": $gray-300,
    "gray-4": $gray-400,
    "gray-5": $gray-500,
    "gray-6": $gray-600,
    "gray-7": $gray-700,
    "gray-8": $gray-800,
    "gray-9": $gray-900
  ),
  $gray-colors
);

$opacity-values: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$opacity-values: map-merge(
  (
    "opacity-05": 0.05,
    "opacity-0": 0,
    "opacity-1": 0.1,
    "opacity-2": 0.2,
    "opacity-3": 0.3,
    "opacity-4": 0.4,
    "opacity-5": 0.5,
    "opacity-6": 0.6,
    "opacity-7": 0.7,
    "opacity-8": 0.8,
    "opacity-9": 0.9,
    "opacity-10": 1,
  ),
  $opacity-values
);


@if not variable-exists(blue) {
    $blue:    #1274E7 !default;
}
@if not variable-exists(green) {
    $green:   #4ED199 !default;
}
@if not variable-exists(cyan) {
    $cyan:    #0dd3ff !default;
}
@if not variable-exists(yellow) {
    $yellow:  #ffc168 !default;
}
@if not variable-exists(orange) {
    $orange:  #ff9900 !default;
}
@if not variable-exists(red) {
    $red:     #ff6c5f !default;
}
@if not variable-exists(brown) {
    $brown:     #b4a996 !default;
}
@if not variable-exists(purple) {
    $purple:     #4b19f7 !default;
}


// $primary:       $blue !default;
$secondary:     $gray-500 !default;
$success:       $green !default;
$info:          $cyan !default;
$warning:       $yellow !default;
$danger:        $red !default;
$light:         $gray-100 !default;
$dark:          $gray-500 !default;

$theme-colors: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
// $var-gradient-primary: $primary;
@if $middle-gradient == 'yes' {
    $var-gradient-primary: linear-gradient($gradient-direction, $gradient-primary-1, $gradient-primary-middle, $gradient-primary-2) fixed !default;
} @else {
    $var-gradient-primary: linear-gradient($gradient-direction, $gradient-primary-1, $gradient-primary-2) fixed !default;
}
$var-gradient-primary: linear-gradient($gradient-direction, $gradient-primary-1, $gradient-primary-2) fixed !default;

$theme-colors: map-merge(
  (
    "primary":    $primary,
    "secondary":  $secondary,
    // "success":    $success,
    // "info":       $info,
    // "warning":    $warning,
    // "danger":     $danger,
    // "light":      $light,
    // "dark":       $dark,
    "green":      $green,
    "cyan":       $cyan,
    "yellow":     $yellow,
    "orange":     $orange,
    "red":        $red,
    "blue":       $blue,
    "brown":      $brown,
    "purple":     $purple,
    "white":      $white,
    // "gray":       $gray-500,
    "black":      $black
  ),
  $theme-colors
);

$theme-colors: map-merge(
  $gray-colors,
  $theme-colors
);



$final-theme-colors: () !default;
$final-theme-colors: map-merge(
  $final-theme-colors,
  $theme-colors
);
@each $color, $value in $opacity-values {
    $final-theme-colors: map-merge(
      $final-theme-colors,
      (
        "dark-#{$color}": rgba(#000, $value),
        "light-#{$color}": rgba(#fff, $value)
      )
    ) !global;

}

// Set a specific jump point for requesting color jumps
$theme-color-interval:      8% !default;

// Body
//
// Settings for the `<body>` element.

$body-bg:                   $white !default;
// $body-color:                $gray-900 !default;

$heading-color:       $gray-900 !default;
$dark-heading-color:       $gray-200 !default;
// $gradient-primary-1: #F27121 !default;
// $gradient-primary-middle: #E94057 !default; // Optional
// $gradient-primary-2: #8A2387 !default;

$gradient-secondary-1: $green !default;
$gradient-secondary-2: $primary !default;


$paragraph-margin-bottom:   1rem !default;
$body-color:   rgba(lighten(desaturate($primary, 75%), 5%),0.9) !default;
$dark-body-color:   rgba(darken(desaturate($primary, 75%), 5%),0.9) !default;

// Grid breakpoints
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.



@if variable-exists(customBreakpoint) {
    $mainMobileBreakpoint:    $customBreakpoint !default;
} @else {
    $mainMobileBreakpoint: 992px;
}

$grid-breakpoints: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$grid-breakpoints: map-merge(
  (
    xs: 0,
    sm: 576px,
    md: 768px,
    lg: 992px,
    xl: 1200px
  ),
  $grid-breakpoints
);




// 2. Components
//
// Define common padding and border radius sizes and more.

$line-height-xl:              1.5 !default;
$line-height-lg:              1.5 !default;
$line-height-sm:              1.3 !default;

$border-width:                2px !default;
$border-color:                $gray-300 !default;

$border-radius:               2px !default;
$border-radius-xl:            .35rem !default;
$border-radius-lg:            .3rem !default;
$border-radius-md:            .25rem !default;
$border-radius-sm:            .2rem !default;

// $box-shadow-sm:               0 .0625rem .0625rem rgba($black, .05), 0 .0625rem .125rem rgba($black, .15) !default;
// $box-shadow-hover-sm:         0 .0625rem .125rem rgba($black, .04), 0 .1875rem .625rem rgba($black, .15) !default;
$box-shadow-sm:               0 1px 5px 0 rgba(0,0,0,0.15) !default;
$box-shadow-hover-sm:         0 3px 8px 0 rgba(0,0,0,0.15) !default;
$box-shadow:                  0 .125rem .375rem rgba($black, .05), 0 .5rem 1.2rem rgba($black, .1) !default;
$box-shadow-hover:            0 .125rem .375rem rgba($black, .05), 0 .625rem 1.5rem rgba($black, .15) !default;
$box-shadow-lg:               0 .25rem .5rem rgba($black, .05), 0 1.5rem 2.2rem rgba($black, .1) !default;
$box-shadow-hover-lg:         0 .5rem 1.2rem rgba($black, .1), 0 2rem 3rem rgba($black, .15) !default;

$box-shadow-transition:       all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !default;

$box-scale-sm:               scale(1.05) !default;
$box-scale-hover-sm:         scale(0.95) !default;
$box-scale:                  scale(1.1) !default;
$box-scale-hover:            scale(0.925) !default;
$box-scale-lg:               scale(1.15) !default;
$box-scale-hover-lg:         scale(0.9) !default;

$box-scale-transition:       all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !default;

$fly-sm:                    translate(0,-3px) !default;
$fly:                       translate(0,-6px) !default;
$fly-lg:                    translate(0,-9px) !default;


$fade-move:                 1rem !default;

$component-active-color:      $white !default;
$component-active-bg:         $primary !default;

$caret-width:                 .3em !default;

$transition-base:             all .4s cubic-bezier(0.165, 0.84, 0.44, 1) !default;
// $transition-fade:             opacity .15s linear !default;
$transition-collapse:         height .35s ease !default;


// 3. Typography
// ==========================================================================

// Fonts
//
// Font, line-height, and color for body text, headings, and more.

// stylelint-disable value-keyword-case
// $font-family-sans-serif:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
// $font-family-monospace:       SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
// $font-family-base:            $font-family-sans-serif !default;
// stylelint-enable value-keyword-case


// $font-size-base:              1rem !default; // Assumes the browser default, typically `16px`
$font-size-sm:                ($font-size-base * .75) !default; // 12px
$font-size-normal:            ($font-size-base * .875) !default; // 14px
$font-size-lg:                ($font-size-base * 1.125) !default; // 18px
$font-size-xl:                ($font-size-base * 1.25) !default; // 20px

$font-weight-lighter:         lighter !default;
$font-weight-light:           300 !default;

$font-weight-bolder:          bolder !default;

$font-weight-base:            $font-weight-normal !default;
@if variable-exists(base-line-height) {
    $line-height-base:            $base-line-height !default;
} @else {
    $line-height-base:            1.8 !default;
}

$letter-spacing-base:         -0.1px !default;
$letter-spacing-secondary:    -0.1px !default;

@if not variable-exists(h1-font-size) {
    $h1-font-size:                $font-size-base * 3.75 !default;
}
@if not variable-exists(h2-font-size) {
    $h2-font-size:                $font-size-base * 3 !default;
}
@if not variable-exists(h3-font-size) {
    $h3-font-size:                $font-size-base * 2.25 !default;
}
@if not variable-exists(h4-font-size) {
    $h4-font-size:                $font-size-base * 1.875 !default;
}
@if not variable-exists(h5-font-size) {
    $h5-font-size:                $font-size-base * 1.5 !default;
}
@if not variable-exists(h6-font-size) {
    $h6-font-size:                $font-size-base * 1.125 !default;
}

$small-font-size:             80% !default;

$text-muted:                  $gray-600 !default;

$headings-margin-bottom:      0 !default;
$headings-font-family:        null !default;
$headings-font-weight:        500 !default;
$headings-line-height:        1.28 !default;
$headings-color:              null !default;

$display1-size:               6rem !default;
$display2-size:               5.5rem !default;
$display3-size:               4.5rem !default;
$display4-size:               3.5rem !default;

$display1-weight:             300 !default;
$display2-weight:             300 !default;
$display3-weight:             300 !default;
$display4-weight:             300 !default;
$display-line-height:         1.25 !default;


// 4. Cards
// ==========================================================================
$card-spacer-y:                     .75rem !default;
$card-spacer-x:                     1.25rem !default;
$card-border-width:                 0px !default;
$card-border-radius:                5px !default;
$card-border-color:                 rgba($black, .125) !default;
$card-inner-border-radius:          calc(#{$card-border-radius} - #{$card-border-width}) !default;
$card-cap-bg:                       rgba($black, .03) !default;
$card-cap-color:                    $body-color !default;
$card-bg:                           transparent !default;

$card-img-overlay-padding:          1.25rem !default;

$card-columns-count:                3 !default;
$card-columns-gap:                  1.25rem !default;
$card-columns-margin:               $card-spacer-y !default;


// Alerts
//
// Define alert colors, border radius, and padding.

$alert-padding-y:                   .75rem !default;
$alert-padding-x:                   1.25rem !default;
$alert-margin-bottom:               1rem !default;
$alert-border-radius:               $border-radius !default;
$alert-text-font-weight:            $font-weight-bold !default;
$alert-link-font-weight:            $font-weight-bold !default;
$alert-border-width:                0px !default;

$alert-bg-level:                    -4 !default;
$alert-border-level:                6 !default;
$alert-color-level:                 4 !default;


// Close

$close-font-size:                   $font-size-base * 1.5 !default;
$close-font-weight:                 $font-weight-bold !default;
$close-color:                       $black !default;
$close-text-shadow:                 0 1px 0 $white !default;


// Breadcrumbs

$breadcrumb-padding-y:              .55rem !default;
$breadcrumb-padding-x:              1rem !default;
$breadcrumb-item-padding:           .5rem !default;

$breadcrumb-margin-bottom:          1rem !default;

$breadcrumb-bg:                     $gray-100 !default;
$breadcrumb-divider-color:          $gray-300 !default;
$breadcrumb-active-color:           $gray-600 !default;
$breadcrumb-divider:                quote("|") !default;

$breadcrumb-border-radius:          4px !default;


// Dropdowns
//
// Dropdown menu container and contents.

$dropdown-item-padding-y:           .6rem !default;
$dropdown-item-padding-x:           1.8rem !default;


// Links
//
// Style anchor elements.

$link-color:                              #333 !default;
$link-decoration:                         none !default;
$link-hover-color:                        darken($link-color, 15%) !default;
$link-hover-decoration:                   none !default;
$emphasized-link-hover-darken-percentage: 15% !default;

// Spacing
//
$spacings: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$spacings: map-merge(
  (
    5: 5px,
    10: 10px,
    15: 15px,
    20: 20px,
    25: 25px,
    30: 30px,
    35: 35px,
    40: 40px,
    45: 45px,
    50: 50px,
    60: 60px,
    70: 70px,
    80: 80px,
    90: 90px,
    100: 100px,
    120: 120px,
    130: 130px,
    150: 150px,
    200: 200px,
    300: 300px,
    400: 400px
  ),
  $spacings
);

// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold:  220 !default;
// Customize the light and dark text colors for use in our YIQ color contrast function.
$yiq-text-dark:             $gray-900 !default;
$yiq-text-light:            $white !default;


// Options
//
// Quickly modify global styling by enabling or disabling optional features.

$enable-caret:                                true !default;
$enable-rounded:                              true !default;
$enable-shadows:                              true !default;
$enable-gradients:                            false !default;
$enable-transitions:                          true !default;
$enable-prefers-reduced-motion-media-query:   true !default;
$enable-hover-media-query:                    false !default; // Deprecated, no longer affects any compiled CSS
$enable-grid-classes:                         true !default;
$enable-print-styles:                         true !default;
$enable-validation-icons:                     true !default;


// Buttons + Forms
//
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.

$input-btn-padding-y:         0.5625rem !default;
$input-btn-padding-x:         1.125rem !default;
$input-btn-font-size:         $font-size-normal !default;
$input-btn-line-height:       $line-height-base !default;

$input-btn-focus-width:       .2rem !default;
$input-btn-focus-color:       rgba($component-active-bg, .25) !default;
$input-btn-focus-box-shadow:  0 0 0 $input-btn-focus-width $input-btn-focus-color !default;

$input-btn-padding-y-sm:      .375rem !default;
$input-btn-padding-x-sm:      .875rem !default;
$input-btn-font-size-sm:      $font-size-sm !default;
$input-btn-line-height-sm:    $line-height-sm !default;

$input-btn-padding-y-md:      .625rem !default;
$input-btn-padding-x-md:      1.5rem !default;
$input-btn-font-size-md:      $font-size-base !default;
$input-btn-line-height-md:    $line-height-base !default;

$input-btn-padding-y-lg:      .75rem !default;
$input-btn-padding-x-lg:      2rem !default;
$input-btn-font-size-lg:      $font-size-lg !default;
$input-btn-line-height-lg:    $line-height-lg !default;

$input-btn-padding-y-xl:      1rem !default;
$input-btn-padding-x-xl:      2.375rem !default;
$input-btn-font-size-xl:      $font-size-xl !default;
$input-btn-line-height-xl:    $line-height-xl !default;

$input-btn-border-width:      0rem !default;

// Buttons
//
// For each of Bootstrap's buttons, define text, background, and border color.

$btn-padding-y:               $input-btn-padding-y !default;
$btn-padding-x:               $input-btn-padding-x !default;
$btn-font-size:               $input-btn-font-size !default;
$btn-line-height:             $input-btn-line-height !default;

$btn-padding-y-sm:            $input-btn-padding-y-sm !default;
$btn-padding-x-sm:            $input-btn-padding-x-sm !default;
$btn-font-size-sm:            $input-btn-font-size-sm !default;
$btn-line-height-sm:          $input-btn-line-height-sm !default;

$btn-padding-y-md:            $input-btn-padding-y-md !default;
$btn-padding-x-md:            $input-btn-padding-x-md !default;
$btn-font-size-md:            $input-btn-font-size-md !default;
$btn-line-height-md:          $input-btn-line-height-md !default;

$btn-padding-y-lg:            $input-btn-padding-y-lg !default;
$btn-padding-x-lg:            $input-btn-padding-x-lg !default;
$btn-font-size-lg:            $input-btn-font-size-lg !default;
$btn-line-height-lg:          $input-btn-line-height-lg !default;

$btn-padding-y-xl:            $input-btn-padding-y-xl !default;
$btn-padding-x-xl:            $input-btn-padding-x-xl !default;
$btn-font-size-xl:            $input-btn-font-size-xl !default;
$btn-line-height-xl:          $input-btn-line-height-xl !default;

$btn-border-width:            $input-btn-border-width !default;
$btn-outline-border-width:    2px !default;

$btn-font-weight:             $font-weight-normal !default;
// $btn-box-shadow:              inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
$btn-box-shadow:              none !default;
$btn-focus-width:             $input-btn-focus-width !default;
$btn-focus-box-shadow:        $input-btn-focus-box-shadow !default;
$btn-disabled-opacity:        .65 !default;
$btn-active-box-shadow:       inset 0 3px 5px rgba($black, .125) !default;

$btn-link-disabled-color:     $gray-600 !default;

$btn-block-spacing-y:         .5rem !default;

// Allows for customizing button radius independently from global border radius
// $btn-border-radius:           $border-radius !default;
$btn-border-radius:           4px !default;
$btn-border-radius-xl:        $border-radius-xl !default;
$btn-border-radius-lg:        $border-radius-lg !default;
$btn-border-radius-md:        $border-radius-md !default;
$btn-border-radius-sm:        $border-radius-sm !default;

// $btn-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
$btn-transition:              all 0.15s ease-in-out !default;


// Forms

$label-margin-bottom:                   .5rem !default;

$input-padding-y:                       $input-btn-padding-y !default;
$input-padding-x:                       $input-btn-padding-x !default;
$input-font-size:                       $input-btn-font-size !default;
$input-font-weight:                     $font-weight-base !default;
$input-line-height:                     $input-btn-line-height !default;

$input-padding-y-sm:                    $input-btn-padding-y-sm !default;
$input-padding-x-sm:                    $input-btn-padding-x-sm !default;
$input-font-size-sm:                    $input-btn-font-size-sm !default;
$input-line-height-sm:                  $input-btn-line-height-sm !default;

$input-padding-y-md:                    $input-btn-padding-y-md !default;
$input-padding-x-md:                    $input-btn-padding-x-md !default;
$input-font-size-md:                    $input-btn-font-size-md !default;
$input-line-height-md:                  $input-btn-line-height-md !default;

$input-padding-y-lg:                    $input-btn-padding-y-lg !default;
$input-padding-x-lg:                    $input-btn-padding-x-lg !default;
$input-font-size-lg:                    $input-btn-font-size-lg !default;
$input-line-height-lg:                  $input-btn-line-height-lg !default;

$input-padding-y-xl:                    $input-btn-padding-y-xl !default;
$input-padding-x-xl:                    $input-btn-padding-x-xl !default;
$input-font-size-xl:                    $input-btn-font-size-xl !default;
$input-line-height-xl:                  $input-btn-line-height-xl !default;

$input-bg:                              $white !default;
$input-disabled-bg:                     $gray-200 !default;

$input-color:                           $gray-700 !default;
$input-border-color:                    $gray-400 !default;
$input-border-width:                    $input-btn-border-width !default;
$input-box-shadow:                      0 1px 3px 0 rgba($black, .1) !default;

$input-border-radius:                   $border-radius-md !default;
$input-border-radius-xl:                $border-radius-xl !default;
$input-border-radius-lg:                $border-radius-lg !default;
$input-border-radius-md:                $border-radius-lg !default;
$input-border-radius-sm:                $border-radius-md !default;

$input-focus-bg:                        $input-bg !default;
$input-focus-border-color:              lighten($component-active-bg, 25%) !default;
$input-focus-color:                     $input-color !default;
$input-focus-width:                     $input-btn-focus-width !default;
$input-focus-box-shadow:                $input-btn-focus-box-shadow !default;

$input-placeholder-color:               $gray-500 !default;
$input-plaintext-color:                 $body-color !default;

$input-height-border:                   $input-border-width * 2 !default;

$input-height-inner:                    ($input-btn-font-size * $input-btn-line-height) + ($input-btn-padding-y * 2) !default;
$input-height:                          calc(#{$input-height-inner} + #{$input-height-border}) !default;

$input-height-inner-sm:                 ($input-btn-font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
$input-height-sm:                       calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;

$input-height-inner-md:                 ($input-btn-font-size-md * $input-btn-line-height-md) + ($input-btn-padding-y-md * 2) !default;
$input-height-md:                       calc(#{$input-height-inner-md} + #{$input-height-border}) !default;

$input-height-inner-lg:                 ($input-btn-font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default;
$input-height-lg:                       calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;

$input-height-inner-xl:                 ($input-btn-font-size-xl * $input-btn-line-height-xl) + ($input-btn-padding-y-xl * 2) !default;
$input-height-xl:                       calc(#{$input-height-inner-xl} + #{$input-height-border}) !default;

$input-transition:                      border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;

$form-text-margin-top:                  .25rem !default;

$form-check-input-gutter:               1.25rem !default;
$form-check-input-margin-y:             .3rem !default;
$form-check-input-margin-x:             .25rem !default;

$form-check-inline-margin-x:            .75rem !default;
$form-check-inline-input-margin-x:      .3125rem !default;

$form-grid-gutter-width:                10px !default;
$form-group-margin-bottom:              1rem !default;

$input-group-addon-color:               $input-color !default;
$input-group-addon-bg:                  $gray-200 !default;
$input-group-addon-border-color:        $input-border-color !default;


$custom-forms-transition:               background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;

$custom-control-gutter:                 .5rem !default;
$custom-control-spacer-x:               1rem !default;

$custom-control-indicator-size:         1rem !default;
$custom-control-indicator-bg:           $input-bg !default;

$custom-control-indicator-bg-size:      50% 50% !default;
$custom-control-indicator-box-shadow:   $input-box-shadow !default;
$custom-control-indicator-border-color: $gray-500 !default;
$custom-control-indicator-border-width: $input-border-width !default;

$custom-control-indicator-disabled-bg:          $input-disabled-bg !default;
$custom-control-label-disabled-color:           $gray-600 !default;

$custom-control-indicator-checked-color:        $component-active-color !default;
$custom-control-indicator-checked-bg:           $component-active-bg !default;
$custom-control-indicator-checked-disabled-bg:  rgba(theme-color("primary"), .5) !default;
$custom-control-indicator-checked-box-shadow:   none !default;
$custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;

$custom-control-indicator-focus-box-shadow:     $input-btn-focus-box-shadow !default;
$custom-control-indicator-focus-border-color:   $input-focus-border-color !default;

$custom-control-indicator-active-color:         $component-active-color !default;
$custom-control-indicator-active-bg:            lighten($component-active-bg, 35%) !default;
$custom-control-indicator-active-box-shadow:    none !default;
$custom-control-indicator-active-border-color:  $custom-control-indicator-active-bg !default;

$custom-checkbox-indicator-border-radius:       $border-radius !default;
$custom-checkbox-indicator-icon-checked:        str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"), "#", "%23") !default;

$custom-checkbox-indicator-indeterminate-bg:           $component-active-bg !default;
$custom-checkbox-indicator-indeterminate-color:        $custom-control-indicator-checked-color !default;
$custom-checkbox-indicator-icon-indeterminate:         str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3e%3c/svg%3e"), "#", "%23") !default;
$custom-checkbox-indicator-indeterminate-box-shadow:   none !default;
$custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;

$custom-radio-indicator-border-radius:          50% !default;
$custom-radio-indicator-icon-checked:           str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;

$custom-switch-width:                           $custom-control-indicator-size * 1.75 !default;
$custom-switch-indicator-border-radius:         $custom-control-indicator-size / 2 !default;
$custom-switch-indicator-size:                  calc(#{$custom-control-indicator-size} - #{$custom-control-indicator-border-width * 4}) !default;

$custom-select-padding-y:           $input-btn-padding-y !default;
$custom-select-padding-x:           $input-btn-padding-x !default;
$custom-select-font-size:           $input-font-size !default;
$custom-select-height:              $input-height !default;
$custom-select-indicator-padding:   1rem !default; // Extra padding to account for the presence of the background-image based indicator
$custom-select-font-weight:         $input-font-weight !default;
$custom-select-line-height:         $input-line-height !default;
$custom-select-color:               $input-color !default;
$custom-select-disabled-color:      $gray-600 !default;
$custom-select-bg:                  $input-bg !default;
$custom-select-disabled-bg:         $gray-200 !default;
$custom-select-bg-size:             8px 10px !default; // In pixels because image dimensions
$custom-select-indicator-color:     $gray-800 !default;
$custom-select-indicator:           str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), "#", "%23") !default;
$custom-select-background:          $custom-select-indicator no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)

$custom-select-feedback-icon-padding-right: $input-height-inner * 3 / 4 + $custom-select-padding-x + $custom-select-indicator-padding !default;
$custom-select-feedback-icon-position:      center right ($custom-select-padding-x + $custom-select-indicator-padding) !default;
$custom-select-feedback-icon-size:          ($input-height-inner / 2) ($input-height-inner / 2) !default;

$custom-select-border-width:        $input-border-width !default;
$custom-select-border-color:        $input-border-color !default;
$custom-select-border-radius:       $border-radius !default;
$custom-select-box-shadow:          inset 0 1px 2px rgba($black, .075) !default;

$custom-select-focus-border-color:  $input-focus-border-color !default;
$custom-select-focus-width:         $input-focus-width !default;
$custom-select-focus-box-shadow:    0 0 0 $custom-select-focus-width rgba($custom-select-focus-border-color, .5) !default;

$custom-select-padding-y-sm:        $input-padding-y-sm !default;
$custom-select-padding-x-sm:        $input-padding-x-sm !default;
$custom-select-font-size-sm:        $input-font-size-sm !default;
$custom-select-height-sm:           $input-height-sm !default;

$custom-select-padding-y-lg:        $input-padding-y-lg !default;
$custom-select-padding-x-lg:        $input-padding-x-lg !default;
$custom-select-font-size-lg:        $input-font-size-lg !default;
$custom-select-height-lg:           $input-height-lg !default;

$custom-range-track-width:          100% !default;
$custom-range-track-height:         .5rem !default;
$custom-range-track-cursor:         pointer !default;
$custom-range-track-bg:             $gray-300 !default;
$custom-range-track-border-radius:  1rem !default;
$custom-range-track-box-shadow:     inset 0 .25rem .25rem rgba($black, .1) !default;

$custom-range-thumb-width:                   1rem !default;
$custom-range-thumb-height:                  $custom-range-thumb-width !default;
$custom-range-thumb-bg:                      $component-active-bg !default;
$custom-range-thumb-border:                  0 !default;
$custom-range-thumb-border-radius:           1rem !default;
$custom-range-thumb-box-shadow:              0 .1rem .25rem rgba($black, .1) !default;
$custom-range-thumb-focus-box-shadow:        0 0 0 1px $body-bg, $input-focus-box-shadow !default;
$custom-range-thumb-focus-box-shadow-width:  $input-focus-width !default; // For focus box shadow issue in IE/Edge
$custom-range-thumb-active-bg:               lighten($component-active-bg, 35%) !default;
$custom-range-thumb-disabled-bg:             $gray-500 !default;

$custom-file-height:                $input-height !default;
$custom-file-height-inner:          $input-height-inner !default;
$custom-file-focus-border-color:    $input-focus-border-color !default;
$custom-file-focus-box-shadow:      $input-focus-box-shadow !default;
$custom-file-disabled-bg:           $input-disabled-bg !default;

$custom-file-padding-y:             $input-padding-y !default;
$custom-file-padding-x:             $input-padding-x !default;
$custom-file-line-height:           $input-line-height !default;
$custom-file-font-weight:           $input-font-weight !default;
$custom-file-color:                 $input-color !default;
$custom-file-bg:                    $input-bg !default;
$custom-file-border-width:          $input-border-width !default;
$custom-file-border-color:          $input-border-color !default;
$custom-file-border-radius:         $input-border-radius !default;
$custom-file-box-shadow:            $input-box-shadow !default;
$custom-file-button-color:          $custom-file-color !default;
$custom-file-button-bg:             $input-group-addon-bg !default;
$custom-file-text: (
  en: "Browse"
) !default;
// Form validation

$form-feedback-margin-top:          $form-text-margin-top !default;
$form-feedback-font-size:           $small-font-size !default;
$form-feedback-valid-color:         theme-color("green") !default;
$form-feedback-invalid-color:       theme-color("red") !default;

$form-feedback-icon-valid-color:    $form-feedback-valid-color !default;
$form-feedback-icon-valid:          str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"), "#", "%23") !default;
$form-feedback-icon-invalid-color:  $form-feedback-invalid-color !default;
$form-feedback-icon-invalid:        str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-feedback-icon-invalid-color}' viewBox='-2 -2 7 7'%3e%3cpath stroke='#{$form-feedback-icon-invalid-color}' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"), "#", "%23") !default;




// Tooltips

$tooltip-font-size:                 $font-size-sm !default;
$tooltip-max-width:                 200px !default;
$tooltip-color:                     $white !default;
$tooltip-bg:                        $black !default;
$tooltip-border-radius:             $border-radius !default;
$tooltip-opacity:                   .9 !default;
$tooltip-padding-y:                 .25rem !default;
$tooltip-padding-x:                 .5rem !default;
$tooltip-margin:                    0 !default;

$tooltip-arrow-width:               .8rem !default;
$tooltip-arrow-height:              .4rem !default;
$tooltip-arrow-color:               $tooltip-bg !default;

// Form tooltips must come after regular tooltips
$form-feedback-tooltip-padding-y:     $tooltip-padding-y !default;
$form-feedback-tooltip-padding-x:     $tooltip-padding-x !default;
$form-feedback-tooltip-font-size:     $tooltip-font-size !default;
$form-feedback-tooltip-line-height:   $line-height-base !default;
$form-feedback-tooltip-opacity:       $tooltip-opacity !default;
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;

// Modals

$modal-backdrop-bg:                 $black !default;
$modal-backdrop-opacity:            .7 !default;

$modal-fade-transform:              translate(0, 5px) scale(1.1) !default;
$modal-show-transform:              none !default;
$modal-transition:                  all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !default;

// Tabs
$nav-pills-border-radius:           $border-radius !default;
