:root {
    --dhcs-blue: #17315a;
    --dhcs-teal: #2d6e8d;
    --dhcs-teal-hover: #335969;
    --dhcs-orange: #E47225;
    --dhcs-yellow: #F9A71C;
    --dhcs-yellow-hover: #ee9022;
    --dhcs-yellow-fg: var(--dhcs-blue);
    --dhcs-white: #fff;
    --dhcs-dark-gray: #515253;
    --dhcs-med-dark-gray: #696A6A;
    --dhcs-med-gray: #AAAAAA;
    --dhcs-light-gray: #ECEEF0;
    --dhcs-black: #1f1f1f;
    --bs-btn-active-bg: var(--dhcs-teal);

    --font-size: 1rem;

    --gap-2: 0.5rem;
    --gap-4: 1rem;

    --border-radius-sm: 0.125rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-2xl: 1rem;
    --border-radius-3xl: 1.5rem;

    /* buttons */
    --btn-transition: all 250ms ease-in-out;
    --btn-active: scale(0.95);

    /* primary */
    --btn-primary-bg: var(--dhcs-teal);
    --btn-primary-text: var(--white);
    --btn-primary-bg-hover: var(--dhcs-teal-hover);

    /* highlight btn */
    --btn-highlight-bg: var(--dhcs-yellow);
    --btn-highlight-text: var(--dhcs-yellow-fg);
    --btn-highlight-bg-hover: var(--dhcs-yellow-hover);

    /* primary outline */
    --btn-primary-outline-bg: var(--white);
    --btn-primary-outline-border: var(--dhcs-teal);
    --btn-primary-outline-text: var(--dhcs-teal);
    --btn-primary-outline-bg-hover: var(--dhcs-teal);

    /* highlight outline */
    --btn-highlight-outline-bg: var(--white);
    --btn-highlight-outline-border: var(--dhcs-orange);
    --btn-highlight-outline-text: var(--dhcs-orange);
    --btn-highlight-outline-bg-hover: var(--dhcs-orange);

    /* layout specific */
    --header-btm-size: 8rem;

    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--dhcs-teal);
}

/* BUTTONS */
.brand-primary-btn,
.brand-highlight-btn,
.brand-primary-outline-btn,
.brand-primary-ghost-btn,
.brand-highlight-outline-btn {
    transition: var(--btn-transition);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-wrap: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    text-decoration: none !important;
}

.brand-disabled-btn,
.brand-primary-btn:disabled,
.brand-highlight-btn:disabled,
.brand-primary-outline-btn:disabled,
.brand-primary-ghost-btn:disabled,
.brand-highlight-outline-btn:disabled,
.brand-primary-btn:disabled:hover,
.brand-highlight-btn:disabled:hover,
.brand-primary-outline-btn:disabled:hover,
.brand-primary-ghost-btn:disabled:hover,
.brand-highlight-outline-btn:disabled:hover,
.brand-primary-btn:disabled:active,
.brand-highlight-btn:disabled:active,
.brand-primary-outline-btn:disabled:active,
.brand-primary-ghost-btn:disabled:active,
.brand-highlight-outline-btn:disabled:active {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.125rem;
    background-color: var(--dhcs-med-gray);
    transform: none;
    color: var(--dhcs-med-dark-gray);
    border: 1px solid var(--dhcs-med-gray);
}

.btn-fluid {
    width: 100%;
}

.brand-primary-btn:active,
.brand-highlight-btn:active,
.brand-primary-outline-btn:active,
.brand-primary-ghost-btn:active,
.brand-highlight-outline-btn:active {
    transform: var(--btn-active);
}

.brand-primary-btn:active,
.brand-highlight-btn:active {
    color: var(--white);
}

.brand-primary-btn:focus, .brand-primary-btn:active {
    outline-offset: 2px !important;
}

.brand-primary-ghost-btn {
    background-color: transparent;
    color: var(--dhcs-teal);
    border: none;
}

.brand-primary-ghost-btn:hover {
    background-color: var(--dhcs-med-gray);
}

.brand-primary-btn {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
}

a.brand-primary-btn:focus,a.brand-primary-btn:focus {
    outline: 2px solid var(--dhcs-teal);
    color: var(--white) !important;
    outline-offset: 2px;
}

.brand-primary-btn:hover {
    background-color: var(--btn-primary-bg-hover);
    color: var(--white);
}

.brand-highlight-btn {
    background-color: var(--btn-highlight-bg);
    color: var(--btn-highlight-text);
    border: none;
}

.brand-highlight-btn:hover {
    background-color: var(--btn-highlight-bg-hover);
}

.brand-primary-outline-btn {
    background-color: var(--btn-primary-outline-bg);
    color: var(--btn-primary-outline-text);
    border: 1px solid var(--btn-primary-outline-border);
}

.brand-primary-outline-btn:hover {
    background-color: var(--btn-primary-outline-bg-hover);
    color: var(--btn-primary-text);
}

.brand-highlight-outline-btn {
    background-color: var(--btn-highlight-outline-bg);
    color: var(--btn-highlight-outline-text);
    border: 1px solid var(--btn-highlight-outline-border);
}

.brand-highlight-outline-btn:hover {
    background-color: var(--btn-highlight-bg-hover);
    color: var(--btn-highlight-text);
}

/*Layout Specific*/

#header-top {
    height: 2.5rem;
    background-color: var(--dhcs-blue);
}

#header-bottom {
    background-color: var(--dhcs-teal);
    height: var(--header-btm-size);
}

#content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
}


#content-container > main {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2),
    0 4px 6px -4px rgb(0 0 0 / 0.2);
    margin-top: calc(calc(var(--header-btm-size) * 0.7) * -1);
    background-color: var(--white);
    flex: 1;
    width: 100%;
    min-height: 40rem;
    padding: 1rem 2rem;
}

#family-number {
    font-weight: lighter;
    font-size: small;
}

.question-container-wrapper {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.input-disabled {
    background: var(--dhcs-light-gray);
    color: var(--dhcs-dark-gray)
}

.question-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    width: 100%;
    font-size: small;
    grid-column: span 2 / span 2;
}

/* shared per page */

.menu-title {
    font-size: 1.25rem;
    color: #0a0a0a;
    padding: 0.5rem 0;
    margin: 0;
}

.action-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--dhcs-med-gray);
    border-radius: var(--border-radius);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dhcs-dark-gray) !important;
}

.btn-container {
    display: flex;
    gap: var(--gap-4);
    align-items: center;
    justify-content: center;
}

/* utility */


/* go to col for mobile */
.flex-gap-2 {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2);
}

.gap-2 {
    gap: var(--gap-2);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.shadow-md {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2),
    0 4px 6px -4px rgb(0 0 0 / 0.2);
}

.shadow-sm {
    box-shadow: 0 4px 6px -3px rgb(0 0 0 / 0.1),
    0 2px 4px -1px rgb(0 0 0 / 0.06);
}

li {
    list-style: none;
}


/* ************************ MEDIA QUERIES ************************ */

@media (min-width: 640px) {
    .brand-primary-btn,
    .brand-highlight-btn,
    .brand-primary-outline-btn,
    .brand-primary-ghost-btn,
    .brand-highlight-outline-btn {
        font-size: 1.125rem;
        padding: 0.5rem 1rem;
    }

    .menu-title {
        font-size: 1.75rem;
        color: #0a0a0a;
        font-weight: normal;
        padding: 1rem 0;
        margin: 0;
    }

    #content-container > main {
        padding: 2rem 4rem;
    }

    .flex-gap-2 {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: var(--gap-2);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

a {
    color: var(--dhcs-blue);
}

a.btn-primary {
    color: var(--white);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

header {
    color: var(--dhcs-blue);
    background-color: var(--white);
    border-color: var(--white);
}

.footer {
    /*position: absolute;*/
    /*bottom: 0;*/
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: var(--dhcs-blue);
    color: var(--white);
}

.footer a {
    color: white;
}

form .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

#app_iFrame {
    position: fixed;
    background: #000;
    border: none;
    top: 50px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95%;
}

#registerForm .form-control {
    width: 100%;
    float: left;
}

.home-box {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    height: 30rem;
    padding: 1rem;
    position: relative;
    background-color: lightgray;
    border: var(--dhcs-med-gray) 1px solid;
    overflow-y: auto;
}

.home-btn-container {
    position: absolute;
    bottom: 20px;
    left: 125px;
}

#appFrame {
    display: none;
}

#showDocId {
    display: none;
}

#appProcessing {
    display: none;
    height: 600px;
}

#home-banner {
    background-image: url("../img/HAACP-hero-graphic-full.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2em;
    color: var(--white);
    min-height: 300px;
}

#member-home-banner {
    background-image: url("../img/audiology3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2em;
    min-height: 600px;
}

.home-banner-text h1 {
    color: var(--white) !important;
}

.home-mobile-text {
    display: none;
}

.button-space .btn {
    margin-top: 25px;
    margin-bottom: 25px;
}

.white-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-md);
}

.member-banner-text {
    background-color: var(--dhcs-med-dark-gray);
}

.error-banner-text {
    background-color: var(--dhcs-dark-gray);
}

.member-content .row {
    margin-top: 1em;
    margin-bottom: 1em;
}

#home-banner p {
    padding: 5px;
}

#home-banner .btn {
    border-radius: 16px;
}

#app-status {
    margin-bottom: 1em;
}

#error-banner {
    background-image: url("../img/oh_no_baby.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2em;
    min-height: 400px;
}

.list1 ul {
    margin: 0.75em 0;
    padding: 0 1em;
    list-style: none;
}

.list1 li:before {
    content: "";
    border-color: transparent var(--dhcs-orange);
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1.3rem;
    position: relative;
}

#translateLabel {
    padding-right: 5px;
}

@media only screen and (max-width: 1199px) {
    #home-banner {
        min-height: 200px;
    }
}

@media only screen and (max-width: 768px) {
    #home-banner {
        min-height: 100px;
    }

    #member-home-banner {
        min-height: 400px;
    }

    #error-banner {
        min-height: 300px;
    }
}

@media only screen and (max-width: 576px) {
    #home-banner {
        background-image: url("../img/HAACP-hero-graphic-mobile.jpg");
        min-height: 200px;
    }

    #member-home-banner {
        min-height: 250px;
    }

    #error-banner {
        min-height: 200px;
    }

    .home-mobile-text {
        display: block;
    }

    .home-banner-text {
        display: none;
    }
}

.ms-hide {
    display: none;
}

.ms-visibilityHidden {
    visibility: hidden;
}

.ms-accessible,
.ms-hidden,
a.ms-skip,
a:hover.ms-skip,
a:visited.ms-skip,
a.ms-TurnOnAcc,
a.ms-SkiptoMainContent,
a.ms-SkiptoNavigation {
    position: absolute;
    top: -2000px;
    overflow: hidden;
    height: 1px;
    width: 1px;
    display: block;
}

a:active.ms-skip,
a:focus.ms-skip,
a:focus.ms-acc-button,
a:active.ms-acc-button {
    position: absolute;
    top: 2px;
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 2px 4px;
    z-index: 12;
    height: auto;
    width: auto;
}

.translate:hover {
    background-color: transparent !important;
}

.recovery-code {
    color: #c32148;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}


.grecaptcha-badge {
    visibility: hidden !important;
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.nav-link.active {
    background-color: var(--dhcs-blue) !important;
    color: var(--white) !important;
}

.nav-link {
    text-decoration: none !important;
    color: var(--dhcs-blue) !important;
}

.nav-link:hover {
    color: var(--dhcs-blue) !important;
    background-color: var(--dhcs-yellow) !important;
    border-radius: var(--border-radius) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-link {
    color: var(--dhcs-teal);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--dhcs-teal-hover);
    text-decoration: underline;
}