:root {
    --mdhr-teal: #13819a;
    --mdhr-off-white: #fcfcfc;
    --mdhr-grey-light: #f6f6f6;
    --mdhr-border-grey: #808080;
    --mdhr-blue: #003865;
    --mdhr-blue-light: #e6ecf0;
    --mdhr-message-font-size: 1rem;
}

.js .global-header > .nav .global-nav__inner > ul {
    gap: .5rem;
    justify-content: flex-end;
}

.js .global-header >.nav .global-nav__inner > ul> li:last-child {
    margin-inline-start: initial;
}

.global-header {
    border-bottom: 0;
}

.company-switcher-name {
    font-size: 1.125rem;
}

.company-switcher-name p {
    display: block;
    margin: 0;
    padding: 0;
}

.company-switcher-name p span {
    font-size: 1rem;
}

.switch-company-label {
    flex-shrink: 0;
    font-size: 1.125rem;
    font-weight: 700;
    margin-right: .75em;
}

.company-switcher {
    background-color: var(--mdhr-blue-light);
    border-bottom: 3px solid var(--mdhr-blue);
    border-top: 3px solid var(--mdhr-blue);
    padding: 1.5rem 0;
}

.global-header:not(:has(.company-switcher)) {
    border-bottom: 3px solid var(--mdhr-blue);
}

.top-nav-search[aria-hidden="false"] + .company-switcher {
    margin-top: 1.5rem;
}

.switch-company-form {
    align-items: center;
    display: flex;
}

.company-switcher-name + .switch-company-form {
    padding-top: 1.5rem;
}

.switch-company-form .button {
    background-color: var(--mdhr-blue);
    border-color: var(--mdhr-blue);
    color: #fff;
    flex-shrink: 0;
    font-size: 1.125rem;
    margin: 0 0 0 0.75em;
}

.switch-company-form .button:focus {
    outline-color: #fff;
}

.switch-company-form .button:hover {
    background-color: transparent;
    color: #fff
}

.origin-light .switch-company-form .button:hover {
    color: #000;
}

.switch-company-form .form__select {
    font-size: 1.125rem;
    border-color: #fff;
    margin-top: 0;
}

.origin-light .switch-company-form .form__select {
    border-color: #252525;
}

.switch-company-form .form__select:focus {
    outline-offset: 2px;
}

.single-company {
    cursor: default;
    margin: 0;
    min-block-size: 2.75rem;
    min-inline-size: 10ch;
    padding-block: .25em;
    padding-inline: .75em;
}

.content-wrap > div > .note.note--success {
    margin-top: 1.5rem;
}

@media only screen and (max-width: 70em) {
    .switch-company-form {
        flex-wrap: wrap;
        gap: .5rem;
        margin-top: 0 !important;
        padding-top: .5rem !important;
    }

    .switch-company-label,
    .switch-company-form .form__select,
    .switch-company-form .button {
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 1120px) {
    .switch-company-form {
        margin: .75em 0;
    }

    .js .global-header>.nav .global-nav__inner .account-login {
        justify-content: start;
    }
}

.widget--hyland-onbase--workview-filter-results .onbase-filter-results-datatable,
.widget--hyland-onbase--workview-filter-results .table-container {
    margin-block-start: 0 !important;
}

.widget--hyland-onbase--workview-filter-results th {
    background-color: var(--mdhr-teal);
    color: var(--mdhr-off-white);
    border-right: 1px solid var(--mdhr-off-white);
}

.widget--hyland-onbase--workview-filter-results .table-container,
.widget--hyland-onbase--workview-filter-results .dataTables_info {
    font-size: var(--mdhr-message-font-size);
}

.widget--hyland-onbase--workview-filter-results .action-links a {
    margin: 0 !important;
    margin-right: .25rem !important;
}

.widget--hyland-onbase--workview-filter-results .action-links a + a {
    margin-top: .25rem !important;
}

.widget--hyland-onbase--workview-filter-results .action-links {
    margin: 0;
}

.button.button--message {
    font-size: var(--mdhr-message-font-size);
    font-weight: 600;
}

.button.button--message:not(:hover),
.widget--hyland-onbase--workview-filter-results .action-links a:not(:hover) {
    border-color: var(--mdhr-blue);
    color: var(--mdhr-blue) !important;
}

.widget--hyland-onbase--workview-filter-results .action-links a {
    font-weight: 600;
    min-block-size: auto;
    padding-block: .35rem; /* Magic number to match design */
}

.widget--hyland-onbase--workview-filter-results tr td {
    border-right: 1px solid var(--mdhr-border-grey);
}

.widget--hyland-onbase--workview-filter-results th:last-of-type,
.widget--hyland-onbase--workview-filter-results tr td:last-of-type {
    border-right: 0;
}

.widget--hyland-onbase--workview-filter-results table {
    border-color: var(--mdhr-border-grey);
}

.widget_content.editor h2:first-child {
    margin-top: 0;
}

.error-message-displayed .container--buttons .button--message {
    display: none;
}
