/*
  Breakpoints (mobile-first min-width):
  - 20rem  (320px)
  - 48rem  (768px)
  - 64rem  (1024px)
  - 90rem  (1440px)
*/

:root {
    --brand-blue: #0E3F75;
    --brand-red: #C12637;
    --brand-white: #FFFFFF;
    --text-body: #212529;
    --focus-outline: 3px solid var(--brand-blue);
    --focus-offset: 2px;
    --font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

html,
body,
form {
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-body);
    background-color: var(--brand-white);
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    color: var(--brand-blue);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: 2em;
}

a {
    color: var(--brand-blue);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    z-index: 10000;
    padding: 0.5rem 0.75rem;
    background: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 600;
    text-decoration: underline;
    transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
}

:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

.agency-logo {
    width: 18.75rem;
    max-width: 100%;
    height: auto;
}

#header {
    background-image: none;
    background-color: var(--brand-white);
    height: auto;
    min-height: 0;
}

#headerOverlay {
    background-image: none;
    height: auto;
}

#headerWrapper,
#menuWrapper,
#ContentWrapper,
#menu {
    width: 100%;
    max-width: 64rem;
    height: auto;
}

#headerContent {
    padding: 0.625rem 0.75rem;
}

#navBarWrapper,
#navBarUnderlay,
#navBar,
#navBarOverlay {
    height: auto;
    min-height: 3.75rem;
}

#navBarWrapper {
    background-color: var(--brand-blue);
}

#navBar {
    background-image: none;
    background-color: var(--brand-red);
}

#menutext {
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-white);
    text-shadow: none;
    letter-spacing: 0.02em;
    padding: 0.75rem 0;
    overflow-wrap: anywhere;
}

.house,
#HomeBtn.house {
    min-width: 24px;
    min-height: 24px;
    padding: 0.5rem;
}

#ContentWrapper {
    background-image: none;
    background-color: var(--brand-white);
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    max-width: 64rem;
    min-height: 0;
    margin: 0 auto !important;
    padding: 1.5rem 1rem 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

#ContentWrapper h1,
#ContentWrapper h2,
#ContentWrapper h3 {
    color: var(--brand-blue);
}

#ContentWrapper h1 { font-size: 2rem; }
#ContentWrapper h2 { font-size: 1.5rem; }
#ContentWrapper h3 { font-size: 1.25rem; }

#ContentWrapper h1.search-criteria-heading {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-size: 1.25rem;
}

#ContentWrapper a {
    font-family: var(--font-family);
    color: var(--brand-blue);
    text-decoration: underline;
    font-size: 1rem;
    line-height: 1.5;
}

#ContentWrapper span {
    color: inherit;
}

#ContentWrapper img {
    border: 0;
    box-shadow: none;
    max-width: 100%;
    height: auto;
}

p.alert,
#ContentWrapper p.alert {
    color: var(--brand-red);
    font-weight: 600;
}

#ContentWrapper p {
    background-color: var(--brand-white);
    position: relative;
    z-index: 1;
    isolation: isolate;
    padding: 0.15rem 0;
    overflow: visible;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.search-criteria-heading {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    padding: 0.5rem 0.75rem;
    max-width: 100%;
}

.search-fieldset {
    border: 0;
    margin: 0 0 0.5rem;
    padding: 0;
    min-width: 0;
}

.search-fieldset legend {
    font-weight: 700;
    color: var(--text-body);
    padding: 0;
    margin-bottom: 0.5rem;
}

.field-label {
    font-weight: 700;
    display: inline-block;
    margin: 0 0.5rem 0.35rem 0;
}

.RadInput,
.RadInput input,
.riTextBox,
.RadMaskedTextBox,
span.RadInput {
    max-width: 100%;
    box-sizing: border-box;
}

input.riTextBox,
input.rcbInput,
.riTextBox {
    background-image: none !important;
    background-color: var(--brand-white) !important;
    color: var(--text-body) !important;
    min-height: 2rem;
}

.RadButton.rbSkinnedButton:not(.rbCheckBox):not(.rbToggleButton),
.RadButton.rbSkinnedButton:not(.rbCheckBox):not(.rbToggleButton):hover,
.RadButton.rbSkinnedButton:not(.rbCheckBox):not(.rbToggleButton):focus,
.action-btn.RadButton,
.action-btn.RadButton:hover,
.action-btn.RadButton:focus {
    background-image: none !important;
    background-color: var(--brand-blue) !important;
    border: 1px solid var(--brand-blue) !important;
    color: var(--brand-white) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 8.5rem;
    width: auto !important;
    min-height: 2.75rem;
    height: 2.75rem !important;
    padding: 0 1.25rem !important;
    margin: 0;
    vertical-align: middle;
    overflow: visible;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: nowrap;
}

.RadButton.rbSkinnedButton:not(.rbCheckBox):not(.rbToggleButton) .rbDecorated,
.RadButton.rbSkinnedButton:not(.rbCheckBox):not(.rbToggleButton) .rbText,
.action-btn .rbDecorated,
.action-btn .rbText {
    background-image: none !important;
    background-color: transparent !important;
    color: var(--brand-white) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.25;
    display: inline-block;
}

.RadCheckBoxList .rbText,
.RadButton.rbCheckBox .rbText {
    color: var(--text-body) !important;
    background-image: none !important;
    background-color: transparent !important;
    white-space: normal;
}

.RadGrid,
.RadGrid .rgHeader,
.RadGrid th.rgHeader,
.RadGrid .rgHeaderOver,
.RadGrid .rgSorted {
    background-image: none !important;
}

.RadGrid .rgHeader,
.RadGrid th.rgHeader,
.RadGrid .rgHeaderOver,
.RadGrid .rgSorted {
    background-color: var(--brand-blue) !important;
    color: var(--brand-white) !important;
}

.RadGrid .rgHeader a,
.RadGrid th.rgHeader a,
.RadGrid .rgSorted a {
    color: var(--brand-white) !important;
    text-decoration: underline;
    background-color: transparent !important;
}

.RadGrid .rgRow td,
.RadGrid .rgAltRow td {
    color: var(--text-body);
    background-image: none !important;
    background-color: var(--brand-white) !important;
    vertical-align: top;
    padding: 0.5rem 0.75rem;
    position: relative;
    z-index: 0;
    overflow: visible;
}

.RadGrid .rgAltRow td {
    background-color: #F5F7FA !important;
}

.RadGrid .rgRow td span,
.RadGrid .rgAltRow td span {
    color: var(--text-body) !important;
    background-color: inherit !important;
    position: relative;
    z-index: 1;
    display: inline-block;
    max-width: 100%;
}

.RadGrid .rgExpandCol,
.RadGrid td.rgExpandCol,
.RadGrid th.rgExpandCol {
    width: 5rem;
    min-width: 5rem;
    padding: 0.5rem;
}

.table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    position: relative;
    z-index: 0;
}

.RadComboBox .rcbInputCell,
.RadComboBox .rcbInput {
    background-image: none !important;
    background-color: var(--brand-white) !important;
    color: var(--text-body) !important;
}

.RadComboBox .rcbActionButton {
    min-width: 24px;
    min-height: 24px;
}

@media (max-width: 47.99rem) {
    #menu {
        padding-left: 0;
    }

    .house {
        padding-left: 0.5rem;
        float: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
