.smallboxsite .smallbox.quiz
{
    padding:5px 20px 30px;
}

.quiz .stq-card, .quiz .stq-result
{
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    text-align: left;
}

.quiz .stq-question-title
{
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #111827;
    font-size: 17.6px;
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: 500;
}

.quiz .stq-choices
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.quiz .stq-choice
{
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: .85rem 1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    color: #111827;
    background: #fff;
}

.quiz .stq-choice:hover
{
    background: #efefef;
}

.quiz .stq-choice.wrong
{
    border-color: #dc2626;
    background: #fef2f2;
}

.quiz .stq-choice.correct
{
    border-color: #16a34a;
    background: #f0fdf4;
}

.quiz .stq-choice.selected
{
    background: #3B9DD8;
    border-color: #3B9DD8;
    color:#fff;
}

.quiz .stq-progress-wrap
{
    background: #e6e6e6;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
}

.quiz .stq-progress-bar
{
    height: 100%;
    width: 0%;
    background: #2563eb;
    transition: width .3s ease;
}

.quiz .stq-meta
{
    display: flex;
    justify-content: space-between;
    margin: .5rem 0 1rem;
    font-size: .95rem;
    color: #374151;
}

.quiz .stq-actions
{
    justify-content: flex-end;
    text-align: right;
}

.quiz .stq-actions button
{
    margin:0px 0px 0px 10px;
}

.quiz .stq-actions button[data-type="finish"]
{
    display: none;
}

.quiz .stq-question
{
    display: none;
}

.quiz .stq-question.current
{
    display:block;
}

.quiz .stq-options
{
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.quiz .stq-feedback
{
    margin: auto 5px;
    min-height: 1.5rem;
    margin-top: .5rem;
    font-weight: 700;
    visibility:hidden;
}

.quiz .stq-feedback.err
{
    color: #dc2626;
    visibility: visible;
}

.quiz .stq-end
{
    display: none;
    margin-bottom: 50px;
}

.quiz .stq-score
{
    display: flex;
    flex-wrap: wrap;
    font-size: 50px;
    line-height: 2em;
    justify-content: center;
    padding: 0px 0px 30px 0px;
}

.quiz .stq-score .stq-percent
{
    flex-basis: 100%;
    text-align: center;
    font-size: 30px;
    line-height: 1em;
}

.quiz .stq-score.red .stq-percent
{
    color: red;
}

.quiz .stq-score.green .stq-percent
{
    color:green;
}

.quiz .stq-score.yellow .stq-percent
{
    color:yellow;
}

.quiz .stq-disclaimer
{
    text-align: right;
    color:#333;
}

.quiz .stq-certificate
{
    margin: 30px 0 15px 0;
    text-align: center;
}

.quiz .stq-certificate img
{
    max-width:100px;
}

.quiz .stq-buttons
{
    text-align: center;
    margin: 20px 0px 20px;
}

.quiz .stq-buttons .skbluebutton
{
    margin: 0px 5px;
}

@media only screen and (min-width: 0px) and (max-width:600px)
{
    .quiz .stq-feedback.err
    {
        padding-bottom: 5px;
    }
    
    .quiz .stq-options
    {
        flex-direction: column;
    }
}