[pif-questionId] {
    &.has-error {
        border-color: rgb(169, 68, 66) !important;
        background-color: pink !important;
    }

    .question-text.required {
        font-weight: bold;
    }

    label {
        font-weight: unset !important;

    }

    input[type="text"] {
        field-sizing: content;
    }

    textarea {
        field-sizing: content;
    }

    /* divide question in same group by border */
    &[pif-parentQuestionGroupId] {
        border-bottom: 1px solid darkgrey;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    /* remove group border from single questions and last questions in group */
    &[pif-parentQuestionGroupId="0"], &[pif-parentQuestionGroupId]:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

[pif-questionGroupHeader] {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
}
