@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.page,
.page-layout,
.layout-item {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.yourqs-blue {
    color: #45B5F3;
}

.yourqs-blue-background {
    background-color: #45B5F3;
}

.blue-bottom-line {
    border-bottom: 2px solid #45B5F3;
}

.big-blue-bottom-line {
    border-bottom: 8px solid #45B5F3;
}



.blank-out-no-data-message .dxbs-grid-empty-data {
    opacity: 0;
}

.no-wrap-grid-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-textbox-border {
    border: none;
    outline: none;
}

.inactive-item > td {
    background-color: rgba(245, 198, 203, 0.5);
}

.h-100 {
    height: 100%;
}

.overflow-auto {
    overflow: auto;
}
.no-scroll {
    overflow: hidden;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.containerFullWidth {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

#top-panel {
    flex: 1;
    display: flex; 
}

#bottom-panel {
    flex: 1;
    display: flex;
   
}
.menu-panel {
    width: 100%;   
}


.dxbl-btn {
    padding: 5px 5px;
}
@media (max-width: 768px) {
    .menu-panel {
        padding-top: 0;
        padding-bottom: 0;
    }    
}


.canvas-panel {
    width: 100%;
    height: 100%;    
}

.panel {
    display: flex;
    flex-direction: row;
}

.stacklayout-header {
    padding-top: 50px;
}

.stacklayout-item {
    height: 100%;
}

.bold {
    font-weight: bold;
}
.elements-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo-img {
    height: 60px;
    margin-right: 20px;
    vertical-align: middle;
}

.vs-costing-img {
    width: 220px;
    margin-right: 20px;
    vertical-align: middle;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.contact-us {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.filter-tree {
    display: flex;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 2px;
    margin-bottom: 4px;
}


.button-group {
    display: flex;
    gap: 10px;
    padding-bottom: 6px;
    justify-content: center;
}

.radio-group-title {
    display: flex;
    gap:2px;
    padding-bottom: 2px;
    justify-content: center;

}

.jc-tree-view {
    height: 550px;
    overflow-y: auto;
}



@media (max-width: 768px) {
    .elements-panel {
        padding-top: 0;
        padding-bottom: 0;
        max-height: 400px;
        overflow-y: auto; /* Allow horizontal scrolling */
    }

    .canvas-panel {
        max-height: 400px;
    }
    .jc-tree-view {
        height: 300px;
        overflow-y: auto;
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-img {
        height: 45px;        
    }

    .vs-costing-img {
        width: 110px;        
        vertical-align: middle;
    }

    .contact-us, .logos {
        margin-top: 10px;
    }

    .logos {
        flex-direction: column;
        justify-content: center;
    }

    .logos .logo-img .vs-costing-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.menu-panel .dxbl-menu {
    background-color: transparent !important;
    border-bottom: none !important;
}

.horizontal-form-layout {

    align-items: center;
    justify-content: flex-start;
    gap: 10px;        
    width: 100%;

}
.dx-menu-item {
    padding-top: 2px;
    padding-bottom: 2px;
}

    .header-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        min-height: 48px;
    }

    .header-main .dxbl-menu {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border: none !important;
    }

    .header-main .dxbl-btn,
    .header-main .dxbl-menu-item,
    .header-main .dxbl-menu-item-link {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 32px !important;
        line-height: 1.1 !important;
    }

    .header-main .dxbl-menu-title,
    .header-main .dxbl-text {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1.1 !important;
    }

    .cw-small-button {
        width: 100%;
        max-width: 100px;
    }

    .cw-medium-button {
        width: 100%;
        max-width: 150px;
    }

    .cw-default-markup {
        width: 100%;
        max-width: 260px;
        padding-top: 0px;
    }

    .cw-show-deleted {
        width: 100%;
        max-width: 175px;
    }

    .cw-cust-rates {
        width: 100%;
        max-width: 190px;
    }

    .cw-markup-perc {
        width: 100%;
        max-width: 125px;
    }

    .cw-small-numeric-input {
        width: 100%;
        max-width: 120px;
    }

    .cw-uom-input {
        width: 100%;
        max-width: 240px;
    }

.ch-max-height-200 {
    height: 200px !important;
    max-height: 200px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.ch-max-height-400 {
    height: 400px !important;
    max-height: 400px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.ch-max-height-600 {
    height: 600px !important;
    max-height: 600px !important;
}

    .pop-form-style {
        min-width: 85vw !important;
        min-height: 80vh !important;
    }

    .filestore-upload-popup {
        min-width: 90vw !important;
        min-height: 85vh !important;
    }

    @media (max-width: 768px) {
        .filestore-upload-popup {
            min-width: 96vw !important;
            min-height: 90vh !important;
        }
    }

    .dashboard-filter-strip {
        display: flex;
        flex-wrap: nowrap;
        gap: 0; /* no gap */
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 0.1rem;
        position: relative;
    }

    .dashboard-filter-chip {
        position: relative;
        flex: 0 0 100px;
        min-width: 80px;
        max-width: 160px;
        overflow: visible;
        margin-right: 2px; /* minimal space between chips */
    }

    .dashboard-filter-button {
        width: 100%;
        min-width: 80px;
        max-width: 90px;
        padding-left: 0.1rem;
        padding-right: 0.1rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
        margin: 0; /* remove default margin */
    }

    .dashboard-button {
        width: 100%;
        min-width: 40px;
        max-width: 80px;
        padding-left: 0.1rem;
        padding-right: 0.1rem;
        padding-top: 0px !important;
        padding-bottom: 0px;
        margin: 0; /* remove default margin */
    }

    .dashboard-filter-button.open {
        font-weight: 600;
    }

    .dashboard-filter-overlay {
        position: absolute;
        top: calc(100% + 0.4rem);
        left: 0;
        min-width: 340px;
        max-width: 420px;
        max-height: 420px;
        overflow: auto;
        padding: 0.75rem;
        background: var(--bs-body-bg, #fff);
        border: 1px solid var(--bs-border-color, #dee2e6);
        border-radius: 0.5rem;
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
        z-index: 2100;
    }

    ::deep(.dxbl-fl),
    ::deep(.dxbl-fl-group),
    ::deep(.dxbl-fl-group-content),
    ::deep(.dxbl-fl-item),
    ::deep(.dxbl-fl-item-content) {
        overflow: visible;
    }

    .dashboard-filter-button-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 0px !important;
        padding-bottom: 0px;
    }

    .dashboard-filter-button-title {
        margin-right: 0.5rem;
    }

    .dashboard-filter-icon-right {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        flex: 0 0 auto;
    }

    .ModelDashboard {
        height: 90vh;
    }

    .dxbl-tabs-item,
    .dxbl-tabs-tab {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

        .dxbl-tabs-item .dxbl-text,
        .dxbl-tabs-tab .dxbl-text,
        .dxbl-tabs-item .dxbl-tabs-text,
        .dxbl-tabs-tab .dxbl-tabs-text {
            line-height: 1.1 !important;
        }

    .dxbl-tabs-item,
    .dxbl-tabs-tab {
        border-bottom: none !important;
    }

    .dx-tab-selected {
        border-bottom: none !important;
    }
    /*These control tab border*/
    .blue-rounded-top-border {
        --border-radius: .5rem;
        border: none !important;
        border-top: 2px solid #45B5F3 !important;
        border-top-right-radius: var(--border-radius) !important;
        border-top-left-radius: var(--border-radius) !important;
        border-bottom: none !important;
    }

    .blue-rounded-bottom-border {
        --border-radius: .5rem;
        border-top-color: #45B5F3 !important;
        border-bottom-width: .25rem !important;
        border-bottom-right-radius: var(--border-radius) !important;
        border-bottom-left-radius: var(--border-radius) !important;
        border-radius: 1px;
        border-bottom: 1px solid #45B5F3;
    }

.report-notes-container {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
}

.report-notes-container > * {
    height: 100% !important;
    max-height: 100% !important;
}

.report-notes-container textarea {
    resize: none;
    overflow-y: auto;
    overflow-x: hidden;
}
