/* NOTE: PUT NEW CLASSES IN THE LIB FOLDER OF THE COMPONENTS AND PAGES PROJECTS */

/* OVERRIDES */
:root {
    font-size: 14px;
    --hx-grid-sorted-icon-color: #ffffff;
    --hx-sidebar-item-font-size: 1.15rem;
    --hx-sidebar-item-color: rgba(255, 255, 255, 0.8);
    --hx-sidebar-item-icon-color: rgba(255, 255, 255, 0.8);
    --hx-sidebar-item-hover-color: rgba(255, 255, 255, 1);
    --hx-sidebar-item-hover-icon-color: rgba(255, 255, 255, 1);
    --hx-sidebar-toggler-border: 0px;
    --hx-search-box-item-subtitle-color: #6c757d;
}

body, app {
    background-color: #f8f9fA;
    width: 100vw;
    height: 100vh;
    overflow: visible;
}

.hx-grid td {
    font-size: 1.2em;
}

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-item-navlink-content-inner {
    user-select: none;
}

    .hx-sidebar-item-navlink-content-inner .active {
        color: #83192a;
    }


.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.2rem;
    }

    .table-responsive thead:first-of-type tr:first-of-type th:last-of-type {
        border-top-right-radius: 0.2rem;
    }

.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.15);
}

.app-background {
    /*background-image: url("TODO");*/
    /*background-position-y: center;*/
    /*background-size: cover;*/
    /*box-shadow: inset 0 0 0 1000px rgba(84, 93, 239, 0.85);*/
    background-color: #3E3E3F;
}

.rounded-pill {
    border-radius: 100rem;
}

.scroll-y {
    overflow-y: auto;
}

.app-logo {
    width: 100%;
    max-width: 20rem;
    padding: 10px;
}

.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;
}

.mxw-28 {
    max-width: 28em;
}

.mxw-40 {
    max-width: 40em;
}

.mxw-56 {
    max-width: 56em;
}

.mnw-5 {
    min-width: 5em;
}

.mnw-10 {
    min-width: 10em;
}

.mnw-15 {
    min-width: 15em;
}

.mnw-20 {
    min-width: 20em;
}

.mnw-100 {
    min-width: 100%;
}

.mnh-100 {
    min-height: 100%;
}

.step-badge-inner {
    padding-left: 20px;
    padding-right: 20px;
    background: #77c043;
    height: 40px;
    color: white;
    border-radius: 50px;
    font-size: 2em
}

.step-badge-outter {
    background: #c2e2ab;
    border-radius: 50px;
}

.step-header {
    font-size: 2em
}

.player-summary-image-badge {
    height: 25px;
    width: 25px;
    margin-left: 3px;
}