.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    line-height: unset !important;
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup.richedit-popup > .dxbl-modal-content > .dxbl-modal-body {
    padding: 0 !important;
}

:root {
    --bs-primary: #1E345D !important;
    --bg-primary: #1E345D !important;
    --bs-warning: #f59e0b !important;
    --bg-warning: #f59e0b !important;
    --dxbl-tabs-tab-selected-bg: #f4f5f963 !important;
    --dxbl-checkbox-check-element-readonly-bg: white !important;
}

.btn-primary {
    background-color: #1E345D !important;
    border-color: #1E345D !important;
}

.dxbl-listbox {
    --dxbl-listbox-bg: white;
}

.dxbl-grid-search-box-container {
    padding: 0.25rem !important;
}

.dxbl-grid-group-panel-container {
    align-items: center !important;
}

/*CHECKBOX/RADIO FIX
*/
.dxbl-checkbox.dxbl-checkbox-radio .dxbl-checkbox-check-element::before {
    background-color: unset !important;
}

html,
body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 17px;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

.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;
}

/* grid control buttons row */

td.dxbl-grid-command-cell .command-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2px;
}

.grid-common .dxbl-tabs-tablist .dxbl-text {
    font-size: 0.8rem !important;
}

.grid-common .dxbl-tabs-tablist .dxbl-image {
    font-size: 0.85rem !important;
}

.grid-common .dxbl-btn {
    font-size: 0.8rem !important;
}

td.dxbl-grid-command-cell .command-grid.command-grid--single-column {
    grid-template-columns: 1fr;
}

.grid-button {
    color: #dedede;
    background-color: #1E345D;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    
}

.grid-button:hover {
    color: white;
}

/* fix issue where popup controls can be blocked when zoomed in */
/* this temporary fix allows scrolling of the popup control */
.dxbl-modal-content {
    height:100%;
}

/*GENERAL GRID*/
.dxbl-pager-container {
    padding: 0.25rem 0.25rem 0 !important;
}

.dxbl-pager-container > * {
    margin-bottom: 0.25rem !important;
}

.dxbl-grid > .dxbl-grid-top-panel > .dxbl-grid-group-panel-container > * {
    font-weight: 600;
}

.grid-common tr:nth-child(even),
tr:nth-child(even) .dxbl-grid-command-cell,
tr:nth-child(even) .dxbl-grid-selection-cell,
tr:nth-child(even) .dxbl-grid-expand-button-cell,
tr:nth-child(even) .dxbl-grid .dxbl-grid-table > tbody > tr > td.dxbl-grid-fixed-cell {
    background-color: #f7f8fb !important;
}

.grid-common tr:nth-child(odd),
tr:nth-child(odd) .dxbl-grid-command-cell,
tr:nth-child(odd) .dxbl-grid-selection-cell,
tr:nth-child(odd) .dxbl-grid-expand-button-cell,
tr:nth-child(odd) .dxbl-grid .dxbl-grid-table > tbody > tr > td.dxbl-grid-fixed-cell {
    background-color: white;
}

.dxbl-grid .dxbl-grid-table > thead .dxbl-grid-header-row > th:not(.dxbl-grid-empty-cell)::before {
    background-color: unset !important;
}

.dxbl-grid-search-box-container {
    background-color: #f4f5f9 !important;
}

.dxbl-grid {
    --dxbl-grid-font-size: 0.77rem !important;
    --dxbl-grid-bg: none !important;
}

.grid-common {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
}

.grid-common th {
    font-size: .8rem !important;
    font-weight: bolder !important;
}

.grid-common .dxbs-checkbox {
    font-size: 1rem;
}

.grid-common td {
    line-height: 1.3em !important;
}

.grid-common .pagination {
    margin-left: auto !important;
    margin-right: auto !important;
}

.grid-common h3 {
    margin-bottom: 1rem;
}

.primary-grid {
    height: 100%;
    padding-bottom: 0.5rem;
}

.dxbl-grid {
    --dxbl-grid-group-panel-container-padding-y: 0 !important;
    --dxbl-grid-toolbar-container-min-height: unset !important;
}

.dxbl-list-box-table-header-row {
    background-color: #f4f5f9 !important
}

.dxbl-grid-detail-cell {
    padding: 0 !important;
}

.dxbs-group-panel-container, .dxbl-grid-toolbar-container, .dxbs-th, .dxbl-grid-group-panel-container, .dxbl-grid-header, .dxbl-grid-header-indent-cell {
    background-color: #f4f5f9 !important;
}

.row-danger > td:not(.dxbl-grid-command-cell, .dxbl-grid-expand-button-cell) {
    background-color: #ffe6e6 !important;
}

.dxbl-grid-selected-row.row-danger > td {
    background-color: #ffcccc !important;
}

.row-success > td:not(.dxbl-grid-command-cell, .dxbl-grid-expand-button-cell) {
    background-color: #e6ffe6 !important;
}

.dxbl-grid-selected-row.row-success > td {
    background-color: #ccffcc !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-detail-cell {
    padding: 0.25rem;
}

.dxbs-group-panel-container, .dxbl-grid-toolbar-container, .dxbs-th, .dxbl-grid-group-panel-container, .dxbl-grid-header, .dxbl-grid-header-indent-cell {
    background-color: #f4f5f9 !important;
}

.dxbl-grid-toolbar-container {
    padding: 0.25rem !important;
}

.grid-header-template {
    border: none !important;
}

h3 {
    font-weight: 700 !important;
}

.grid-common tr:nth-child(even),
tr:nth-child(even) .dxbl-grid-command-cell,
tr:nth-child(even) .dxbl-grid-selection-cell,
tr:nth-child(even) .dxbl-grid-expand-button-cell {
    background-color: #f7f8fb;
}

.grid-common tr:nth-child(odd),
tr:nth-child(odd) .dxbl-grid-command-cell,
tr:nth-child(odd) .dxbl-grid-selection-cell,
tr:nth-child(odd) .dxbl-grid-expand-button-cell {
    background-color: white;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-selected-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    background-color: white !important;
}

.dxbl-grid .dxbl-grid-table > tbody > tr > td.dxbl-grid-fixed-cell {
    background-color: white;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-selected-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell)::before {
    background-color: rgb(41 86 200 / 39%) !important;
    opacity: 100% !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-selected-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    z-index: 0;
}

    .dxbl-toolbar-btn, .dxbl-btn-last {
        box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%) !important;
        background-color: white;
        border-color: var(--bs-border-color, var(--bs-gray-400, #ced4da)) !important;
    }

.dxbl-toolbar-btn {
    font-size: 0.77rem !important;
}

.text-start {
    color: #3b3b3b;
}

.dxbs-fixed-header-content {
    color: rgb(38, 37, 38);
}

/*CHECKBOXES*/
.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio) .dxbl-checkbox-check-element {
    width: 17px !important;
    min-width: 0 !important;
    height: 17px !important;
    min-height: 0 !important;
}

.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-checkbox-checked .dxbl-checkbox-check-element .dxbl-image {
    width: 11px !important;
    height: 11px !important;
}

td > .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-disabled.dxbl-checkbox-checked .dxbl-checkbox-check-element {
    background-color: rgba(40, 167, 69, 0.7) !important;
    border-color: rgba(40, 167, 69, 1) !important;
    opacity: 1 !important;
}

td > .dxbl-checkbox.dxbl-disabled {
    opacity: 1 !important;
}


/*ELEMENT FADE-IN*/
.fade-in {
    animation: fadeInAnimation ease 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*HEADINGS FONT SIZE*/
h1, .h1 {
    font-size: calc(1.34375rem + 1.125vw);
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.1875rem;
    }
}

h2, .h2 {
    font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
    h2, .h2 {
        font-size: 1.75rem;
    }
}

h3, .h3 {
    font-size: calc(1.278125rem + 0.3375vw);
}

@media (min-width: 1200px) {
    h3, .h3 {
        font-size: 1.53125rem;
    }
}

h4, .h4 {
    font-size: calc(1.25625rem + 0.075vw);
}

@media (min-width: 1200px) {
    h4, .h4 {
        font-size: 1.3125rem;
    }
}

h5, .h5 {
    font-size: 1.09375rem;
}

h6, .h6 {
    font-size: 0.875rem;
}

/*LOGIN*/
.login-text-box-wrapper > .dxbl-text-edit {
    width: calc(75% - 36px);
}

.login-text-box-wrapper {
    justify-content: center;
}

.login-card {
    max-width: 30em;
    font-size: 0.8em;
    width: 24.4%;
    min-width: 360px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
}

    .login-card .card-header {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
        background-color: #eaebef;
        color: black;
        border-radius: 0.25rem 0.25rem 0 0;
        display: flex;
        font-size: 0.95rem;
        line-height: 0.9rem;
        font-weight: 500;
    }

    .login-card .card-body, .login-card .card-footer {
        background-color: #f4f5f9;
    }

.login-text-box-icon {
    font-size: 1.3em;
    border: 1px solid var(--bs-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.2rem;
    border-left: 0;
    width: 36px;
    background-color: var(--bs-primary);
    color: white;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.login-text-box {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-right: 0 !important;
}

.login-brand {
    font-size: 2rem;
    color: var(--bs-primary);
    text-decoration: none;
}

    .login-brand:hover {
        color: var(--bs-primary);
    }

.login-logo {
    width: 75px;
    height: 75px;
}

.validation-error-border-login {
    border: 1px solid #dc3545 !important;
    border-radius: 0.15rem 0 0 0.15rem !important;
}

/*DX LOGIN C;CKBOX ALIGNMENT FIX*/
.remember-login-dxbs-checkbox {
    line-height: 1.1;
    justify-content: end;
}

/*HEADER USER DISPLAYER*/
.account-name {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 0.9rem;
}

    .account-name span {
        min-width: 200px;
        text-align: right;
    }

.sign-out {
    font-weight: 400;
    color: #007bff !important;
    font-size: 11px;
}

    .sign-out:hover {
        cursor: pointer;
    }

    .sign-out:active {
        color: black !important;
    }

.toast:not(.showing):not(.show) {
    display: none !important;
}

.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-checkbox-unchecked .dxbl-checkbox-check-element::before {
    background-color: unset !important;
}

.dxbl-window > .dxbl-window-dialog {
    background-color: white;
}

.dxbl-fl.dxbl-fl-loading {
    opacity: unset !important;
}

.dxbl-tabs-item {
    --dxbl-text-font-size: 0.85rem;
}

.dxbl-fl-cpt {
    --dxbl-fl-caption-font-weight: 500;
    color: black !important;
}

/*RECORD EDITOR*/
.editor-card {
    background-color: #f4f5f963 !important;
    border-top-width: 0;
}

.dxbl-modal-content, .dxbl-dropdown-dialog {
    background-color: white !important;
}

/*GRID DETAIL VIEW*/
.detail-head-text {
    font-size: .85rem;
    font-weight: bold;
    margin-bottom: 0.3em;
}

.detail-info {
    font-size: 0.9em;
    padding-left: 0.5em;
    margin-bottom: 0;
}

.detail-content {
    padding-left: 0.5em;
}

.detail-small-head-text {
    margin-bottom: 0.5em;
    font-weight: 500;
}

.detail-attachment-description {
    font-size: 0.75em;
    margin-left: 0.2em;
}

.detail-content-section {
    font-size: 0.95em;
}

    .detail-content-section ul {
        overflow: auto;
        max-height: 10em;
    }

    .detail-content-section li:not(:first-child) {
        margin-top: 0.5em;
    }

.state-grid {
    margin-top: 1em;
}

/*NO DATA TEXT*/
.no-data-text {
    opacity: .5;
    font-size: .8125rem;
}

/*TEMP SCROLL FIX*/
.dxbl-scroll-viewer-vert-scroll-bar {
    display: flex !important;
}

.dxbl-grid .dxbl-grid-table.dxbl-grid-table-no-scroll {
    height: unset !important;
}



.selected-page-icon {
    font-size: 10px;
    line-height: 20px;
    color: #0096DC
}

/*FORM GENERAL*/
.required-caption:after {
    content: ' *';
    color: var(--bs-danger);
}

.caption-text {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.align-center-form-item > .dxbl-fl-ctrl {
    align-self: center !important;
}

.dxbl-text-edit {
    --dxbl-text-edit-bg: #fff;
}

.remove-button-style {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.grid-file-link {
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
}

.colored-stav-text {
    background-color: white;
    border-radius: 0.35rem;
    padding: 0.1rem 0.35rem 0.1rem 0.35rem;
}

.foto-list-img {
    border-radius: 0.1rem;
}

/*HEADER*/
.user-dropdown-toggle::after {
    display: inline-block;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

button.dxbl-dropdown-item {
    width: 100%;
    justify-content: start;
}


/*WORKFLOW*/
.workflow-diagram-button .port {
    opacity: 0%;
}

.workflow-diagram-button {
    font-weight: 600;
    transition: all 0.1s linear;
}

    .workflow-diagram-button:not(:disabled):hover, .workflow-diagram-button:not(:disabled):active {
        background-color: rgb(227, 240, 255);
    }

    .workflow-diagram-button:disabled {
        background-color: #e6e6e6;
        cursor: default;
    }

.workflow-container {
    height: 480px;
    width: 930px;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, rgb(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgb(0, 0, 0, 0.05) 1px, transparent 1px);
}

.state-change-diagram-container {
    background-color: rgb(0 43 89 / 15%);
    border-right: 1px solid rgba(34,34,34,.125);
    border-left: 1px solid rgba(34,34,34,.125);
}

    .state-change-diagram-container .diagram-canvas {
        cursor: default;
    }

.workflow-node {
    width: 150px !important;
    height: 90px !important;
}

.link .link-label {
    min-width: 6rem;
}

.initial-state-widget {
    background-color: aliceblue !important;
    font-style: italic;
}

.final-state-widget {
    background-color: #fff5f0 !important;
    font-style: italic;
}

.dxbl-group-header > .dxbl-text {
    font-weight: 500 !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
}

.dxbl-group-header {
    background-color: rgb(244, 245, 249) !important;
}