
html {
    font-size: 14px;
    min-width: 340px;
}

button {
    transition: none !important;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.flv-bg:not([data-bs-theme="dark"]) {
    background: linear-gradient(0deg, #292E34 0%, #292E34 40%, #838A94 100%) fixed;
}

header.customer-navContainer {
    z-index: 255;
    min-width: 320px;
}
header.customer-navContainer,
footer {
    --bs-body-bg-rgb: var(--fx-header-bg-rgb);
}

button.btn.customer-btn {
    min-width: 80px;
}
@media (max-width: 577px) {
    button.btn.customer-btn.flv-4-col {
        min-width: 23%;
    }
}

.sr-only {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
}

.hidden-h {
    position: absolute;
    overflow: hidden;
    height: 0;
}

.truncate {
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

.form-control.is-invalid, .form-control.is-valid {
    background-image: none;
}
.val-error-icon {
    display: none;
}
.val-error .val-error-icon {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    z-index: 5;
}
.val-error .val-error-icon:before {
    font-size: 1.2rem;
}
.val-error .input-group-text,
.alert-danger {
    background-color: rgba(var(--fx-danger-bg-rgb), 0.25);
    border-color: #dc3545;
    color: rgba(var(--fx-danger-color-rgb), 1);
}

.powered-by-logo img {
    width: 68px;
    height: 30px;
}
.powered-by-logo .powered-by-dark {
    display: none;
}
body[data-bs-theme="dark"] .powered-by-logo .powered-by-light {
    display: none;
}
body[data-bs-theme="dark"] .powered-by-logo .powered-by-dark {
    display: inline;
}

/* start of nav button styling */
button.customer-btn.fx-nav {
    line-height: 1;
    font-size: 0;
}
button.customer-btn.fx-nav span {
    vertical-align: middle;
    padding: 0 !important;
}
button.customer-btn.fx-nav i {
    line-height: 1;
    font-size: 1.1rem;
    height: 1.2rem;
    vertical-align: middle;
}
button.customer-btn.fx-nav i:before {
    vertical-align: middle;
    margin-bottom: 1px;
}
@media (min-width: 576px) {
    button.customer-btn.fx-nav {
        /*height: 2rem; */
    }
    button.customer-btn.fx-nav i {
        width: 1.0rem;
    }
}
/* end of nav button styling */

.nav-item .fx-tab-btn {
    display: none;
}
.nav-item.tab-active {
    position: relative;
}
.nav-item.tab-active button.btn-secondary {
    padding-right: 2rem;
}
.nav-item.tab-active .fx-tab-btn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 100%;
    padding: 0;
}

/* start of comment styling */
.comment {
    position: relative;
}
.comment[data-level="0"]:nth-child(even) {
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--bs-border-color);
}
.comment[data-level="0"]:nth-child(even):not(:last-child) {
    border-bottom: 1px solid var(--bs-border-color);
}
.comment .comment-avatar {
    position: absolute;
    width: 2rem;
    height: 2rem;
    top: 1.5rem;
    left: 1.5rem;
    transform: translate(-50%, -50%);
    background: url(../images/noAvatar64x64.png);
    background-size: 100%;
}
.comment[data-level="0"] > .comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
}
/* end of comment styling */

/* start of votes styling */
#votes_table tr:last-child td {
    border-bottom: none;
}
/* end of votes styling */

#more_comments_btn, #more_votes_btn {
    border-radius: 0 !important;
    border-left-width: 0;
    border-bottom-width: 0;
    border-right-width: 0;
    padding: 0.7rem !important;
    margin: 1px 0;
}

.pagination .page-item:first-child .page-link {
    border-right-color: transparent;
}
.pagination .page-item:last-child .page-link {
    border-left-color: transparent;
}
.pagination .page-item:not(:first-child):not(:last-child):not(:nth-child(2)) .page-link {
    border-left-color: transparent;
}
.pagination .page-item:not(:first-child) .btn.btn-secondary {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.pagination .page-item:not(:last-child) .btn.btn-secondary {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.pagination .page-item { width: 3rem; }
.pagination[data-count="5"] .page-item { width: calc(100% / 5); }
.pagination[data-count="6"] .page-item { width: calc(100% / 6); }
.pagination[data-count="7"] .page-item { width: calc(100% / 7); }
.pagination[data-count="8"] .page-item { width: calc(100% / 8); }
.pagination[data-count="9"] .page-item { width: calc(100% / 9); }
.pagination[data-count="10"] .page-item { width: calc(100% / 10); }

/* bs md media query */
@media (min-width: 576px) {
    .pagination[data-count] .page-item { width: 3rem; }
}
/* bs md media query */
@media (min-width: 768px) {
}

button.btn.nav-link span {
    vertical-align: top;
}

button.btn.btn-link {
    text-decoration: none;
}

.spinner-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: wait;
}
.spinner-layer {
    background: rgba(var(--fx-spinner-bg-rgb), 0.5);
}

.spinner-layer:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4rem;
    height: 4rem;
    transform: translate(-50%, -50%) rotate(0deg);
    background: none;
    animation: anim_center_spin 1s linear infinite;
    border: 0.5rem solid;
    border-radius: 100%;
}
.spinner-layer:after {
    border-color: rgb(var(--fx-spinner-color-rgb)) transparent transparent transparent;
}
@keyframes anim_center_spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.spinner-blocked {
    min-height: 125px;
    position: relative;
}
.spinner-blocked {
    position: relative;
}
.spinner-layer-fixed {
    position: fixed;
    z-index: 10000;
}

.table tr th,
.table tr td {
    padding: 0.25rem 0.5rem;
}

#listview_table .spinner-layer {
    margin-top: 2rem;
    height: calc(100% - 2rem);
}
table#listview_table {
    border-collapse: separate;
    border-spacing: 0;
    position: relative;
}

#listview_table thead tr th {
    border-bottom-width: 2px;
}

#listview_table thead tr th,
#listview_table tbody tr td {
    cursor: pointer;
    padding: 5px;
    word-break: break-word;
}

#eidProviders li:not(:last-of-type) button {
    margin-bottom: 1rem;
}

#listview_nav_buttons div button:last-child {
    position: absolute;
    right: 0;
    max-width: 100%;
}
#listview_nav_buttons div button:last-child span {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 !important;
}

#tabs_frame {
    border-top-left-radius: 0 !important;
}
.nav.nav-tabs .btn.btn-secondary.nav-link {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.header-offset {
    margin-top: 120px;
}
.mail-header .header-offset {
    margin-top: 70px;
}
.header-offset.eid-offset {
    margin-top: 234px;
}

.flv-table-input {
    width: 11.5rem;
}

.form-control.is-invalid:not(:focus) {
    box-shadow: 0 0 0 2px rgb(var(--fx-danger-border-bg-rgb));
    border-color: var(--bs-white) !important;
    outline: none !important;
}
.fx-drop-calendar-frame[data-fx-placement] {
    border: 1px solid var(--bs-border-color);
}
.fx-drop-calendar-frame[data-fx-placement]:before {
    content: "";
    display: block;
    position: absolute;
    background: var(--bs-white);
    width: 7px;
    height: 7px;
    border: 1px solid var(--bs-border-color);
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-bottom-right-radius: 100%;
}
.fx-drop-calendar-frame .fx-drop-calendar-header button {
    padding: 0.1rem 0.2rem;
}
.fx-drop-calendar-frame .fx-drop-calendar-header button:disabled {
    opacity: 0.2 !important;
}

.btn:not(.fx-clear-btn):not(.flv-4-col):not(.flv-btn-w-unlock) {
    min-width: 8rem;
}

.nav.nav-tabs button.btn.nav-link:focus {
    position: relative;
    z-index: 10;
}

/* flv theme - applied globally to be accessible from any class */
/* bootstrap sometimes uses rgb values instead of hex, listing rgb values allows both use cases to be set with a single value */
body:not([data-bs-theme="dark"]), body:not([data-bs-theme="dark"]) * {
    /* default/standard light flv theme */
    --fx-primary-bg: #6B4A96;
    --fx-primary-bg-rgb: 107, 74, 150;
    --fx-primary-border: #6B4A96;
    --fx-primary-hover-bg: #4B2E6F;
    --fx-primary-hover-border: #4B2E6F;
    --fx-primary-color: #6B4A96;
    --fx-primary-color-hover: #4B2E6F;
    --fx-primary-disabled-bg: #6B4A96;
    --fx-link-color: #6B4A96;

    --fx-light-bg: #ffffff;
    --fx-light-stripe-bg: #f4f4f4;
    --fx-light-hover-bg: #D9D9D9;

    --fx-focus-color-rgb: 138, 111, 163;
    --fx-focus-color: rgb(var(--fx-focus-color-rgb));
    --bs-btn-close-focus-shadow: 0 0 0 2px var(--fx-focus-color);

    --fx-text-color-rgb: 66, 66, 66; /* main text color in rgb */
    --fx-text-inv-color-rgb: 251, 251, 251;

    --fx-success-bg-rgb: 23, 125, 77;
    --fx-success-border-rgb: 25, 135, 84;
    --fx-success-hover-bg-rgb: 19, 103, 64;
    --fx-success-hover-border-rgb: 20, 108, 67;

    --fx-danger-bg-rgb: 166, 58, 73;
    --fx-danger-color-rgb: 144, 50, 64;
    --fx-danger-border-bg-rgb: 166, 58, 73;
    --fx-danger-hover-bg-rgb: 144, 50, 64;
    --fx-danger-hover-border-rgb: 144, 50, 64;
    --fx-danger-text-rgb: var(--fx-text-inv-color-rgb);
    --fx-text-danger-rgb: 212, 37, 55; /* text-danger keeps the pre-rebrand red */

    --fx-bs-warning-hover-bg: #ffca2c;
    --fx-bs-warning-color: #755800;
    --fx-bs-warning-hover-color: #946F00;

    --fx-bs-info-hover-bg: #31d2f2;
    --fx-bs-info-color: #065565;
    --fx-bs-info-hover-color: #068098;

    --fx-info-bg: #fcf8e3;

    --bs-border-color: #bfbfbf; /* contrast 1.68 border -> body */
    --bs-body-bg-rgb: 245, 245, 245;

    --bs-nav-tabs-link-active-border-color: #bfbfbf #bfbfbf transparent #bfbfbf;

    --bs-tertiary-bg: #eee;
    --bs-tertiary-bg-rgb: 238, 238, 238;

    --fx-header-bg-rgb: var(--bs-body-bg-rgb);
    --fx-focus-highlight-rgb: 255, 255, 255;

    --fx-spinner-bg-rgb: var(--fx-text-color-rgb);
    --fx-spinner-color-rgb: var(--bs-white-rgb);
}

body[data-bs-theme="dark"], body[data-bs-theme="dark"] * {
    /* non-standard dark flv theme - used to compliment Bootstrap dark theme */
    --dark-rgb: 33, 37, 41;
    --dark-bg-rgb: 46, 52, 56;
    --dark-form-bg-rgb: 39, 44, 47;

    --dark-border-rgb: 60, 69, 73;
    --dark-hover-bg-rgb: 57, 64, 71;
    --dark-hover-border-rgb: 77, 85, 91;

    --fx-light-bg: rgb(var(--dark-bg-rgb));
    --fx-light-stripe-bg: rgb(var(--dark-form-bg-rgb));
    --fx-light-hover-bg: rgb(var(--dark-hover-bg-rgb));

    --bs-white-rgb: var(--dark-rgb);
    --bs-body-bg-rgb: var(--dark-form-bg-rgb);

    --fx-text-color-rgb: 215, 215, 215;
    --fx-text-inv-color-rgb: 251, 251, 251;
    --fx-header-bg-rgb: 52, 58, 64;

    --fx-focus-highlight-rgb: var(--dark-border-rgb);
    --fx-focus-color-rgb: 19, 143, 213;
    --fx-focus-color: rgb(var(--fx-focus-color-rgb));

    --fx-info-bg: rgb(var(--dark-bg-rgb));

    --bs-pagination-color: rgb(var(--fx-text-inv-color-rgb));
    --bs-pagination-active-color: var(--bs-pagination-color);
    --bs-pagination-focus-color: var(--bs-pagination-color);
    --bs-pagination-hover-color: var(--bs-pagination-color);

    --fx-primary-bg: #b98fd194;
    --fx-primary-bg-rgb: 127, 105, 145; /* solid equivalent of --fx-primary-bg on the dark surface, keeps text on .bg-primary readable */
    --fx-primary-border: #b98fd194;
    --fx-primary-hover-bg: #b98fd1ad;
    --fx-primary-hover-border: #b98fd1ad;
    --fx-primary-color: #B98FD1;
    --fx-primary-color-hover: #D3BCE4;
    --fx-primary-disabled-bg: #b98fd194;
    --fx-link-color: #1499E6;

    --fx-success-bg-rgb: 23, 125, 77;
    --fx-success-border-rgb: 25, 135, 84;
    --fx-success-hover-bg-rgb: 19, 103, 64;
    --fx-success-hover-border-rgb: 20, 108, 67;

    /* #C23B3BED and #CC4B4BED composited on the dark surface, since these rgb triplets cannot carry alpha */
    --fx-danger-bg-rgb: 184, 59, 59;
    --fx-danger-color-rgb: 165, 29, 43;
    --fx-danger-border-bg-rgb: 184, 59, 59;
    --fx-danger-hover-bg-rgb: 193, 73, 74;
    --fx-danger-hover-border-rgb: 193, 73, 74;
    --fx-danger-text-rgb: 251, 243, 243;
    --fx-text-danger-rgb: 212, 37, 55; /* text-danger keeps the pre-rebrand red */

    --fx-spinner-bg-rgb: var(--dark-rgb);
    --fx-spinner-color-rgb: var(--fx-text-color-rgb);
}

* {
    /* text color overrides */
    --bs-body-color: rgb(var(--fx-text-color-rgb)) !important; /* main text color */
    --bs-body-color-rgb: var(--fx-text-color-rgb);
    --bs-nav-tabs-link-active-color: var(--bs-body-color);
}
.page-link {
    --bs-pagination-disabled-color: var(--bs-border-color);
    --bs-pagination-active-bg: var(--fx-primary-bg);
    --bs-pagination-color: var(--fx-primary-color);
    --bs-pagination-active-border-color: var(--fx-primary-border);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-hover-color: var(--fx-primary-color-hover);
    --bs-pagination-hover-bg: var(--fx-light-hover-bg);
}

/* checkboxes and radio buttons */
.form-check-input:checked {
    background-color: var(--fx-primary-bg);
    border-color: var(--fx-primary-border);
}
.form-check-input:focus {
    border-color: var(--fx-focus-color);
    box-shadow: 0 0 0 2px var(--fx-focus-color);
}

/* link buttons keep the theme link color on hover and active */
.btn-link {
    --bs-btn-color: var(--fx-link-color);
    --bs-btn-hover-color: var(--fx-link-color);
    --bs-btn-active-color: var(--fx-link-color);
}

.allow-linebreaks {
    white-space: pre-line;
    word-wrap: break-word;
}

.btn-primary, .btn-primary.customer-btn {
    --bs-btn-bg: var(--fx-primary-bg);
    --bs-btn-border-color: var(--fx-primary-border);
    --bs-btn-focus-bg: var(--fx-primary-bg) !important;
    --bs-btn-focus-border-color: var(--fx-primary-border) !important;
    --bs-btn-active-bg: var(--fx-primary-hover-bg);
    --bs-btn-active-border-color: var(--fx-primary-hover-border);
    --bs-btn-hover-bg: var(--fx-primary-hover-bg);
    --bs-btn-hover-border-color: var(--fx-primary-hover-border);
    --bs-btn-disabled-bg: var(--fx-primary-disabled-bg);
    --bs-btn-disabled-border-color: var(--fx-primary-disabled-bg);
    --bs-btn-hover-color: rgb(var(--fx-text-inv-color-rgb));
    --bs-btn-active-color: rgb(var(--fx-text-inv-color-rgb));
    color: rgb(var(--fx-text-inv-color-rgb));
    background-clip: padding-box;
}
.bg-primary {
    --bs-primary-rgb: var(--fx-primary-bg-rgb);
}
.btn-outline-primary, .btn-outline-primary span {
    /*--bs-btn-bg: var(--fx-primary-bg);*/
    --bs-btn-border-color: var(--fx-primary-border);
    /*--bs-btn-focus-bg: var(--fx-primary-bg) !important;*/
    --bs-btn-focus-border-color: var(--fx-primary-border) !important;
    --bs-btn-active-bg: var(--fx-primary-hover-bg);
    --bs-btn-active-border-color: var(--fx-primary-hover-border);
    --bs-btn-hover-bg: var(--fx-primary-hover-bg);
    --bs-btn-hover-border-color: var(--fx-primary-hover-border);
    color: var(--fx-primary-border);
}
.btn-outline-primary:active, .btn-outline-primary:active span,
.btn-outline-primary:hover, .btn-outline-primary:hover span {
    --bs-btn-active-bg: var(--fx-primary-hover-bg);
    --bs-btn-active-border-color: var(--fx-primary-hover-border);
    --bs-btn-hover-bg: var(--fx-primary-hover-bg);
    --bs-btn-hover-border-color: var(--fx-primary-hover-border);
    color: var(--bs-white);
}


.btn:not(.active):not(:hover):focus-visible {
    background-color: var(--bs-btn-bg) !important;
}
.text-dark, .text-dark span, .text-dark i {
    color: rgb(var(--fx-text-color-rgb));
}

/* ------------- START SUCCESS OVERRIDES ------------- */
.btn-success, .btn-success.customer-btn {
    --bs-btn-bg: rgb(var(--fx-success-bg-rgb));
    --bs-btn-focus-bg: rgb(var(--fx-success-bg-rgb));
    --bs-btn-border-color: rgb(var(--fx-success-border-rgb));
    --bs-btn-focus-border-color: rgb(var(--fx-success-border-rgb));
    --bs-btn-active-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-success-hover-border-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-success-hover-border-rgb));
}
.text-success {
    --bs-success-rgb: var(--fx-success-bg-rgb);
}
.btn-success:hover .badge, .btn-success:active .badge {
    --bs-success-rgb: var(--fx-success-hover-bg-rgb);
}
.btn-outline-success, .btn-outline-success span {
    --bs-btn-border-color: rgb(var(--fx-success-bg-rgb));
    --bs-btn-focus-border-color: rgb(var(--fx-success-border-rgb));
    --bs-btn-active-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-success-hover-border-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-success-hover-border-rgb));
    color: rgb(var(--fx-success-hover-border-rgb));
}
.btn-outline-success:active, .btn-outline-success:active span,
.btn-outline-success:hover, .btn-outline-success:hover span {
    --bs-btn-active-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-success-hover-border-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-success-hover-bg-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-success-hover-border-rgb));
    color: var(--bs-white);
}
/* ------------- END SUCCESS OVERRIDES ------------- */

/* ------------- START DANGER OVERRIDES ------------- */
.btn-danger, .btn-danger.customer-btn {
    --bs-btn-bg: rgb(var(--fx-danger-bg-rgb));
    --bs-btn-focus-bg: rgb(var(--fx-danger-bg-rgb));
    --bs-btn-border-color: rgb(var(--fx-danger-border-bg-rgb));
    --bs-btn-focus-border-color: rgb(var(--fx-danger-border-bg-rgb));
    --bs-btn-active-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-danger-hover-border-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-danger-hover-border-rgb));
    --bs-btn-color: rgb(var(--fx-danger-text-rgb));
    --bs-btn-hover-color: rgb(var(--fx-danger-text-rgb));
    --bs-btn-active-color: rgb(var(--fx-danger-text-rgb));
}
.text-danger {
    --bs-danger-rgb: var(--fx-text-danger-rgb);
}
.alert.alert-danger .text-danger{
    --bs-danger-rgb: var(--fx-danger-color-rgb);
}
.btn-danger:hover .badge, .btn-danger:active .badge {
    --bs-danger-rgb: var(--fx-danger-hover-bg-rgb);
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: transparent;
}
.btn-outline-danger, .btn-outline-danger span {
    --bs-btn-border-color: rgb(var(--fx-danger-bg-rgb));
    --bs-btn-focus-border-color: rgb(var(--fx-danger-border-bg-rgb));
    --bs-btn-active-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-danger-hover-border-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-danger-hover-border-rgb));
    color: rgb(var(--fx-danger-hover-border-rgb));
}
.btn-outline-danger:active, .btn-outline-danger:active span,
.btn-outline-danger:hover, .btn-outline-danger:hover span {
    --bs-btn-active-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-active-border-color: rgb(var(--fx-danger-hover-border-rgb));
    --bs-btn-hover-bg: rgb(var(--fx-danger-hover-bg-rgb));
    --bs-btn-hover-border-color: rgb(var(--fx-danger-hover-border-rgb));
    color: var(--bs-white);
}
/* ------------- END DANGER OVERRIDES ------------- */


.btn-link, a {
    color: var(--fx-link-color);
}.btn-close {
    color: var(--bs-body-color);
}

button.customer-btn-voteup,
button.customer-btn-votedown {
    pointer-events: auto;
}

.flv-memo-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.alert-info,
.alert-danger,
.alert-success,
.alert-warning {
    --bs-alert-color: var(--bs-body-color);
    --bs-alert-border-color: var(--bs-border-color);
}
.alert-info {
    --bs-alert-bg: var(--fx-info-bg);
}
.alert-info .bi:before,
.alert-danger .bi:before,
.alert-success .bi:before,
.alert-warning .bi:before {
    font-size: 1.1rem;
}

.table:not(.table-dark) tr:not(.table-dark):not(.table-success):not(.table-primary):not(.table-warning):not(.table-danger),
.table:not(.table-dark) tr:not(.table-dark):not(.table-success):not(.table-primary):not(.table-warning):not(.table-danger) td {
    --bs-table-bg: var(--fx-light-stripe-bg);
    --bs-table-striped-bg: var(--fx-light-bg);
    --bs-table-hover-bg: var(--fx-light-hover-bg);
}
.form-control, .input-group-text, .navContainer, .form-select {
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}
.nav-tabs li.nav-item:first-of-type:not(:last-of-type) button.nav-link {
     border-top-right-radius: 0;
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
 }
.nav-tabs li.nav-item:last-of-type:not(:first-of-type) button.nav-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.nav-tabs li.nav-item button.nav-link:not(.active) {
    background: var(--bs-btn-bg);
    color: var(--bs-btn-color);
    border-color: var(--bs-btn-border-color);
}
.nav-tabs li.nav-item button.nav-link:not(.active):hover {
    background: var(--bs-btn-hover-bg);
    color: var(--bs-btn-color);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-outline-secondary {
    --bs-btn-border-color: var(--bs-border-color);
}


/* START OF ICON SIZE OVERRIDES */

/* update icon */
.bi.bi-arrow-repeat:before {
    font-size: 1.15rem;
    -webkit-text-stroke-width: 0.25px;
    margin-top: -1px;
}
/* update icon */
.bi.bi-pencil-fill:before {
    font-size: 1rem;
}
.bi.bi-caret-left-fill:before,
.bi.bi-caret-right-fill:before {
    font-size: 1rem;
}
.bi.bi-skip-start-fill:before,
.bi.bi-skip-end-fill:before {
    font-size: 1.2rem;
    display: block;
}
.bi.bi-list-task:before {
    font-size: 1.15rem;
    -webkit-text-stroke-width: 0.25px;
}
.bi.bi-arrow-left:before,
.bi.bi-arrow-right:before {
    font-size: 1rem;
    -webkit-text-stroke-width: 0.25px;
}
.bi.bi-chevron-down:before,
.bi.bi-chevron-right:before {
    font-size: 0.9rem;
    -webkit-text-stroke-width: 1px;
}
.bi.bi-stars:before {
    font-size: 1.1rem;
}

.fx-tab-btn i:before {
    margin-top: 2px;
    display: block;
}

.bi.bi-caret-down-fill.sort-desc,
.bi.bi-caret-up-fill.sort-asc {
    display: inline-block;
    width: 8px;
}
.bi.bi-caret-down-fill.sort-desc:before,
.bi.bi-caret-up-fill.sort-asc:before {
    font-size: 0.7rem;
}

.fx-clear-btn:disabled {
    --bs-btn-disabled-border-color: var(--bs-border-color);
}

.fx-clear-btn:hover, .fx-clear-btn:focus, .fx-clear-btn:active {
    --bs-btn-active-bg: var(--fx-light-hover-bg);
    --bs-btn-hover-bg: var(--fx-light-hover-bg);
    --bs-btn-focus-bg: var(--fx-light-hover-bg);
    --bs-btn-active-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-focus-color: var(--bs-body-color);
    --bs-btn-active-border-color: var(--bs-border-color);
    --bs-btn-hover-border-color: var(--bs-border-color);
    --bs-btn-focus-border-color: var(--bs-border-color);
}

/* focus outline */
a:focus,
.btn:focus,
.form-control:focus,
.form-select:focus,
.page-link:focus,
.share-buttons-panel button:focus,
#customerLogo button:focus {
    border-color: rgb(var(--fx-focus-highlight-rgb)) !important;
    box-shadow: 0 0 0 2px var(--fx-focus-color) !important;
    outline: none;
    z-index: 3;
}

td:focus, th:focus {
    box-shadow: inset 0 0 0 2px var(--fx-focus-color);
    outline: none;
}
.listview-row:focus {
    outline: 2px solid var(--fx-focus-color);
    outline-offset: -2px;
}

.form-control:not(.is-invalid) {
    border-color: var(--bs-border-color);
}

.align-left {
    margin: 0;
}

.flv-static-textbox {
    resize: none;
    height: 8rem !important;
}
.flv-table-no-bg,
.flv-table-no-bg tr,
.flv-table-no-bg th,
.flv-table-no-bg td {
    background: none;
}



/* Bootstrap sm min width */
@media (min-width: 576px) {
    .header-offset {
        margin-top: 110px;
    }
    .mail-header .header-offset {
        margin-top: 75px;
    }
    .header-offset.eid-offset {
        margin-top: 180px;
    }

    .flv-p-sm-2-5 {
        padding: 0.7rem !important;
    }
    .flv-px-sm-2-5 {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }
    .flv-py-sm-2-5 {
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
    .flv-ps-sm-2-5 {
        padding-left: 0.7rem !important;
    }
    .flv-pe-sm-2-5 {
        padding-right: 0.7rem !important;
    }
    .flv-pt-sm-2-5 {
        padding-top: 0.7rem !important;
    }
    .flv-pb-sm-2-5 {
        padding-bottom: 0.7rem !important;
    }

    .flv-m-sm-2-5 {
        margin: 0.7rem !important;
    }
    .flv-mx-sm-2-5 {
        margin-left: 0.7rem !important;
        margin-right: 0.7rem !important;
    }
    .flv-my-sm-2-5 {
        margin-top: 0.7rem !important;
        margin-bottom: 0.7rem !important;
    }
    .flv-ms-sm-2-5 {
        margin-left: 0.7rem !important;
    }
    .flv-me-sm-2-5 {
        margin-right: 0.7rem !important;
    }
    .flv-mt-sm-2-5 {
        margin-top: 0.7rem !important;
    }
    .flv-mb-sm-2-5 {
        margin-bottom: 0.7rem !important;
    }
}

/* Bootstrap md min width */
@media (min-width: 768px) {
    .flv-p-md-2-5 {
        padding: 0.7rem !important;
    }
    .flv-px-md-2-5 {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }
    .flv-py-md-2-5 {
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
    .flv-ps-md-2-5 {
        padding-left: 0.7rem !important;
    }
    .flv-pe-md-2-5 {
        padding-right: 0.7rem !important;
    }
    .flv-pt-md-2-5 {
        padding-top: 0.7rem !important;
    }
    .flv-pb-md-2-5 {
        padding-bottom: 0.7rem !important;
    }
    .flv-m-md-2-5 {
        margin: 0.7rem !important;
    }
    .flv-mx-md-2-5 {
        margin-left: 0.7rem !important;
        margin-right: 0.7rem !important;
    }
    .flv-my-md-2-5 {
        margin-top: 0.7rem !important;
        margin-bottom: 0.7rem !important;
    }
    .flv-ms-md-2-5 {
        margin-left: 0.7rem !important;
    }
    .flv-me-md-2-5 {
        margin-right: 0.7rem !important;
    }
    .flv-mt-md-2-5 {
        margin-top: 0.7rem !important;
    }
    .flv-mb-md-2-5 {
        margin-bottom: 0.7rem !important;
    }
}

/* Bootstrap lg min width */
@media (min-width: 992px) {
    .flv-p-lg-2-5 {
        padding: 0.7rem !important;
    }
    .flv-px-lg-2-5 {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }
    .flv-py-lg-2-5 {
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
    .flv-ps-lg-2-5 {
        padding-left: 0.7rem !important;
    }
    .flv-pe-lg-2-5 {
        padding-right: 0.7rem !important;
    }
    .flv-pt-lg-2-5 {
        padding-top: 0.7rem !important;
    }
    .flv-pb-lg-2-5 {
        padding-bottom: 0.7rem !important;
    }
    .flv-m-lg-2-5 {
        margin: 0.7rem !important;
    }
    .flv-mx-lg-2-5 {
        margin-left: 0.7rem !important;
        margin-right: 0.7rem !important;
    }
    .flv-my-lg-2-5 {
        margin-top: 0.7rem !important;
        margin-bottom: 0.7rem !important;
    }
    .flv-ms-lg-2-5 {
        margin-left: 0.7rem !important;
    }
    .flv-me-lg-2-5 {
        margin-right: 0.7rem !important;
    }
    .flv-mt-lg-2-5 {
        margin-top: 0.7rem !important;
    }
    .flv-mb-lg-2-5 {
        margin-bottom: 0.7rem !important;
    }

    .flv-position-lg-relative {
        position: relative !important;
    }

    .btn.flv-btn-w-lg-lock {
        min-width: 80px;
    }
}
