
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*
    ht t ps://supportcenter.devexpress.com/ticket/details/t955161/blazor-how-to-use-svg-icons-from-bootstrap-icon-library-with-blazor-controls-using-the
@import url('bootstrapicons/bootstrap-icons.css');
*/

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    background-color: #EEE;
    color: black;
}


.smallertext {
    font-size: 11px;
}

.bold {
    font-weight: bold
}

.btn-link {
    color: #0366d6;
}

.content {
    padding-top: 0.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid 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;
    }

.footer {
    font-size: 10px;
}

.login {
    width: 300px;
}

.data-entry {
    background-color: rgba(215, 223, 233);
    box-shadow: 0 0.25rem 0.45rem rgba(0, 0, 0, .4);
    border-radius: 5px;
    color: black;
}

.payPage {
    background-color: steelblue;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.tableDates {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 11px;
}

caption {
    caption-side: top;
    padding: 10px;
    font-weight: bold;
}

.formLayout div.card-header {
    padding: .15rem .55rem;
    font-size: small;
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.12);
}

/* Grid header colors removed — Fluent theme handles DX grid headers with accessible contrast */

.RowAlternateStyle table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.035);
}

.hideDetailButton .dxbl-grid-expand-button-cell .dxbl-grid-expand-button {
    visibility: hidden;
}

.popupedit-style {
    min-width: 800px;
}

.popupeditList-style {
    min-width: 700px;
}

.full-system-tab-style.dxbs-tabs .nav-link.active {
    color: #b91c1c; /* dark red — WCAG AA compliant */
    background-color: whitesmoke;
    border-top-color: white;
    border-right-color: white;
    border-left-color: white;
    border-bottom-color: lightslategray;
    border-width: 2px;
}

.full-system-tab-style.dxbs-tabs .nav-link {
    color: black;
}

.instrument-detail-tab-style.dxbs-tabs .nav-link.active {
    color: var(--bs-primary);
    background-color: whitesmoke;
    border-top-color: lightslategray;
    border-right-color: white;
    border-left-color: white;
    border-bottom-color: var(--bs-info);
    border-width: 2px;
}

.instrument-detail-tab-style.dxbs-tabs .nav-link {
    color: var(--bs-info);
}

.my-grid.dxbs-gridview {
    display: flex;
    flex-direction: column;
    font-size: 11px;
}

    .my-grid.dxbs-gridview > .card {
        display: flex;
        height: 100%;
    }

        .my-grid.dxbs-gridview > .card > .dxbs-grid-vsd {
            flex: 1 1 auto;
            height: auto;
        }

        .my-grid.dxbs-gridview > .card > div:not(.dxbs-grid-vsd) {
            flex: 1 0 auto;
        }

.directory-grid-container {
    height: calc(100vh - 270px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .directory-grid-container > .my-grid {
        flex: 1 1 auto;
        height: 100%;
        min-height: 0;
    }

.popup > .modal-content {
    top: 20%;
    float: left;
    left: 20%;
    transform: translate(-50%);
}

.dxbl-tabs-item.custom-tab {
    border-left: solid #c9c9c9 1px !important;
}

.dxbl-tabs-item.dxbl-active.custom-tab {
    border-left: none !important;
}

.background-highlight {
    background-color: #f7f7f7;
}

.hideDropdown {
    visibility: hidden;
}

.showDropdown {
    visibility: visible;
}

.dxbl-dropdown-dialog.dxbl-edit-dropdown.HideDropDown {
    display: none;
}

.no-dropdown-input {
    pointer-events: none;
}

.text-temporary {
    color: #b91c1c; /* dark red — WCAG AA compliant */
    font-weight: 500;
}

.content-area-background {
    background-color: white;
}

.shadow-sm.content-area-background {
    background-color: white;
}

/* This is used by ASP.NET ValidationMessage Blazor component. */
.validation-message {
    color: var(--bs-danger);
}

.visually-hidden-focusable {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .visually-hidden-focusable:focus {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        padding: 0.5rem;
        background-color: #000;
        color: #fff;
        text-decoration: none;
        z-index: 9999;
    }

.form-control {
    border-color: #666666; /* wcag 1.4.1.1 non-text contrast fix */
}
