*[class^="form-"]:has(*[type^="hidden"]) {
    display: none;
}

.formHR {
    border-style: solid;
    border-width: 0.0625rem;
    width: 45%;
}

.formHR:last-of-type {
    visibility: hidden;
}

.formMessage {
    margin: 4rem auto;
    width: 65%;
    text-align: center;
    padding: 0.5rem 1rem;
    color: #fff;
    padding: 1rem;
    background-color: black;
}

.formTitle {
    text-align: center;
    padding: 1rem 0;
}

#formContainer {
    width: 100%;
}
*[class^="form-"], *.jsignaturefield {
    width: 70%;
    margin: auto;
    padding: 1rem;
}
*[class^="form-"] > *:not(.help-text), *.jsignaturefield > *:not(.help-text) {
    padding: 0.75rem;
    display: block;
}

*[class^="form-"] > *:not(.booleanfield), *.jsignaturefield > *:not(.booleanfield) {
    width: 100%;
}

.help-text {
    width: 100%;
    padding: 0 0.75rem;
    display: block;
    bottom: 0.5rem;
    position: relative;
}
label > .choicefield, label > .multiplechoicefield {
    margin: 0.75rem;
}

.form-multiplechoicefield > label, .form-choicefield > label {
    padding-bottom: 0!important;
}

.form-multiplechoicefield > .help-text, .form-choicefield > .help-text {
    bottom: 0;
}

*[class^="form-"] > label, *.jsignaturefield > label {
    font-weight: 600;
}

*[class^="form-"] input, *[class^="form-"] textarea {
    border-style: solid;
    border-width: 0.125rem;
}

.jSignature {
    border-style: solid!important;
    border-width: 0.125rem!important;
}


.form-booleanfield {
    display: flex;
    align-items: center;
    flex-flow: row-reverse;
}

.booleanfield {
    width: auto;
}

#formContainer > input[type='submit'] {
    width: max-content;
    margin: 1.5rem auto 3rem auto;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    padding: 0.75rem;
    display: block;
}

.errorlist {
    padding: 0 1rem !important;
    margin: 0.5rem 0!important;
}

@media only screen and (max-width: 720px) {
    *[class^="form-"], *.jsignaturefield {
        width: 100%;
        float: none;
    }
    *[class^="formH"] {
        padding: 0 2rem;
    }
}