:root {
    --font-family: "ColfaxAI", -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
    --primary-color: #000000;
    --primary-color-no-override: #000000;
    --action-primary-color: #000000;
    --link-color: #000000;
    --input-box-shadow-depth: 1px;
    --page-background-color: #ffffff;
}

.error-msg {
    color: red;
    text-align: center;
    margin-bottom: 10px;
    min-height: 20px;
}

body {
    font-family: var(--font-family);
    background-color: var(--page-background-color);
}

.oai-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.oai-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 0;
    flex: 0 0 auto;
}

    .oai-header svg {
        width: 32px;
        height: 32px;
        fill: #202123;
    }

.oai-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e80;
    padding: 12px 0 24px;
    flex: 0 0 auto;
}

    .oai-footer a {
        color: var(--primary-color);
        margin: 0 10px;
    }

._widget-auto-layout main._widget {
    flex: 1 0 auto;
    min-height: 0;
}

main header > img:first-of-type {
    display: none;
}

main > section,
main > section > div:first-child {
    box-shadow: none;
}

main header > h1 {
    font-weight: 700 !important;
    font-size: 32px !important;
}

main a {
    font-weight: 400 !important;
    font-size: 14px;
}

.ulp-alternate-action {
    text-align: center;
}

button[type="submit"] {
    font-family: var(--font-family);
}

main header > h1 {
    margin-bottom: 0 !important;
}

    main header > h1 + div {
        display: none !important;
    }

._widget-auto-layout {
    display: flex;
    flex-direction: column;
}

.oai-wrapper {
    flex: 1;
    min-height: auto;
}

.no-js {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
