/* 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;
    --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;*/
}

a {
    color: #424242;
}

textarea {
    padding: 1rem !important;
    border-radius: 0.7rem !important;
    height: 7rem;
}

hr {
    border: 0;
    opacity: 100;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
}

.modal {
    padding: 0 !important;
}

.hx-sidebar-toggler {
    display: none !important;
}

.hx-sidebar-item-navlink-content-inner {
    user-select: none;
}

    .hx-sidebar-item-navlink-content-inner .active {
        color: #83192a;
    }

.grid-col-clamped {
    text-overflow: ellipsis !important;
    max-width: 300px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

form > h6 {
    margin-bottom: 0;
}

.hx-grid {
    margin-bottom: 0;
}

    .hx-grid th {
        padding: 1em;
    }

    .hx-grid td {
        padding: 1em;
        vertical-align: middle;
    }

.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-color: #fd7256;
    background-image: url("https://circuittrackerstorage.blob.core.windows.net/static/login_background.png");
    -ms-background-position: center;
    background-position: center;
    -ms-background-repeat: no-repeat;
    background-repeat: no-repeat;
    -ms-background-size: cover;
    background-size: cover;
}

.side-background {
    background-color: #fd7256;
    background-image: url("https://circuittrackerstorage.blob.core.windows.net/static/gradient_background_tall.jpg");
    -ms-background-position: center;
    background-position: center;
    -ms-background-repeat: no-repeat;
    background-repeat: no-repeat;
    -ms-background-size: cover;
    background-size: cover;
}

.rounded-pill {
    border-radius: 100rem;
}

.scroll-y {
    overflow-y: auto;
}

.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;
}

.btn-right {
    color: #fd7256;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1rem 1rem;
}

.red-background {
    background-color: #fd7256;
    color: white;
}

.project-list {
    background-color: #eeebf0;
    border: none;
    color: #424242;
    font-weight: bold;
    padding-bottom: 1.2rem;
    cursor: pointer;
}

.mobile-breadcrumb .breadcrumb-item {
    color: #fd7256;
}

.mobile-breadcrumb .breadcrumb-item.active {
    font-weight: bold;
    color: #fd7256;
    /*border-top: 2px solid #fd7256;*/
}

.mobile-search .form-control {
    color: white !important;
    background-color: #424242 !important;
    border: none;
}

.mobile-search .form-control::placeholder {
    color: white;
    opacity: .75;
}

.mobile-search button {
    background-color: #424242 !important;
    color: white;
}

.mobile-dropdown {
    min-width: 10rem !important;
}

.mobile-dropdown .form-select {
    color: white !important;
    background-color: #424242 !important;
    border: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
}

.mobile-dropdown.form-select::placeholder {
    color: white;
    opacity: .75;
}

.mobile-search-area {
    background-color: #eeebf0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    background-color: #eeebf0;
    border: none;
    -o-flex-grow: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.card .card-header {
    background-color: #fd7256;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    -o-flex-grow: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    min-height: 3rem;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: none !important;
    padding: 1rem 1rem;
}

.card .list-group-item {
    background: none;
}

.mw-20 {
    max-width: 20rem !important;
}

.color-pill {
    color: white !important;
    border-radius: 1rem !important;
    width: fit-content;
    padding: .25rem .5rem;
    margin-left: .5rem;
}

.numberCircle {
    display: inline-block;
    line-height: 0px;
    border-radius: 50%;
    border: 2px solid white;
}

.numberCircle span {
    display: inline-block;
    padding-top: 47%;
    padding-bottom: 53%;
    margin-left: .5rem;
    margin-right: .5rem;
}

.add-notes-area {
    color: white;
    background-color: #424242;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem;
    border-radius: 0 .25rem .25rem 0;
}

.add-notes-button {
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1rem 1rem;
    font-size: 2rem;
}

/*Large screens*/
.project-list {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.btn-right {
    font-size: 1.5rem;
}
.half-padding {
    padding: .5rem !important;
    bottom: 0;
}
.red-background {
    font-size: .75rem;
    border-radius: .5rem;
    padding: .5rem;
}
.mobile-breadcrumb .breadcrumb-item, .mobile-breadcrumb .breadcrumb-item.active {
    font-size: 1.5rem;
}
.mobile-search {
    font-size: 1rem !important;
    border-radius: .75rem;
    min-width: 10rem !important;
    max-width: 20rem !important;
}
.app-logo {
    width: 100%;
    max-width: 20rem;
    padding: 10px;
}

.mobile-search .form-control {
    border-radius: 1rem;
}
.mobile-search button {
    border-radius: 1rem;
    font-size: 1rem;
}
.mobile-dropdown .form-select {
    border-radius: 1rem;
}
.mobile-dropdown .form-select {
    padding: .375rem .75rem !important;
}

.mobile-search-area {
    padding: 1rem;
    margin-bottom: 1rem;
}
.card {
    border-radius: .5rem;
    cursor: pointer;
}
.card .card-header {
    border-radius: .5rem .5rem 0 0;
    position: relative;
}
.card {
    font-size: 1rem !important;
}

input[type=range]::-webkit-slider-thumb {
    background: #fd7256;
}

input[type=range]::-moz-range-thumb {
    background: #fd7256;
}

input[type=range]::-ms-thumb {
    background: #fd7256;
}

.notes-item {
    background-color: #eeebf0;
    border: none;
    border-radius: .25rem;
    color: #424242;
    padding-bottom: 1.2rem;
}

.notes-item-name {
    color: #fd7256;
    font-weight: bold;
}

.notes-modal-header {
    color: #424242;
    font-weight: bold;
}

.delay-task {
    border: 2px solid #fd7256;
    border-radius: .25rem;
    padding: 0;
}

.delay-task .add-notes-area {
    border-radius: 0 !important;
}

.todo-task-wrapper {
    margin-bottom: 1rem !important;
}

.todo-task-list {
    background-color: #eeebf0;
    border: none;
    color: #424242;
    font-weight: bold;
    margin-bottom: 0;
    cursor: pointer;
}

/*Setting the chart background to transparent*/
.k-chart > svg > g > path[fill="rgb(255, 255, 255)"] {
    fill: transparent;
}

.ml-15 .hx-grid-header-cell-template{
    margin-left: 15px !important;
}

.a-link {
    text-decoration: underline;
    cursor: pointer;
}

.red-text {
    color: #fd7256;
}