.quiz {
    display: flex;
    justify-content: center;
    align-items: center;
}
.jsq-container {
	border-radius: 5px;
	padding: 0 10px;
	color: #000;
	background-color: #fff;
	/* background-image: linear-gradient(180deg, #e2e2e2 0%, #aeaeae 100%); */
	font-family: 'Open Sans', sans-serif;
	width: 500px;
}

.jsq_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	border-bottom: solid 1px #fff;
}

.jsq_footer {
	padding: 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* info box */
.jsq_info_head {
	padding: 10px 5px;
	font-size: 20px;
	font-weight: bold;
}

.jsq_info_list {
	padding: 20px;
}

.jsq_info_list > div {
	font-size: 15px;
	margin: 15px 0;
	margin-top: 0;
}

.jsq_info_footer {
	padding: 10px 10px;
	text-align: right;
}

/* timer */
.jsq_time_left {
	display: flex;
	align-items: center;
}

div#jsq_timer {
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
	width: 20px;
	min-width: 20px;
	color: #000;
	height: 20px;
	display: flex;
	border: 1px solid #000;
	background-color: #fff;
	justify-content: center;
	align-items: center;
	margin-left: 10px;
}

/* show all answers list completed quiz*/
div#jsq_all_answers {
	margin: 30px 0;
	text-align: left;
}

.jsq_fnsh_question {
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 12px;
}

.jsq_finish {
	font-size: 14px;
	font-weight: 500;
}

.jsq_finish_box {
	padding: 20px;
	text-align: center;
}

.jsq_answer_block {
	padding: 10px 10px;
	background-color: #ffffff66;
	border-radius: 5px;
	margin: 5px 0;
}

.jsq_fnsh_options {
	margin: 10px 0;
	margin-left: 20px;
}

.jsq_answer_block span {
	font-size: 13px;
	margin: 7px 0;
	display: block;
	color: #5b5b5b;
}

.jsq_fnsh_score {
	font-size: 12px;
	font-weight: bold;
	color: #000;
}

.jsq_q_status {
	font-size: 12px;
	color: #000;
	font-weight: bold;
	display: inline-block;
}

/* options */
div#jsq_options {
	margin: 15px;
	text-align: center;
	perspective: 500px;
}

div#jsq_options label {
	margin: 20px 0;
	display: block;
	border-radius: 9px;
	font-size: 15px;
	background-color: rgba(192,192,192,0.3);
	color: #000000;
	cursor: pointer;
	text-align: left;
	display: flex;
}

div#jsq_options label:hover {
	background-color: rgba(192,192,192,0.7); transition: 0.4s;
}

div#jsq_options input[type=radio] {
	display: none;
}

div#jsq_options label:not(.disabled):hover {
	/* background-color: #fff; */
}

div#jsq_options label.disabled {
	pointer-events: none;
}

/* incorrect option*/
div#jsq_options label.jsq-incorrect {
	color: #ffffff;
	background-color: #e94f4f;
}

/* correct option */
div#jsq_options label.jsq-correct {
	color: #ffffff;
	background-color: #42b55e;
}

/* options ID ABCD */
div#jsq_options label span:first-child {
	border-right: solid 1px #ffffff70;
	padding: 10px 10px;
	display: flex;
	align-items: center;
	border-radius: 4px 0 0 4px;
	font-weight: bold;
}

/* options text */
div#jsq_options label span:last-child {
	display: inline-block;
	padding: 10px 10px;
}

/* question */
#jsq_question {
	font-size: 16px;
	margin: 35px 5px;
	line-height: 1.5;
	text-align: center;
	font-weight: 800;
}

/* code box  */
div#jsq_code_box{
	display: none;
	margin: 15px;
}
div#jsq_code_box pre {
	margin: 0;
	padding: 0;
	background: inherit;
}

div#jsq_code_box code {
	line-height: 1.6em;
	overflow: auto;
	font-size: 14px;
	-moz-tab-size: 4;
	display: block;
	tab-size: 4;
	background-color: #2d2d2d;
	padding: 10px;
	border-radius: 5px;
	color: #fff;
	font-family: monospace;
	max-height: 400px;
}

button#next_question, button#prev_question {
	visibility: hidden;
}

button.jsq_btn {
	color: #fff;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.75);
	border: solid 1px #000;
	font-size: 12px;
	padding: 5px 15px;
	cursor: pointer;
}

button.jsq_btn:hover {
	background-color: rgba(0,0,0,1); transition: 0.4s;
}

.jsq_score {
	font-size: 14px;
	font-weight: 500;
	color: #000;
	margin-bottom: 40px;
}

.jsq_score b {
	display: block;
	margin: 8px;
	color: #000;
}

div#jsq_total {
	font-size: 13px;
}

/* animation incorrect option (shaking) */
.jsq_shake {
	animation-name: jsq_shake;
	animation-duration: .8s;
	animation-fill-mode: both;
}

@keyframes jsq_shake {
	0%, 100% {
		transform: translateX(0);
	}

	10%, 30%, 50%, 70%, 90% {
		transform: translateX(-5px);
	}

	20%, 40%, 60%, 80% {
		transform: translateX(5px);
	}

}

/* options animation */
@keyframes jsq_option_anm {
	0% {
		opacity: 0;
		transform-origin: 0 100%;
		transform: rotateX(-180deg);
	}

	100% {
		opacity: 1;
		transform-origin: 0 100%;
		transform: rotateX(0deg);
	}

}

.jsq_anm {
	animation-duration: .5s;
	animation-fill-mode: both;
	animation-name: jsq_option_anm;
	animation-delay: calc(0.1s * var(--jsq_at));
}