.shameless-quiz-answers
{
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.shameless-quiz-answers > label {
    margin: 0 0 10px 17px;
    font-size: 14px;
}

.shameless-quiz-answers.answers-images {
    gap: 20px;
    text-align: center;
    flex-direction: row;
}

.shameless-quiz-field {
    margin: 24px;
}

.shameless-single-result
{
    margin: 20px;
    border: 1px solid #b5bdc3;
}

.shameless-result-question
{
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.shameless-result-answer img
{
    width: 100px;
    height: 100px;
    display: block;
    border: 1px solid darkgrey;
    padding: 5px;
}

.shameless-quiz-answers img
{
    width: 150px;
    height: 150px;
    display: block;
    border: 1px solid darkgrey;
    padding: 5px;
}

.shameless-result-answer
{
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.shameless-result-answer.correct-answer {
    background-color: #92d9f1;
    color: white;
    border-bottom: none;
}

.shameless-result-answer.wrong {
    border: 2px solid darkred;
}

.shameless-result-answer.right::before{
    content: '\2714';
    color: green;
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
}

.shameless-result-answer.wrong::before{
    content: '\274C';
    color: darkred;
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
}

.shameless-result-explain
{
    padding: 10px;
    border: 3px solid #92d9f1;
}

.shameless-image-preview
{
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 0 4px 4px #00000020;
    margin: 20px;
}

.shameless-field
{
    margin-top: 30px;
}

.shameless-quiz
{
    box-shadow: 0 0 2px 2px #00000020;
    border: 1px solid lightgrey;
    border-radius: 5px;
    background-color: white;
    overflow-x: hidden;
    background-image: url(https://endtobaccoca.ash.org/wp-content/uploads/2022/10/question-bg.jpg);
}

.shameless-quiz-result
{
    box-shadow: 0 0 2px 2px #00000010;
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    margin: 10px auto;
    display: flex;
    border-radius: 20px;
    width: 100px;
    align-items: center;
    margin-bottom: 20px;
}

.shameless-score-correct
{
    font-size: 42px;
    padding-left: 10px;
}

.shameless-quiz-page-container
{
    display: flex;
    height: 400px;
    flex-direction: column;
    padding: 10px;
    overflow-y: hidden;
    padding: 0px 25px;
}

.shameless-quiz h2
{
    background-color: #eee;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #025a98;
    border-top: 2px solid #025a98;
}

.shameless-quiz-navigation {
    background-color: #eee;
    padding: 10px;
}

.shameless-quiz-page
{
    position: relative;
    height: 400px;
    min-height: 400px;
    top: 0;
    overflow-y: auto;
}

.shameless-quiz label span
{
    padding-left: 10px;
}

.shameless-results .shameless-button
{
    max-width: 150px;
}

.shameless-alert-bg
{
    position: fixed; /* Stay in place */
    z-index: 35000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.shameless-alert-window
{
    background-color: white;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 0px 2px 2px 2px #00000080;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 90%;
    max-width: 1200px;
}

.shameless-dialog-overlay
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #80808080;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

.shameless-dialog-2
{
    z-index: 30000;
}

.shameless-dialog
{
    width: 80%;
    height: 80%;
    border: 1px solid darkgray;
    box-shadow: 0 0 2px 2px #00000020;
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    overflow-y: scroll;
}

.shameless-section
{
    margin: 20px;
    box-shadow: 0 0 2px 2px #00000020;
    padding: 10px;
}

.shameless-field
{
    display: grid;
}

.shameless-field label
{
    font-size: 14px;
    font-weight: bold;
}

.shameless-field .shameless-note
{
    color: #303030;
    font-size: 12px;
}

.shameless-field.shameless-checkbox
{
    display: flex;
    align-items: center;
}

.shameless-field.shameless-checkbox label
{
    padding-left: 10px;
}

.shameless-buttons
{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.shameless-button
{
    display: block;
    color: white;
    background-color: #025a98;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0 0 2px 0 #00000080;
    transition: all 0.25s;
    font-weight: 600;
}

.shameless-button.disabled{
    background-color: darkgray;
    pointer-events: none;
}

.shameless-button:hover
{
    background-color: #0073aa;
    color: #eee !important;
}

.shameless-results
{
    display: table;
    width: 100%;
}

.shameless-row
{
    display: table-row;
    text-decoration: none;
    color: black;
    background-color: #f8f8f8;
}

.shameless-cell
{
    display: table-cell;
    padding: 5px;
    vertical-align: middle;
}

.shameless-row.shameless-header
{
    background-color: #0073aa;
    color: white;
}

.shameless-row:nth-child(2n)
{
    background-color: #eee;
}

.sh-contest-wrapper
{
    padding: 10px;
    box-shadow: 0 0 4px -1px #00000080;
    margin-right: 20px;
    margin-top: 20px;
    background-color: white;
}

.sh-title
{
    background-color: dodgerblue;
    color: white;
    font-size: 24px;
    padding: 10px;
    margin: 0px;
}

.shameless-spacer
{
    height: 20px;
}

.field-invalid input {
    border: 1px solid red;
    background-color: #e3ae8580;
}

.quiz-error {
    border-left: 4px solid red;
    padding: 5px;
    background-color: #FF572280;
}