﻿@import url(VeritasRoot.css);

html[data-ag-theme-mode="dark"] {
    color-scheme: dark;
}

html[data-ag-theme-mode="light"] {
    color-scheme: light;
}

body {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    width: 100dvw;
    display: grid;
    grid-template-rows: min-content auto min-content;
    background-image: var(--watermark);
    background-attachment: fixed;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

img#IMG_Logo {
    background-image: var(--logo);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

footer {
    color: var(--gray);
}

body > main.card,
body > form.card {
    margin: 50dvh auto;
    transform: translateY(-50%);
    width: min(60rem, 85%);
}

    body > main.card > .card-body > div:last-child:not(.row),
    body > main.card > .card-body > div.row:last-child > div:last-child,
    body > form.card > .card-body > div:last-child:not(.row),
    body > form.card > .card-body > div.row:last-child > div:last-child {
        text-align: right;
    }

.bg-veritas-blue {
    background-color: var(--primary-color);
}

.card-img {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
}

.d-none-if-empty:empty {
    display: none;
}

.d-grid-col-2 {
    grid-template-columns: 1fr 1fr;
}

.d-grid.align-end {
    align-items: end
}

.text-left {
    text-align: left;
}

label > span.smaller {
    display: list-item;
    margin-left: 1.5em;
    list-style-position: inside;
    list-style-type: disc;
    line-height: 1.3em;
    white-space: nowrap;
}

.form-control {
    background-color: var(--white);
}

input.form-control + .fa-sharp {
    display: block;
    position: absolute;
    right: 1rem;
    bottom: 0.66lh;
    opacity: 0.66;
}

