/* === OH custom styles === */

:root {
    --primary: #0277C0; /* designs list this color as CTA instead of primary */
    --primaryDarken: #066099;
    --secondary: #782C3B;
    --bodyText: #595959;
    --headerBackground: #3876BB; /* designs list this color as primary */
    --footerBackground: #272727;
    --headerBottomStroke: var(--secondary);
    --iconColor: #d9dbdd; /* #B3B7BB at 50% opacity on white */
}

.report > header {
    background-color: #3876BB;
}

.mainHeader {
    padding: 5px 19px;
}
#thinHeader .logo {
    margin-bottom: 0 !important;
}
#k2doLogo {
    align-items: center;
    display: flex;
}

[data-page="applicantRegistrationForm"] [data-l10n="views.applicantRegistration.index.instructions"] {
    font-style: italic;
}

[data-page="applicantRegistrationForm"] [data-form-data-key="country"] {
    display: none;
}

/* Hardcoded way to Disable "Optional" tag */
[data-page="applicantRegistrationForm"] [data-form-data-key="middleName"] .itiTextField__customLabel span:last-child {
    display: none;
}

[data-page="applicantRegistrationForm"] .flex-wrap {
    flex-wrap: nowrap !important;
}

#zip {
    margin-left: 4px;
}

/* using [id="…"] instead of #… to keep specificity low */
/* `em` is technically correct b/c its only stylistically different from surrounding text */
[id="surveyForm"] .col-form-label > em {
    font-style: normal;
    text-transform: uppercase;
    text-decoration: underline;
}
[id="surveyForm"] .custom-control-label {
    font-size: 1rem;
    font-weight: normal;
}
@media (min-width: 576px) {
    [id="surveyForm"] .form-group {
        /* the & may be unnecessary, but I'll leave it just in case I'm overlooking something; doesn't hurt */
        &, & > div {
            display: flex;
            width: 100%;
        }
    }
    [id="surveyForm"] .form-group > * {
        display: inline-block;
        max-width: initial;
    }
    [id="surveyForm"] .col-form-label {
        float: left;
        margin: 0.5rem 1rem 0.5rem 0;
        width: 80%;
    }
    [id="surveyForm"] .col-form-label + div {
        align-items: center;
        display: flex;
        justify-content: flex-end;
        width: 25%;
    }
}

.btn-start-test-container {
    max-width: initial;
    margin: 0 auto;
}

.text-centered {
    text-align: center;
}

footer small a {
    color: white;
}