:root {
    --rz-white: #ffffff;
    --rz-black: #000000;
    --rz-base: #e0e1e4;
    --rz-base-50: #ffffff;
    --rz-base-100: #f4f5f9;
    --rz-base-200: #e9eaed;
    --rz-base-300: #e0e1e4;
    --rz-base-400: #c9cacd;
    --rz-base-500: #afafb2;
    --rz-base-600: #8d8e90;
    --rz-base-700: #707072;
    --rz-base-800: #4f4f50;
    --rz-base-900: #262526;
    --rz-base-light: #e9eaed;
    --rz-base-lighter: #f4f5f9;
    --rz-base-dark: #707072;
    --rz-base-darker: #262526;
    --rz-primary: #002e4f;
    --rz-primary-light: #00a0d9;
    --rz-primary-lighter: rgba(17, 81, 243, 0.16);
    --rz-primary-dark: #0e44cc;
    --rz-primary-darker: #0d3eb9;
    --rz-secondary: #00385b;
    --rz-secondary-light: #779cf8;
    --rz-secondary-lighter: rgba(93, 137, 247, 0.16);
    --rz-secondary-dark: #4e73cf;
    --rz-secondary-darker: #4768bc;
    --rz-info: #00afec;
    --rz-info-light: #38b3f7;
    --rz-info-lighter: rgba(18, 164, 245, 0.16);
    --rz-info-dark: #0f8ace;
    --rz-info-darker: #0e7dba;
    --rz-success: #009b51;
    --rz-success-light: #29ab6d;
    --rz-success-lighter: rgba(0, 155, 81, 0.16);
    --rz-success-dark: #008244;
    --rz-success-darker: #00763e;
    --rz-warning: #ffae11;
    --rz-warning-light: #ffbb37;
    --rz-warning-lighter: rgba(255, 174, 17, 0.16);
    --rz-warning-dark: #d6920e;
    --rz-warning-darker: #c2840d;
    --rz-danger: #f31155;
    --rz-danger-light: #f53770;
    --rz-danger-lighter: rgba(243, 17, 85, 0.16);
    --rz-danger-dark: #cc0e47;
    --rz-danger-darker: #b90d41;
    --rz-on-base: #262526;
    --rz-on-base-light: #262526;
    --rz-on-base-lighter: #262526;
    --rz-on-base-dark: #ffffff;
    --rz-on-base-darker: #ffffff;
    --rz-on-primary: #ffffff;
    --rz-on-primary-light: #ffffff;
    --rz-on-primary-lighter: #00a0d9;
    --rz-on-primary-dark: #ffffff;
    --rz-on-primary-darker: #ffffff;
    --rz-on-secondary: #ffffff;
    --rz-on-secondary-light: #ffffff;
    --rz-on-secondary-lighter: #5d89f7;
    --rz-on-secondary-dark: #ffffff;
    --rz-on-secondary-darker: #ffffff;
    --rz-on-info: #ffffff;
    --rz-on-info-light: #ffffff;
    --rz-on-info-lighter: #12a4f5;
    --rz-on-info-dark: #ffffff;
    --rz-on-info-darker: #ffffff;
    --rz-on-success: #ffffff;
    --rz-on-success-light: #ffffff;
    --rz-on-success-lighter: #009b51;
    --rz-on-success-dark: #ffffff;
    --rz-on-success-darker: #ffffff;
    --rz-on-warning: #ffffff;
    --rz-on-warning-light: #ffffff;
    --rz-on-warning-lighter: #ffae11;
    --rz-on-warning-dark: #ffffff;
    --rz-on-warning-darker: #ffffff;
    --rz-on-danger: #ffffff;
    --rz-on-danger-light: #ffffff;
    --rz-on-danger-lighter: #f31155;
    --rz-on-danger-dark: #ffffff;
    --rz-on-danger-darker: #ffffff;
}

body {
    background: white!important;
}

.admin-sidebar-toggle {
  
    position:absolute;
    left: 0;
    top:5px;
    margin-top: unset;
    margin-bottom: unset;
}
.rz-navigation-item {
    border-block-end: 0;
}
.layout-logo-container {
    display: flex;
    flex-direction: row;
}
.layout-links-container {
    display: flex;
    flex-direction: row;
}
.layout-links-container > a > span {
    font-size: 18px;
}
.layout-links-container > form > button {
    font-size: 18px;
    margin-top:0;
}

@media (max-width: 768px) {
    
    
    .layout-logo-container > span {
        display: none;
    }
    .layout-links-container > a > span {
        font-size: small;
    }
    .layout-links-container > form > button {
        font-size: small;
        margin-top:1px;
    }
    .admin-sidebar-toggle {
        position: static;
        left: unset;
        top: unset;
        margin-top: auto;
        margin-bottom: auto;
    }
}

.underline-link:hover {
    cursor: pointer;
    text-decoration: underline;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-space-between {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}


.fixed-header {
    height: 150px; /* Set your desired fixed height */
    overflow: hidden; /* Ensure content does not overflow */
}

/*Schema view sidebar*/
.main-container {
    position: relative;
    height: 100%;
}

.sidebar {
    height: 100%;
    width: 0; /* Start with 0 width */
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    overflow-x: hidden;
    transition: width 0.5s; /* Animate the width */
    z-index: 1000; /* Ensure the sidebar is on top */
}
.fixed-sidebar {
    position: fixed;
    top: 156px; /* Adjust based on your layout */
    left: 17px;
    height: calc(100% - 156px); /* Adjust based on your layout */
    overflow-y: auto;
    background-color: white; /* Match the background color */
    z-index: 1000; /* Ensure it is above other elements */
}
.sidebar.open {
    width: 250px; /* Expand to 250px when open */
}

.sidebar-item:hover {
    color: #2a437b;
    cursor: pointer;
}

.main-content {
    position: relative;
    z-index: 1; /* Ensure the main content is below the sidebar */
}
/*End Schema view sidebar*/



/*Dont remove - added to trigger some update. TODO: Look into what that update is. */
td.table-cell-paintable:hover {
  
}



.selected-paint-option {
    border-color: red!important;
    border-width: 2px!important;
}

.dept-row > td {
    border-top: 1px solid black!important;
    /*noinspection CssUnresolvedCustomProperty*/
    border-inline-end:1px solid var(--rz-grid-cell-border)!important
    /*border-left: 0;*/
    /*border-right: 0;*/
    /*border-bottom: 0;*/
}

.work-line-row > td {
    background: rgba(0, 175, 236, 0.2) !important;
}
.work-line-row-2 > td {
    background: rgba(5, 19, 66, 0.3) !important;
}

.dept-row > td > span > .no-paint-no-edit-cell-wrapper > p{
    font-weight: bold!important;
    text-transform: uppercase!important;
}

.room-row > td {
    border-top: 1px solid black!important;
}
.room-row > td > span > .no-paint-no-edit-cell-wrapper > p{
    font-weight: bold!important;
}

.dept-row {
    background: white;
}

.no-paint-no-edit-cell-wrapper {
    width:100%;
    padding-left:1px;
    padding-right:1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.no-paint-no-edit-cell-wrapper.number-column > p {
    text-align: center!important;
}

.paintable-cell:hover {
    cursor: cell;
}
.editable-cell:hover {
    cursor: text;
}

.paint-purple {
    background: #7030a0;
}
.paint-red {
    background: red;
}
.paint-sky-blue {
    background: #a6caec;
}
.paint-dark-blue-green {
    background: #104862;
}
.paint-black {
    background: black;
}
.paint-blue {
    background: #0000ff;
}
.paint-green {
    background: #00b050;
}
.paint-grey {
}
.paint-orange {
    background: orange;
}


.box, .triangle-box, .striped-box, .crossed-box {
    height: 33px;
    width: 33px;
    border: 1px solid #e9eaed;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.crossed-box {
    background-image: url('./images/schema-paint-icons/crossed-box-white.svg');
}

.triangle-box {
    height: 33px;
    width: 33px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.paint-orange-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-orange.svg');
}

.paint-black-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-black.svg');
}

.paint-green-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-green.svg');
}

.paint-blue-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-blue.svg');
}

.paint-red-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-red.svg');
}

.paint-sky-blue-triangle {
    background-image: url('./images/schema-paint-icons/triangle-box-sky-blue.svg');
}


.paint-sky-blue-rect {
    background-image: url('./images/schema-paint-icons/striped-box-sky-blue.svg');
}

.box-small {
    height: 24px;
    width: 24px;
}

.box-black-border {
    border: 1px solid black;
}

.hide-on-mobile { }
.hide-on-desktop { }

.admin-special-header{
    display: flex;
    justify-content: space-between;
}

.admin-special-header > .break-section {
    display: flex;
    justify-content: end;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
    .admin-special-header {
        flex-direction: column;
    }
    .admin-special-header > .break-section {
        margin-top: 10px;
        margin-bottom: 6px;
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hide-on-desktop {
        display: none;
    }
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhl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AuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#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;
}
