.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: fixed;
    z-index: 99;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}



/*smaller RichEditor PageLayout Dropdown List*/
html > body > dxbl-popup-root > dxbl-popup-cell > dxbl-dropdown > dxbl-dropdown-dialog > div > ul > li > dxbl-toolbar-menu-item > button > svg {
    max-width: 40px;
    max-height: 50px;
}

.dx-blazor-context-menu-item.dropdown-item .dx-blazor-context-menu-item-icon {
    max-width: 40px;
    max-height: 50px;
}


/*FOR FILEBROWSER*/
.file-box {
    height: 220px;
}


.drop-zone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    height: auto;
}

.drop-zone-hover {
    border: 2px solid;
    height: auto;
}


/*FOR Grid Header Buttons (like "New" and "Show Filter Row"), this will make it stand out a little*/

.dxbs-toolbar.dxbs-ta-nib .dxbs-ta-ag > .btn:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn.btn.dxbs-ta-nib:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn > .btn.dxbs-ta-nib:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn.btn.dxbs-ta-nib:not(.active):disabled, .dxbs-toolbar .dxbs-toolbar-btn > .btn.dxbs-ta-nib:not(.active):disabled {
    color: var(--primary) !important;
}

.dxbs-toolbar.dxbs-ta-nib .dxbs-ta-ag > .btn:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn.btn.dxbs-ta-nib:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn > .btn.dxbs-ta-nib:not(:hover):not(:active):not(.active), .dxbs-toolbar .dxbs-toolbar-btn.btn.dxbs-ta-nib:not(.active):disabled, .dxbs-toolbar .dxbs-toolbar-btn > .btn.dxbs-ta-nib:not(.active):disabled {
    background: var(--light) !important;
}

@font-face {
    font-family: 'Kbzipadeedoodah-YG3j';
    src: url(../fonts/Kbzipadeedoodah-YG3j.ttf) format('truetype');
}

@font-face {
    font-family: 'Lucida Handwriting';
    src: url(../fonts/lhandw-webfont.woff2) format('woff2'), 
        url(../fonts/lhandw-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}


.tag-dropdown-style {
    padding-left: 0.5em;
    border-radius: 0.3em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    color: #fff !important;
}

.tag-column-style {
    border-radius: 0.3em;
    padding: .3em;
    margin: .2em;
    color: #fff !important;
    text-align: center;
    -webkit-column-break-inside:avoid
}

.tag-holder{
    columns:3;
    column-gap:.1em;
}

#labor-section {
overflow: hidden;
transition: max-height 0.9s ease-in-out;
max-height: auto;
}

#labor-section.expanded {
    max-height: auto;
}

#labor-section.collapsed {
    max-height: 0;
}

#materials-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#materials-section.expanded {
    max-height: auto;
}

#materials-section.collapsed {
    max-height: 0;
}

#equipment-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#equipment-section.expanded {
    max-height: auto;
}

#equipment-section.collapsed {
    max-height: 0;
}

#subcontractor-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#subcontractor-section.expanded {
    max-height: auto;
}

#subcontractor-section.collapsed {
    max-height: 0;
}

#fee-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#fee-section.expanded {
    max-height: auto;
}

#fee-section.collapsed {
    max-height: 0;
}

#travel-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#travel-section.expanded {
    max-height: auto;
}

#travel-section.collapsed {
    max-height: 0;
}

#supply-section {
overflow: hidden;
transition: max-height 0.9s ease-in-out;
max-height: auto;
}

#supply-section.expanded {
    max-height: auto;
}

#supply-section.collapsed {
    max-height: 0;
}

#truck-section {
    overflow: hidden;
    transition: max-height 0.9s ease-in-out;
    max-height: auto;
}

#truck-section.expanded {
    max-height: auto;
}

#truck-section.collapsed {
    max-height: 0;
}

.grid-size {
    max-height: 400px;
    height: 400px;
}

.steam-popup-editform {
    min-width:1200px;
    width:80%;
}
.demo-banner {
    font-size: 36px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    border-radius: 10px;
    color: white;
    background-color: #ee3241;
    font-family: Calibri;
}

.dxbl-flyout-dialog {
    visibility: hidden !important;
}

/*Makes the arrow icons next to the expand grouped grid rows bigger*/
.dx-image-size-14px {
    height: 26px !important;
    width: 26px !important;
}

/* Enhance table readability and reduce space */
.manage-table {
    --bs-table-bg: var(--bs-body-bg); /* Use theme body background */
    --bs-table-color: var(--bs-body-color); /* Use theme text color */
    font-size: 0.875rem; /* Slightly smaller font for compactness */
    border-collapse: collapse; /* Remove gaps between cells */
    margin-bottom: 0px !important;
    padding-right:15px;
}



/* Improve cell padding and alignment */
.manage-table td {
    padding: 0.4rem 0.6rem; /* Reduced padding for compactness */
    vertical-align: middle; /* Center text vertically */
    text-align: left; /* Consistent left alignment */
    border-bottom: 1px solid var(--bs-border-color); /* Subtle border for separation */
}

.bold{
    font-weight:600;
}

.treeview-icon-small {
    font-size: 0.6rem !important; /* Adjust to preferred size */
    vertical-align: middle; /* Helps align the icon better */
}

.dxbl-nav-expand-btn-custom{
    padding-right:0px !important;
}

.dx-mention {
    color: var(--bs-primary) !important;
}

.ss-notification-listbox {
    height: calc(100vh - 285px) !important; /* Header, tabs and Footer heights - not ideal */
}

.sidebar-content {
    height: calc(100vh - 225px) !important; /* Header, tabs and Footer heights - not ideal */
}

.ss-notification-listbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    background-color: #f9fafb;
}

    .ss-notification-listbox li:hover {
        background-color: var(--bs-body-bg) !important;
    }

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

    .notification-item:hover {
        transform: translateY(-2px);
        box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    }



.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-title {
    font-size: 13px;
    color: #111827;
}

.notification-timestamp {
    font-size: 11px;
    color: grey;
}

.notification-subtitle {
    font-size: 11px;
    color: grey;
    font-style: italic;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
}

.notification-body {
    font-size: 12.5px;
    color: #111827;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.notification-actions {
    width: 100%;
}

.notification-badge {
    position: absolute;
    top: .25rem;
    right: .25rem;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #fff;
}