.row {
    margin: 0px -7px;
}

.row>div {
    padding: 0px 7px;
}

.block-questions {
    background-image: url(../images/bg-questions.jpg);
    background-size: cover;
    /* margin-bottom: -15px; */
    padding-bottom: 15px;
}

.block-questions .title1 {
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    margin: 30px 0 15px 0;
}

.block-questions .title2 {
    line-height: 1.5;
    font-size: 16px;
    color: #fff;
    font-weight: 300;
}

.block-questions .title2 a {
    color: var(--main-color);
}

.block-questions .title3 {
    background: #fff;
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
}

@media(max-width: 767px) {
    .block-questions .title1 {
        line-height: 1.3;
        letter-spacing: 0;
        font-size: 20px;
        text-align: justify;
    }
    .block-questions .title2 {
        text-align: justify;
    }
    .block-questions .title3 {
        padding-bottom: 10px;
        margin-left: -10px;
        margin-right: -10px;
    }
}

.block-questions .title3 p {
    margin: 0 0 5px 0;
}

.block-questions .title3 span.question_seen {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #c1ffc194;
    border: 0.5px #ffd200 solid;
}

.block-questions .title3 span.question_fail {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #f7b3b3;
    border: 0.5px #ffd200 solid;
}

.chapter_list,
.questions_type {
    text-align: center;
    margin: 10px 0 10px 0;
}

.questions_type {
    text-align: center;
    margin: 20px 0 0px 0;
}

.chapter_list span,
.questions_type span {
    line-height: 1.2;
    display: inline-block;
    box-shadow: inset -1px -2px #ddd;
    font-weight: 600;
    background-color: #f4f4f4;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 24px;
    cursor: pointer;
    min-width: 110px;
    text-align: center;
}

.questions_type span {
    padding: 16px 16px;
}

.chapter_list span:hover,
.questions_type span:hover {
    color: var(--main-color);
    box-shadow: inset 0 -2px 0 var(--main-color);
}

.chapter_list span.red {
    color: #ff0000;
}

@media(max-width: 767px) {
    .chapter_list {
        margin: 10px -10px 0px -10px;
    }
    .questions_type {
        margin: 20px -10px 10px -10px;
    }
    .chapter_list span {
        padding: 10px 8px;
        min-width: 90px;
        min-width: calc(33% - 6px);
    }
    .questions_type span {
        padding: 12px 1px;
        min-width: 90px;
        margin-bottom: 0;
        min-width: calc(49% - 6px);
    }
    .chapter_list span:last-child {
        padding: 10px 30px;
    }
}

.chapter_list span.active {
    color: #fff;
    cursor: default;
    background-color: var(--main-color);
    box-shadow: inset 0 -2px 0 var(--main-color);
}

.questions_type span.active {
    color: #fff;
    cursor: default;
    background-color: var(--main-color-hover);
    box-shadow: inset 0 -2px 0 var(--main-color-hover);
}

.block-questions .content {
    background: #fff;
    padding: 5px 0 10px 0;
}

.block-questions .content .content_left .item {
    /* padding-left: 15px; */
}

.block-questions .content .content_right .item {
    padding-right: 15px;
}

.block-questions .content .tien_do_hoc {}

.block-questions .content .tien_do_hoc .title {
    color: var(--main-color);
    font-weight: 600;
    margin: 0 0 4px 0;
}

.block-questions .content .tien_do_hoc .title .dung {
    color: #008216;
}

.block-questions .content .tien_do_hoc .title .sai {
    color: #ff0000;
}

.block-questions .content .tien_do_hoc .wrap_bar {
    height: 20px;
    position: relative;
    margin: 0 0 12px 0;
    border-radius: 10px;
    background: #ddd;
}

.block-questions .content .tien_do_hoc span.bar {
    display: block;
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--main-color);
    border-radius: 10px;
}

.block-questions .content .tien_do_hoc span.bar1 {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 13px;
    height: 100%;
    font-weight: 600;
    line-height: 20px;
    z-index: 1;
}

.block-questions .content .tien_do_hoc span.bar2 {
    position: absolute;
    width: 100%;
    text-align: right;
    font-size: 13px;
    height: 100%;
    font-weight: 600;
    line-height: 20px;
    z-index: 1;
    padding: 0 5px 0 0;
}

.tien_do_hoc_1 {
    display: none;
}

@media(max-width: 767px) {
    .tien_do_hoc_1 {
        display: block;
        margin: 0 10px;
    }
    .tien_do_hoc_2 {
        display: none;
    }
    .block-questions {
        /* padding-bottom: 0; */
    }
    .block-questions .content {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: -1px;
    }
    .block-questions .content .row {
        margin: 0 !important;
    }
    .block-questions .content .content_left {
        margin-bottom: 15px;
        padding-right: 0;
    }
    .block-questions .content .content_left .item {
        padding-left: 0px;
        padding-right: 0px;
    }
    .block-questions .content .content_right .item {
        padding-right: 0px;
        padding-left: 0px;
    }
    .btn_end_khac,
    .delete_question,
    .btn.history_test {
        width: 100%;
    }
}

.block-questions .content .content_left .item .chapter-title {
    font-size: 16px;
    margin: 0px 0 15px;
    position: relative;
    text-align: center;
    padding-bottom: 5px;
}

@media(max-width: 767px) {
    .block-questions .content .content_left .item .chapter-title {
        font-size: 14px;
        margin-top: 0;
    }
}

.block-questions .content .content_left .item .chapter-title:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 50%;
    background: var(--main-color);
    bottom: -3px;
    left: calc(25%);
}

.block-questions .content .content_left .item ul.sub {
    padding-right: 0;
    margin: 0;
    overflow-x: auto;
    min-height: 400px;
    padding-left: 10px;
}

.block-questions .content .content_left .item ul.sub::-webkit-scrollbar {
    width: 6px;
}

.block-questions .content .content_left .item ul.sub::-webkit-scrollbar-track {
    background: #fff;
}

.block-questions .content .content_left .item ul.sub::-webkit-scrollbar-thumb {
    background-color: #999;
}

@media(max-width: 767px) {
    .block-questions .content .content_left .item ul.sub {
        text-align: center;
        padding-left: 0;
    }
}

.block-questions .content .content_left .item ul.sub li.question {
    display: inline-block;
    width: 31px;
    line-height: 31px;
    text-align: center;
    background: #f4f4f4;
    margin: 2.5px 1px;
    cursor: pointer;
    font-size: 13px;
    border: 0.5px #ddd solid;
}

.block-questions .content .content_left .item ul.sub li.question.fail {
    background: #f7b3b3;
    color: #000;
    font-weight: bold;
    border: 0.5px #ffd200 solid;
}

.block-questions .content .content_left .item ul.sub li.question.success {
    background: #c1ffc194;
    color: #000;
    font-weight: bold;
    border: 0.5px #ffd200 solid;
}

.block-questions .content .content_left .item ul.sub li.question.active {
    background: #ffea00;
    background: var(--main-color);
    color: #000;
    color: #fff;
    font-weight: bold;
    border: 0.5px #ffd200 solid;
    border: 0.5px var(--main-color) solid;
}

@media(max-width: 767px) {
    .block-questions .content .content_left .item ul.sub {
        margin: 0 -5px;
    }
    .block-questions .content .content_left .item ul.sub li.question {
        float: left;
        width: calc(33.33333% - 4px);
        margin: 2px 2px;
    }
}

.change_page .btn2 {
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    position: relative;
    display: inline-block;
    height: 35px;
    width: 115px;
    padding: 0 5px;
    transition: background-color .3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    color: #02050a;
    border: 2px solid #ffd200;
    border: 2px solid var(--main-color);
    border-radius: 2px;
    background-color: #fff;
    box-shadow: inset 0 -2px 0 #ffd200;
    box-shadow: inset 0 -2px 0 var(--main-color);
    margin-bottom: 5px;
}

.question_txt {
    font-weight: bold;
    color: rgb(0, 26, 51);
    text-align: center;
    line-height: 30px;
    margin: -38px 0 16px;
}

@media(max-width: 767px) {
    .question_txt {
        margin: 0px 0 -12px;
    }
    .change_page .btn2 {
        font-size: 11px;
        width: 100px;
    }
}

.question_content {
    margin: 15px 0;
    font-size: 15px;
}

.question-body blockquote {
    margin: 15px 0 0;
    border: none;
    padding: 0;
}

.question-body blockquote a {
    display: block;
    padding: 5px 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    cursor: pointer;
    line-height: 1.3;
    font-size: 15px;
    color: #333 !important;
}

@media(max-width: 767px) {
    .question_content {
        font-size: 14px;
    }
    .question-body blockquote a {
        font-size: 15px;
        padding: 5px 5px;
        margin-bottom: 6px;
    }
}

.question-body blockquote a.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff !important;
}

.question-body blockquote a.false {
    color: #c00 !important;
    border-color: #c00;
    background: #fff7f7;
}

.question-body blockquote a.chosse {
    color: #337ab7 !important;
    background: #337ab724;
    border-color: #337ab7;
}

.question-body blockquote a.true {
    color: #008216 !important;
    border-color: #008216;
    background: #f1fff3;
}

.question-body .quest_explation {
    padding-top: 8px;
    /* display: none; */
    /* font-weight: 600; */
    padding-bottom: 15px;
    padding: 0;
}

.question-body .quest_explation>div {
    margin: 15px 0 15px;
}

.question-body .quest_explation>div:last-child {
    margin: -5px 0 15px;
}

.question-body .quest_explation span p {
    margin: 4px 0;
}

.question-body .quest_explation span br {
    display: none;
}

.text_red {
    color: #ff0000;
}

.text_bolder {
    font-weight: 700;
}

.text_bold {
    /* font-weight: 500; */
}


/**/

.ung_ho_chung_toi {
    padding: 10px 15px 0 15px;
}

.ung_ho_chung_toi .title {
    margin: 10px 0 0 0;
}

@media(max-width: 767px) {
    .ung_ho_chung_toi {
        padding: 0px 0px;
    }
    .ung_ho_chung_toi .title {
        padding: 0 10px;
        padding: 0;
        margin-top: 0;
    }
}

.ung_ho_chung_toi .title p {
    margin: 4px 0;
    font-size: 15px;
    font-weight: 500;
}

.ung_ho_chung_toi .ung_ho {}

.ung_ho_chung_toi .ung_ho .item {
    padding: 0 !important;
}

.ung_ho_chung_toi .ung_ho .item .title {
    border: 2px solid #2271e2;
    padding: 10px;
    border-radius: 11px 10px 0 0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border-bottom: none;
    color: #222;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0;
}

.ung_ho_chung_toi .ung_ho .item .title1 {
    border-color: #fd9a2c;
}

.ung_ho_chung_toi .ung_ho .item .title .img {}

.ung_ho_chung_toi .ung_ho .item .img img {
    border-radius: 0 0 10px 10px;
}

.detail_questions {
    background: #fff;
    padding: 10px 0;
}


/* detail_questions */

.detail_questions h2 {
    font-size: 24px;
}

.detail_questions .detail {
    font-size: 15px;
}

.detail_questions .detail p,
.detail_questions .detail span,
.detail_questions .detail li {
    max-width: 100%;
    margin: 0 0 10px;
}

.detail_questions .detail p a,
.detail_questions .detail span a {
    color: #337ab7;
}

.detail_questions .detail p img,
.detail_questions .detail figure img,
.detail_questions .detail span img,
.detail_questions .detail li img {
    height: auto;
}

.detail_questions table>tbody>tr>td,
.detail_questions table>tbody>tr>th,
.detail_questions table>tfoot>tr>td,
.detail_questions table>tfoot>tr>th,
.detail_questions table>thead>tr>td,
.detail_questions table>thead>tr>th {
    padding: 8px 10px;
    vertical-align: middle;
    border: 1px solid #eaeef1 !important;
    font-size: 15px;
}

.detail_questions table>tbody>tr>th p {
    margin: 0 !important;
}

.detail_questions table>tbody>tr:nth-child(2n) {
    background: #f9f9f9;
}

.detail_questions table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 1px solid #eaeef1;
    padding: 10px 8px;
    background: #f9f9f9 !important;
    font-weight: 600;
}

.block-test .content {
    background: #fff;
    padding: 15px 15px 10px 15px;
    margin-top: 15px;
}

@media(max-width: 767px) {
    .block-test .content {
        margin-top: 15px;
    }
}

.block-test .content .title {
    border-bottom: 1px solid #ddd;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    font-weight: 600;
}

.block-test .content .time_out {
    height: 20px;
    position: relative;
    margin: 0px 0 12px 0;
    border-radius: 10px;
    background: #ddd;
}

.block-test .content .time_out span {
    display: block;
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--main-color);
    border-radius: 10px;
    transition: width 1s linear;
}

.block-test .content .time_out span.w100 {
    width: 0% !important;
}

.block-test .content .question_txt {
    margin: 0px 0 -10px;
    /* text-align: left; */
}

.block-test .content .time {
    background: var(--main-color);
    color: #fff;
    font-size: 20px;
    padding: 30px 15px;
    margin: -15px -15px 0 0;
}

.block-test .content .time:after {
    content: '';
    display: block;
    clear: both;
}

.block-test .content .content_right {
    padding-right: 0;
}

.block-test .content .content_right .question-body {
    display: none;
}

.block-test .content .content_right .question-body.active {
    display: block;
}

@media(max-width: 767px) {
    .block-test .content .time {
        font-size: 14px;
        padding: 8px 10px;
        margin: -15px -15px 0 0;
    }
    .block-test .content .time>div {
        float: none !important;
    }
    .block-test .content .content_right {
        padding-left: 0;
    }
}

.block-test .content .content_left {}

.block-test .content .content_left .item {
    padding-left: 0;
}

.block-test .content .content_left .item ul.sub {
    padding: 6px 6px 12px 6px;
    margin: 0 -15px 0 0;
    text-align: center;
    border-left: 1px solid #ddd;
    min-height: inherit;
    max-height: 589px;
    overflow-x: auto;
}

@media(max-width: 767px) {
    .block-test .content .content_left .item ul.sub {
        padding: 4px 4px 12px 4px;
    }
    .wrap_btn_end {
        text-align: center !important;
    }
}

.block-test .content .content_left .item ul.sub li.question {
    list-style-type: none;
    margin: 3px 1px;
    padding: 8px 8px 8px 20px;
    display: inline-block;
    width: calc(24% - 2px);
    border: 2px solid #ddd !important;
    border-radius: 4px;
    position: relative;
    text-align: left;
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    line-height: normal;
}

@media(max-width: 767px) {
    .block-test .content .content_left .item ul.sub li.question {
        width: calc(50% - 2px);
        margin: 1px;
        padding: 6px 2px;
        text-align: center;
    }
}

.block-test .content .content_left .item ul.sub li.question>span {
    /* position: absolute; */
    /* top: 3px; */
    /* margin: auto; */
    /* left: 6px; */
    font-weight: 600;
    /* color: var(--main-color); */
}

.block-test .content .content_left .item ul.sub li.question.actived {
    background: #bdd4eb;
    border-color: #bdd4eb !important;
}

.block-test .content .content_left .item ul.sub li.question.active,
.block-test .content .content_left .item ul.sub li.question:hover {
    background: var(--main-color);
    border-color: var(--main-color) !important;
    color: #fff;
}

.block-test .content .content_left .item ul.sub li.question.true {
    color: #008216;
    border-color: #008216 !important;
    background: #f1fff3;
}

.block-test .content .content_left .item ul.sub li.question.false {
    color: #c00;
    border-color: #c00 !important;
    background: #fff7f7;
}

.block-test .content .content_left .item ul.sub li.question.true.active,
.block-test .content .content_left .item ul.sub li.question.false.active {
    background: var(--main-color);
    border-color: var(--main-color) !important;
    color: #fff;
}

.block-test .content .content_left .item ul.sub li.question span.key {
    display: block;
    margin: 0 0 -4px 0;
}

.block-test .content .content_left .item ul.sub li.question .sub {
    text-align: left;
    padding: 0;
    margin: 0;
    border: none;
    display: none;
}

.block-test .content .content_left .item ul.sub li.question .sub li {
    width: auto;
    padding: 0;
    margin: 0;
    border: none;
    text-align: center;
}

.block-test .content .content_left .item ul.sub li.question .sub li label.wrap-ace {
    margin: 0;
    padding: 0;
}

.block-test .content .content_left .item ul.sub li.question .sub li label.wrap-ace input[type=checkbox].ace+.lbl::before {
    margin: 0 3px;
}


/**/

.list_class_id {
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px 0;
}

.list_class_id .title {
    margin: 15px 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.list_class_id .title span {}

.list_class_id ul {
    padding: 0;
    margin: 0 -2px;
}

.list_class_id ul li {
    display: inline-block;
    line-height: 31px;
    text-align: center;
    background: #f4f4f4;
    margin: 2px 2px;
    cursor: pointer;
    font-size: 13px;
    border: 0.5px #ddd solid;
    padding: 0 2px;
    border-radius: 2px;
    min-width: 50px;
}

.list_class_id ul li.active {
    background: #ffea00;
    background: var(--main-color);
    color: #000;
    color: #fff;
    border: 0.5px #ffd200 solid;
    border: 0.5px var(--main-color) solid;
}


/**/

.list_topic_id {}

.list_topic_id .title {
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.list_topic_id ul {
    padding: 0;
    margin: 0px -3px;
}

.list_topic_id ul li {
    display: inline-block;
    line-height: 31px;
    text-align: center;
    background: #f4f4f4;
    margin: 3px 3px;
    cursor: pointer;
    font-size: 13px;
    border: 0.5px #ddd solid;
    padding: 0 11px;
    width: calc(33% - 5px);
    text-align: left;
    border-radius: 2px;
}

@media(max-width: 767px){
    .list_topic_id ul li {
        width: calc(50% - 6px);
    }
}

.list_topic_id ul li i {
    float: right;
    margin: 8px 0 0 0;
}

.list_topic_id ul li.active {
    background: #ffea00;
    background: var(--main-color);
    color: #000;
    color: #fff;
    border: 0.5px #ffd200 solid;
    border: 0.5px var(--main-color) solid;
}