@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --rz-text-font-family1: Roboto, sans-serif;
    --rz-grid-header-font-weight: 600;
    --rz-body-font-size: 0.875rem;
    --rz-input-padding: 0.1rem 0.2rem 0.1rem 0.2rem;
    --bs-body-line-height: 1.0;
    --rz-body-line-height: 1.4;
    --rz-datepicker-line-height: 1.3125rem;
    --rz-input-height: 1.55rem;
    --rz-icon-size: 1.25rem;
    --rz-sidebar-width: 250px;
    --rz-panel-menu-item-padding: 0.75rem;
    --rz-panel-menu-icon-margin: 0 0.75rem 0 0;
    --rz-panel-menu-icon-height: calc(var(--rz-icon-size));
    --rz-panel-menu-icon-width: calc(var(--rz-icon-size));
    --rz-panel-menu-font-size: calc(var(--rz-body-font-size) * 1.125);
    --rz-panel-menu-item-2nd-level-font-size: calc(var(--rz-body-font-size) * 1.0);
    --rz-panel-padding: 0.5rem;
    --rz-fieldset-padding: 0 0.5rem 0.5rem;
    --rz-body-padding: 0.5rem;
    --rz-fieldset-legend-margin: 0 0 0 0.5rem;
    --rz-text-body1-margin-bottom: 0.25rem;
    --rz-sidebar-toggle-margin: 0 0.25rem 0 0.25rem;
    --rz-sidebar-toggle-padding: 0.5rem;
    --rz-header-min-height: 2.5rem;
    --rz-tree-node-padding: 0.25rem 0.25rem 0.25rem 0;
    --rz-tree-node-toggle-width: 1rem;
    --rz-text-body1-font-size: 0.9rem;
    --rz-text-body1-line-height: 1.5;
    --rz-numeric-input-padding: 0.4375rem 0.4375rem 0.4375rem 0rem;
    --rz-sidebar-toggle-color: var(--rz-primary);
    --rz-grid-cell-padding: 0 0;
    --rz-link-color: blue;
    /*    --rz-dialog-content-padding: 0 1rem 1rem 1rem;
*/ /*    --rz-text-color: #303030;*/
    --rz-tabs-tab-padding: 0.35rem 0.6rem;
    --rz-tooltip-background-color: var(--rz-base-800);
    --rz-input-padding-inline: 0.2rem;
    --rz-input-padding-block: 0.1rem;
    --rz-panel-menu-item-padding-inline: 0.75rem;
    --rz-panel-menu-item-padding-block: 0.75rem;
    --rz-panel-menu-icon-margin-inline: 0 0.75rem;
    --rz-fieldset-legend-margin-block: 0 0;
    --rz-numeric-input-padding-inline: 0.1rem 0.4375rem;
    --rz-tabs-tab-padding-block: 0.35rem 0.35rem;
    --rz-tabs-tab-padding-inline: 0.6rem 0.6rem;
    --rz-grid-header-line-height: 1.25rem;
    --rz-grid-sort-icon-width: 1rem;
    --rz-grid-sort-icon-height: 1rem;
    --rz-grid-loading-indicator-background-color: rgba(255, 255, 255, 0.9);
    --rz-dropdown-item-padding: 0.5rem 0.75rem;
    --rz-button-disabled-opacity: 0.5;
/*    --rz-panel-shadow: rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 2px 1px 0px, rgba(0, 0, 0, 0.14) 0px 1px 3px 0px;
*/}


html, body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
    font-size: 14px !important;
}

@media screen and (max-width: 600px) {
    html, body {
        font-size: 18px !important;
    }
}

a {
    color: var(--rz-primary-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85714rem;
}

    a.read-only {
        color: var(--rz-primary-dark);
        text-decoration: none;
        font-weight: normal !important;
        font-size: var(--rz-input-font-size) !important;
        padding: 0.1rem 0.35rem;
        border-radius: 4px;
        border: 1px solid var(--rz-primary-dark);
    }

    a.read-only:hover {
        background-color: var(--rz-primary-dark);
        color: white;
        font-weight: 800;
        border-radius: 4px;
        border: 1px solid var(--rz-primary-dark);
    }

    a.read-only:focus {
        color: var(--rz-primary-darker);
    }

td a {
    color: var(--rz-primary-darker);
    text-decoration: none;
    font-weight: 500;
}



    a:hover,
    a:focus {
        color: var(--rz-link-hover-color);
    }

h1:focus {
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.list-page-image{
    width:24px;
    height:24px;
}

.rz-grid-table td, .rz-grid-table th {
    padding: 2px 4px;
}

.top-label {
    margin-left: 0.1rem;
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-label-info {
    padding: 0px !important;
    color: var(--rz-base-500) !important;
}

.top-label-info:hover {
    color: var(--rz-info) !important;
}

.left-label {
    font-size: 0.85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edit-form-footer .left-label {
    text-align: right;
    font-weight: bold;
    padding-top: 0.25rem;
    margin-right: -25px;
}

.readonly-value {
    font-weight: bold;
    font-size: 0.85714rem;
    margin-bottom: 0px;
    margin-top: 2.5px;
}

.right-aligned
{
    text-align: right;
}

.rz-calendar .rz-inputtext {
    padding-right: 2.0rem !important;
}

.rz-inputtext
{
    border-radius: 4px;
}


.rz-fieldset {
    background-color: rgb(255, 255, 255);
}

.rz-toolbar {
    background-color: var(--rz-primary-lighter);
    color: var(--rz-primary-darker);
    box-shadow: var(--rz-header-shadow);
    padding-left: 7px;
}

.rz-breadcrumb-splitbutton > button {
    padding: 0.15rem 0.25rem !important;
}

    .rz-breadcrumb-splitbutton > button.rz-splitbutton-menubutton {
        padding: 0.15rem 0rem !important;
        margin-left: 0px;
    }

.new-tab-link {
    color: var(--rz-primary-darker);
}

.rz-treenode-content {
    margin: 0;
    font-size: 0.9rem;
}

.rz-button-xs
{
    padding: 0.35rem 0.5rem 0.2rem 0.5rem;
}

.rz-button-sm {
    padding: 0.375rem 0.75rem 0.3rem 0.75rem;
}

.rz-link-text
{
    font-size: 0.9rem;
}

.view-mode-root{
}

.rz-header {
    background-color: var(--rz-primary-lighter);
}


@media (max-width: 992px) {
    .page-title-label {
        display: none;
    }

    .rz-sidebar-responsive {
        width: 0;
        opacity: 0;
    }
}

.edit-form-layout {
    display: grid;
    height: 100%;
    width: 100%;
    align-items: start;
    grid-template-areas:
        "edit-form-commands"
        "edit-form-body"
        "edit-form-footer";
    grid-template-rows: auto 1fr auto;
}

.edit-form-commands {
    grid-area: edit-form-commands;
}

.edit-form-header {
    grid-area: edit-form-header;
}

.edit-form-sidebar {
    grid-area: edit-form-sidebar;
    height: 100%;
}

.edit-form-body {
    grid-area: edit-form-body;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.edit-form-footer {
    grid-area: edit-form-footer;
    padding-top: calc(var(--rz-layout-body-padding) * 0.5);
    padding-right: calc(var(--rz-layout-body-padding) );
}

.top-caption {
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap
}

.caption-label {
    font-size: 0.65rem;
}

.caption-text {
    font-size: 0.65rem;
    font-weight: bold;
}

.data-grid-cell {
    display: block;
    width: 100px;
}

.cell-wrapper {
    width: 100%;
}

.rz-column-title-content
{
    word-wrap: normal !important;
    text-wrap: wrap !important;
}

.row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
}

.rz-body {
    margin: var(--rz-layout-body-margin);
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
}

.rz-tabview-nav li a {
    padding: 0.25rem 0.5rem;
}

.rz-tabview-panel {
    padding: calc(var(--rz-tabs-padding) * 0.5);
}

.image-button
{
    border: none;
    background-color: transparent;
    padding: 0px;
    width: 1.5rem;
    height: 1.5rem;
}

    .image-button[disabled] {
        opacity: 0.4;
    }

.editor-wrapper {
    padding-right: 0.75rem;
    padding-bottom: 0.5rem;
    align-content: start;
}

.sidebar-layout {
    display: grid;
    height: 100%;
    width: 100%;
    align-items: start;
    grid-template-areas:
        "header"
        "menu"
        "footer";
    grid-template-rows: auto 1fr auto;
}
}

.rz-dropdown-chips .rz-chip {
    gap: var(--rz-chip-gap);
    background-color: var(--rz-chip-background-color);
    color: var(--rz-chip-color);
    border-radius: var(--rz-chip-border-radius);
    padding: 0px 0px 0px 8px;
}

.dotted-border-bottom
{
    border-bottom: 1px dashed gray;
}

.uniform-column {
    overflow-y: scroll;
    height: 100%;
    padding-bottom: 2px;
}

    .uniform-column .top-label {
        font-weight: bold;
        margin-bottom: 0.1rem;
    }

    .uniform-column .caption-text {
        font-weight: normal;
    }

input[readonly] {
    background-color: var(--rz-base-100) !important;
    color: black !important;
}

.rz-dropdown.rz-state-disabled .rz-inputtext {
    background-color: var(--rz-base-100) !important;
    color: black !important;
}

.rz-dropdown.rz-state-disabled {
    border-color: var(--rz-base-400) !important;
    background-color: var(--rz-base-100) !important;
    color: black !important;
}

.rz-tabview-panel
{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.footer-table label {
    margin-left: 1.5rem;
    margin-right: 0.4rem;
}

.footer-table .editor-wrapper {
    padding-bottom: 0.25rem !important;
}

.edit-dialog-buttons
{
    padding-bottom: 1rem;
}

.decimal-uom {
    min-width: 21px;
    font-weight: normal;
    font-size: 0.85rem;
    padding-bottom: 0.15rem;
}

.rz-alert
{
    padding: 0.25rem;
    margin-left: 0;
    margin-right: 1.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.rz-alert-icon {
    margin-left: 0.25rem !important;
    margin-bottom: 0 !important;
    margin-top: 0.20rem !important;
}

.error-message span
{
    font-size: 12px;
}

.no-menu-splitbutton .rz-splitbutton-menubutton
{
    display: none;
}

.rz-dialog
{
    overflow: hidden;
    max-height: 94% !important;
}

.rz-dialog-content {
    height: 100%;
    overflow: hidden;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;
}

    .rz-dialog-content .browser-root {
        height: calc(100% - 2.5rem);
    }

.browser-root {
    height: 100%;
}

.lookup-list-grid {
    display: grid;
    height: 100%;
    width: 100%;
    align-items: start;
    grid-template-areas:
        "lookup-list-content"
        "lookup-list-footer";
    grid-template-rows: 1fr auto;
}


.lookup-list-content {
    grid-area: lookup-list-content;
    height: 100%;
    overflow: auto;
}

.lookup-list-footer {
    grid-area: lookup-list-footer;
}

.edit-form-tabs {
    height: 100%;
    margin-top: 0.25rem;
}

.rz-dialog .edit-form-tabs
{
    height: auto !important;
}

textarea[readonly] {
    background-color: var(--rz-base-100) !important;
    color: black !important;
}

.rz-tabview-panel
{
    height: 100%;
}

.rz-column-footer {
    font-size: var(--rz-grid-cell-font-size);
}

.rz-datatable-tfoot span {
    font-size: 1rem !important;
}

.rz-datatable-tfoot td {
    padding-top: 5px !important;
}

.rz-group-row span
{
    font-weight: bold;
}

.rz-grid-table thead th .rz-column-title {
    gap: 0 !important;
}

.rz-grid-table thead th.rz-text-align-right.rz-sortable-column .rz-column-title {
    padding-inline-start: 0.75rem;
}

th.rz-unselectable-text.rz-text-align-right:not(.rz-sortable-column)
{
    padding-right: 1rem;
}

.disabled-link {
    color: var(--rz-base-500);
}

.cell-wrapper .disabled-link {
    font-weight: bold;
    color: var(--rz-base-800);
}

.property-component-root
{
}

.property-component-more-button {
    padding: 0 !important;
    margin-bottom: -1px;
    display: none;
}

.property-component-root:hover .property-component-more-button
{
    display: inline-block;
}

.rz-datepicker .rz-inputtext {
    padding-right: 1.75rem !important;
}
.rz-datepicker .rz-datepicker-trigger {
    right: 5px !important;
}

.rz-cell-data .rz-markdown p {
    margin-bottom: 0 !important;
}

.file-input-zone {
    display: flex;
    cursor: pointer !important;
    position: relative;
}

    .file-input-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer ;
    }
.property-component-in-cell {
    height: 18.4px !important;
}

.validation-error-cell {
    padding-bottom: 1px !important;
}

.blazorpdf-container
{
    height: 100% !important;
}

div.rz-textbox[readonly]
{
    background-color: var(--rz-base-100);
}

.lookup-text {
    color: black !important;
}

span.lookup-text
{
    white-space: nowrap;
    overflow: hidden;
}

div.rz-textbox[readonly] a {
    opacity: 0.6;
}

div.rz-textbox[readonly] a.main {
    opacity: 1 !important;
}

div.rz-textbox[readonly]:hover {
    background-color: var(--rz-base-100) !important;
}

    div.rz-textbox[readonly]:hover a {
        opacity: 1;
    }

.highlight-search
{
    font-weight: bold;
    color: black;
}