/*----------------------quiz create page---------------------------------*/
.quiz {
	display: flex;
	flex-direction: column;
	width: 80%;
    margin: auto;
}
.quiz_create_header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: #ea650d;
	color: white;
	padding: 10px;
}
.quiz_close {
	margin: 0px 10px 0px 0px;
	font-size: 17px;
	cursor: pointer;
}
.quiz_title {
	font-size: 17px;
}
.quiz .collapsible {
	/*max-height: 600px;*/
    overflow-y: auto;
}
.quiz_passing_grade {
	display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
.quiz_passing_treshold {
	display: flex;
    align-items: baseline;
}
.quiz_passing_treshold #passing_threshold {
	width: 50px;
	margin-left: 10px;
	margin-right: 10px;
}
.quiz_passing_treshold .valid_questions {
	font-size: 16px;
}
.quiz_passing_treshold .center_aligned {
	text-align: center;
}
.quiz_question {
	display: flex;
    flex-direction: column;
    margin: 15px 0px;
}

.quiz_question_details {
	display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-right: 2rem;
    justify-content: space-between;
}
.quiz_question_title {

}
.quiz_question_actions{
	display: flex;
	gap: 10px;
	align-self: center;
}
.quiz_question_actions i {
	font-size: 17px !important;
	width: 17px !important;
}
.quiz_question_valid {
	align-self: center;
    /* padding: 0px 5px 0px 5px; */
    display: flex;
    width: auto;
    gap: 10px;
}
.quiz_question_valid span {
	display: flex;
    align-self: center;
}
.quiz_question_valid [type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
    top: 3px;
}
.quiz_question_valid [type="checkbox"].filled-in:not(:checked) + span:not(.lever):before {
    top: 3px;
}
.quiz_question_valid [type="checkbox"].filled-in:checked + span:not(.lever):before {
    top: 3px;
}
.quiz_question_valid [type="checkbox"].filled-in:checked + span:not(.lever):after {
    top: 3px;
}

.quiz_answers {
	display: flex;
    flex-direction: column;
    margin: 10px 0px 10px 20px;
}
.quiz_answer_title {
	font-size: 17px;
	color: lightgray;
}
.quiz_answer {
	display: flex;
	flex-direction: column;
}
.quiz_answer_option {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}
.quiz_answer_checkbox {
	width: 35px;
    align-self: center;
    /*padding: 0px 5px 0px 5px;*/
}
.quiz_answer_text, .quiz_answer_explanation {
	width: calc(100% - 35px);
}
.quiz_text {
	font-size: 17px
}
.quiz_buttons {

}
.quiz_create_btn {
	margin: 10px 0px;
}

/*----------------------take quiz page----------------------------------------*/
.take_quiz_story_title {
	display: flex;
	justify-content: center;
}
.take_quiz {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.take_quiz_header {
	display: flex;
	flex-direction: row;
	/*background-color: #f8f9fa;*/
	justify-content: center;
	height: 100px;

}
.take_quiz_title_box {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    width: 80%;
}
.take_quiz_title {
	font-size: 26px;
	font-weight: 400;
}
.take_quiz_subtitle {
	font-size: 17px;
}
.take_quiz_footer {
	display: flex;
	flex-direction: row;
	/*background-color: #f8f9fa;*/
	justify-content: center;
	padding: 10px 0px 10px 0px;
}
.take_quiz_result_box {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    width: 80%;
	gap: 10px;
}
.take_quiz_result_title {
	font-size: 26px;
	font-weight: 400;
}
.take_quiz_result_score {
	font-size: 17px;
}
.take_quiz_result_score_subtext {
	font-size: 12px;
}
.red_quiz_results {
	color: red;
	font-weight: 400;
}
.green_quiz_results {
	color: green;
	font-weight: 400;
}

.take_quiz_container {
	display: flex;
	flex-direction: column;
	width: 80%;
    margin: auto;
}
.take_quiz_question_item {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 50px;
}
.take_quiz_question {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}
.take_quiz_question_no {
	font-size: 17px;
	padding-right: 5px;

}
.take_quiz_question_body {
	display: flex;
	flex-direction: column;
	gap: 10px
}
.take_quiz_question_text {
	font-size: 17px;

}
.take_quiz_question_details {
	font-size: 12px;
}
.take_quiz_answers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.take_quiz_answer {
	display: flex;
	gap: 10px;
	align-items: center;
}
.take_quiz_answer_checkbox {
	width: 25px;

}
.take_quiz_answer_checkbox [type="checkbox"] + span:not(.lever) {
	display: flex !important;
	align-items: center !important;
}
.take_quiz_answer_checkbox [type="checkbox"].filled-in:checked + span:not(.lever):after {
	top: auto !important;
	border-radius: 50% !important;
}
.take_quiz_answer_checkbox [type="checkbox"].filled-in:checked + span:not(.lever):before {
	top: 2px !important;
}
.take_quiz_answer_checkbox [type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
	top: auto !important;
	border-radius: 50% !important;
}

.wrong:disabled:checked + span:after {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: red !important;
	border-color: red !important;
	line-height: normal;
}
.correct:disabled:checked + span:after {
	display: flex;
    align-items: center;
    justify-content: center;
    background-color: green !important;
	border-color: green !important;
    line-height: normal;
}

.take_quiz_answer_checkbox [type="checkbox"].filled-in:disabled:not(:checked) + span:not(.lever):after {
	border-color: black !important;
    background-color: white !important;
}

.take_quiz_answer_text {
	font-size: 17px;
}
.take_quiz_answer_result {
	padding: 5px;

}
.take_quiz_answer_result span {
	color: green;
}
.correct_response {
	background-color: #f8fbf9;
}
.incorrect_response {
	background-color: #fef9f8;
}
.submit_btn {
	width: fit-content;
}
/*********************************** Practice view ****************************/
