
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

a {
    color: #000;
    text-decoration: none;

    &:hover, &:active {
        color: #337ab7;
        text-decoration: underline;
    }
}

.container-fluid {
    max-width: 1400px;
}

.body-content {
    flex: 1 1;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 5px 0;
    margin-bottom: 5px;

    .dxbs-date-edit {
        width: 150px;
    }

    .dxbs-combobox, .dxbl-text-edit {
        width: 250px;
    }
}

.modal {
    --bs-modal-padding: .5rem;
    --bs-modal-header-padding: .5rem 1rem;

    .modal-header {
        background-color: #f3f4f4;

        .modal-title {
            flex-grow: 1;
        }

        .close {
            border: none;
        }
    }

    .modal-footer {
        background-color: #f3f4f4;
    }
}

.at-a-glance {
    font-size: medium;
    border-color: rgb(148, 162, 175);

    thead {
        tr {
            background-color: rgb(148, 162, 175);
            color: #FFFFFF;
        }
    }

    .status-cell {
        text-align: right;
        padding: 5px 10px;
    }

    .count-cell {
        padding: 5px 10px;
        text-align: center;
    }
}

.confirmation-table {
    td {
        border: 1px black solid;
        padding: 2px 5px;
    }
}

.layout-table {
    td {
        padding: 5px;
    }
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.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;

    .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
}

.row {
    > .dxbs-fl-group:not(.dxbs-fl-gd) {
        padding-left: 0;
        padding-right: 0;
    }
}

.d-flex.flex-column {
    .dxbrv-wrapper {
        flex: 1 1;

        .dxrd-report-preview-content {
            overflow: auto;
        }
    }
}

.card-header {
    background-color: slategrey;
    color: #fff;
}

.dxbrv-wrapper .dxbrv-toolbar .dxbl-btn-group {
    background-color: var(--bs-white);
}

.dxrbv-gridlayout-content {
    .dxbrv-surface-wrapper {
        > .position-absolute {
            display: none;
        }
    }
}

.uppercase {
    text-transform: uppercase;
}

.hint {
    font-size: small;
    color: gray;
}