body {
    font-family: "Noto Sans", Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #022e5d;
    line-height: 20px;

    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.pageLayout {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100vw;
    min-height: 100vh;
    max-width: 100vw;
}

.tgrid td {
    white-space: pre;
}

.table td {
    vertical-align: middle;
}

.table td:last-child {
    padding: 0 0.5rem;
}

.table td .link {
    padding: 0.33rem 0.75rem;
    margin: 0.33rem 0.25rem 0;
    line-height: 1.25rem;
}

.link {
    color: #022e5d;
    text-decoration: underline;
    transition: background-color .45s, color .75s;
    padding: 0.33rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    margin: 0.5rem 0;
    line-height: 2.5rem;
}

.link:hover, .link:active, .link:focus {
    color: white;
    text-decoration: none;
    box-shadow: 4px 4px 10px 2px rgba(0,0,0,0.125), -4px -4px 10px 2px rgba(255,255,255,1);
    background-color: #022e5d;
}

.btn {
    text-transform: uppercase;
    border-radius: 0;
    transition: background-color .45s, color .75s;
    height: 3rem;
    line-height: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: white;
    background-color: #022e5d;
    font-weight: 500;
    font-size: 14px;
}

.btn:hover, .btn:active, .btn:focus {
    background-color: #e0e0e0;
    color: #022e5d;
    box-shadow: 4px 4px 10px 2px rgba(0,0,0,0.125), -4px -4px 10px 2px rgba(255,255,255,1);
}

legend {
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
    color: #555555;
}

.form-check-label {
    padding-top: 0;
    padding-left: 0;
}

label.form-label {
    white-space: nowrap;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.message {
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: 120%;
}
.message.error {
    color: #a02020;
}

.message.success {
    color: #028020;
}

.message.hidden {
    display: none;
}

.desc::after {
    color: #2299ff;
    content: ' ↑';
}

.asc::after {
    color: #2299ff;
    content: ' ↓';
}

label.required::after,
legend.required::after {
    content: '*';
    color: #b02020;
}

.required legend~div label::after {
    content: '' !important;
}

label.error,
legend.error {
    color: #d02020;
}

.form-control::placeholder, .form-select::placeholder {
    color: #808080;
    opacity: 1;
}

.form-control:active::placeholder, .form-control:focus::placeholder, .form-control:focus-within::placeholder,
.form-select:active::placeholder, .form-select:focus::placeholder, .form-select:focus-within::placeholder {
    opacity: 0;
}

.form-control:active, .form-control:focus, .form-control:focus-within,
.form-select:active, .form-select:focus, .form-select:focus-within {
    outline: none;
    background-color: white;
    color: black;
    box-shadow: 4px 4px 10px 2px rgba(0,0,0,0.125), -4px -4px 10px 2px rgba(255,255,255,1);
}

.form-control {
    display: block;
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
    color: #555555;
    background-color: #e0e0e0;
    border: 1px solid #cccccc;
    border-radius: 0px;
    transition: box-shadow .45s;
    margin-bottom: 0.75rem;
}

.form-select {
    display: block;
    height: 38px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
    color: #555555;
    background-color: #e0e0e0;
    border: 1px solid #cccccc;
    border-radius: 0px;
    transition: box-shadow .45s;
    margin-bottom: 0.75rem;
}

input[type="text"].form-error,
input[type="select"].form-error {
    border-right-color: #d02020;
    border-right-width: 16px;
}

.disabled, input:disabled, select:disabled, textarea:disabled, .form-check-input:disabled {
    cursor: not-allowed;
}

header {
    top: 0;
}

footer {
    color: white;
    background: #022e5d;
    padding-top: 12px;
    padding-bottom: 12px;
    bottom: 0;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .nav-link {
        display: inline-block;
    }

    header a.nav-link:not(:last-child),
    footer a.nav-link:not(:last-child) {
        margin-right: 1.5rem;
    }        

}

nav {
    padding: 0 0.5rem;
}

footer nav {
    margin-top: -0.5rem;
}

header a {
    text-transform: uppercase;
    text-decoration: none;
    color: #515253;
}

footer a {
    text-transform: uppercase;
    text-decoration: none;
    color: white !important;
}

header a:hover, header a:active, header a:focus, header a.active,
footer a:hover, footer a:active, footer a:focus, footer a.active {
    font-weight: bold;
/*    text-decoration: underline; */
}
#mainContent {
    border-radius: 2rem 2rem 0 0;
    background-color: #e8e8e8;
}

.text-black {
    color: black;
}

p, td, th, a, blockquote, li, span, input {
    font-size: 16px;
    font-family: "Noto Sans", Hevetica, Arial, sans-serif;
    line-height: 23px;
}

h1, .h1 {
    color: #21bbe6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.75);
    font-family: "Noto Sans", Hevetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1.75rem;
    line-height: 2rem;
    padding: 0;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

h2 {
    font-weight: normal;
    color: #8b9097;
}

.tgrid > thead, .tgrid > thead > tr, .tgrid > tbody, .tgrid > tbody > tr, .tgrid > tfoot, .tgrid > tfoot > tr {
    display: contents;
  }

.tgrid {
    display: grid;
    grid-auto-flow: column dense;
    padding: 0 0.5rem;
}

.tgrid th:nth-child(odd), .tgrid td:nth-child(odd) {
    background-color: white;
}

.tgrid th:nth-child(even), .tgrid td:nth-child(even) {
    background-color: #e9ecef;
}

.tgrid th {
    grid-column: 1;
}

.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    border-spacing: 0;    
}

.table th {
    color: #8b9097 !important;
}

.table tr:nth-child(even) td {
    background-color: #faf9e8;
}

.table tr:hover td, .table tr:focus td, .table tr:focus-within td, .table tr:active td {
    background-color: #e9ecef;
}

.paginator {
}

.paginator a[href=""] {
    color: #8b9097;
    text-decoration: none;
}

.paginator li.active {
    font-weight: bold
}

.paginator ul {
    list-style-type: none;
    padding: 0;
}

.paginator li {
    display: inline-block;
    margin: 0 0.5rem;
}

.form-check-input {
    border: 2px solid #555;
}

.form-check-input:checked {
    background-color: #ef0d6e;
    border-color: #ef0d6e;
}

textarea.form-control {
    height: auto;
}

.text-bold {
    font-weight: bold;
}

.bi::before,[class*=" bi-"]::before,[class^=bi-]::before {
    padding-right: 0.25em;
}