:root {
    --dot-size: 1px;
    --dot-space: 11px;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: hidden;
}

[data-theme="dark"] {
    color: #fff;
}

.e-menu-container {
    z-index: 24;
}

.e-toast {
    z-index: 1060 !important;
}

body {
    font-family: "Segoe UI",-apple-system,BlinkMacSystemFont,"Roboto","Helvetica Neue",sans-serif;
    background-color: var(--bg-color);
    background: var(--bg-image);
    opacity: 1;
    background-position: 0 0,10px 10px;
}

.e-sfcontextmenu {
    z-index: 100010 !important;
}

.align-vert-top {
    vertical-align: top;
}

.pre-wrap .e-rowcell {
    white-space: pre-wrap !important;
}

.inspec-card-clipped.padding-0 .e-card-content {
    padding: 0 !important;
}

.inspec-page {
    height: 100%;
    overflow: auto;
}

.avatar-block {
    display: inline-block;
    position: relative;
    margin: 7px
}

.nav-menu-button {
    vertical-align: baseline;
}

    .nav-menu-button span {
        margin-left: -8px;
        margin-right: -8px;
    }

.apexcharts-tooltip,
.apexcharts-tooltip.active,
.apexcharts-xaxistooltip,
.apexcharts-xaxistooltip.active,
.apexcharts-marker {
    transition: none !important;
}

.apexcharts-tooltip {
    top: 12% !important;
    position: absolute;
    /*background: transparent !important;*/
}

.favorite-star {
    font-size: 14px;
    /*color: var(--font-color) !important;*/
}

.inspec-dashboard-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.inspec-dashboard-row {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

a.dashboard-item-list {
    text-decoration: none;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow-x: clip;
    width: 100%;
    display: block;
}

.e-card, .e-panel {
    border-radius: 8px !important;
}

.e-panel-content {
    overflow-y: auto;
}

.login-background {
    height: 100vh;
    --dot-bg: #3b3a39;
    --dot-color: #5b5b5b;
    --dot-size: 1px;
    --dot-space: 11px;
    background: linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space), linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space), var(--dot-color);
}

.inspec-switch-wrapper {
    width: 250px;
    display: flex;
    justify-content: space-between;
}

.dashboard-item-highlight > div {
    background-color: #0078d685;
    transition: background-color 1s ease;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 1s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.ms-textAlignCenter {
    text-align: -webkit-center;
}

a {
    color: unset;
    text-decoration: underline;
}

.listview-anchor {
    width: 100%;
    height: 100%;
    display: inline-block;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow-x: clip;
}

#main-text {
    height: 100%;
}

@media (min-width:479px) {
    .main-content::-webkit-scrollbar {
        width: 1em;
    }

    .main-content::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    .main-content::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
    }
}
/*
::-webkit-scrollbar {
    width: 10px;
}*/

::-webkit-scrollbar-track {
    background: inherit;
}

div:hover::-webkit-scrollbar-track {
    background: #f3f2f1;
}

div:hover::-webkit-scrollbar-thumb {
    background: #888;
}

    div:hover::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    div:hover::-webkit-scrollbar-thumb:active {
        background: var(--primary-color);
    }

.logo {
    width: 125px;
    margin-top: 4px;
}

.e-listview {
    border: none;
}

button.inspec-navbar-button {
    background-color: transparent !important;
    margin: 0px !important;
    border: none !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    /*color: var(--header-color) !important;*/
}

    button.inspec-navbar-button:hover {
        color: #fff !important;
        background-color: transparent !important;
    }

button.inspec-navbar-button-sidebar {
    background-color: transparent !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    color: var(--font-color) !important;
    font-size: 14px;
    width: 100%;
    flex-flow: column;
    border: none !important;
    padding-left: 14px;
}

    button.inspec-navbar-button-sidebar:hover {
        color: var(--primary-color) !important;
        background-color: var(--light-gray) !important;
    }

    button.inspec-navbar-button-sidebar.active {
        border-left: solid 4px var(--primary-color) !important;
        padding-left: 10px !important;
    }

a.inspec-sidebar-button {
    text-align: center;
    background-color: transparent !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    color: var(--font-color) !important;
    vertical-align: middle;
    font-size: 14px;
    display: block;
    position: relative;
    line-height: 1.572em;
    padding: 4px 11px;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
    cursor: pointer;
    -ms-flex-pack: center;
    flex-flow: column;
    justify-content: center;
    border: none !important;
    transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

    a.inspec-sidebar-button.highlight {
        padding-left: 14px;
    }

        a.inspec-sidebar-button.highlight:hover {
            color: var(--primary-color) !important;
            background-color: var(--light-gray) !important;
        }

        a.inspec-sidebar-button.highlight.active {
            border-left: solid 4px var(--primary-color) !important;
            padding-left: 10px !important;
        }

a.inspec-anchor-button {
    text-align: center;
    white-space: nowrap;
    display: block;
    color: white;
    padding: 4px 11px;
    line-height: 1.572em;
    text-decoration: none;
    font-weight: 600;
    border: none;
    position: relative;
    transition: all cubic-bezier(0.46, 0.03, 0.52, 0.96) .2s;
}

    a.inspec-anchor-button:hover {
        background: unset !important;
        border: none;
    }

    a.inspec-anchor-button.border-bottom::after {
        content: '';
        position: absolute;
        width: 0px;
        height: 0.1em;
        left: 50%;
        bottom: 0;
        background-color: white;
        transition: all cubic-bezier(0.46, 0.03, 0.52, 0.96) .2s;
    }

    a.inspec-anchor-button.border-bottom.active::after,
    a.inspec-anchor-button.border-bottom:hover::after,
    a.inspec-anchor-button.border-bottom:focus::after {
        /* transform: translate3d(0, 0, 0);*/
        width: 100%;
        left: 0;
    }

.no-sidebar {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .no-sidebar {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .no-sidebar {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .no-sidebar {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .no-sidebar {
        max-width: 1140px;
    }
}

.e-label-top {
    font-size: 12px;
}

/*removes thead blue border input datagrids from SF*/
.e-grid .e-focused:not(.e-menu-item) {
    box-shadow: none;
}

div.e-dialog.side-dialog {
    max-height: unset !important;
    height: 100% !important;
    min-width: 350px !important;
}

    div.e-dialog.side-dialog.vw70 {
        width: 70vw !important;
    }

    div.e-dialog.side-dialog.vw80 {
        width: 80vw !important;
    }

    div.e-dialog.side-dialog.vw25 {
        width: 25vw !important;
    }

@media (max-width: 1023.99999px) {
    div.e-dialog.side-dialog.vw70 {
        width: 90vw !important;
    }

    div.e-dialog.side-dialog.vw80 {
        width: 100vw !important;
    }

    div.e-dialog.side-dialog.vw25 {
        width: 90vw !important;
    }
}

.e-grid td.e-active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.pointer {
    cursor: pointer;
}

.e-btn-icon.fa-solid,
.e-btn-icon.fa-regular {
    margin-top: 0 !important
}

.e-menu-icon.fa-solid,
.e-menu-icon.fa-regular {
    line-height: 42px !important;
}

.inspec-label {
    font-size: 14px;
    font-weight: 600;
    padding-right: 0;
    transform: translate3d(-10px, -41px, 0) scale(1);
}

table {
    border-collapse: collapse;
}

    table.flex-table.search.load-more {
        height: calc(100% - 32px - 1rem - 14px - 2rem) !important;
    }

    table.flex-table.search {
        height: calc(100% - 32px - 1rem) !important;
    }

    table.flex-table.load-more {
        height: calc(100% - 14px - 2rem) !important;
    }

    table.flex-table {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

        table.flex-table th {
            align-items: center;
            gap: 10px;
            font-weight: normal;
        }

        table.flex-table thead,
        table.flex-table tbody {
            display: block;
        }

        table.flex-table thead {
            margin-right: 0px;
        }

        table.flex-table tbody {
            flex: 1;
            overflow-y: auto;
        }

        table.flex-table tr {
            width: 98%;
            display: flex;
            margin: 14px 10px;
            font-size: 14px;
        }

        table.flex-table.hover tr:not(.estimate-table-head):not(.table-row-title):hover {
            background-color: #0078d65c !important;
        }

        table.flex-table tr td,
        table.flex-table tr th {
            display: flex;
            flex: 1;
            justify-content: start;
            align-items: center;
        }


.table-row-title {
    border-top: 5px solid #0078d65c;
}

    .table-row-title th {
        font-weight: bold !important;
    }

.inspec-estimate-dirty input,
.inspec-estimate-dirty span.ms-Dropdown-title,
.inspec-estimate-dirty textarea {
    background-color: #ff000036 !important;
}

.inspec-estimate-dirty-label {
    color: #ce8993 !important;
}

.inspec-estimate-item-removed {
    display: none;
}

.inspec-estimate-soft-delete td:not(.inspec-estimate-item-removed),
.inspec-estimate-soft-delete span.inspec-estimate-subtitle {
    display: none;
}

.inspec-estimate-subtitle {
    font-size: 14px !important;
    white-space: normal;
}

.inspec-estimate-soft-delete.inspec-estimate-chip {
    color: darkred !important;
}

    .inspec-estimate-soft-delete.inspec-estimate-chip label {
        text-decoration: line-through !important;
        text-decoration-color: black !important;
    }

.inspec-estimate-soft-delete td.inspec-estimate-item-removed {
    display: table-cell;
}

.underline-input {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

.inspec-today-bg {
    background-color: #0078d65c !important;
}

.search-dialog {
    max-height: unset !important;
    background-color: transparent;
    background: rgba(21, 21, 21, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: none !important;
}

    .search-dialog div.e-dlg-header {
        color: white !important;
        font-size: 3em;
    }

    .search-dialog span.e-icon-dlg-close {
        color: white !important;
    }

    .search-dialog input {
        height: 50px !important;
        font-size: 38px !important;
    }

.search-box {
    margin-top: 0 !important;
}

.search-dialog div {
    background-color: transparent;
}

.card-header {
    font-size: larger;
}


button .inspec-badge {
    position: relative;
    top: -1px;
}

.inspec-badge {
    margin-left: 4px;
    color: #fff;
    background-color: #0066A6;
    line-height: 1;
}

.inspec-badge-danger {
    background-color: #dc3545;
}

.inspec-badge-muted {
    background-color: transparent;
    color: #7c7c7c;
}

.inspec-badge-dark {
    background-color: #0A3444;
}

.inspec-badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem !important;
}

.inspec-badge-circle {
    width: 16px;
    height: 16px;
    border-radius: 50% !important;
    text-align: center;
    box-sizing: content-box;
    line-height: 16px;
    background-clip: content-box;
}

.inspec-badge {
    display: inline-block;
    padding: .25em .4em;
    font-weight: 700;
    font-size: 10px;
    border-radius: .25rem;
    white-space: nowrap;
    vertical-align: middle;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.ais-chip {
    display: inline-block;
    height: 32px;
    padding: 0 12px;
    margin-right: .5rem;
    margin-bottom: .5rem;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    color: rgba(0,0,0,0.6);
    background-color: #eceff1;
    border-radius: 16px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
}

    .ais-chip label,
    .ais-chip button {
        display: inline;
    }

    .ais-chip.ais-chip-success {
        color: #fff;
        background-color: #0b6a0b;
    }

.soft-delete.ais-chip {
        color: darkred !important;
    }

    .soft-delete.ais-chip label {
        text-decoration: line-through !important;
        text-decoration-color: black !important;
    }

.fontSize-28 {
    font-size: 28px;
}

.fontSize-24 {
    font-size: 24px;
}

.fontSize-20 {
    font-size: 20px;
}

.fontSize-18 {
    font-size: 18px;
}

.fontSize-16 {
    font-size: 16px;
}

.e-control.e-tooltip {
    font-size: 14px;
}

.fontColor-alert {
    color: #D13438;
}

.primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #000 !important;
}

.danger {
    background: #d13438 !important;
    border-color: #d13438 !important;
    color: #fff !important;
}

.e-flat.danger {
    background: rgba(0, 0, 0, 0) !important;
    border-color: rgba(0, 0, 0, 0) !important;
    color: #d13438 !important;
}

    .danger:hover,
    .e-flat.danger:hover {
        background: var(--button-hover-color) !important;
        border-color: unset !important;
    }

    .danger:active,
    .e-flat.danger:active {
        background: var(--button-active-color) !important;
        border-color: unset !important;
    }

button.e-speeddial.speed-dial {
    box-shadow: none !important;
    top: 6px !important;
    background-color: #3b3a39 !important;
    border: none !important;
}

.speed-dial:not(.e-speeddial-popup) {
    background: #201F1E !important;
    border-color: #201F1E !important;
    color: #fff !important;
}

.speed-dial.e-speeddial-overlay {
    background: rgba(21, 21, 21, 0.5) !important;
    backdrop-filter: blur(8px);
}

button.e-speeddial.speed-dial-vendor {
    box-shadow: none !important;
    top: 55px !important;
    background-color: #3b3a39 !important;
    border: none !important;
}

.speed-dial-vendor:not(.e-speeddial-popup) {
    background: #201F1E !important;
    border-color: #201F1E !important;
    color: #fff !important;
}

.speed-dial-vendor.e-speeddial-overlay {
    background: rgba(21, 21, 21, 0.5) !important;
    backdrop-filter: blur(8px);
}

.text-align-left {
    text-align: left !important;
}

.e-speeddial-li-text {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 20px !important;
}

.notification {
    display: table;
    position: relative;
    margin: 0 auto 0;
    width: 100%;
    background-color: #0078D6;
    color: #fff;
    transition: all 0.2s ease;
}

.notification-body {
    display: table-cell;
    vertical-align: middle;
    padding: 10px 20px 15px 10px;
    font-size: 14px;
}

    .notification-body > p {
        line-height: 1.2;
        margin-top: 6px;
    }

.notification-close {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    outline: none;
    font-size: 20px;
    right: 13px;
    top: 5px;
    opacity: 0;
    cursor: pointer;
}

.notification-wrapper:hover .notification-close {
    opacity: 1;
}

.notification-close:focus {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    outline: none;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: #f3f2f1 !important;
}

.badge-block {
    position: relative;
    display: inline-block;
    align-self: center;
    margin-right: 0.5em;
}

.e-badge.e-badge-overlap {
    top: -6px;
}


.inspec-card {
    border: 1px solid grey !important;
}

    .inspec-card .e-card-header {
        display: block !important;
        padding: 5px !important;
    }

    .inspec-card .e-card-content {
        align-items: center;
        padding: 0 !important;
        overflow-y: auto;
    }

    .inspec-card.flat-top {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

.inspec-card-clipped {
    border-top: 1px solid #797775;
    border-left: 1px solid #797775;
    border-Bottom: 1px solid #797775;
    border-right: none;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-color: var(--dot-bg) !important;
}

.e-card-content:has(.inspec-card-clipped) {
    padding-right: 0 !important;
}

.inspec-card.overflow .e-card-content {
    overflow-x: auto;
}

.inspec-card.overflow .inspec-card-clipped {
    min-width: max-content;
}

.inspec-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10099;
    overflow: hidden;
    background-color: #fff;
    color: #1E1E1E;
    opacity: 0.85;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-rejected > div {
    display: none;
}

.inspec-loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid #0078d6;
    animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0% )
    }

    12.5% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0% )
    }

    25% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100% )
    }

    50% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    62.5% {
        clip-path: polygon(50% 50%,100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    75% {
        clip-path: polygon(50% 50%,100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100% )
    }

    100% {
        clip-path: polygon(50% 50%,50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100% )
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }

    49.99% {
        transform: scaleY(1) rotate(135deg)
    }

    50% {
        transform: scaleY(-1) rotate(0deg)
    }

    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}