// Variables
//
// Copy settings from this file into the provided `_custom.scss` to override
// the Bootstrap defaults without modifying key, versioned files.

// Table of Contents
//
// Colors
// Options
// Spacing
// Body
// Links
// Grid breakpoints
// Grid containers
// Grid columns
// Fonts
// Components

// General variable structure
//
// Variable format should follow the `$component-modifier-state-property` order.

// Color system

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

$purple:          #7954ff;
$purple-light:    #8988eb;
$pink:            #e83e8c;
$teal:            #78eac1;
$teal-darker:     #6ddeba;
$teal-darkest:    #33ba9e;

$blue: #21bef4;
$blue-light: $blue;
$blue-dark: #326dd1;
$red: #ec0404;
$red-light: #FF3131;
$petrol: #236a84;
$petrol-transparent: rgba(35, 106, 132, 0.95);
$petrol-dark-transparent:  rgba(38, 51, 64, 0.95);
$petrol-dark: #263340;
$green: #8cbd24;
$green-light: $green;
$orange: #f48d21;
$yellow: #d8ce0d;
$yellow-light: $yellow;
$indigo: $blue-dark;
$cyan: $blue;
$black: #1d1d1d;
$black-transparent: rgba(0,0,0, 0.25);
$white: #fff;
$white-opaque: rgba(255, 255, 255, 1);
$white-transparent: rgba(255, 255, 255, 0.5);
$white-transparenter: rgba(255, 255, 255, 0.25);
$white-invisible: rgba(255, 255, 255, 0);
$translucent: rgba(255, 255, 255, 0.1);

$gray-darkest: #262626;
$gray-darker: #5f656d;
$gray-dark: #7c8188;
$gray: #9fa2a8;
$gray-light: #bfc1c5;
$gray-lighter: #e6e6e6;
$gray-lightest: #f2f2f2;

$gray-transparent: rgba(191, 193, 197, 0.25);

$primary: $petrol;
$secondary: $petrol;
$success: $green;
$info: $blue-dark;
$warning: $blue;
$danger: $red;

$link-color: $petrol;
$link-hover-color: $blue;

$light: $white;
$dark: $gray-900;
$border-color: $gray-lighter;
$border-color-dark: $gray-darker;
$disabled: $gray-light;
$disabled-dark: $gray-darker;
$header: $black;
$actionbar: $primary;
$label-default-color: $gray-darker;
$label-color: $gray-darker;
$label-color-inverted: $gray-light;

$critical: $danger;
$high: $yellow;
$low: $gray;


$colors: ();
// stylelint-disable-next-line scss/dollar-variable-default
$colors: map-merge(
  (
    "blue":       $blue,
    "indigo":     $indigo,
    "purple":     $purple,
    "pink":       $pink,
    "red":        $red,
    "orange":     $orange,
    "yellow":     $yellow,
    "green":      $green,
    "teal":       $teal,
    "cyan":       $cyan,
    "white":      $white,
    "gray":       $gray-600,
    "gray-dark":  $gray-800
  ),
  $colors
);

$theme-colors: ();
// stylelint-disable-next-line scss/dollar-variable-default
$theme-colors: map-merge(
  (
    "primary":    $primary,
    "secondary":  $secondary,
    "success":    $success,
    "info":       $info,
    "warning":    $warning,
    "danger":     $danger,
    "light":      $light,
    "dark":       $dark
  ),
  $theme-colors
);

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

// 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:  150;

// Customize the light and dark text colors for use in our YIQ color contrast function.
$yiq-text-dark:             $gray-900;
$yiq-text-light:            $white;


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

$enable-caret:                                true;
$enable-gradients:                            false;
$enable-prefers-reduced-motion-media-query:   true;
$enable-grid-classes:                         true;
$enable-pointer-cursor-for-buttons:           true;
$enable-responsive-font-sizes:                false;
$enable-validation-icons:                     true;
$enable-deprecation-messages:                 false;
$enable-flex:                                 true;
$enable-rounded:                              true;
$enable-shadows:                              false;
$enable-gradients:                            false;
$enable-transitions:                          true;
$enable-hover-media-query:                    false;
$enable-grid-classes:                         true;
$enable-print-styles:                         true;

// Spacing
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.

// Set root font-size for rem, spacing and font-size calculation
:root {
  font-size: 1rem;
}

$spacer: 1.875rem;
$spacers: ();
// stylelint-disable-next-line scss/dollar-variable-default
$spacers: map-merge(
  (
    0: 0,
    1: ($spacer * .25),
    2: ($spacer * .5),
    3: $spacer,
    4: ($spacer * 1.5),
    5: ($spacer * 3)
  ),
  $spacers
);

// This variable affects the `.h-*` and `.w-*` classes.
$sizes: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$sizes: map-merge(
  (
    25: 25%,
    50: 50%,
    75: 75%,
    100: 100%,
    auto: auto
  ),
  $sizes
);

$spacer-x: $spacer;
$spacer-y: $spacer;
$border-width: 1px;
$spacing: $spacer;
$spacing-xxs: calc($spacer / 6);
$spacing-xs: calc($spacer / 3);
$spacing-sm: calc($spacer / 2);
$spacing-md: calc(($spacing-xs)*2);
$spacing-lg: calc(($spacing-xs)*5);
$spacing-xl: $spacer * 2;
$spacing-xxl: $spacer * 3;
$spacing-2xl: 8.75rem;
$spacing-3xl: $spacer * 6;
$spacing-4xl: $spacer * 8;
$spacing-5xl: $spacer * 10;
$spacing-6xl: $spacer * 12;
$spacing-7xl: $spacer * 14;
$spacing-8xl: $spacer * 16;
$spacing-heading: $spacing-md;
$section-margin: $spacing;
$capped-width: 60rem;
$icon: 20px;
$icon-lg: 40px;
$icon-xl: 60px;
$icon-sm: 18px;
$icon-xs: 16px;
$icon-spacing: $spacing-xs; // default margin between icon and text
$spacing-icon-x: 0.5rem; // LEGACY margin between icon and text

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

$body-bg: $white;
$body-color: $black;
$body-padding-mobile: $spacing-sm;
$body-padding-tablet: $spacing;
$body-padding-desktop: $spacing-lg;

// Links
//
// Style anchor elements.

$link-decoration: none;
$link-hover-decoration: none;
$link-drop-bg: $petrol-transparent;

// Paragraphs
//
// Style p element.

$paragraph-margin-bottom: 1rem;

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

// Grid breakpoints

$ds-breakpoints: (
  xs: 0, 
  sm: 680px, 
  md: 900px, 
  lg: 1150px, 
  xl: 1600px, 
  2xl:1900px, 
  3xl: 2200px
  ) !default;

$sidebar-breakpoint: map-get($ds-breakpoints, md) - 1px;
@mixin _assert-ascending($map, $map-name) {
  $prev-key: null;
  $prev-num: null;

  @each $key, $num in $map {
    @if $prev-num != null and $prev-num >= $num {
      @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
    }

    $prev-key: $key;
    $prev-num: $num;
  }
}
@include _assert-ascending($ds-breakpoints, "$ds-breakpoints");

// Grid containers
//
// Define the maximum width of `.container` for different screen sizes.

$container-max-widths: (sm: 576px, md: 720px, lg: 940px, xl: 1140px);

@include _assert-ascending($container-max-widths, "$container-max-widths");

// Grid columns
//
// Set the number of columns and specify the width of the gutters.

$grid-columns: 12;
$grid-gutter-width: $spacing-md;

// Typography
//
// Font, line-height, and color for body text, headings, and more.
 
$font-family-sans-serif: "Source Sans 3", sans-serif;
$font-family-serif: $font-family-sans-serif;
$font-family-monospace: 'Source Code Pro', monospace;
$font-family-mono: 'Source Code Pro', monospace;
$font-family-base: $font-family-sans-serif;

// Pixel value used to responsively scale all typography. Applied to the `<html>` element.

$font-size-root: 1rem;

$font-size-xl: 4.25rem;
$font-size-base: 0.875rem;
$font-size-lg: 1.25rem;
$font-size-sm: 0.813rem;
$font-size-label: $font-size-sm;
$font-size-label-sm: 0.688rem;
$font-size-xs: 0.688rem;

$font-weight-base: 400;
$line-height-base: 1.5;

$h1-font-size: 2.25rem;
$font-size-h1: 2.25rem;
$h2-font-size: 1.875rem;
$font-size-h2: 1.875rem;
$h3-font-size: 1.563rem;
$font-size-h3: 1.563rem;
$h4-font-size: 1.375rem;
$font-size-h4: 1.375rem;
$h5-font-size: 1.125rem;
$font-size-h5: 1.125rem;
$h6-font-size: 1rem;
$font-size-h6: 1rem;
$btn-font-size: $font-size-base;
$font-size-btn: $font-size-base;

$font-size-stats-value: 40px;
$font-size-stats-value-lg: calc(($font-size-stats-value / 2)* 3); 
$font-size-stats-percentage: calc($font-size-stats-value / 2); 
$line-height-stats: 0.7;

$font-size-icon: 20px;
$font-size-icon-sm: 18px;
$font-size-icon-md: 30px;
$font-size-icon-xs: 14px;
$font-size-icon-xxs: 12px;
$font-size-icon-lg: $font-size-icon*2;
$font-size-icon-xl: $font-size-icon*3;

$display1-size: 5.625rem;
$font-size-display1: 5.625rem;
$display2-size: 3.75rem;
$font-size-display2: 3.75rem;
$display3-size: 3.125rem;
$font-size-display3: 3.125rem;
$display4-size: 3rem;
$font-size-display4: 3rem;

$display1-weight: 300;
$display2-weight: 300;
$display3-weight: 300;
$display4-weight: 300;

$headings-margin-bottom: calc($spacer / 2);
$headings-font-family: inherit;
$headings-font-weight: 300;
$headings-line-height: 1.1;
$headings-color: inherit;

$lead-font-size: 1.25rem;
$lead-font-weight: 300;

$font-weight-bold: 700;
$small-font-size: 80%;

$font-weight-lighter:         200;
$font-weight-light:           300;
$font-weight-normal:          400;
$font-weight-semibold:        600;
$font-weight-bold:            700;
$font-weight-bolder:          800;
$font-weight-label:           400;   

$text-muted: $gray-light;

$abbr-border-color: $gray-light;

$blockquote-small-color: $gray-light;
$blockquote-font-size: $font-size-base * 1.25;
$blockquote-border-color: $gray-lighter;
$blockquote-border-width: 0.25rem;

$hr-border-color: rgba(0, 0, 0, 0.1);
$hr-border-width: $border-width;

$mark-padding: 0.2em;

$dt-font-weight: normal;

$kbd-box-shadow: inset 0 -0.1rem 0 rgba(0, 0, 0, 0.25);
$nested-kbd-font-weight: bold;



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

$line-height-lg: calc(4 /3);
$line-height-sm: 1;
$line-height-xs: 0.7;

$border-radius: 5px;
$border-radius-lg: $border-radius;
$border-radius-sm: $border-radius;

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

$caret-width: 0.3em;
$caret-width-lg: $caret-width;

// Tables
//
// Customizes the `.table` component with basic values, each used across all table variations.

$table-cell-padding:          $spacing-xs;
$table-cell-padding-sm:       $spacing-xxs;

$table-color:                 $body-color;
$table-bg:                    null;
$table-accent-bg:             rgba($black, .05);
$table-hover-color:           $table-color;
$table-hover-bg:              rgba($black, .075);
$table-active-bg:             $table-hover-bg;

$table-border-width:          $border-width;
$table-border-color:          $border-color;

$table-head-bg:               $gray-200;
$table-header-font-weight:    400;
$table-header-font-size:      $font-size-label;
$table-header-color:          $label-color;

$table-dark-color:            $white;
$table-dark-bg:               $gray-800;
$table-dark-accent-bg:        rgba($white, .05);
$table-dark-hover-color:      $table-dark-color;
$table-dark-hover-bg:         rgba($white, .075);
$table-dark-border-color:     $table-dark-bg;
$table-dark-color:            $white;

$table-striped-order:         odd;

$table-caption-color:         $text-muted;

$table-bg-level:              -9;
$table-border-level:          -6;

$table-cell-padding: 0.75rem;
$table-sm-cell-padding: 0.3rem;

$table-bg: transparent;
$table-bg-accent: $gray-lightest;
$table-bg-hover: $blue;
$table-bg-active: $table-bg-hover;

$table-border-width: $border-width;
$table-border-color: $border-color;


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


$btn-height: 2.5rem;
$btn-sm-height: $spacing;
$btn-xs-height: 1.5rem;
$btn-padding-x: $spacing-md;
$btn-padding-y: $spacing-xxs;
$btn-line-height: 1.25;
$btn-font-weight: normal;
$btn-box-shadow: none;
$btn-active-box-shadow: none;

$btn-primary-color: $white;
$btn-primary-bg: $primary;
$btn-primary-border: $btn-primary-bg;

$btn-icon-active-color: $white;
$btn-icon-active-bgcolor: $petrol;
$btn-icon-inactive-color: $petrol;

$btn-secondary-color: $petrol;
$btn-secondary-bg: transparent;
$btn-secondary-border: $petrol;

$btn-info-color: $white;
$btn-info-bg: $info;
$btn-info-border: $btn-info-bg;

$btn-success-color: $white;
$btn-success-bg: $success;
$btn-success-border: $btn-success-bg;

$btn-warning-color: $white;
$btn-warning-bg: $warning;
$btn-warning-border: $btn-warning-bg;

$btn-danger-color: $white;
$btn-danger-bg: $danger;
$btn-danger-border: $btn-danger-bg;

$btn-dashed-border-color: $petrol;
$btn-dashed-color: $petrol;

$btn-link-disabled-color: $gray-light;

$btn-primary-inverted-color: $petrol;
$btn-primary-inverted-hover-color: $white;
$btn-primary-inverted-bg: $white;
$btn-primary-inverted-border: $white;

$btn-padding-x-sm: 5px;
$btn-padding-y-sm: 5px;

$btn-padding-y-xs: 5px;
$btn-padding-x-xs: 5px;

$btn-padding-x-lg: 1.5rem;
$btn-padding-y-lg: 0.75rem;

$btn-block-spacing-y: 5px;
$btn-toolbar-margin: 5px;
$btn-xl-size: 150px;
$btn-lg-size: 90px;

$split-btn-dropdown-toggle-padding-x: 8px;
$split-btn-lg-dropdown-toggle-padding-x: 12px;

// Allows for customizing button radius independently from global border radius
$btn-border-radius: $border-radius;
$btn-border-radius-lg: $border-radius-lg;
$btn-border-radius-sm: $border-radius-sm;
$btn-border-radius-xs: $border-radius-sm;



// Forms

$label-margin-bottom:                   .5rem;

$input-height: $spacing + $spacing-xs;
$input-padding-x: $spacing-xs;
$input-padding-y: $spacing-xs;
$input-line-height: 1.25;

$input-bg: $white;
$input-bg-disabled: $gray-lighter;

$input-color: $black;
$input-border-color: $gray-lighter;
$input-btn-border-width: $border-width;

// For form controls and buttons

$input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
$input-border-radius: $border-radius;
$input-border-radius-lg: $border-radius-lg;
$input-border-radius-sm: $border-radius-sm;

$input-border-focus: $link-hover-color;
$input-box-shadow-focus: transparent;
$input-color-placeholder: $gray-light;
$placeholder-color: $gray-light;

$input-padding-x-sm: 0.5rem;
$input-padding-y-sm: 0.25rem;

$input-padding-x-lg: 1.5rem;
$input-padding-y-lg: 0.75rem;

$form-label-padding-y: 0.6rem;

$input-height: $font-size-base * $line-height-base + $input-padding-y * 2;
$input-height-lg: $font-size-lg * $line-height-lg + $input-padding-y-lg * 2;
$input-height-sm: $spacing;

$form-group-margin-bottom: $spacing-xs;

$input-group-addon-bg: transparent;
$input-group-addon-border-color: $input-border-color;

$cursor-disabled: not-allowed;

$custom-control-gutter: 1.5rem;
$custom-control-spacer-x: 1rem;
$custom-control-spacer-y: 0.25rem;

$custom-control-indicator-size: 1rem;
$custom-control-indicator-bg: #ddd;
$custom-control-indicator-bg-size: 50% 50%;
$custom-control-indicator-box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);

$custom-control-disabled-cursor: $cursor-disabled;
$custom-control-disabled-indicator-bg: #eee;
$custom-control-disabled-description-color: #767676;

$custom-control-checked-indicator-color: $white;
$custom-control-checked-indicator-bg: $link-hover-color;
$custom-control-checked-indicator-box-shadow: none;

$custom-control-focus-indicator-box-shadow: none;

$custom-control-active-indicator-color: $white;
$custom-control-active-indicator-bg: $link-hover-color;
$custom-control-active-indicator-box-shadow: none;

$custom-checkbox-radius: $border-radius;
$custom-checkbox-checked-icon: none;
$custom-checkbox-indeterminate-bg: $link-hover-color;
$custom-checkbox-indeterminate-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E");
$custom-checkbox-indeterminate-box-shadow: none;
$custom-checkbox-size: 30px;
$custom-checkbox-size-sm: 20px;

$custom-radio-radius: 50%;
$custom-radio-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");

$custom-select-padding-x: 0.75rem;
$custom-select-padding-y: 0.375rem;
$custom-select-indicator-padding: 1rem;

// Extra padding to account for the presence of the background-image based indicator
$custom-select-color: $white;
$custom-select-bg: $petrol;
$custom-select-bg-size: 8px 10px;

// In pixels because image dimensions
$custom-select-indicator: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
$custom-select-border-width: $input-btn-border-width;
$custom-select-border-color: $petrol;
$custom-select-border-radius: $border-radius;

$custom-select-focus-border-color: $blue;
$custom-select-focus-box-shadow: none;

$custom-select-sm-padding-y: 0.2rem;
$custom-select-sm-font-size: 75%;

$custom-file-height: 2.5rem;
$custom-file-width: 14rem;
$custom-file-focus-box-shadow: none;

$custom-file-padding-x: 0.5rem;
$custom-file-padding-y: 1rem;
$custom-file-line-height: 1.5;
$custom-file-color: #555;
$custom-file-bg: $white;
$custom-file-border-width: $border-width;
$custom-file-border-color: #ddd;
$custom-file-border-radius: $border-radius;
$custom-file-box-shadow: inset 0 0.2rem 0.4rem rgba(0, 0, 0, 0.05);
$custom-file-button-color: $custom-file-color;
$custom-file-button-bg: #eee;
$custom-file-text: (en: "Browse");

// Form validation icons
$form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' 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");
$form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E");
$form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' 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");

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

$dropdown-item-font-weight: normal;
$dropdown-min-width: $spacing * 5;
$dropdown-padding-x: $spacing-sm;
$dropdown-padding-y: $spacing-sm;
$dropdown-margin-top: $spacing-xs;
$dropdown-bg: $petrol-transparent;
$dropdown-border-color: $border-color;
$dropdown-border-width: $border-width;
$dropdown-divider-bg: $white;
$dropdown-box-shadow: 0;

$dropdown-link-color: $white;
$dropdown-link-hover-color: $white ;
$dropdown-link-hover-bg: $link-hover-color;

$dropdown-link-active-color: $component-active-color;
$dropdown-link-active-bg: $component-active-bg;

$dropdown-link-disabled-color: $gray-light;

$dropdown-item-padding-x: $spacing-md;
$dropdown-item-padding-y: $spacing-xs;

$dropdown-header-color: $blue;

// Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.

$zindex-navbar: 1000;
$zindex-dropdown: 1090;
$zindex-popover: 1060;
$zindex-tooltip: 1070;
$zindex-navbar-fixed: 1030;
$zindex-navbar-sticky: 1030;
$zindex-date-time-selector: 10;
$z-index-alert: 1060;
$zindex-modal-bg: 1040;
$zindex-modal: 1050;
$zindex-sidebar: 1020;
$zindex-meta-header: 1010;
$zindex-meta-sidebar: 994;
$zindex-loader: 900;

// Actionbar
$actionbar-height: 4.375rem;
$zindex-content-actionbar: 1001;

// Sidebar
$sidebar-width: $spacing-md * 10;
$meta-sidebar-lg-width: ($spacing * 10) + $spacing-lg;
$meta-sidebar-width: $spacing * 10;
$meta-sidebar-bg: $black;
$meta-sidebar-label-color: $white;
$meta-sidebar-content-color: $white;
$meta-sidebar-table-border-color: $gray-dark;
$meta-sidebar-link-color: $blue;
$meta-sidebar-hover-link-color: $petrol;
$meta-fold-sidebar-color: $link-color;
$meta-fold-border-color: $border-color;
$meta-fold-background-color: $white;
$sidebar-width-extended: 200px;
$sidebar-padding-x: 20px;
$sidebar-bg: $petrol-dark;
$sidebar-title-margin-bottom: 20px;
$sidebar-title-border-color: $black;

// Navbar
$navbar-color: $white;
$navbar-header-height: $spacing-lg;
$header-height: $spacing-lg;
$navbar-header-bg: $petrol-dark;
$navbar-padding-horizontal: $spacing-md;
$navbar-padding-vertical: 0;
$navbar-border-radius: 0;
$navbar-padding-x: $spacing-md;
$navbar-padding-y: 0;
$navbar-brand-padding-y: 0;
$navbar-border-color: transparent;

$navbar-dark-color: $white;
$navbar-dark-hover-color: $blue;
$navbar-dark-active-color: $blue;
$navbar-dark-disabled-color: $gray;
$navbar-dark-header-bg: $black;

$navbar-light-color: rgba(0, 0, 0, 0.3);
$navbar-light-hover-color: rgba(0, 0, 0, 0.6);
$navbar-light-active-color: rgba(0, 0, 0, 0.8);
$navbar-light-disabled-color: rgba(0, 0, 0, 0.15);
$navbar-light-header-bg: $white;

// Navs

$nav-link-padding-y:                15px;
$nav-link-padding-x:                15px;
$navbar-font-weight: normal;
$nav-item-margin: 15px;
$nav-item-inline-spacer: 0;
$nav-link-padding: 15px;
$nav-link-hover-bg: transparent;
$nav-disabled-link-color: $gray-light;
$nav-disabled-link-hover-color: $gray-light;
$nav-disabled-link-hover-bg: transparent;

$nav-tabs-border-color: $gray-lighter;
$nav-tabs-border-width: $border-width;
$nav-tabs-link-hover-border-color: $gray-lighter;
$nav-tabs-active-link-hover-color: $white;
$nav-tabs-active-link-hover-bg: $link-hover-color;
$nav-tabs-active-link-hover-border-color: $link-hover-color;
$nav-tabs-justified-link-border-color: $gray-lighter;
$nav-tabs-justified-active-link-border-color: $body-bg;

$nav-pills-border-radius: $border-radius;
$nav-pills-active-link-color: $component-active-color;
$nav-pills-active-link-bg: $component-active-bg;

// Nav wizard

$nav-wizard-step-index-size: 40px;
$nav-wizard-step-space: $spacing-icon-x;
$nav-wizard-step-bg: $white;
$nav-wizard-step-border: $border-color;
$nav-wizard-step-color: $gray-light;
$nav-wizard-step-font-size: $h3-font-size;
$nav-wizard-step-margin-right: $spacing-xs;
$nav-wizard-active-step-bg: $petrol;
$nav-wizard-active-step-color: $white;
$nav-wizard-active-step-border: $petrol;
$nav-wizard-finished-step-color: $petrol-dark;
$nav-wizard-finished-step-bg: $gray;
$nav-wizard-finished-step-border: $gray;

// Pagination

$pagination-height: $btn-height;
$pagination-min-width: $btn-height;
$pagination-padding-x: 0.75rem;
$pagination-padding-y: $btn-padding-y;
$pagination-padding-x-sm: 0.75rem;
$pagination-padding-y-sm: 0.275rem;
$pagination-padding-x-lg: 1.5rem;
$pagination-padding-y-lg: 0.75rem;

$pagination-color: $link-color;
$pagination-bg: $white;
$pagination-border-width: $border-width;
$pagination-border-color: $link-color;

$pagination-hover-color: $white;
$pagination-hover-bg: $link-hover-color;
$pagination-hover-border: $link-hover-color;

$pagination-active-color: $white;
$pagination-active-bg: $link-color;
$pagination-active-border: $link-color;

$pagination-disabled-color: $gray-light;
$pagination-disabled-bg: $white;
$pagination-disabled-border: $border-color;

// Jumbotron

$jumbotron-padding: 2rem;
$jumbotron-bg: $gray-lighter;

// Form states and alerts
//
// Define colors for form feedback states and, by default, alerts.

$state-success-text: $success;
$state-success-bg: $green-light;
$state-success-border: $success;

$state-info-text: $info;
$state-info-bg: $blue-light;
$state-info-border: $info;

$state-warning-text: $warning;
$state-warning-bg: $yellow-light;
$mark-bg: $state-warning-bg;
$state-warning-border: $warning;

$state-danger-text: $danger;
$state-danger-bg: $red-light;
$state-danger-border: $danger;

// Cards

$card-lg: $spacing-xl * 6 + $grid-gutter-width;
$card-md: $spacing-xl * 5 - $grid-gutter-width;
$card-sm: $spacing-xl * 3;
$card-xs: $spacing * 3 - calc($grid-gutter-width / 2);

$card-spacer-x: $spacing-sm;
$card-spacer-y: $spacing-sm;
$card-border-width: $border-width;
$card-border-radius: $border-radius;
$card-border-color: $border-color;
$card-border-radius-inner: $card-border-radius;
$card-cap-bg: transparent;
$card-bg: $white;
$card-bg-gray: $gray-lighter;

$card-link-hover-color: $link-hover-color;
$card-deck-margin: $spacing-md;
$card-columns-sm-up-column-gap: $spacing-md;

// Tooltips

$tooltip-max-width: $spacing * 10;
$tooltip-color: $white;
$tooltip-bg: $petrol-transparent;
$tooltip-border: $blue;
$tooltip-opacity: 1;
$tooltip-padding-y: 3px;
$tooltip-padding-x: 8px;
$tooltip-margin: 3px;

$tooltip-arrow-width: 5px;
$tooltip-arrow-color: $tooltip-bg;

// Popovers

$popover-bg: $petrol-dark-transparent;
$popover-width: $spacing * 8;
$popover-search-width: $spacing * 10;
$popover-border-width: $border-width;
$popover-border-color: $blue;
$popover-color: $white;
$popover-header-color: $blue;
$popover-body-color: $white;
$popover-box-shadow: 0;

$popover-padding: $spacing-sm;

$popover-header-bg: transparent;
$popover-header-padding-x: $spacing-sm;
$popover-header-padding-y: $spacing-sm;

$popover-content-padding-x: $spacing-sm;
$popover-content-padding-y: $spacing-sm;

$popover-arrow-width: $spacing-xs;
$popover-arrow-color: $popover-bg;

$popover-arrow-outer-width: $popover-arrow-width + 0.063rem;
$popover-arrow-outer-color: $popover-border-color;

// Tags

$tag-default-bg: $white;
$tag-primary-bg: $primary;
$tag-success-bg: $success;
$tag-info-bg: $info;
$tag-warning-bg: $warning;
$tag-danger-bg: $danger;

$tag-height: 1.5rem;
$tag-color: $label-default-color;
$tag-link-hover-color: $link-hover-color;
$tag-font-size: 75%;
$tag-font-weight: bold;
$tag-padding-x: 0.4em;
$tag-padding-y: 0.25em;
$tag-border-color: $border-color;
$tag-pill-padding-x: 0.6em;

// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
$tag-pill-border-radius: 10rem;

// Modals

// Padding applied to the modal body
$modal-inner-padding: $spacing;
$modal-label-color: $gray-dark;
$modal-color: $body-color;
$lightbox-inner-bg: $petrol;
$lightbox-inner-padding: 1px;

$modal-dialog-margin: $navbar-header-height + $spacing;
$modal-dialog-sm-up-margin-y: $navbar-header-height + $spacing;

$modal-title-padding: $spacing;
$modal-title-line-height: $headings-line-height;

$modal-content-bg: $white;
$modal-content-border-color: none;
$modal-content-border-width: 0;
$modal-content-xs-box-shadow: none;
$modal-content-sm-up-box-shadow: none;

$modal-backdrop-bg: $black;
$modal-backdrop-opacity: 0.75;
$modal-header-border-color: transparent;
$modal-footer-color: $white;
$modal-footer-bg: $primary;
$modal-footer-border-color: $modal-header-border-color;
$modal-header-border-width: $modal-content-border-width;
$modal-footer-border-width: $modal-header-border-width;

$modal-lg: 1200px;
$modal-md: 700px;
$modal-sm: 400px;

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

$alert-border-radius: $border-radius;
$alert-link-font-weight: bold;
$alert-border-width: $border-width;

$alert-bg-level: 0;
$alert-border-level: 0;
$alert-color-level: -12.5;

// Progress bars

$progress-bg: $gray-light;
$progress-bar-color: $blue;
$progress-border-radius: $border-radius;
$progress-box-shadow: 0;

$progress-bar-bg: $primary;
$progress-bar-success-bg: $info;
$progress-bar-warning-bg: $warning;
$progress-bar-danger-bg: $danger;
$progress-bar-info-bg: $info;
$progress-bar-height: $border-width * 2;;
$progress-bar-thin-height: $border-width * 2;
$progress-bar-thick-height: $spacing-xs;
$progress-bar-size: $spacing-xs;
$progress-vertical-bar-thin-height: 50px;


// List
$circle-list-size: 30px;
$circle-list-size-font-size: 20px;
$circle-list-size-color: $petrol-dark;
$circle-list-bg: $gray-dark;
// List group

$list-group-bg: transparent;
$list-group-border-color: $gray-lighter;
$list-group-border-width: $border-width;
$list-group-border-radius: 0;

$list-group-hover-bg: $blue;
$list-group-active-color: $component-active-color;
$list-group-active-bg: $component-active-bg;
$list-group-active-border: $list-group-active-bg;
$list-group-active-text-color: $list-group-active-bg;

$list-group-disabled-color: $gray-light;
$list-group-disabled-bg: $gray-lighter;
$list-group-disabled-text-color: $list-group-disabled-color;

$list-group-link-color: #555;
$list-group-link-hover-color: $list-group-link-color;
$list-group-link-heading-color: #333;

$list-group-item-padding-x: $spacing-sm;
$list-group-item-padding-y: $spacing-sm;
$list-group-item-heading-margin-bottom: 5px;
$list-group-item-height: $spacing-md * 2;
$list-item-margin: $spacing-xs;


// Image thumbnails

$thumbnail-padding: 0;
$thumbnail-bg: $body-bg;
$thumbnail-border-width: $border-width;
$thumbnail-border-color: $gray-lighter;
$thumbnail-border-radius: $border-radius;
$thumbnail-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);

// Figures

$figure-caption-font-size: 90%;

// Breadcrumbs

$breadcrumb-padding-y: 0.75rem;
$breadcrumb-padding-x: 1rem;
$breadcrumb-item-padding: 0.5rem;

$breadcrumb-bg: $gray-lighter;
$breadcrumb-divider-color: $gray-light;
$breadcrumb-active-color: $gray-light;
$breadcrumb-divider: "/";

// Media objects

$media-margin-top: 15px;
$media-heading-margin-bottom: 5px;
$media-alignment-padding-x: 10px;

// Carousel

$carousel-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);

$carousel-control-color: $white;
$carousel-control-width: 15%;
$carousel-control-sm-up-size: 30px;
$carousel-control-opacity: 0.5;
$carousel-control-font-size: 20px;

$carousel-indicators-width: 60%;

$carousel-indicator-size: 10px;
$carousel-indicator-active-size: 12px;
$carousel-indicator-active-bg: $white;
$carousel-indicator-border-color: $white;

$carousel-caption-width: 70%;
$carousel-caption-sm-up-width: 60%;
$carousel-caption-color: $white;

// Close Button

$close-font-size: 1rem;
$close-font-weight: normal;
$close-color: $white;
$close-text-shadow: none;

// Code

$code-font-size: $font-size-root;
$code-padding-x: 0;
$code-padding-y: 0;
$code-color: $gray-darker;
$code-bg: $black;

$kbd-color: $white;
$kbd-bg: #333;

$pre-bg: transparent;
$pre-color: $black;
$pre-border-color: transparent;
$pre-scrollable-max-height: 340px;

// testIO Loader

$loader-color1: $info;
$loader-color2: $primary;
$loader-size: 60px;
$loader-stroke-width: calc($loader-size / 10);
