@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
    }

.navbar {
    color: rgb(210 225 255 / 1);
}

.center {
    text-align: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.searchposition {
    position: absolute;
    top: 50%;
}

.grid-alt-item > td {
    background-color: rgba(0, 0, 0, 0.05);
}

.grid-warning-item > td {
    background-color: rgb(255, 0, 0, 0.20);
}
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
}
.fullwindow {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
}
.icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}
/* "Log in again" when a screen stopped because its Paradigm session ended (site.js shows it in place of the error bar).
   Colours are role variables, as in the Enterprise UI guidelines. */
.portal-session-ended {
    --pse-surface: #FFFFFF;
    --pse-border: #C8D0DB;
    --pse-text: #1F2A37;
    --pse-accent: #0B5CAD;
    --pse-on-accent: #FFFFFF;
    --pse-backdrop: rgba(31, 42, 55, 0.4);
    --pse-shadow: 0 4px 16px rgba(31, 42, 55, 0.2);
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--pse-backdrop);
    font-family: "Segoe UI", system-ui, sans-serif;
}

    .portal-session-ended[hidden] {
        display: none;
    }

.portal-session-ended-dialog {
    width: 440px;
    max-width: 100%;
    padding: 24px;
    background: var(--pse-surface);
    border: 1px solid var(--pse-border);
    border-radius: 4px;
    box-shadow: var(--pse-shadow);
    color: var(--pse-text);
}

.portal-session-ended-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--pse-text);
}

.portal-session-ended-dialog p {
    margin: 0;
    font-size: 13px;
}

.portal-session-ended-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.portal-session-ended-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    background: var(--pse-accent);
    color: var(--pse-on-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .portal-session-ended-login:hover,
    .portal-session-ended-login:focus {
        color: var(--pse-on-accent);
        text-decoration: none;
    }

    .portal-session-ended-login:focus-visible {
        outline: 2px solid var(--pse-accent);
        outline-offset: 2px;
    }
