﻿:root,
[data-bs-theme=light] {
    /*popout*/
    --bs-primary-bg-subtle: #cfe2ff; /*background of the popout*/
    --bs-primary-border-subtle: #9ec5fe; /*boarder of popout*/
    --bs-primary-text: #0a58ca; /*color of popout text*/
    /*links*/
    --bs-primary-link: #0d6efd; /*primary link color*/
    --bs-primary-link-hover: #0a58ca; /*primary link hover and focus color*/
    --bs-secondary-link: #6c757d; /*secondary link color*/
    --bs-secondary-link-hover: #565e64; /*secondary link hover and focus color*/
    /* buttons*/
    /*primary button (i.e. Search)*/
    --bs-btn-p-color: #fff; /*button text*/
    --bs-btn-p-bg: #0d6efd; /*button background*/
    --bs-btn-p-border-color: #0d6efd; /*button border*/
    --bs-btn-p-hover-color: #fff; /*button hover text*/
    --bs-btn-p-hover-bg: #0b5ed7; /*button hover background*/
    --bs-btn-p-hover-border-color: #0a58ca; /*button hover border*/
    --bs-btn-p-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-p-active-color: #fff;
    --bs-btn-p-active-bg: #0a58ca;
    --bs-btn-p-active-border-color: #0a53be;
    --bs-btn-p-disabled-color: #fff;
    --bs-btn-p-disabled-bg: #0d6efd;
    --bs-btn-p-disabled-border-color: #0d6efd;
    /*end primary button*/
    /*primary outline button (i.e. Clear Search, Download)*/
    --bs-btn-op-color: #0d6efd;
    --bs-btn-op-border-color: #0d6efd;
    --bs-btn-op-hover-color: #fff;
    --bs-btn-op-hover-bg: #0d6efd;
    --bs-btn-op-hover-border-color: #0d6efd;
    --bs-btn-op-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-op-active-color: #fff;
    --bs-btn-op-active-bg: #0d6efd;
    --bs-btn-op-active-border-color: #0d6efd;
    --bs-btn-op-disabled-color: #0d6efd;
    --bs-btn-op-disabled-bg: transparent;
    --bs-btn-op-disabled-border-color: #0d6efd;
    --bs-op-gradient: none;
    /*end primary outline button*/
    /*secondary outline button (i.e. Close on the modals)*/
    --bs-btn-os-color: #6c757d;
    --bs-btn-os-border-color: #6c757d;
    --bs-btn-os-hover-color: #fff;
    --bs-btn-os-hover-bg: #6c757d;
    --bs-btn-os-hover-border-color: #6c757d;
    --bs-btn-os-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-os-active-color: #fff;
    --bs-btn-os-active-bg: #6c757d;
    --bs-btn-os-active-border-color: #6c757d;
    --bs-btn-os-disabled-color: #6c757d;
    --bs-btn-os-disabled-bg: transparent;
    --bs-btn-os-disabled-border-color: #6c757d;
    --bs-os-gradient: none;
    /*end secondary outline button*/
    /*danger outline button (i.e. Delete and Delete confirm)*/
    --bs-btn-od-color: #dc3545;
    --bs-btn-od-border-color: #dc3545;
    --bs-btn-od-hover-color: #fff;
    --bs-btn-od-hover-bg: #dc3545;
    --bs-btn-od-hover-border-color: #dc3545;
    --bs-btn-od-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-od-active-color: #fff;
    --bs-btn-od-active-bg: #dc3545;
    --bs-btn-od-active-border-color: #dc3545;
    --bs-btn-od-disabled-color: #dc3545;
    --bs-btn-od-disabled-bg: transparent;
    --bs-btn-od-disabled-border-color: #dc3545;
    --bs-od-gradient: none;
    /*end danger outline button */
    /*button link (edit hovering over existing values)*/
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10, 88, 202;
    /*end button link*/
    
    /*other*/
    --bs-success: #198754; /*used for boarder on valud box.*/
    --bs-danger: #dc3545; /*used for boarder on invalid box */
    --bs-primary-rgb: 13, 110, 253; /*used for boarder of boxes*/
    --bs-secondary-rgb: 108, 117, 125; /*used for secondary boarder of boxes (popouts)*/
    --bs-success-rgb: 25, 135, 84; /*success backgroud*/
    --bs-info-rgb: 13, 202, 240; /*boarder of info*/
    --bs-warning-rgb: 255, 193, 7; /*backgroud color for warning*/
    --bs-danger-rgb: 220, 53, 69; /* used for danger text box*/
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-secondary-text: #6c757d;
    --bs-success-text: #146c43;
    --bs-info-text: #087990;
    --bs-warning-text: #997404;
    --bs-danger-text: #b02a37;
    --bs-light-text: #6c757d;
    --bs-dark-text: #495057;
    --bs-secondary-bg-subtle: #f8f9fa;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-secondary-border-subtle: #e9ecef;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-2xl: 2rem;
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), 0.15);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(var(--bs-body-color-rgb), 0.075);
    --bs-emphasis-color: #000;
    --bs-form-control-bg: var(--bs-body-bg);
    --bs-form-control-disabled-bg: var(--bs-secondary-bg);
    --bs-highlight-bg: #fff3cd;
}

[data-bs-theme=dark] {
    /*popout*/
    --bs-primary-bg-subtle: #031633;
    --bs-primary-border-subtle: #084298;
    --bs-primary-text: #6ea8fe;
    /*links*/
    --bs-primary-link: #0d6efd; /*primary link color*/
    --bs-primary-link-hover: #0a58ca; /*primary link hover and focus color*/
    --bs-secondary-link: #6c757d; /*secondary link color*/
    --bs-secondary-link-hover: #565e64; /*secondary link hover and focus color*/
    /* buttons*/
    /*primary button (i.e. Search)*/
    --bs-btn-p-color: #fff; /*button text*/
    --bs-btn-p-bg: #0d6efd; /*button background*/
    --bs-btn-p-border-color: #0d6efd; /*button border*/
    --bs-btn-p-hover-color: #fff; /*button hover text*/
    --bs-btn-p-hover-bg: #0b5ed7; /*button hover background*/
    --bs-btn-p-hover-border-color: #0a58ca; /*button hover border*/
    --bs-btn-p-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-p-active-color: #fff;
    --bs-btn-p-active-bg: #0a58ca;
    --bs-btn-p-active-border-color: #0a53be;
    --bs-btn-p-disabled-color: #fff;
    --bs-btn-p-disabled-bg: #0d6efd;
    --bs-btn-p-disabled-border-color: #0d6efd;
    /*end primary button*/
    /*primary outline button (i.e. Clear Search, Download)*/
    --bs-btn-op-color: #0d6efd;
    --bs-btn-op-border-color: #0d6efd;
    --bs-btn-op-hover-color: #fff;
    --bs-btn-op-hover-bg: #0d6efd;
    --bs-btn-op-hover-border-color: #0d6efd;
    --bs-btn-op-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-op-active-color: #fff;
    --bs-btn-op-active-bg: #0d6efd;
    --bs-btn-op-active-border-color: #0d6efd;
    --bs-btn-op-disabled-color: #0d6efd;
    --bs-btn-op-disabled-bg: transparent;
    --bs-btn-op-disabled-border-color: #0d6efd;
    --bs-op-gradient: none;
    /*end primary outline button*/
    /*secondary outline button (i.e. Close on the modals)*/
    --bs-btn-os-color: #6c757d;
    --bs-btn-os-border-color: #6c757d;
    --bs-btn-os-hover-color: #fff;
    --bs-btn-os-hover-bg: #6c757d;
    --bs-btn-os-hover-border-color: #6c757d;
    --bs-btn-os-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-os-active-color: #fff;
    --bs-btn-os-active-bg: #6c757d;
    --bs-btn-os-active-border-color: #6c757d;
    --bs-btn-os-disabled-color: #6c757d;
    --bs-btn-os-disabled-bg: transparent;
    --bs-btn-os-disabled-border-color: #6c757d;
    --bs-os-gradient: none;
    /*end secondary outline button*/
    /*danger outline button (i.e. Delete and Delete confirm)*/
    --bs-btn-od-color: #dc3545;
    --bs-btn-od-border-color: #dc3545;
    --bs-btn-od-hover-color: #fff;
    --bs-btn-od-hover-bg: #dc3545;
    --bs-btn-od-hover-border-color: #dc3545;
    --bs-btn-od-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-od-active-color: #fff;
    --bs-btn-od-active-bg: #dc3545;
    --bs-btn-od-active-border-color: #dc3545;
    --bs-btn-od-disabled-color: #dc3545;
    --bs-btn-od-disabled-bg: transparent;
    --bs-btn-od-disabled-border-color: #dc3545;
    --bs-od-gradient: none;
    /*end danger outline button */
    /*button link (edit hovering over existing values)*/
    --bs-link-color: #6ea8fe;
    --bs-link-hover-color: #9ec5fe;
    --bs-link-color-rgb: 110, 168, 254;
    --bs-link-hover-color-rgb: 158, 197, 254;
    /*end button link*/
    /*other*/
    --bs-body-color: #adb5bd;
    --bs-body-color-rgb: 173, 181, 189;
    --bs-body-bg: #212529;
    --bs-body-bg-rgb: 33, 37, 41;
    --bs-emphasis-color: #f8f9fa;
    --bs-emphasis-color-rgb: 248, 249, 250;
    --bs-secondary-color: rgba(173, 181, 189, 0.75);
    --bs-secondary-bg: #343a40;
    --bs-secondary-bg-rgb: 52, 58, 64;
    --bs-tertiary-color: rgba(173, 181, 189, 0.5);
    --bs-tertiary-bg: #2b3035;
    --bs-tertiary-bg-rgb: 43, 48, 53;
    --bs-emphasis-color: #fff;
    --bs-secondary-text: #dee2e6;
    --bs-success-text: #75b798;
    --bs-info-text: #6edff6;
    --bs-warning-text: #ffda6a;
    --bs-danger-text: #ea868f;
    --bs-light-text: #f8f9fa;
    --bs-dark-text: #dee2e6;
    --bs-secondary-bg-subtle: #212529;
    --bs-success-bg-subtle: #051b11;
    --bs-info-bg-subtle: #032830;
    --bs-warning-bg-subtle: #332701;
    --bs-danger-bg-subtle: #2c0b0e;
    --bs-light-bg-subtle: #343a40;
    --bs-dark-bg-subtle: #1a1d20;
    --bs-secondary-border-subtle: #495057;
    --bs-success-border-subtle: #0f5132;
    --bs-info-border-subtle: #055160;
    --bs-warning-border-subtle: #664d03;
    --bs-danger-border-subtle: #842029;
    --bs-light-border-subtle: #495057;
    --bs-dark-border-subtle: #343a40;
    --bs-heading-color: #fff;
    --bs-code-color: #e685b5;
    --bs-border-color: #495057;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
}
