#quiz {
    margin: 0 auto;
    width: 80%;
    max-width: 1000px;
}
#quizHeader {
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
}
#quizHeader h1 {
    font-size: 2.5em;
}
#quizHeader h3 {
    /*text-decoration: underline;*/
}
[id^="categorySection-"] {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
}
#quizQuestion {
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-left: 35px;
}
#quizOptions {
    display: flex;
    justify-content: space-around;
    padding: 0 60px;
}
/*#quizOptions p {
    width: 150px;
}*/
label {
    display: inline-grid;
    text-align: center;
    width: 100%;
}
.inputLabel {
    display: block;
}
.inputLabel input, label select {
    width: 50%;
}

@media screen and (orientation: portrait) and (max-width: 600px) {
    #quizQuestion {
        padding: 0;
        margin-left: 0;
    }
    #quizOptions {
        display: block;
        padding: 0;
        flex-wrap: wrap;
    }
    #quizHeader h3 {
        line-height: 25px;
        font-size: 16px;
    }
    .twoColumns {
        width: 49% !important;
    }
    .closerOptions {
        padding: 0 30% 10px 30%;
    }
    label {
        width: 100%;
        padding-bottom: 10px;
        display: flex;
        text-align: left;
        font-size: 1.1em;
    }
    input[type="radio"] {
        margin: 0 0 auto auto !important;
        box-sizing: border-box;
    }
    #buttonSection {
        display: block !important;
    }
    .inputLabel input, .inputLabel select {
        width: 100%;
    }
    #buttonSection input {
        width: 100%;
    }
}
input[type="radio"] {
    height: 20px;
    min-width: 20px;
    margin: auto;
    cursor: pointer;
}
button[type="submit"] {
    width: 300px !important;
}
button[type="submit"], input[type="button"] {
    min-width: 200px;
    height: 50px;
    border: 0;
    border-radius: 20px;
    font-size: 1.2em;
    cursor: pointer;
    color: white;
}
:is(button[type="submit"], input[type="button"]):hover {
    box-shadow: 1px 1px 20px lightgray;
}
#quizCategoryHeader {
    display: flex;
    justify-content: space-between;
}
[class^="category-"] {
    display: none;
}
#progressBarSection {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}
.progressBar {
    height: 20px;
    border-radius: 20px;
    width: 20%;
}
#buttonSection {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mandatoryQuiz:before {
    content: "*";
    color: red;
}
.mandatoryQuestion:after {
    content: "*";
    color: red;
}
.mandatoryAdvisor {
    color: red;
}
