/* Overriding bootstrap defaults */
$primary-50: hsl(289, 100%, 98%);
$primary-100: hsl(287, 100%, 95%);
$primary-200: hsl(288, 96%, 91%);
$primary-300: hsl(291, 93%, 83%);
$primary-400: hsl(292, 91%, 73%);
$primary: hsl(292, 84%, 61%);
$primary-600: hsl(293, 69%, 49%);
$primary-700: hsl(295, 72%, 40%);
$primary-800: hsl(295, 70%, 33%);
$primary-900: hsl(297, 64%, 28%);

$gray-50: hsl(209, 25%, 97%) !default;
$gray-100: hsl(220, 18%, 96%) !default;
$gray-200: hsl(220, 16%, 91%) !default;
$gray-300: hsl(216, 14%, 84%) !default;
$gray-400: hsl(218, 14%, 65%) !default;
$gray-500: hsl(220, 12%, 46%) !default;
$gray-600: hsl(215, 18%, 34%) !default;
$gray-700: hsl(217, 22%, 27%) !default;
$gray-800: hsl(215, 32%, 17%) !default;
$gray-900: hsl(221, 44%, 11%) !default;

$theme-colors: (
        "gray-50": $gray-50,
        "gray-100": $gray-100,
        "gray-200": $gray-200,
        "gray-300": $gray-300,
        "gray-400": $gray-400,
        "gray-500": $gray-500,
        "gray-600": $gray-600,
        "gray-700": $gray-700,
        "gray-800": $gray-800,
        "gray-900": $gray-900,

        "primary-50": $primary-50,
        "primary-100": $primary-100,
        "primary-200": $primary-200,
        "primary-300": $primary-300,
        "primary-400": $primary-400,
        "primary-600": $primary-600,
        "primary-700": $primary-700,
        "primary-800": $primary-800,
        "primary-900": $primary-900
);

$spacer: 1rem;
$spacers: (
        0: 0,
        1: ($spacer * .25),
        2: ($spacer * .5),
        3: $spacer,
        4: ($spacer * 1.5),
        5: ($spacer * 3),
        6: ($spacer * 4),
        7: ($spacer * 5),
        8: ($spacer * 6),
        9: ($spacer * 8),
        10: ($spacer * 10)
);

/* Overriding */
$body-bg: hsla(255, 100%, 100%, 1);
$body-color: $gray-900;
$black: hsl(220, 3%, 2%);

/* Border radius */
$border-radius: 0;
$border-radius-lg: 0;
$border-radius-sm: 0;

$code-color: $primary;

/* Dropdown */
$dropdown-padding-x: .25rem;
$dropdown-padding-y: .25rem;
$dropdown-item-padding-y: .25rem;
$dropdown-border-color: $gray-100;
$dropdown-divider-bg: $gray-100;

$list-group-border-color: $gray-100;

/* Card */
$card-border-color: $gray-200;

/* Shadows */
$box-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
$box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
$box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
$box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
$box-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
$box-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

/* Pagination */
$pagination-border-color: $gray-100;
$pagination-disabled-border-color: $gray-100;
$pagination-hover-bg: $gray-50;
$pagination-hover-border-color: $gray-100;

/* Inputs */
$input-border-color: $gray-200;
$input-color: $gray-700;
$input-btn-padding-y: .45rem;
$input-btn-padding-x: .75rem;
$form-group-margin-bottom: 1.5rem;
$input-group-addon-bg: $gray-100;

/* Blockquote footer */
$blockquote-small-color: $gray-800;

@import "./bootstrap-rtl/bootstrap-rtl";

/* Forms */
label {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .375rem;
}

/* Dropdown */
.dropdown-toggle-simple::after {
    display:none;
}

.dropdown-item > svg {
    color: $gray-700;
}

.dropdown-item:focus > svg {
    color: inherit;
}

/* Animate dropdown menu */
.dropdown .dropdown-menu{
    animation-name: opacityIn;
    animation-duration: .15s;
}

@keyframes opacityIn {
    from { opacity: .3; }
    to { opacity: 1; }
}

/* Nav pills */
.nav-pills {
    .nav-link {
        color: $gray-800;
    }
}

/* Code */
code {
    background: $primary-100;
    border-radius: $border-radius;
    padding: .15rem;
}

/* Buttons */
.btn {
    border-style: solid;
}

/* D flex text truncate fix */
.min-width-0 {
    min-width: 0;
}

/* Tooltip fix */
.tooltip { top: 0; }

/* Extra variables */
:root {
    --black: #{$black};
    --body-bg: #{$body-bg};
    --body-color: #{$body-color};
}
