/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Apr 2, 2023, 3:19:36 AM
    Author     : phanl
*/
.quiz-question-toolbar-lg{
    height: 5rem;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}
.quiz-question-toolbar-sm {
    height: 3rem;
    display: none;
    align-items: center;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}
.quiz-question-content {
    height: calc(100vh - 6rem - 2rem);
    background-color:var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
    border-width: var(--bs-border-width) var(--bs-border-width) var(--bs-border-width) var(--bs-border-width);
    border-color: var(--bs-border-color-translucent);
    border-style: solid;
}
.quiz-catgory-tree-wrapper{
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    background-color:var(--bs-body-bg);
    height: calc(100vh - 6rem - 2rem - 2px);
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
    display: flex;
    flex-direction: column;
}
.quiz-category-header {
    height: 3rem;
    background-color: rgba(var(--bs-body-color-rgb), 0.03);
}
.quiz-category-header>.card-title{
    line-height: 3rem;
    margin-left: 1rem;
}
#quiz-category-tree{
    overflow: auto;
    height: calc(100vh - 6rem - 2rem - 3rem - 2px);
    /*border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);*/
}
.virtual-file-item {
    cursor: pointer;
}

.quiz-question-table-wrapper{
    height: calc(100vh - 6rem - 2rem - 2px);
    display: flex;
    flex-direction: column;
}
.quiz-question-table-header{
    height: 3rem;
    background-color: rgba(var(--bs-body-color-rgb), 0.03);
}
.quiz-question-table-header>.card-title{
    line-height: 3rem;
    margin-left: 1rem;
}
.quiz-question-table-footer{
    height: 3rem;
    background-color: rgba(var(--bs-body-color-rgb), 0.03);
}
.quiz-question-table-body{
    height: calc(100vh - 6rem - 2rem - 2px - 3rem - 3rem);
    overflow-y: auto;
    position: relative;
}

.quiz-category-hierarchy {
    list-style: none;
    padding-left: 1.0rem;
}
.quiz-category-hierarchy>li{
    cursor: pointer;
    text-wrap: nowrap;
    white-space: nowrap;
}
.quiz-category-hierarchy>li>span:hover{
    color: tomato;
}
.quiz-category-hierarchy>li>i:hover{
    color: tomato;
}
.quiz-category-hierarchy>li>span.active {
    color: tomato;
}
.quiz-category-hierarchy>li>span{
    border: none;
    text-wrap: nowrap;
    white-space: nowrap;
}
.quiz-category-hierarchy>li>span>i{
    margin-right: 0.25rem;
}
.quiz-category-hierarchy>li>div{
    justify-content: center;
    display: flex;
}
.quiz-category-hierarchy>li>i.folder_caret {
    width: 1rem;
}

.quiz-category-breadcrumb {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    border-radius: 0.25rem;
    flex: 1;
    height: 2rem;
    display: flex;
    flex-direction: row;
    width: 100%;
}
.quiz-category-breadcrumb>button {
    background: none;
    border: none;
    font-size: 1rem;
    line-height: 2rem;
    text-wrap: nowrap;
    color: var(--bs-body-color);
    text-decoration: underline;
}
.quiz-category-breadcrumb>button:disabled {
    background: none;
    border: none;
    font-size: 1rem;
    line-height: 2rem;
    text-wrap: nowrap;
    color: var(--bs-body-color);
    text-decoration: none;
}
.quiz-category-breadcrumb>i {
    background: none;
    border: none;
    font-size: 1rem;
    line-height: 2rem;
    text-wrap: nowrap;
}
.quiz-category-breadcrumb>button:hover {
    background: none;
    border: none;
    font-size: 1rem;
}

/*radio button*/
.quiz_question_radio{
    display: block;
    position: relative;
    padding-left: 1.75rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.quiz_question_radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.quiz_question_radio span.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: var(--bs-body-bg);
    border-radius: 50%;
    border-width: var(--bs-border-width);
    border-color: var(--bs-border-color);
    border-style: var(--bs-border-style);
}
.quiz_question_radio span.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.quiz_question_radio .checkmark:after {
  top: 0.375rem;
  left: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: white;
}
.quiz_question_radio input:checked ~ .checkmark {
  background-color: #0d6efd;
  border:none;
}
.quiz_question_radio input:checked ~ .checkmark:after {
  display: block;
}

.quiz_question_radio input:disabled:checked ~ .checkmark {
  background-color: #CCCCCC;
  border:none;
}
#quizQuestionFormModal-file-image {
    max-height: 30vh;
    object-fit: contain;
}