#quiz {
    height: 100%;
    overflow: hidden;
    /* max-width: 1000px; */
}

#quiz #intro {
    height: 100%;
}
#quiz #intro > div {
    /* border: 1px solid #316eeb; */
}
#quiz #intro .quiz-intro-left {
    background: url(../images//quiz/quiz_in_bg.png) no-repeat center center;
    background-size: cover;
}

#quiz #intro .intro-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images//quiz/quiz_bg.png) repeat;
    box-shadow: inset 7px 0 9px -7px rgba(0, 0, 0, 0.4);
}

.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.intro-section > * {
    /* border: 1px solid green; */
    margin: 4% 0;
}
#quiz #intro .intro-wrap .intro-section .intro-title {
}

#quiz #intro .intro-wrap .intro-section .intro-belt {
    font-size: 1.3em;
    text-align: center;
    color: #fff;
}

#quiz #intro .intro-wrap .intro-section .intro-text {
    text-align: center;

    font-size: 1.2em;
    color: #333;
}

#quiz #intro .intro-wrap .intro-section .intro-text span {
    color: #ffd800;
    font-weight: 700;
}

#quiz #intro .intro-wrap .intro-section button#start-quiz {
    text-align: center;
    width: 150px;
    height: 50px;
    border: none;
    cursor: pointer;
    background: transparent url(../images/quiz/qstartbtn.png) no-repeat 0 0;
    text-indent: -9999em;
    background-position: 0 -50px;
}

#quiz #intro .intro-wrap .intro-section button#start-quiz:hover {
    background-position: 0 0;
}

/* end of intro */

#assessment {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5%;
}

#assessment .steps {
    display: none;
    width: 100%;
    height: 100%;
    /* border: 1px solid crimson; */
    flex-direction: column;
}
#assessment .steps > * {
    /* border: 1px solid #81ce26; */
}

#assessment .steps.active {
    display: flex;
    /* align-items: center; */
}

#assessment .rubric {
    display: flex;
    align-items: center;
}

.rubric .quiz-number {
    max-width: 90px;
    width: 100%;
    height: 90px;
    /* background: transparent url(../images/quiz/q_num.png) no-repeat 0 0; */
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #b9b3ff;
    font-size: 2em;
    font-weight: bold;
    border-radius: 10px;
}

.notice-wrap .notice {
    font-size: 1.2em;
    color: #eb4031;
    height: 2em;
}

.rubric .quiz-number.q-1 {
    background-position: 0px 0px;
}
.rubric .quiz-number.q-2 {
    background-position: -90px 0px;
}
.rubric .quiz-number.q-3 {
    background-position: -180px 0px;
}

.rubric p.quiz-title {
    font-size: 1.5em;
    padding-left: 1rem;
}

.rubric p.quiz-title u {
    color: #eb4031;
}

.choices {
    /* float: left;
    height: 148px; */
    padding-left: 5%;
}

.choices ul {
    /* margin-left: 200px; */
}

.choices ul li {
    width: 100%;

    font-size: 1.125em;
    line-height: 20px;
    cursor: pointer;
    padding: 0.3rem;
}
.choices li span {
    display: inline-block;
    /* float: left; */
    width: 20px;
    height: 20px;
    background: transparent url(../images/quiz/answernum.png) no-repeat 0 0;
    /* margin-bottom: 10px;
    margin-right: 10px; */
    text-indent: -9999em;
    position: relative;
    margin-right: 0.4em;
}

.choices li.correct_li span {
    background: transparent url(../images/quiz/right_num.png) no-repeat 0 0;
    margin-left: -30px;
    width: 50px;
}

.choices li.choice_1 span {
    background-position: 0px 0px;
}
.choices li.choice_2 span {
    background-position: -20px 0px;
}
.choices li.choice_3 span {
    background-position: -40px 0px;
}
.choices li.choice_4 span {
    background-position: -60px 0px;
}

.choices li.choice_1.selected span,
.choices li.choice_1:hover span {
    background-position: 0px -20px;
}
.choices li.choice_2.selected span,
.choices li.choice_2:hover span {
    background-position: -20px -20px;
}
.choices li.choice_3.selected span,
.choices li.choice_3:hover span {
    background-position: -40px -20px;
}
.choices li.choice_4.selected span,
.choices li.choice_4:hover span {
    background-position: -60px -20px;
}

.choices .selected span::after {
    content: "";
    width: 25px;
    height: 25px;
    background: transparent url(../images/quiz/chek.png) no-repeat 0 0;
    position: absolute;
    top: -10px;
    right: -5px;
}

.choices li.choice_1.correct_li span {
    background-position: 0px 0px;
}
.choices li.choice_2.correct_li span {
    background-position: 0px -20px;
}
.choices li.choice_3.correct_li span {
    background-position: 0px -40px;
}
.choices li.choice_4.correct_li span {
    background-position: 0px -60px;
}

.choices .check-v {
    display: none;
    width: 25px;
    height: 25px;
    background: transparent url(../images/quiz/chek.png) no-repeat 0 0;
    position: relative;
    text-indent: -9999em;
    /* left: 202px; */
}

.choices .right_num {
    display: none;
    width: 50px;
    height: 20px;
    background: transparent url(../images/quiz/right_num.png) no-repeat 0 0;
    position: absolute;
    text-indent: -9999em;
}

button.quiz-buttons {
    width: 110px;
    height: 30px;
    background: transparent url(../images/quiz/q_next.png) no-repeat 0 0;
    text-indent: -9999em;
    border: none;
    cursor: pointer;
    display: none;
    float: right;
}

button.quiz-buttons.active {
    display: block;
}

.choices li.disabled {
    pointer-events: none;
    /* opacity:0.7; */
}

div.check {
    width: 100%;
}

button.check-btn {
    display: none;
    margin-top: 20px;
    margin-right: 10px;
    background-position: -220px 0px;
}
button.check-btn:hover {
    background-position: -220px -30px;
}
button.next-btn {
    /* position: absolute; */
    right: 10px;
    margin-top: 20px;
    background-position: 0px 0px;
    z-index: 1;
}
button.next-btn:hover {
    background-position: 0px -30px;
}
button.result-btn {
    /* position: absolute; */
    right: 10px;
    margin-top: 20px;
    background-position: -110px 0px;
    z-index: 1;
}
button.result-btn:hover {
    background-position: -110px -30px;
}

div.result-area {
    display: none;
    /* width: 815px;
    height: 230px; */
    /* top: 318px;
    margin-left: 195px; */
    /* background: rgba(160, 150, 180, 0.8) url(../images/quiz/commentarybg.png) no-repeat 0 0; */
    /* float: left; */
    /* position: absolute; */
}

.result-area .correct-area {
    background-color: blueviolet;
    min-width: 5rem;
}

.result-area .correct-area .correct-title {
    font-size: 1.5em;
    text-align: center;
    padding-top: 16px;
    color: #fff;
}

.result-area .correct-area .correct-number {
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    padding-top: 16px;
    color: #fff;
}

.result-area .explain-area {
    padding: 1em;
}

.result-area .explain-area .explain-title {
    font-size: 1.5em;
    /* padding-top: 16px;
    padding-left: 1em; */
    color: #333;
}

.result-area .explain-area .explain-body {
    font-size: 1.1em;
    /* padding-left: 30px;
    padding-top: 16px;
    padding-right: 50px; */
    color: #333;
}

/* end of assessment */

#result {
    display: none;
    /* width: 1010px;
    height: 568px; */
    /* float: left; */
    background: transparent url(../images/quiz/quiz_result_bg.png) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#result .result-title {
    /* max-width: 142px;
    max-height: 38px;
    width: 100%;
    height: 100%;
    background: transparent url(../images/quiz/resulttitle.png) no-repeat 0 0; */
}

#result .result-message {
    width: 100%;
    font-size: 1.5em;
}

#result .result-message span.result-count {
    color: #eb4031;
}
#result .result-message > p,
#result .result-feedback > p {
    text-align: center;
}
#result .result-feedback {
    width: 100%;
}

#result .result-feedback .feedback-message {
    width: 100%;
    font-size: 1.3em;
    color: #3d4350;
    font-weight: bold;
    letter-spacing: -1px;
}

#result .result-feedback .feed-success {
    display: block;
}

#result .result-feedback .feed-failed {
    display: none;
}

#result .result-table {
    display: flex;
    margin: 1em 0;
}

@media screen and (max-width: 900px) {
    .rubric p.quiz-title {
        font-size: 1.2em;
    }
}
@media screen and (max-width: 700px) {
    #assessment .steps {
        overflow-x: scroll;
    }
    #quiz #intro .quiz-intro-left {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    #result {
        overflow-x: scroll;
        justify-content: flex-start;
    }

    #result .result-table {
        flex-direction: column;
    }
}

#result .result-table .result-cell {
    width: 140px;
    height: 170px;
    margin: 0 1rem;
    /* background: transparent url(../images/quiz/result.png) no-repeat 0 0; */
    background-color: #fff;
}
#result .result-table .result-cell p {
    text-align: center;
    background-color: #6666ce;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    padding: 2px 0;
}
#result .result-table .result-1 {
    background-position: 0px 0px;
}
#result .result-table .result-2 {
    background-position: -140px 0px;
}
#result .result-table .result-3 {
    background-position: -280px 0px;
}

#result .result-table .result-cell .result-ox {
    width: 70px;
    height: 70px;
    background: transparent url(../images/quiz/ox.png) no-repeat 0 0;
    float: left;
    margin: 35px 35px;
}

#result .result-table .result-cell .result-ox.is_x {
    background-position: -70px 0;
}

#result .result-table .result-cell .result-add {
    float: left;
    width: 110px;
    height: 40px;
    background: transparent url(../images/quiz/addquizbtn.png) no-repeat 0 0;
    text-indent: -9999em;
    border: none;
    margin-top: -73px;
    margin-left: 30px;
    cursor: pointer;
}

#result .result-table .result-cell .result-add:hover {
    background-position: 0 -40px;
}

#result .actions {
}

#result button#reading {
    width: 190px;
    height: 46px;
    background: transparent url(../images/quiz/deepconbtn.png) no-repeat 0 0;
    border: none;
    text-indent: -9999em;
    cursor: pointer;
}

#result button#retry {
    width: 150px;
    height: 46px;
    background: transparent url(../images/quiz/retrybtn.png) no-repeat 0 0;
    border: none;
    text-indent: -9999em;
    cursor: pointer;
}

#result button#reading:hover {
    background-position: 0px -46px;
}
#result button#retry:hover {
    background-position: 0px -46px;
}

/* end of result */
