/* Public start page only. Colours follow docs/accessibility/LM_STIJLAFSPRAKEN.md. */
#main h1 {
    line-height: 1.5;
    overflow-wrap: anywhere;
    hyphens: auto;
}

#main h2,
#main h3 {
    line-height: 1.5;
    overflow-wrap: anywhere;
    hyphens: auto;
}

#frm-manueel .start-errors {
    overflow-wrap: anywhere;
}

.footer-sub-menu a {
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    #main h1 {
        /* Preserve the existing 48px line at 42px text, and scale with text zoom. */
        line-height: 1.1428571429;
    }
}

#frm-manueel .form-control,
#frm-manueel .form-select {
    color: #313131;
    background-color: #fff;
    border-color: #8E9191 !important;
}

#frm-manueel .start-input-help {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    color: #707070;
    font-size: .875rem;
    line-height: 1.5;
}

#frm-manueel .start-input-help > .fa-info-circle {
    flex: 0 0 auto;
    color: #25328A;
}

#frm-manueel .start-input-help > span:last-child {
    min-width: 0;
}

#frm-manueel .form-control::placeholder {
    color: #707070;
    opacity: 1;
}

#frm-manueel .form-control:focus,
#frm-manueel .form-select:focus,
#frm-manueel .form-check-input:focus {
    border-color: #25328A !important;
    outline: 1px auto -webkit-focus-ring-color;
    outline-offset: 0;
    box-shadow: none;
}

#frm-manueel .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    background-color: #fff;
    border: 1px solid #8E9191;
    box-shadow: none;
}

#frm-manueel .form-check-input:checked {
    background-color: #25328A;
    border-color: #25328A;
}

#div-itsme .privacy-label a,
#div-itsme .privacy-label a:visited,
#div-itsme .privacy-label a:hover,
#div-itsme .privacy-label a:focus,
#div-itsme .privacy-label a:active,
#frm-manueel .form-check-label a,
#frm-manueel .form-check-label a:visited,
#frm-manueel .form-check-label a:hover,
#frm-manueel .form-check-label a:focus,
#frm-manueel .form-check-label a:active {
    color: #25328A;
    text-decoration: underline;
}

#div-itsme .privacy-label a:focus,
#frm-manueel .form-check-label a:focus {
    outline: 1px auto -webkit-focus-ring-color;
    outline-offset: 1px;
    box-shadow: none;
}

#frm-manueel #btn-manueel {
    color: #fff;
    background-color: #25328A;
    border: 0;
    border-radius: 5px;
    box-shadow: inset 0 0 0 2px #25328A;
    max-width: 100%;
    transition: background-color .3s ease-in-out, color .3s ease-in-out, box-shadow .3s ease-in-out;
}

#frm-manueel #btn-manueel:hover,
#frm-manueel #btn-manueel:focus,
#frm-manueel #btn-manueel:active {
    color: #25328A;
    background-color: transparent;
    box-shadow: inset 0 0 0 2px #25328A;
}

#frm-manueel #btn-manueel:focus {
    outline: 1px auto -webkit-focus-ring-color !important;
    outline-offset: 0;
}

#frm-manueel .form-submit-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

#frm-manueel .form-submit-container > .form-check {
    margin: 0;
    width: 100%;
    flex-wrap: wrap;
}

#frm-manueel .form-submit-container .form-check-label {
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    #frm-manueel .form-submit-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2rem;
        align-items: start;
    }
}
