/**
* ## This file is for overwriting the values in the 'node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' file
* ## All values that are not in use by us have a '<-- NOT USED' comment next to it
*/

// sass-lint:disable function-name-format

/**
* Our custom variables
*/
@import '../base/colors';

/**
* Base colors
*/
$gray-base: $color-charcoal9;
$gray-darker: $color-charcoal8;
$gray-dark: $color-charcoal7;
$gray: $color-charcoal5 ;
$gray-light: $color-charcoal2;
$gray-lighter: $color-charcoal1;

$brand-primary: $color-blue5;
$brand-success: $color-green5;
$brand-warning: $color-red5;
$brand-info: #5BC0DE; // <-- NOT USED
$brand-danger: #D9534F; // <-- NOT USED

/**
* Scaffolding
*/
$body-bg: $color-white;
$text-color: $gray;
$link-color: $brand-primary;
$link-hover-color: darken($link-color, 20%);
$link-hover-decoration: none;

/**
* Typography
*/
$font-family-sans-serif: 'Montserrat', Helvetica, Arial, sans-serif;
$font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace; // for `<code>`, `<kbd>`, and `<pre>`
$font-family-serif: Georgia, 'Times New Roman', Times, serif; // <-- NOT USED

$font-family-base: $font-family-sans-serif;

$font-size-base: 16px;
$font-size-large: ceil(($font-size-base * 1.25)); // <-- NOT USED
$font-size-small: ceil(($font-size-base * .85)); //<-- NOT USED

$font-size-h1: 36px; // <-- NOT USED
$font-size-h2: 29px; // <-- NOT USED
$font-size-h3: 22px; // <-- NOT USED
$font-size-h4: 18px; // <-- NOT USED
$font-size-h5: $font-size-base; // <-- NOT USED
$font-size-h6: ceil(($font-size-base * .85)); // <-- NOT USED

/**
* TODO: Update line height
*/
$line-height-base: 1.4; // For use in components like buttons ($line-height-base = 20/14)
$line-height-computed: floor(($font-size-base * $line-height-base)); // For use with `margin`, `padding`, etc (~23px)

// By default, this inherits from the `<body>`.
$headings-font-family: inherit;
$headings-font-weight: 500;
$headings-line-height: 1.1;
$headings-color: inherit;

/**
* Iconography
*
* ## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
* ## Load fonts from this directory.
* ## [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
* ## [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
*/
$bootstrap-sass-asset-helper: false !default;
$icon-font-path: if($bootstrap-sass-asset-helper, 'bootstrap/', '../fonts/bootstrap/') !default; // <-- NOT USED
$icon-font-name: 'glyphicons-halflings-regular' !default; // File name for all font files. <-- NOT USED
$icon-font-svg-id: 'glyphicons_halflingsregular' !default; // Element ID within SVG icon file. <-- NOT USED

/**
* Components
*
* ## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
*/
$padding-base-vertical: 6px;
$padding-base-horizontal: 12px;

$padding-large-vertical: 10px;
$padding-large-horizontal: 16px;

$padding-small-vertical: 5px;
$padding-small-horizontal: 10px;

$padding-xs-vertical: 1px;
$padding-xs-horizontal: 5px;

$line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
$line-height-small: 1.5;

$border-radius-base: 4px;
$border-radius-large: 6px;
$border-radius-small: 3px;

$component-active-color: $color-white; // Global color for active items (e.g., navs or dropdowns)
$component-active-bg: $brand-primary; // Global background color for active items (e.g., navs or dropdowns)

$caret-width-base: 4px; // Width of the `border` for generating carets that indicate dropdowns
$caret-width-large: 5px; // Carets increase slightly in size for larger components

/**
* Tables
*
* ## Customizes the `.table` component with basic values, each used across all table variations
*/
$table-cell-padding: 8px; // Padding for `<th>`s and `<td>`s.
$table-condensed-cell-padding: 5px; // Padding for cells in `.table-condensed`

$table-bg: transparent; // Default background color used for all tables
$table-bg-accent: $gray-lighter; // Background color used for `.table-striped`
$table-bg-hover: $gray-light; // Background color used for `.table-hover`
$table-bg-active: $table-bg-hover;

$table-border-color: $gray-light; // Border color for table and cell borders

/**
* Buttons
*
* ## For each of Bootstrap's buttons, define text, background and border color.
*/
$btn-font-weight: normal;

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

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

$btn-success-color: $color-white; // <-- NOT USED
$btn-success-bg: $brand-success; // <-- NOT USED
$btn-success-border: darken($btn-success-bg, 5%); // <-- NOT USED

$btn-info-color: $brand-primary;
$btn-info-bg: transparent;
$btn-info-border: $brand-primary;

$btn-warning-color: $color-white; // <-- NOT USED
$btn-warning-bg: $brand-warning; // <-- NOT USED
$btn-warning-border: darken($btn-warning-bg, 5%); // <-- NOT USED

$btn-danger-color: $color-white; // <-- NOT USED
$btn-danger-bg: $brand-danger; // <-- NOT USED
$btn-danger-border: darken($btn-danger-bg, 5%); // <-- NOT USED

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

// Allows for customizing button radius independently from global border radius
$btn-border-radius-base: $border-radius-base;
$btn-border-radius-large: $border-radius-large;
$btn-border-radius-small: $border-radius-small;


/**
* Forms
*/
$input-bg: $color-white;
$input-bg-disabled: $gray-lighter;
$input-color: $gray;
$input-border: $gray-lighter;

// .form-control border radius. This has no effect on `<select>`s in some browsers
$input-border-radius: $border-radius-base;
$input-border-radius-large: $border-radius-large;
$input-border-radius-small: $border-radius-small;
$input-border-focus: $brand-primary; // Border color for inputs on focus

$input-color-placeholder: $gray-light;

$input-height-base: 48px;
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2); // <-- NOT USED
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2); // <-- NOT USED

$form-group-margin-bottom: 15px;

$legend-color: $gray-dark;
$legend-border-color: $color-ivory1;

$input-group-addon-bg: $gray-lighter; // Background color for textual input addons
$input-group-addon-border-color: $input-border; // Border color for textual input addons

$cursor-disabled: disabled; // Disabled cursor for form controls and buttons.


/**
* Dropdowns
*
* ## Dropdown menu container and contents.
*/
$dropdown-bg: $color-white;
$dropdown-border: $input-border;
$dropdown-fallback-border: $input-border; // (for IE8)
$dropdown-divider-bg: $gray-lighter;

$dropdown-link-color: $gray-dark;
$dropdown-link-hover-color: darken($gray-dark, 5%);
$dropdown-link-hover-bg: $color-ivory4;

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

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

$dropdown-header-color: $gray;

$dropdown-caret-color: $gray; // Deprecated as of v3.1.0


/**
* 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.
* ## Note: These variables are not generated into the Customizer.
*/
$zindex-navbar: 1000;
$zindex-dropdown: 1000;
$zindex-popover: 1060;
$zindex-tooltip: 1070;
$zindex-navbar-fixed: 1030;
$zindex-modal-background: 1040;
$zindex-modal: 1050;


/**
* Media queries breakpoints
*
* ## Define the breakpoints at which your layout will change, adapting to different screen sizes.
*/
// Extra small screen / phone
$screen-xs: 480px; // Deprecated as of v3.0.1
$screen-xs-min: $screen-xs; // Deprecated as of v3.2.0
$screen-phone: $screen-xs-min; // Deprecated as of v3.0.1

// Small screen / tablet
$screen-sm: 768px; // Deprecated as of v3.0.1
$screen-sm-min: $screen-sm;
$screen-tablet: $screen-sm-min; //Deprecated as of v3.0.1

// Medium screen / desktop
$screen-md: 992px; //Deprecated as of v3.0.1
$screen-md-min: $screen-md;
$screen-desktop: $screen-md-min; //Deprecated as of v3.0.1

// Large screen / wide desktop
$screen-lg: 1200px; // Deprecated as of v3.0.1
$screen-lg-min: $screen-lg;
$screen-lg-desktop: $screen-lg-min; // Deprecated as of v3.0.1

// So media queries don't overlap when required, provide a maximum
$screen-xs-max: ($screen-sm-min - 1);
$screen-sm-max: ($screen-md-min - 1);
$screen-md-max: ($screen-lg-min - 1);


/**
* Grid system
*
* ## Define your custom responsive grid.
*/
$grid-columns: 12; // Number of columns in the grid.
$grid-gutter-width: 30px; // Padding between columns. Gets divided in half for the left and right.
$grid-float-breakpoint: $screen-sm-min; // Point at which the navbar becomes uncollapsed.
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1); // Point at which the navbar begins collapsing.


/**
* Container sizes
*
* ## Define the maximum width of `.container` for different screen sizes.
*/
$container-tablet: (720px + $grid-gutter-width);
$container-sm: $container-tablet;
$container-desktop: (940px + $grid-gutter-width);
$container-md: $container-desktop;
$container-large-desktop: (1140px + $grid-gutter-width);
$container-lg: $container-large-desktop;

/**
* Navbar
*/
// Basics of a navbar
$navbar-height: 50px;
$navbar-margin-bottom: $line-height-computed;
$navbar-border-radius: $border-radius-base;
$navbar-padding-horizontal: floor(calc($grid-gutter-width / 2));
$navbar-padding-vertical: calc(($navbar-height - $line-height-computed) / 2);
$navbar-collapse-max-height: 340px;
$navbar-default-color: #777;
$navbar-default-bg: #F8F8F8;
$navbar-default-border: darken($navbar-default-bg, 6.5%);

// Navbar links
$navbar-default-link-color: #777;
$navbar-default-link-hover-color: $gray-dark;
$navbar-default-link-hover-bg: transparent;
$navbar-default-link-active-color: $color-charcoal5;
$navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%);
$navbar-default-link-disabled-color: $color-ivory6;
$navbar-default-link-disabled-bg: transparent;

// Navbar brand label
$navbar-default-brand-color: $navbar-default-link-color;
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%);
$navbar-default-brand-hover-bg: transparent;

// Navbar toggle
$navbar-default-toggle-hover-bg: $gray-lighter;
$navbar-default-toggle-icon-bar-bg: #888;
$navbar-default-toggle-border-color: $gray-lighter;

// Inverted navbar basics
$navbar-inverse-color: lighten($gray-light, 15%);
$navbar-inverse-bg: #222;
$navbar-inverse-border: darken($navbar-inverse-bg, 10%);

// Inverted navbar links
$navbar-inverse-link-color: lighten($gray-light, 15%);
$navbar-inverse-link-hover-color: $color-white;
$navbar-inverse-link-hover-bg: transparent;
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color;
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%);
$navbar-inverse-link-disabled-color: #444;
$navbar-inverse-link-disabled-bg: transparent;

// Inverted navbar brand label
$navbar-inverse-brand-color: $navbar-inverse-link-color;
$navbar-inverse-brand-hover-color: $color-white;
$navbar-inverse-brand-hover-bg: transparent;

// Inverted navbar toggle
$navbar-inverse-toggle-hover-bg: $gray-dark;
$navbar-inverse-toggle-icon-bar-bg: $color-white;
$navbar-inverse-toggle-border-color: $gray-dark;


//== Navs
//
//##

//=== Shared nav styles
$nav-link-padding: 10px 15px;
$nav-link-hover-bg: $gray-lighter;

$nav-disabled-link-color: $gray-light;
$nav-disabled-link-hover-color: $gray-light;

//== Tabs
$nav-tabs-border-color: $gray-lighter;

$nav-tabs-link-hover-border-color: $gray-lighter;

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

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

//== Pills
$nav-pills-border-radius: $border-radius-base;
$nav-pills-active-link-hover-bg: $component-active-bg;
$nav-pills-active-link-hover-color: $component-active-color;


//== Pagination
//
//##
$pagination-color: $link-color;
$pagination-bg: $color-white;
$pagination-border: $gray-lighter;

$pagination-hover-color: $link-hover-color;
$pagination-hover-bg: $gray-lighter;
$pagination-hover-border: $gray-lighter;

$pagination-active-color: $color-white;
$pagination-active-bg: $brand-primary;
$pagination-active-border: $brand-primary;

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


//== Pager
//
$pager-bg: $pagination-bg;
$pager-border: $pagination-border;
$pager-border-radius: 15px;

$pager-hover-bg: $pagination-hover-bg;

$pager-active-bg: $pagination-active-bg;
$pager-active-color: $pagination-active-color;

$pager-disabled-color: $pagination-disabled-color;


//== Jumbotron
//
//##
$jumbotron-padding: 30px;
$jumbotron-color: inherit;
$jumbotron-bg: $gray-lighter;
$jumbotron-heading-color: inherit;
$jumbotron-font-size: ceil(($font-size-base * 1.5));
$jumbotron-heading-font-size: ceil(($font-size-base * 4.5));


//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.
$state-success-text: $brand-success;
$state-success-bg: $color-green2;
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);

$state-info-text: $brand-primary;
$state-info-bg: $color-blue2;
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);

$state-warning-text: $color-yellow7;
$state-warning-bg: $color-yellow2;
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%);

$state-danger-text: $brand-warning;
$state-danger-bg: $color-red2;
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%);


//== Tooltips
//
//##
//Tooltip max width
$tooltip-max-width: 200px;
//Tooltip text color
$tooltip-color: $color-white;
//Tooltip background color
$tooltip-bg: $color-black;
$tooltip-opacity: .9;

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



//== Popovers
//
//##
//Popover body background color
$popover-bg: $color-white;
//Popover maximum width
$popover-max-width: 276px;
//Popover border color
$popover-border-color: rgba($color-black, .2);
//Popover fallback border color
$popover-fallback-border-color: $color-ivory6;

//Popover title background color
$popover-title-bg: darken($popover-bg, 3%);

//Popover arrow width
$popover-arrow-width: 10px;
//Popover arrow color
$popover-arrow-color: $popover-bg;

//Popover outer arrow width
$popover-arrow-outer-width: ($popover-arrow-width + 1);
//Popover outer arrow color
$popover-arrow-outer-color: fade_in($popover-border-color, .05);
//Popover outer arrow fallback color
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%);


//== Labels
//
//##

//Default label background color
$label-default-bg: $gray-light;
//Primary label background color
$label-primary-bg: $brand-primary;
//Success label background color
$label-success-bg: $brand-success;
//Info label background color
// $label-info-bg: $brand-info;
//Warning label background color
$label-warning-bg: $brand-warning;
//Danger label background color
// $label-danger-bg: $brand-danger;

//Default label text color
$label-color: $color-white;
//Default text color of a linked label
$label-link-hover-color: $color-white;


//== Modals
//
//##

//Padding applied to the modal body
$modal-inner-padding: 15px;

//Padding applied to the modal title
$modal-title-padding: 15px;
//Modal title line-height
$modal-title-line-height: $line-height-base;

//Background color of modal content area
$modal-content-bg: $color-white;
//Modal content border color
$modal-content-border-color: rgba($color-black, .2);
//Modal content border color **for IE8**
$modal-content-fallback-border-color: $color-ivory7;

//Modal backdrop background color
$modal-backdrop-bg: $color-black;
//Modal backdrop opacity
$modal-backdrop-opacity: .5;
//Modal header border color
$modal-header-border-color: #E5E5E5;
//Modal footer border color
$modal-footer-border-color: $modal-header-border-color;

$modal-lg: 900px;
$modal-md: 600px;
$modal-sm: 300px;


//== Alerts
//
//## Define alert colors, border radius, and padding.
$alert-padding: 15px;
$alert-border-radius: $border-radius-base;
$alert-link-font-weight: bold;

$alert-success-bg: $state-success-bg;
$alert-success-text: $state-success-text;
$alert-success-border: $state-success-border;

$alert-info-bg: $state-info-bg;
$alert-info-text: $state-info-text;
$alert-info-border: $state-info-border;

$alert-warning-bg: $state-warning-bg;
$alert-warning-text: $state-warning-text;
$alert-warning-border: $state-warning-border;

$alert-danger-bg: $state-danger-bg;
$alert-danger-text: $state-danger-text;
$alert-danger-border: $state-danger-border;



//== Progress bars
//
//##

//Background color of the whole progress component
$progress-bg: $color-ivory3;
//Progress bar text color
$progress-bar-color: $color-white;
//Variable for setting rounded corners on progress bar.
$progress-border-radius: $border-radius-base;

//Default progress bar color
$progress-bar-bg: $brand-primary;
//Success progress bar color
$progress-bar-success-bg: $brand-success;
//Warning progress bar color
$progress-bar-warning-bg: $brand-warning;
//Danger progress bar color
// $progress-bar-danger-bg: $brand-danger;
//Info progress bar color
// $progress-bar-info-bg: $brand-info;

//== List group
//
//##

//Background color on `.list-group-item`
$list-group-bg: $color-white;
//`.list-group-item` border color
$list-group-border: $gray-lighter;
//List group border radius
$list-group-border-radius: $border-radius-base;

//Background color of single list items on hover
$list-group-hover-bg: $color-ivory3;
//Text color of active list items
$list-group-active-color: $component-active-color;
//Background color of active list items
$list-group-active-bg: $component-active-bg;
//Border color of active list elements
$list-group-active-border: $list-group-active-bg;
//Text color for content within active list items
$list-group-active-text-color: lighten($list-group-active-bg, 40%);

//Text color of disabled list items
$list-group-disabled-color: $gray-light;
//Background color of disabled list items
$list-group-disabled-bg: $gray-lighter;
//Text color for content within disabled list items
$list-group-disabled-text-color: $list-group-disabled-color;

$list-group-link-color: $color-charcoal5;
$list-group-link-hover-color: $list-group-link-color;
$list-group-link-heading-color: $gray-dark;


//== Panels
//
//##

$panel-bg: $color-white;
$panel-body-padding: 15px;
$panel-heading-padding: 10px 15px;
$panel-footer-padding: $panel-heading-padding;
$panel-border-radius: $border-radius-base;

//Border color for elements within panels
$panel-inner-border: $gray-lighter;
$panel-footer-bg: $color-ivory3;

$panel-default-text: $gray;
$panel-default-border: $gray-lighter;
$panel-default-heading-bg: $color-ivory3;

$panel-primary-text: $color-white;
$panel-primary-border: $brand-primary;
$panel-primary-heading-bg: $brand-primary;

$panel-success-text: $state-success-text;
$panel-success-border: $state-success-border;
$panel-success-heading-bg: $state-success-bg;

$panel-info-text: $state-info-text;
$panel-info-border: $state-info-border;
$panel-info-heading-bg: $state-info-bg;

$panel-warning-text: $state-warning-text;
$panel-warning-border: $state-warning-border;
$panel-warning-heading-bg: $state-warning-bg;

$panel-danger-text: $state-danger-text;
$panel-danger-border: $state-danger-border;
$panel-danger-heading-bg: $state-danger-bg;


//== Thumbnails
//
//##

//Padding around the thumbnail image
$thumbnail-padding: 4px;
//Thumbnail background color
$thumbnail-bg: $body-bg;
//Thumbnail border color
$thumbnail-border: $gray-lighter;
//Thumbnail border radius
$thumbnail-border-radius: $border-radius-base;

//Custom text color for thumbnail captions
$thumbnail-caption-color: $text-color;
//Padding around the thumbnail caption
$thumbnail-caption-padding: 9px;


//== Wells
//
//##

$well-bg: $color-ivory3;
$well-border: darken($well-bg, 7%);


//== Badges
//
//##

$badge-color: $color-white;
//Linked badge text color on hover
$badge-link-hover-color: $color-white;
$badge-bg: $gray-light;

//Badge text color in active nav link
$badge-active-color: $link-color;
//Badge background color in active nav link
$badge-active-bg: $color-white;

$badge-font-weight: bold;
$badge-line-height: 1;
$badge-border-radius: 10px;


//== Breadcrumbs
//
//##

$breadcrumb-padding-vertical:   8px;
$breadcrumb-padding-horizontal: 15px;
//Breadcrumb background color
$breadcrumb-bg: $color-ivory3;
//Breadcrumb text color
$breadcrumb-color: $color-ivory6;
//Text color of current page in the breadcrumb
$breadcrumb-active-color: $gray-light;
//Textual separator for between breadcrumb elements
$breadcrumb-separator: '/';

//== Carousel
//
//##
$carousel-text-shadow: 0 1px 2px rgba($color-black, .6);

$carousel-control-color: $color-white;
$carousel-control-width: 15%;
$carousel-control-opacity: .5;
$carousel-control-font-size: 20px;

$carousel-indicator-active-bg: $color-white;
$carousel-indicator-border-color: $color-white;

$carousel-caption-color: $color-white;


//== Close
//
//##
$close-font-weight: bold;
$close-color: $color-black;
$close-text-shadow: 0 1px 0 $color-white;




//== Code
//
//##

$code-color: $brand-warning;
$code-bg: $color-charcoal1;

$kbd-color: $color-white;
$kbd-bg: $gray-dark;

$pre-bg: $color-ivory3;
$pre-color: $gray-dark;
$pre-border-color: $color-ivory6;
$pre-scrollable-max-height: 340px;


//== Type
//
//##

//Horizontal offset for forms and lists.
$component-offset-horizontal: 180px;
//Text muted color
$text-muted: $gray-light;
//Abbreviations and acronyms border color
$abbr-border-color: $gray-light;
//Headings small color
$headings-small-color: $gray-light;
//Blockquote small color
$blockquote-small-color: $gray-light;
//Blockquote font size
$blockquote-font-size: ($font-size-base * 1.25);
//Blockquote border color
$blockquote-border-color: $gray-lighter;
//Page header border color
$page-header-border-color: $gray-lighter;
//Width of horizontal description list titles
$dl-horizontal-offset: $component-offset-horizontal;
//Point at which .dl-horizontal becomes horizontal
$dl-horizontal-breakpoint: $grid-float-breakpoint;
//Horizontal line color.
$hr-border: $gray-lighter;
