/* NOTE: PUT NEW CLASSES IN THE LIB FOLDER OF THE COMPONENTS AND PAGES PROJECTS */

/* OVERRIDES */

.cropper-bg {
    background-image: unset !important;
}

.modal-backdrop.show {
    opacity: .5;
}

.panel {
    max-height: calc(100vh - 70px);
    overflow-y: scroll;
    margin-bottom: 0px;
    scrollbar-width: 5px; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

    .panel::-webkit-scrollbar { /* WebKit */
        width: 5px;
    }

    .panel::-webkit-scrollbar-track { /* WebKit */
        background: transparent;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .panel::-webkit-scrollbar-thumb { /* WebKit */
        background: #DBDFE5;
        border-radius: 10px;
    }

.tabs-container {
    width: 100%;
    /* z-index: 9000;*/
}

ul.tabs-list {
    color: var(--unnamed-color-000000);
    font-family: "Spectral SC", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    opacity: 1;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 0;
    list-style-type: none;
    width: 100%;
    border-bottom: 1px solid #e6e7ea;
}


    ul.tabs-list li {
        text-align: center;
        align-self: end;
    }

        ul.tabs-list li :hover {
            color: #26374D !important;
            cursor: pointer;
        }

        ul.tabs-list li > a {
            color: #040930;
            display: block;
            padding: 10px 15px;
            box-sizing: border-box;
            text-decoration: none;
        }

        ul.tabs-list li.tab-link active > a {
            color: #26374D;
            border-bottom: #26374D solid 5px;
        }

.tab-active {
    border-bottom: #26374D solid 5px;
}

:root {
    font-size: 14px;
    --hx-grid-sorted-icon-color: #ffffff;
    --hx-sidebar-item-font-size: 1.15rem;
    --hx-sidebar-item-color: #26374D;
    --hx-sidebar-item-icon-color: #26374D;
    --hx-sidebar-item-hover-color: rgb(128, 128, 128);
    --hx-sidebar-item-hover-icon-color: rgb(128, 128, 128);
    --hx-sidebar-toggler-border: 0px;
    --hx-search-box-item-subtitle-color: #6c757d;
    --hx-sidebar-subitem-margin: 0 0 .25rem 1rem;
    --hx-sidebar-subitem-font-size: 1rem;
}

body, app {
    background-color: #f8f9fA;
    width: 100vw;
    height: 100vh;
    overflow: visible;
}

body {
    overflow: hidden;
}

thead {
    /*font-size: 0.8rem;*/
}

tbody {
    /*font-size: 0.7rem;*/
}

textarea {
    padding: 1rem !important;
    border-radius: 0.7rem !important;
    height: 7rem;
}

.hx-sidebar-toggler {
    display: none !important;
}

.hx-sidebar-collapse {
    overflow: hidden !important;
}

.hx-sidebar {
    max-height: none !important;
}

.hx-sidebar .nav-menu {
    max-height: none !important;
}

.hx-sidebar-item-navlink-content-inner {
    user-select: none;
}

    .hx-sidebar-item-navlink-content-inner .active {
        color: #83192a;
    }

.grid-header-middle {
    margin-bottom: 1.5rem;
}

.hx-grid {
    margin-bottom: 0;
}

    .hx-grid th {
        padding: 1em;
    }

    .hx-grid td {
        padding: 1em;
    }

.hx-tab-panel .nav-link {
    font-size: 1.4rem;
    color: #333333;
    font-weight: bold;
}

    .hx-tab-panel .nav-link.active {
        border-bottom: var(--bs-primary) solid 3px;
    }

    .hx-tab-panel .nav-link:hover {
        color: var(--bs-primary);
    }

.search-max {
    max-width: 30em;
}

.search .hx-search-box-input-icon {
    background-color: #fff;
    padding-left: 1rem;
}

.search .dropdown-item div {
    overflow: hidden;
}

.table-responsive {
    margin-bottom: 1rem;
    overflow: visible;
    overflow-wrap: anywhere;
}

    .table-responsive thead:first-of-type tr:first-of-type th:first-of-type {
        border-top-left-radius: 0.75rem;
    }

    .table-responsive thead:first-of-type tr:first-of-type th:last-of-type {
        border-top-right-radius: 0.75rem;
    }

.toast-header {
    color: #333333;
}

.tooltip.show {
    opacity: 1 !important;
}

.grid-selectable.hx-grid td {
    -moz-user-select: none;
}

/* NEW CLASSES */

.visibility-visible {
    visibility: visible !important;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-7 {
    font-size: 0.9rem !important;
}

.fs-8 {
    font-size: 0.8rem !important;
}

.has-shadow {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.app-background {
    background-image: url("TODO");
    background-position-y: center;
    background-size: cover;
    background-color: #26374D;
    /*box-shadow: inset 0 0 0 1000px rgba(84, 93, 239, 0.85);*/
}

.rounded-pill {
    border-radius: 100rem;
}

.scroll-y {
    overflow-y: auto;
}

.app-logo {
    width: 100%;
    max-width: 20rem;
}

.sync-refresher {
    font-size: 2rem;
    color: var(--bs-primary);
    line-height: 2rem;
    transform: rotate(45deg);
    cursor: pointer;
}

/* use this on the header css in the column */
.grid-column-sort-disabled {
    pointer-events: none;
}

    .grid-column-sort-disabled .hx-grid-header-cell-template > * {
        pointer-events: initial;
    }

    .grid-column-sort-disabled .hx-icon.bi-sort-alpha-down {
        display: none;
    }

    .grid-column-sort-disabled .hx-icon.bi-sort-alpha-down-alt {
        display: none;
    }

.grid-column-wrap-disabled {
    white-space: nowrap;
}

.grid-column-center {
    display: flex;
    align-items: center;
}

/* use this on the first cell in the row */
grid-highlight-row {
}

tr.grid-highlight-row {
    box-shadow: inset 4px 0px 0px 0px var(--bs-primary);
}

.mxw-5 {
    max-width: 5em;
}

.mxw-7 {
    max-width: 7em;
}

.mxw-10 {
    max-width: 10em;
}

.mxw-15 {
    max-width: 15em;
}

.mxw-20 {
    max-width: 20em;
}

.mnw-5 {
    min-width: 5em;
}

.mnw-10 {
    min-width: 10em;
}

.mnw-15 {
    min-width: 15em;
}

.mnw-20 {
    min-width: 20em;
}

.offcanvas-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
}

.driver-item-active {
    background: transparent linear-gradient(90deg, hsla(214, 34%, 32%, 1) 0%, hsla(214, 34%, 23%, 1) 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #26374D29;
    border-radius: 5px;
    opacity: 1;
    color: #fff;
    font-size: 20px;
}

.driver-item-inactive {
    background: transparent linear-gradient(90deg, hsla(39, 29%, 75%, 1) 0%, hsla(39, 22%, 69%, 1) 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 15px #26374D29;
    border-radius: 5px;
    opacity: 1;
    color: #000;
    font-size: 20px;
}

.circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 100%;
    display: inline-block;
    margin-right: 0.5rem;
    background-color: #fff;
}

.center-img {
    width: 33px;
    margin: auto;
    margin-top: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.field-header {
    color: var(--unnamed-color-000000);
    text-align: left;
    font-family: "Spectral SC", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    opacity: 1;
}

.back-btn {
    float: left;
    position: absolute;
}

.btn-lrg {
    padding: 0.5rem 1rem !important;
    font-size: 1.25rem !important;
    border-radius: 0.3rem !important;
}

.text-white {
    color: #fff !important;
}

.field-description {
    text-align: center;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    letter-spacing: 0px;
    color: #5A5A5A;
}

.validation-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

.toast-body {
    color: black;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #212529 !important;
}

@media (width <= 430px) {
    ul.tabs-list {
        color: var(--unnamed-color-000000);
        font-family: "Spectral SC", serif;
        font-weight: 600;
        font-style: normal;
        font-size: 20px;
        letter-spacing: 0px;
        color: #000000;
        text-transform: uppercase;
        opacity: 1;
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 0;
        list-style-type: none;
        width: 100%;
        border-bottom: 1px solid #e6e7ea;
    }
}
