/* ==========================================
   KidsHealth Inspired Quiz Theme
   ========================================== */
.PDF_pageOuter
{
	max-width:700px;
	margin:0 auto;
	background:#fff;
	border-radius:8px;
	font-family:Arial, Helvetica Neue, Helvetica, sans-serif;
	box-shadow:0 4px 18px rgba(102,96,166,.12);
}

.PDF_pageInner
{
	background:#faf8fd;
	border:1px solid #6660A6;
	border-radius:8px;
	padding:24px;
}

/* Hide Quiz Header */
.PDF_QT1900,
.PDF_QT1900 h2,
.PDF_QT1900 p
{
	display:none !important;
	height:0 !important;
	margin:0 !important;
	padding:0 !important;
	overflow:hidden;
}

/* Progress */
.PDF_progress
{
	color:#6660A6;
	font-size:11px;
	font-weight:700;
	text-align:right;
	text-transform:uppercase;
	margin-bottom:16px;
}

/* Questions */
.PDF_question
{
	border:none;
	padding:0;
	margin:0 0 16px;
	background:transparent;
}

.PDF_question:last-child
{
	margin-bottom:0;
}

.qNumber
{
	background:#FBAD1D;
	color:#333;
	font-weight:700;
	font-size:16px;
	width:38px;
	height:38px;
	line-height:38px;
	text-align:center;
	border-radius:50%;
	float:left;
	margin-right:12px;
}

.qText
{
	color:#6660A6;
	font-size:1.4rem;
	font-weight:700;
	line-height:1.4;
	padding-top:4px;
	margin-bottom:14px;
}

.qNote p
{
	margin-top:8px !important;
	color:#666;
	font-size:.95rem;
	font-weight:500;
}

.qContent
{
	font-size:1rem;
}

.qContent p
{
	color:#333;
	font-size:1rem;
	line-height:1.6;
	margin:0 0 20px;
}

.qContent h3
{
	color:#6660A6;
	font-weight:700;
}

/* ==========================================
   Answer Choices
   ========================================== */
.PDF_QT400
{
	padding-top:8px;
	margin-bottom:0;
}

.PDF_QT400 ul
{
	list-style:none;
	padding:0;
	margin:0;
}

.PDF_QT400 li
{
	padding:0;
	margin:0 0 12px;
	position:relative;
}

.PDF_QT400 li:last-child
{
	margin-bottom:0;
}

.PDF_QT400 input[type="radio"],
.PDF_QT400 input[type="checkbox"]
{
	position:absolute;
	left:16px;
	top:16px;
	opacity:.01;
	width:18px;
	height:18px;
	z-index:2;
	cursor:pointer;
}

.PDF_QT400 label
{
	display:block;
	width:100%;
	box-sizing:border-box;
	background:#fff;
	border:2px solid #e8e3f3;
	border-radius:14px;
	padding:16px 20px;
	color:#333;
	font-size:1rem;
	font-weight:600;
	cursor:pointer;
	transition:all .2s ease;
	line-height:1.4;
}

.PDF_QT400 label:hover
{
	border-color:#6660A6;
	background:#f7f4fd;
}

.PDF_QT400 input[type="radio"]:checked + label,
.PDF_QT400 input[type="checkbox"]:checked + label
{
	background:#f1edfb;
	border-color:#6660A6;
	box-shadow:0 0 0 2px rgba(102,96,166,.12);
}

/* ==========================================
   Navigation Buttons
   ========================================== */
.button
{
	display:flex !important;
	flex-wrap:nowrap !important;
	gap:12px;
	width:100%;
	height:auto;
	margin:16px 0 0;
	padding:0;
}

.button input,
.button a.previous-page
{
	flex:1 1 50%;
	width:auto;
	margin:0;
	padding:14px 16px;
	text-align:center;
	box-sizing:border-box;
	float:none;
	height:auto;
	border:none;
	border-radius:8px;
	background:#6660A6;
	color:#fff;
	font-size:1rem !important;
	font-weight:700 !important;
	text-decoration:none;
	cursor:pointer;
	transition:.2s ease;
}

.button input:hover,
.button a.previous-page:hover
{
	background:#55509A;
}

.button a.previous-page
{
	display:flex;
	align-items:center;
	justify-content:center;
}

/* Remove Extra Space */
.PDF_button,
.PDF_pagination,
.PDF_navigation
{
	margin-bottom:0 !important;
	padding-bottom:0 !important;
}

.PDF_pageInner > :last-child
{
	margin-bottom:0 !important;
	padding-bottom:0 !important;
}

/* Results */
.quiz-question
{
	background:#6660A6;
	color:#fff;
	padding:12px 16px;
	border-radius:12px;
	margin-bottom:8px;
}

.quiz-answer
{
	color:#666;
}

.quiz-answer-correct,
.quiz-answer-tick
{
	color:#008573;
	font-weight:700;
}

.quiz-answer-wrong
{
	color:#d43f3f;
	font-weight:700;
}

/* Mobile */
@media (max-width: 768px) {
	.qText
	{
		font-size:1.25rem;
	}
	
	.button
	{
		gap:8px;
	}
}

/* ==========================================
   RESULTS PAGE
   Match Quiz Styling
   ========================================== */
/* Remove legacy elements */
.quiz-status,
.quiz-status-tick,
.clear,
.survey-finished br
{
	display:none !important;
}

/* Results container */
.survey-finished .PDF_pageOuter
{
	padding:0 !important;
	margin:0 auto;
}

.survey-finished .PDF_pageInner
{
	background:#faf8fd;
	padding:24px;
}

/* Header */
.finish_page_header h2
{
	color:#6660A6;
	font-size:2rem;
	font-weight:700;
	line-height:1.2;
	margin:0 0 16px;
	padding:0;
	background:none;
	border:none;
}

/* Intro */
.survey-finished p
{
	font-size:1rem;
	line-height:1.6;
	color:#333;
	margin:0 0 20px;
}

/* Score */
.survey-finished h3
{
	color:#6660A6;
	font-size:2.5rem;
	font-weight:700;
	line-height:1.2;
	margin:0 0 32px;
}

/* Question */
.quiz-question
{
	clear:both;
	display:block;
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	color:#6660A6;
	background:transparent;
	font-size:1.4rem !important;
	font-weight:700;
	line-height:1.4;
	padding:0;
	margin:36px 0 16px;
}

/* First question */
.quiz-question:first-of-type
{
	margin-top:0;
}

/* Answer cards */
.quiz-answer,
.quiz-answer-tick,
.quiz-answer-correct,
.quiz-answer-wrong
{
	float:none !important;
	clear:both;
	display:block;
	width:100% !important;
	max-width:100% !important;
	box-sizing:border-box;
	background:#fff;
	padding:18px 24px;
	margin:0 0 14px;
	border:2px solid #e8e3f3;
	border-radius:14px;
	color:#333;
	font-size:1rem !important;
	font-weight:600;
	line-height:1.5;
}

/* Correct answer */
.quiz-answer-tick,
.quiz-answer-correct
{
	background:#008573;
	border-color:#008573;
	box-shadow:0 0 0 2px rgba(102,96,166,.08);
}

/* Incorrect answer */
.quiz-answer-wrong
{
	background:#fff9f9;
	border-color:#d43f3f;
}

/* Space between question groups */
.quiz-answer:last-child,
.quiz-answer-tick:last-child,
.quiz-answer-correct:last-child,
.quiz-answer-wrong:last-child
{
	margin-bottom:28px;
}

/* Prevent overflow */
.survey-finished .PDF_pageOuter,
.survey-finished .PDF_pageInner,
.survey-finished .PDF_question,
.survey-finished .qContent
{
	width:100% !important;
	max-width:100% !important;
	box-sizing:border-box;
	overflow-x:hidden;
}

/* ==========================================
   RESULTS PAGE FIXES
   ========================================== */
/* Remove checkmark and x */
.quiz-status,
.quiz-status-tick
{
	display:none !important;
	visibility:hidden !important;
	width:0 !important;
	height:0 !important;
	margin:0 !important;
	padding:0 !important;
	font-size:0 !important;
	line-height:0 !important;
}

/* Remove inherited spacing rows */
.clear
{
	display:none !important;
}

.survey-finished br
{
	display:none !important;
}

/* Question styling matches quiz */
.quiz-question
{
	clear:both !important;
	display:block !important;
	width:100% !important;
	font-size:1.4rem !important;
	font-weight:700 !important;
	line-height:1.4 !important;
	color:#6660A6 !important;
	background:transparent !important;
	padding:0 !important;
	margin:40px 0 18px !important;
}

/* Answer cards */
.quiz-answer,
.quiz-answer-tick,
.quiz-answer-correct,
.quiz-answer-wrong
{
	display:block !important;
	float:none !important;
	clear:both !important;
	width:100% !important;
	max-width:100% !important;
	box-sizing:border-box !important;
	padding:20px 24px !important;
	margin:0 0 14px !important;
	font-size:1rem !important;
	line-height:1.5 !important;
	font-weight:600 !important;
	border-radius:14px !important;
	background:#fff !important;
	border:2px solid #e8e3f3 !important;
}

/* Correct answer */
.quiz-answer-tick,
.quiz-answer-correct
{
	background:#f1edfb !important;
	border-color:#6660A6 !important;
	box-shadow:none !important;
}

/* Wrong answer */
.quiz-answer-wrong
{
	background:#fff9f9 !important;
	border-color:#d43f3f !important;
}

/* More room between answer groups */
.quiz-answer:last-of-type,
.quiz-answer-tick:last-of-type,
.quiz-answer-correct:last-of-type,
.quiz-answer-wrong:last-of-type
{
	margin-bottom:32px !important;
}

/* Remove any horizontal overflow */
.survey-finished .PDF_pageInner,
.survey-finished .qContent
{
	overflow-x:hidden !important;
}

/* ==========================================
   Remove Correct/Incorrect Icons
   ========================================== */
.quiz-status-correct
{
	display:none !important;
	content:none !important;
	visibility:hidden !important;
}

.quiz-status-wrong
{
	display:none !important;
	content:none !important;
}