body {
    margin: 0;
    padding: 0;
    border: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Roboto, Arial, Geneva, Helvetica, sans-serif;
    font-size: 1em;
    width: 100%;
    background-color: #ffffff;
}

#header, #header-row2 {
    width: 100%;
    height: 125px;
    align-items: center;
    overflow: hidden;
    background-color: #22665F;
    color: #ffffff;
    white-space: nowrap;
    display: flex;
}

#header-row1 {
    text-align: right;
    background-color: #22665F;
    color: #ffffff;
    font-size: 20px;
    padding-right: 10px;
    padding-top: 10px;
}

#header-row1 a {
    color: #ffffff;
}

#header-seal {
    width: 20%;
    padding-left: 50px;
}

#header-banner {
    width: 60%;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
}

#maincontent {
    flex: 1;
    padding-left: 20%;
    padding-right: 20%;
}

#footer {
    padding: 0 0 30px;
    bottom: 0;
    width: 100%;
    height: 130px;
    background-color: #22665F;
    color: #ffffff;
    text-align: left;
}

#footer-row1 {
    display: flex;
}

#footer-seal {
    width: 20%;
    padding-left: 50px;
}

#footer-banner {
    width: 60%;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    padding-top: 50px;
}

#footer img {
    padding-top: 10px;
    padding-left: 10px;
}

.footer_nav {
    text-align: center;
    width: 100%;
    display: block;
    clear: both;
    font-size: 20px;
    font-weight: 500;
}

.footer_nav a {
    padding-right: 5px;
    padding-left: 5px;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: #22665F;
}

h1 a {
    font-size: 0.7em;
    float: right;
    text-decoration: underline;
    color: #22665F;
}


/* --- top nav --- */
#nav {
    padding-left: 20%;
    padding-right: 20%;
    background: #22665F;
    text-align: center;
    align-items: center;
}

#nav ul {
    width: 100%;
    display: table;
    align-items: center;
    list-style: none;
    padding-inline-start: 0px;
}

#nav ul li {
    display: table-cell;
    list-style: none;
    text-align: center;
    padding-bottom: 10px;
}

#nav ul li a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

/* --- form fields --- */
label {
    font-weight: normal;
}

.textfield,
.datepicker {
    width: 100%;
    font-size: larger;
    max-width: 300px;
    border: 1px solid gray;
    border-radius: 4px;
    margin-bottom: 12px;
}

.textfield-small {
    width: 30%;
    font-size: larger;
    max-width: 300px;
    border: 1px solid gray;
    border-radius: 4px;
    margin-bottom: 12px;
}

.textfield-large {
    width: 100%;
    font-size: larger;
    max-width: 500px;
    border: 1px solid gray;
    border-radius: 4px;
    margin-bottom: 12px;
}

.selectfield {
    width: 100%;
    font-size: larger;
    max-width: 300px;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 12px;
}

.selectfield-small {
    width: 50%;
    font-size: larger;
    max-width: 300px;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 12px;
}

input {
    padding: 8px;
}

.submit_button {
    color: #ffffff;
    background-color: #22665F;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: larger;
    text-decoration: none;
    padding: 8px;
}

.submit_button_small {
    color: #ffffff;
    background-color: #22665F;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: larger;
    padding: 4px;
}

.submit_button:hover {
    cursor: pointer;
}

.submit_button:focus {
    cursor: pointer;
}

#news-and-links {
    display: table;
    width: 100%;
}

#news-section,
#links-section {
    display: table-cell;
    width: 50%;
}

/* --- layouts --- */
.results-table {
    border-top: solid 1px #c0c0c0;
    border-collapse: collapse;
    width: 100%;
}

.results-table th {
    background-color: #c0c0c0;
    color: #000000;
    padding: 12px;
    text-align: left;
}

.results-table td {
    padding: 12px;
}

.rowEven {
    background-color: #ffffff;
    color: #000000;
}

.rowOdd {
    background-color: #efefef;
    color: #000000;
}

.viewTable {
    display: table;
    width: 100%;
}

.viewTableRowEven {
    background-color: #ffffff;
    color: #000000;
    display: table-row;
}

.viewTableRowOdd {
    background-color: #efefef;
    color: #000000;
    display: table-row;
}

.viewTableCell {
    display: table-cell;
    padding-bottom: 12px;
}

.viewItem {
    width: 100%;
    padding-bottom: 12px;
}

.viewItemGray {
    width: 100%;
    padding-bottom: 20px;
    background-color: #efefef;
}

#errorPanel {
    padding: 20px;
}

.error_message {
    color: maroon;
}

/* primefaces datatable overrides */
.ui-widget {
    font-family: Roboto, Arial, Geneva, Helvetica, sans-serif;
    font-size: 1em;
}

.ui-widget-header {}

.ui-datatable {
    font-family: Roboto, Arial, Geneva, Helvetica, sans-serif;
    font-size: 1em;
    border: 0;
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

.ui-datatable table {
    table-layout: auto;
}

.ui-datatable thead th {
    background-color: #c0c0c0;
    color: #000000;
    padding: 12px;
    text-align: left;
}

.ui-datatable tbody tr td {
    padding: 12px;
}

.ui-state-default {
    background: unset;
    color: unset;
    text-shadow: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.ui-picklist * {
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}
