/* quiz-style.css */
.quiz-container {
    /*max-width: 800px;*/
    margin: 0 auto;
    padding: 20px;
    background-color: #f1f1f1;
    /*border: 1px solid #ddd;*/
    border-radius: 5px;
}

.quiz-container .col-test-questions.col-md-2 {
    background-color: white !important;
    padding: 20px 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    border-radius: 15px;

}

.quiz-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.quiz-container p {
    font-size: 16px;
    margin-bottom: 10px;
}

.quiz-container .question {
    margin-bottom: 20px;
}

.quiz-container input[type="radio"],
.quiz-container input[type="text"] {
    margin-right: 10px;
}

.quiz-container button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
}

.quiz-container button:hover {
    background-color: #005a87;
}

#quiz-timer {
    font-weight: bold;
    color: #d9534f;
}

.test-questions-list-part {
    padding-right: 15px; /* Khoảng cách bên phải */
}

.quiz-navigation {
    margin-top: 20px; /* Khoảng cách trên */
    width: 100%; /* Đảm bảo chiều rộng đầy đủ */
}

.quiz-navigation button {
    flex: 1; /* Tất cả các nút chiếm đều chiều rộng */
    margin: 0 5px; /* Khoảng cách giữa các nút */
}

.col-test-questions {
    position: sticky;
    top: 10px;
    background-color: #ffffff;
    height: auto;
}

.test-questions-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Khoảng cách giữa các câu hỏi */
}

span.test-questions-listitem {
    background-color: white !important;
    color: black !important;
    border: solid 1px #b3b3b3 !important;
    padding: 5px 5px; /* Tăng kích thước */
    font-size: 18px; /* Tăng cỡ chữ */
    cursor: pointer; /* Con trỏ pointer */
    transition: background-color 0.3s, color 0.3s; /* Hiệu ứng mượt */
    margin-bottom: 10px; /* Khoảng cách dưới giữa các câu hỏi */
    flex: 0 1 calc(19% - 10px); /* Chia đều 5 câu hỏi mỗi hàng */
    text-align: center; /* Căn giữa nội dung */
}

.test-questions-listitem.active {
    background-color: #007bff !important;
    color: white !important;
    border: solid 1px #007bff !important;
}

.test-questions-listitem:hover {
    background-color: #007bff !important; /* Nền xanh khi hover */
    color: white !important; /* Chữ trắng khi hover */
}

.highlight {
    border: 2px solid gold;
    background-color: rgba(255, 255, 0, 0.1);
    padding: 0px 10px 10px 10px;
}

.section-title {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px; /* Tạo khoảng cách phía dưới */
}

#submit-button:disabled {
    background-color: #5c5c5c !important;
}

.bai-thi-trac-nghiem-template-default .container {
    width: 100%;
    max-width: 100% !important;
}

.bai-thi-trac-nghiem-template-default {
    background-color: #f1f1f1;

}

.bai-thi-trac-nghiem-template-default .container .col-lg-10.col-sm-10.m-auto {
    width: 100% !important;
    max-width: 100% !important;
}

div#quiz-questions .question {
    background-color: white !important;
    padding: 20px 20px 30px 50px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    border-radius: 15px;
}

.bai-thi-trac-nghiem-template-default .question {
    font-family: "Montserrat", Sans-serif !important;
    font-size: 25px;
    line-height: 2.5;
}

.bai-thi-trac-nghiem-template-default .question .explanation {
    font-family: "Montserrat", Sans-serif !important;
}

.bai-thi-trac-nghiem-template-default .question p {
    font-family: "Montserrat", Sans-serif !important;
    font-size: 25px;
    line-height: 2.5;
}

.quiz-header {
    border-top: 15px solid red;
    border-radius: 15px;
    border-left: 1px solid red;
    border-right: 1px solid red;
    border-bottom: 1px solid red;
    padding: 20px 10px 10px 50px;
}

.quiz-header p, .quiz-header b {
    font-size: 26px;

}

.quiz-container .col-test-questions.col-md-2 {
    border-top: 15px solid red;

}

.diem-moi-cau {
    color: red;
    font-family: "Montserrat", Sans-serif;
    font-weight: 700;
    color: red;
}

.ten-phanlon {
    margin-bottom: 50px;
    margin-top: 40px;
    font-size: 40px;
}

.cauhoi-indam {
    font-size: 35px;
    margin-left: 20px !important;
}

.form-check {
    padding-left: 60px !important;
    margin-bottom: 40px !important;
    margin-top: 40px !important;
    padding: 10px;
    border-radius: 20px !important;

}

.form-check-input
{
    margin-top:0px !important;
}


span.hint-icon {
    margin-left: 20px;
}

/*Gợi ý css*/
.hint-icon {
    color: #007bff; /* Màu của icon */
}

.hint {
    margin-top: 5px; /* Khoảng cách giữa câu hỏi và gợi ý */
}

.hint-icon {
    display: inline-flex;
    align-items: center; /* Căn giữa biểu tượng và văn bản */
    padding: 5px 10px; /* Khoảng cách bên trong */
    border: 2px solid #d1d1d1; /* Viền xung quanh */
    border-radius: 15px; /* Bo tròn viền */
    background-color: #f0f8ff; /* Màu nền giống đám mây */
    transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu khi hover */
}

.hint-icon:hover {
    background-color: #e0f7fa; /* Màu nền khi hover */
    border-color: #a1c4e6; /* Màu viền khi hover */
    cursor: pointer; /* Con trỏ khi hover */
}

.col-test-questions.col-md-2 {
    position: sticky !important;
    top: 120px !important;
    max-height: calc(100vh - 120px) !important; /* Trừ đi khoảng cách từ đỉnh (top) */
    overflow-y: auto !important;
}

div#quiz-questions .question img {
    max-width: 80% !important;
}
.elementor-post__text
{
    margin-top: 10px !important;
}
.ihc-register-link {
    display: none !important;
}
.ihc-login-form-wrap .impu-temp5-row-left
{
    width: 100% !important;
    max-width: 100%;
}
