@use "sass:color";

//  Foundation for Sites Settings
//  -----------------------------
//
//  Table of Contents:
//
//   1. Global
//   2. Breakpoints
//   3. The Grid
//   4. Base Typography
//   5. Typography Helpers
//   6. Abide
//   7. Accordion
//   8. Accordion Menu
//   9. Badge
//  10. Breadcrumbs
//  11. Button
//  12. Button Group
//  13. Callout
//  14. Card
//  15. Close Button
//  16. Drilldown
//  17. Dropdown
//  18. Dropdown Menu
//  19. Flexbox Utilities
//  20. Forms
//  21. Label
//  22. Media Object
//  23. Menu
//  24. Meter
//  25. Off-canvas
//  26. Orbit
//  27. Pagination
//  28. Progress Bar
//  29. Prototype Arrow
//  30. Prototype Border-Box
//  31. Prototype Border-None
//  32. Prototype Bordered
//  33. Prototype Display
//  34. Prototype Font-Styling
//  35. Prototype List-Style-Type
//  36. Prototype Overflow
//  37. Prototype Position
//  38. Prototype Rounded
//  39. Prototype Separator
//  40. Prototype Shadow
//  41. Prototype Sizing
//  42. Prototype Spacing
//  43. Prototype Text-Decoration
//  44. Prototype Text-Transformation
//  45. Prototype Text-Utilities
//  46. Responsive Embed
//  47. Reveal
//  48. Slider
//  49. Switch
//  50. Table
//  51. Tabs
//  52. Thumbnail
//  53. Title Bar
//  54. Tooltip
//  55. Top Bar
//  56. Xy Grid

// 1. Global
// ---------

$global-font-size: 100% !default;
$global-width: rem-calc(1200) !default;
$global-lineheight: 1.5 !default;
$foundation-palette: (
  primary: #1779ba,
  secondary: #767676,
  success: #3adb76,
  warning: #ffae00,
  alert: #cc4b37,
) !default;
$light-gray: #e6e6e6 !default;
$medium-gray: #cacaca !default;
$dark-gray: #8a8a8a !default;
$black: #0a0a0a !default;
$white: #fefefe !default;
$body-background: $white !default;
$body-font-color: $black !default;
$body-font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !default;
$body-antialiased: true !default;
$global-margin: 1rem !default;
$global-padding: 1rem !default;
$global-position: 1rem !default;
$global-weight-normal: normal !default;
$global-weight-bold: bold !default;
$global-radius: 0 !default;
$global-menu-padding: 0.7rem 1rem !default;
$global-menu-nested-margin: 1rem !default;
$global-text-direction: ltr !default;
$global-flexbox: true !default;
$global-prototype-breakpoints: false !default;
$global-button-cursor: auto !default;
$global-color-pick-contrast-tolerance: 0 !default;
$print-transparent-backgrounds: true !default;

@include add-foundation-colors;

// 2. Breakpoints
// --------------

$breakpoints: (
  small: 0,
  medium: 640px,
  large: 1024px,
  xlarge: 1200px,
  xxlarge: 1440px,
) !default;
$print-breakpoint: large !default;
$breakpoint-classes: (small medium large) !default;

// 3. The Grid
// -----------

$grid-row-width: $global-width !default;
$grid-column-count: 12 !default;
$grid-column-gutter: (
  small: 20px,
  medium: 30px,
) !default;
$grid-column-align-edge: true !default;
$grid-column-alias: "columns" !default;
$block-grid-max: 8 !default;

// 4. Base Typography
// ------------------

$header-font-family: $body-font-family !default;
$header-font-weight: $global-weight-normal !default;
$header-font-style: normal !default;
$font-family-monospace: Consolas, "Liberation Mono", Courier, monospace !default;
$header-color: inherit !default;
$header-lineheight: 1.4 !default;
$header-margin-bottom: 0.5rem !default;
$header-styles: (
  small: (
    "h1": ("font-size": 24),
    "h2": ("font-size": 20),
    "h3": ("font-size": 19),
    "h4": ("font-size": 18),
    "h5": ("font-size": 17),
    "h6": ("font-size": 16),
  ),
  medium: (
    "h1": ("font-size": 48),
    "h2": ("font-size": 40),
    "h3": ("font-size": 31),
    "h4": ("font-size": 25),
    "h5": ("font-size": 20),
    "h6": ("font-size": 16),
  ),
) !default;
$header-text-rendering: optimizeLegibility !default;
$small-font-size: 80% !default;
$header-small-font-color: $medium-gray !default;
$paragraph-lineheight: 1.6 !default;
$paragraph-margin-bottom: 1rem !default;
$paragraph-text-rendering: optimizeLegibility !default;
$code-color: $black !default;
$code-font-family: $font-family-monospace !default;
$code-font-weight: $global-weight-normal !default;
$code-background: $light-gray !default;
$code-border: 1px solid $medium-gray !default;
$code-padding: rem-calc(2 5 1) !default;
$anchor-color: $primary-color !default;
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%) !default;
$anchor-text-decoration: none !default;
$anchor-text-decoration-hover: none !default;
$hr-width: $global-width !default;
$hr-border: 1px solid $medium-gray !default;
$hr-margin: rem-calc(20) auto !default;
$list-lineheight: $paragraph-lineheight !default;
$list-margin-bottom: $paragraph-margin-bottom !default;
$list-style-type: disc !default;
$list-style-position: outside !default;
$list-side-margin: 1.25rem !default;
$list-nested-side-margin: 1.25rem !default;
$defnlist-margin-bottom: 1rem !default;
$defnlist-term-weight: $global-weight-bold !default;
$defnlist-term-margin-bottom: 0.3rem !default;
$blockquote-color: $dark-gray !default;
$blockquote-padding: rem-calc(9 20 0 19) !default;
$blockquote-border: 1px solid $medium-gray !default;
$cite-font-size: rem-calc(13) !default;
$cite-color: $dark-gray !default;
$cite-pseudo-content: "\2014 \0020" !default;
$keystroke-font: $font-family-monospace !default;
$keystroke-color: $black !default;
$keystroke-background: $light-gray !default;
$keystroke-padding: rem-calc(2 4 0) !default;
$keystroke-radius: $global-radius !default;
$abbr-underline: 1px dotted $black !default;

// 5. Typography Helpers
// ---------------------

$lead-font-size: $global-font-size * 1.25 !default;
$lead-lineheight: 1.6 !default;
$subheader-lineheight: 1.4 !default;
$subheader-color: $dark-gray !default;
$subheader-font-weight: $global-weight-normal !default;
$subheader-margin-top: 0.2rem !default;
$subheader-margin-bottom: 0.5rem !default;
$stat-font-size: 2.5rem !default;

// 6. Abide
// --------

$abide-inputs: true !default;
$abide-labels: true !default;
$input-background-invalid: get-color(alert) !default;
$form-label-color-invalid: get-color(alert) !default;
$input-error-color: get-color(alert) !default;
$input-error-font-size: rem-calc(12) !default;
$input-error-font-weight: $global-weight-bold !default;

// 7. Accordion
// ------------

$accordion-background: $white !default;
$accordion-plusminus: true !default;
$accordion-title-font-size: rem-calc(12) !default;
$accordion-item-color: $primary-color !default;
$accordion-item-background-hover: $light-gray !default;
$accordion-item-padding: 1.25rem 1rem !default;
$accordion-content-background: $white !default;
$accordion-content-border: 1px solid $light-gray !default;
$accordion-content-color: $body-font-color !default;
$accordion-content-padding: 1rem !default;

// 8. Accordion Menu
// -----------------

$accordionmenu-padding: $global-menu-padding !default;
$accordionmenu-nested-margin: $global-menu-nested-margin !default;
$accordionmenu-submenu-padding: $accordionmenu-padding !default;
$accordionmenu-arrows: true !default;
$accordionmenu-arrow-color: $primary-color !default;
$accordionmenu-item-background: null !default;
$accordionmenu-border: null !default;
$accordionmenu-submenu-toggle-background: null !default;
$accordion-submenu-toggle-border: $accordionmenu-border !default;
$accordionmenu-submenu-toggle-width: 40px !default;
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width !default;
$accordionmenu-arrow-size: 6px !default;

// 9. Badge
// --------

$badge-background: $primary-color !default;
$badge-color: $white !default;
$badge-color-alt: $black !default;
$badge-palette: $foundation-palette !default;
$badge-padding: 0.3em !default;
$badge-minwidth: 2.1em !default;
$badge-font-size: 0.6rem !default;

// 10. Breadcrumbs
// ---------------

$breadcrumbs-margin: 0 0 $global-margin 0 !default;
$breadcrumbs-item-font-size: rem-calc(11) !default;
$breadcrumbs-item-color: $primary-color !default;
$breadcrumbs-item-color-current: $black !default;
$breadcrumbs-item-color-disabled: $medium-gray !default;
$breadcrumbs-item-margin: 0.75rem !default;
$breadcrumbs-item-uppercase: true !default;
$breadcrumbs-item-separator: true !default;
$breadcrumbs-item-separator-item: "/" !default;
$breadcrumbs-item-separator-item-rtl: "\\" !default;
$breadcrumbs-item-separator-color: $medium-gray !default;

// 11. Button
// ----------

$button-font-family: inherit !default;
$button-padding: 0.85em 1em !default;
$button-margin: 0 0 $global-margin 0 !default;
$button-fill: solid !default;
$button-background: $primary-color !default;
$button-background-hover: scale-color($button-background, $lightness: -15%) !default;
$button-color: $white !default;
$button-color-alt: $black !default;
$button-radius: $global-radius !default;
$button-hollow-border-width: 1px !default;
$button-sizes: (
  tiny: 0.6rem,
  small: 0.75rem,
  default: 0.9rem,
  large: 1.25rem,
) !default;
$button-palette: $foundation-palette !default;
$button-opacity-disabled: 0.25 !default;
$button-background-hover-lightness: -20% !default;
$button-hollow-hover-lightness: -50% !default;
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out !default;

// 12. Button Group
// ----------------

$buttongroup-margin: 1rem !default;
$buttongroup-spacing: 1px !default;
$buttongroup-child-selector: ".button" !default;
$buttongroup-expand-max: 6 !default;
$buttongroup-radius-on-each: true !default;

// 13. Callout
// -----------

$callout-background: $white !default;
$callout-background-fade: 85% !default;
$callout-border: 1px solid rgba($black, 0.25) !default;
$callout-margin: 0 0 1rem 0 !default;
$callout-padding: 1rem !default;
$callout-font-color: $body-font-color !default;
$callout-font-color-alt: $body-background !default;
$callout-radius: $global-radius !default;
$callout-link-tint: 30% !default;

// 14. Card
// --------

$card-background: $white !default;
$card-font-color: $body-font-color !default;
$card-divider-background: $light-gray !default;
$card-border: 1px solid $light-gray !default;
$card-shadow: none !default;
$card-border-radius: $global-radius !default;
$card-padding: $global-padding !default;
$card-margin-bottom: $global-margin !default;

// 15. Close Button
// ----------------

$closebutton-position: right top !default;
$closebutton-offset-horizontal: (
  small: 0.66rem,
  medium: 1rem,
) !default;
$closebutton-offset-vertical: (
  small: 0.33em,
  medium: 0.5rem,
) !default;
$closebutton-size: (
  small: 1.5em,
  medium: 2em,
) !default;
$closebutton-lineheight: 1 !default;
$closebutton-color: $dark-gray !default;
$closebutton-color-hover: $black !default;

// 16. Drilldown
// -------------

$drilldown-transition: transform 0.15s linear !default;
$drilldown-arrows: true !default;
$drilldown-padding: $global-menu-padding !default;
$drilldown-nested-margin: 0 !default;
$drilldown-background: $white !default;
$drilldown-submenu-padding: $drilldown-padding !default;
$drilldown-submenu-background: $white !default;
$drilldown-arrow-color: $primary-color !default;
$drilldown-arrow-size: 6px !default;

// 17. Dropdown
// ------------

$dropdown-padding: 1rem !default;
$dropdown-background: $body-background !default;
$dropdown-border: 1px solid $medium-gray !default;
$dropdown-font-size: 1rem !default;
$dropdown-width: 300px !default;
$dropdown-radius: $global-radius !default;
$dropdown-sizes: (
  tiny: 100px,
  small: 200px,
  large: 400px,
) !default;

// 18. Dropdown Menu
// -----------------

$dropdownmenu-arrows: true !default;
$dropdownmenu-arrow-color: $anchor-color !default;
$dropdownmenu-arrow-size: 6px !default;
$dropdownmenu-arrow-padding: 1.5rem !default;
$dropdownmenu-min-width: 200px !default;
$dropdownmenu-background: $white !default;
$dropdownmenu-submenu-background: $dropdownmenu-background !default;
$dropdownmenu-padding: $global-menu-padding !default;
$dropdownmenu-nested-margin: 0 !default;
$dropdownmenu-submenu-padding: $dropdownmenu-padding !default;
$dropdownmenu-border: 1px solid $medium-gray !default;
$dropdown-menu-item-color-active: get-color(primary) !default;
$dropdown-menu-item-background-active: transparent !default;

// 19. Flexbox Utilities
// ---------------------

$flex-source-ordering-count: 6 !default;
$flexbox-responsive-breakpoints: true !default;

// 20. Forms
// ---------

$fieldset-border: 1px solid $medium-gray !default;
$fieldset-padding: rem-calc(20) !default;
$fieldset-margin: rem-calc(18 0) !default;
$legend-padding: rem-calc(0 3) !default;
$form-spacing: rem-calc(16) !default;
$helptext-color: $black !default;
$helptext-font-size: rem-calc(13) !default;
$helptext-font-style: italic !default;
$input-prefix-color: $black !default;
$input-prefix-background: $light-gray !default;
$input-prefix-border: 1px solid $medium-gray !default;
$input-prefix-padding: 1rem !default;
$form-label-color: $black !default;
$form-label-font-size: rem-calc(14) !default;
$form-label-font-weight: $global-weight-normal !default;
$form-label-line-height: 1.8 !default;
$select-background: $white !default;
$select-triangle-color: $dark-gray !default;
$select-radius: $global-radius !default;
$input-color: $black !default;
$input-placeholder-color: $medium-gray !default;
$input-font-family: inherit !default;
$input-font-size: rem-calc(16) !default;
$input-font-weight: $global-weight-normal !default;
$input-line-height: $global-lineheight !default;
$input-background: $white !default;
$input-background-focus: $white !default;
$input-background-disabled: $light-gray !default;
$input-border: 1px solid $medium-gray !default;
$input-border-focus: 1px solid $dark-gray !default;
$input-padding: $form-spacing * 0.5 !default;
$input-shadow: inset 0 1px 2px rgba($black, 0.1) !default;
$input-shadow-focus: 0 0 5px $medium-gray !default;
$input-cursor-disabled: not-allowed !default;
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out !default;
$input-number-spinners: true !default;
$input-radius: $global-radius !default;
$form-button-radius: $global-radius !default;

// 21. Label
// ---------

$label-background: $primary-color !default;
$label-color: $white !default;
$label-color-alt: $black !default;
$label-palette: $foundation-palette !default;
$label-font-size: 0.8rem !default;
$label-padding: 0.33333rem 0.5rem !default;
$label-radius: $global-radius !default;

// 22. Media Object
// ----------------

$mediaobject-margin-bottom: $global-margin !default;
$mediaobject-section-padding: $global-padding !default;
$mediaobject-image-width-stacked: 100% !default;

// 23. Menu
// --------

$menu-margin: 0 !default;
$menu-nested-margin: $global-menu-nested-margin !default;
$menu-items-padding: $global-menu-padding !default;
$menu-simple-margin: 1rem !default;
$menu-item-color-active: $white !default;
$menu-item-background-active: get-color(primary) !default;
$menu-icon-spacing: 0.25rem !default;
$menu-item-background-hover: $light-gray !default;
$menu-state-back-compat: true !default;
$menu-centered-back-compat: true !default;
$menu-icons-back-compat: true !default;

// 24. Meter
// ---------

$meter-height: 1rem !default;
$meter-radius: $global-radius !default;
$meter-background: $medium-gray !default;
$meter-fill-good: $success-color !default;
$meter-fill-medium: $warning-color !default;
$meter-fill-bad: $alert-color !default;

// 25. Off-canvas
// --------------

$offcanvas-sizes: (
  small: 250px,
) !default;
$offcanvas-vertical-sizes: (
  small: 250px,
) !default;
$offcanvas-background: $light-gray !default;
$offcanvas-shadow: 0 0 10px rgba($black, 0.7) !default;
$offcanvas-inner-shadow-size: 20px !default;
$offcanvas-inner-shadow-color: rgba($black, 0.25) !default;
$offcanvas-overlay-zindex: 11 !default;
$offcanvas-push-zindex: 12 !default;
$offcanvas-overlap-zindex: 13 !default;
$offcanvas-reveal-zindex: 12 !default;
$offcanvas-transition-length: 0.5s !default;
$offcanvas-transition-timing: ease !default;
$offcanvas-fixed-reveal: true !default;
$offcanvas-exit-background: rgba($white, 0.25) !default;
$maincontent-class: "off-canvas-content" !default;

// 26. Orbit
// ---------

$orbit-bullet-background: $medium-gray !default;
$orbit-bullet-background-active: $dark-gray !default;
$orbit-bullet-diameter: 1.2rem !default;
$orbit-bullet-margin: 0.1rem !default;
$orbit-bullet-margin-top: 0.8rem !default;
$orbit-bullet-margin-bottom: 0.8rem !default;
$orbit-caption-background: rgba($black, 0.5) !default;
$orbit-caption-padding: 1rem !default;
$orbit-control-background-hover: rgba($black, 0.5) !default;
$orbit-control-padding: 1rem !default;
$orbit-control-zindex: 10 !default;

// 27. Pagination
// --------------

$pagination-font-size: rem-calc(14) !default;
$pagination-margin-bottom: $global-margin !default;
$pagination-item-color: $black !default;
$pagination-item-padding: rem-calc(3 10) !default;
$pagination-item-spacing: rem-calc(1) !default;
$pagination-radius: $global-radius !default;
$pagination-item-background-hover: $light-gray !default;
$pagination-item-background-current: $primary-color !default;
$pagination-item-color-current: $white !default;
$pagination-item-color-disabled: $medium-gray !default;
$pagination-ellipsis-color: $black !default;
$pagination-mobile-items: false !default;
$pagination-mobile-current-item: false !default;
$pagination-arrows: true !default;

// 28. Progress Bar
// ----------------

$progress-height: 1rem !default;
$progress-background: $medium-gray !default;
$progress-margin-bottom: $global-margin !default;
$progress-meter-background: $primary-color !default;
$progress-radius: $global-radius !default;

// 29. Prototype Arrow
// -------------------

$prototype-arrow-directions: (
  down,
  up,
  right,
  left
) !default;
$prototype-arrow-size: 0.4375rem !default;
$prototype-arrow-color: $black !default;

// 30. Prototype Border-Box
// ------------------------

$prototype-border-box-breakpoints: $global-prototype-breakpoints !default;

// 31. Prototype Border-None
// -------------------------

$prototype-border-none-breakpoints: $global-prototype-breakpoints !default;

// 32. Prototype Bordered
// ----------------------

$prototype-bordered-breakpoints: $global-prototype-breakpoints !default;
$prototype-border-width: rem-calc(1) !default;
$prototype-border-type: solid !default;
$prototype-border-color: $medium-gray !default;

// 33. Prototype Display
// ---------------------

$prototype-display-breakpoints: $global-prototype-breakpoints !default;
$prototype-display: (
  inline,
  inline-block,
  block,
  table,
  table-cell
) !default;

// 34. Prototype Font-Styling
// --------------------------

$prototype-font-breakpoints: $global-prototype-breakpoints !default;
$prototype-wide-letter-spacing: rem-calc(4) !default;
$prototype-font-normal: $global-weight-normal !default;
$prototype-font-bold: $global-weight-bold !default;

// 35. Prototype List-Style-Type
// -----------------------------

$prototype-list-breakpoints: $global-prototype-breakpoints !default;
$prototype-style-type-unordered: (
  disc,
  circle,
  square
) !default;
$prototype-style-type-ordered: (
  decimal,
  lower-alpha,
  lower-latin,
  lower-roman,
  upper-alpha,
  upper-latin,
  upper-roman
) !default;

// 36. Prototype Overflow
// ----------------------

$prototype-overflow-breakpoints: $global-prototype-breakpoints !default;
$prototype-overflow: (
  visible,
  hidden,
  scroll
) !default;

// 37. Prototype Position
// ----------------------

$prototype-position-breakpoints: $global-prototype-breakpoints !default;
$prototype-position: (
  static,
  relative,
  absolute,
  fixed
) !default;
$prototype-position-z-index: 975 !default;

// 38. Prototype Rounded
// ---------------------

$prototype-rounded-breakpoints: $global-prototype-breakpoints !default;
$prototype-border-radius: rem-calc(3) !default;

// 39. Prototype Separator
// -----------------------

$prototype-separator-breakpoints: $global-prototype-breakpoints !default;
$prototype-separator-align: center !default;
$prototype-separator-height: rem-calc(2) !default;
$prototype-separator-width: 3rem !default;
$prototype-separator-background: $primary-color !default;
$prototype-separator-margin-top: $global-margin !default;

// 40. Prototype Shadow
// --------------------

$prototype-shadow-breakpoints: $global-prototype-breakpoints !default;
$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
                       0 2px 10px 0 rgba(0, 0, 0, 0.12) !default;

// 41. Prototype Sizing
// --------------------

$prototype-sizing-breakpoints: $global-prototype-breakpoints !default;
$prototype-sizing: (
  width,
  height
) !default;
$prototype-sizes: (
  25: 25%,
  50: 50%,
  75: 75%,
  100: 100%
) !default;

// 42. Prototype Spacing
// ---------------------

$prototype-spacing-breakpoints: $global-prototype-breakpoints !default;
$prototype-spacers-count: 3 !default;

// 43. Prototype Text-Decoration
// -----------------------------

$prototype-decoration-breakpoints: $global-prototype-breakpoints !default;
$prototype-text-decoration: (
  overline,
  underline,
  line-through,
) !default;

// 44. Prototype Text-Transformation
// ---------------------------------

$prototype-transformation-breakpoints: $global-prototype-breakpoints !default;
$prototype-text-transformation: (
  lowercase,
  uppercase,
  capitalize
) !default;

// 45. Prototype Text-Utilities
// ----------------------------

$prototype-utilities-breakpoints: $global-prototype-breakpoints !default;
$prototype-text-overflow: ellipsis !default;

// 46. Responsive Embed
// --------------------

$responsive-embed-margin-bottom: rem-calc(16) !default;
$responsive-embed-ratios: (
  default: 4 by 3,
  widescreen: 16 by 9,
) !default;

// 47. Reveal
// ----------

$reveal-background: $white !default;
$reveal-width: 600px !default;
$reveal-max-width: $global-width !default;
$reveal-padding: $global-padding !default;
$reveal-border: 1px solid $medium-gray !default;
$reveal-radius: $global-radius !default;
$reveal-zindex: 1005 !default;
$reveal-overlay-background: rgba($black, 0.45) !default;

// 48. Slider
// ----------

$slider-width-vertical: 0.5rem !default;
$slider-transition: all 0.2s ease-in-out !default;
$slider-height: 0.5rem !default;
$slider-background: $light-gray !default;
$slider-fill-background: $medium-gray !default;
$slider-handle-height: 1.4rem !default;
$slider-handle-width: 1.4rem !default;
$slider-handle-background: $primary-color !default;
$slider-opacity-disabled: 0.25 !default;
$slider-radius: $global-radius !default;

// 49. Switch
// ----------

$switch-background: $medium-gray !default;
$switch-background-active: $primary-color !default;
$switch-height: 2rem !default;
$switch-height-tiny: 1.5rem !default;
$switch-height-small: 1.75rem !default;
$switch-height-large: 2.5rem !default;
$switch-radius: $global-radius !default;
$switch-margin: $global-margin !default;
$switch-paddle-background: $white !default;
$switch-paddle-offset: 0.25rem !default;
$switch-paddle-radius: $global-radius !default;
$switch-paddle-transition: all 0.25s ease-out !default;

// 50. Table
// ---------

$table-background: $white !default;
$table-color-scale: 5% !default;
$table-border: 1px solid smart-scale($table-background, $table-color-scale) !default;
$table-padding: rem-calc(8 10 10) !default;
$table-hover-scale: 2% !default;
$table-row-hover: color.adjust($table-background, $lightness: -1 * $table-hover-scale) !default;
$table-row-stripe-hover: color.adjust($table-background, $lightness: -1 * ($table-color-scale + $table-hover-scale)) !default;
$table-is-striped: true !default;
$table-striped-background: smart-scale($table-background, $table-color-scale) !default;
$table-stripe: even !default;
$table-head-background: smart-scale($table-background, $table-color-scale * 0.5) !default;
$table-head-row-hover: color.adjust($table-head-background, $lightness: -1 * $table-hover-scale) !default;
$table-foot-background: smart-scale($table-background, $table-color-scale) !default;
$table-foot-row-hover: color.adjust($table-foot-background, $lightness: -1 * $table-hover-scale) !default;
$table-head-font-color: $body-font-color !default;
$table-foot-font-color: $body-font-color !default;
$show-header-for-stacked: false !default;
$table-stack-breakpoint: medium !default;

// 51. Tabs
// --------

$tab-margin: 0 !default;
$tab-background: $white !default;
$tab-color: $primary-color !default;
$tab-background-active: $light-gray !default;
$tab-active-color: $primary-color !default;
$tab-item-font-size: rem-calc(12) !default;
$tab-item-background-hover: $white !default;
$tab-item-padding: 1.25rem 1.5rem !default;
$tab-expand-max: 6 !default;
$tab-content-background: $white !default;
$tab-content-border: $light-gray !default;
$tab-content-color: $body-font-color !default;
$tab-content-padding: 1rem !default;

// 52. Thumbnail
// -------------

$thumbnail-border: solid 4px $white !default;
$thumbnail-margin-bottom: $global-margin !default;
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2) !default;
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5) !default;
$thumbnail-transition: box-shadow 200ms ease-out !default;
$thumbnail-radius: $global-radius !default;

// 53. Title Bar
// -------------

$titlebar-background: $black !default;
$titlebar-color: $white !default;
$titlebar-padding: 0.5rem !default;
$titlebar-text-font-weight: bold !default;
$titlebar-icon-color: $white !default;
$titlebar-icon-color-hover: $medium-gray !default;
$titlebar-icon-spacing: 0.25rem !default;

// 54. Tooltip
// -----------

$has-tip-cursor: help !default;
$has-tip-font-weight: $global-weight-bold !default;
$has-tip-border-bottom: dotted 1px $dark-gray !default;
$tooltip-background-color: $black !default;
$tooltip-color: $white !default;
$tooltip-padding: 0.75rem !default;
$tooltip-max-width: 10rem !default;
$tooltip-font-size: $small-font-size !default;
$tooltip-pip-width: 0.75rem !default;
$tooltip-pip-height: $tooltip-pip-width * 0.866 !default;
$tooltip-radius: $global-radius !default;

// 55. Top Bar
// -----------

$topbar-padding: 0.5rem !default;
$topbar-background: $light-gray !default;
$topbar-submenu-background: $topbar-background !default;
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0 !default;
$topbar-input-width: 200px !default;
$topbar-unstack-breakpoint: medium !default;

// 56. Xy Grid
// -----------

$xy-grid: true !default;
$grid-container: $global-width !default;
$grid-columns: 12 !default;
$grid-margin-gutters: (
  small: 20px,
  medium: 30px
) !default;
$grid-padding-gutters: $grid-margin-gutters !default;
$grid-container-padding: $grid-padding-gutters !default;
$grid-container-max: $global-width !default;
$xy-block-grid-max: 8 !default;
