/* -------------- Global -------------- */

/*body{
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}*/

img{
	height: auto;
	max-width: 100%;
}

/* Visually hidden, still read by screen readers (quiz status announcements) */
.quiz-sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


/* -------------- Main Structure -------------- */

#container{
	background-color: #fff;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 980px;
	padding: 10px;
}

.main-banner{
	display: block;
}

#sharing-header{
	margin: 10px 0 35px;
}

.quiz-header{
	margin-bottom: 60px;
}

#quiz-wrap ol{
	list-style: inside none decimal;
	margin: 20px 0 0;
	padding: 0;
}

#quiz-wrap ol > li{
	margin-bottom: 40px;
}

span.question{
	color: #000;
	font-family: 'campton_bold';
	font-size: 18px;
	font-weight: bold;
}

#quiz-wrap ul{
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}

#quiz-wrap ul li{
	margin-bottom: 5px;
}

#quiz-wrap li img {
	display: block;
}

#quiz-wrap li::marker {
    font-family: 'campton_bold';
    color: var(--dark-gray);
}

.quiz-grid li {
	float: left;
	margin-bottom: 1.595744680851% !important;
	margin-right: 1.595744680851%;
	width: 32.269503546099%; /* 303.33333333333333/940 */
}

.quiz-grid li label {
	background-color: #125cab;
}

.quiz-grid li label span {
    display: flex;
    align-items: center;
	color: white;
	font-family: 'campton_bold';
	font-weight: bold;
    text-transform: uppercase;
   	height: 45px;
    margin-bottom: 1rem;
}

.quiz-grid li label img {
	margin-bottom: 0.5rem;
}

.quiz-grid li.no-space{
	margin-right: 0;
}

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

/* Quiz answers: the radios stay in the tab order and readable by screen readers (WCAG 2.1.1).
   They are invisible (opacity 0) and sit over the drawn checkbox glyph so browsers do not skip
   them as off-screen. pointer-events: none sends the mouse straight to the label underneath,
   so hover, cursor and click behave exactly as they did when the radios were display: none. */
#quiz-wrap ul li{
	position: relative;
}

#quiz-wrap input[type=radio]{
	display: block;
	position: absolute;
	opacity: 0;
	width: 43px;
	height: 43px;
	left: 10px;
	top: 21px;
	margin: 0;
	padding: 0;
	z-index: 1;
	pointer-events: none;
}

#quiz-wrap .quiz-grid input[type=radio]{
	width: 25px;
	height: 25px;
	left: 4.945054945055%;
	bottom: 2.637362637363%;
	top: auto;
}

/* Keyboard-only focus rings; mouse users see no change.
   Blue outline plus white halo stays visible on light and dark backgrounds. */
#quiz-wrap .question:focus{
	outline: none;
}
#quiz-wrap .question:focus-visible,
#quiz-wrap input[type=radio]:focus-visible + label{
	outline: 3px solid #005a9c;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #fff;
}

input[type=radio] + label{
	background-color: #f1f1f1;
	font-family: 'campton_book';
	cursor: pointer;
	display: block;
	padding: 20px 20px 20px 65px;
	position: relative;
}

.quiz-grid input[type=radio] + label {
	background-color: #125cab;
}

.quiz-grid input[type=radio] + label{
	padding: 4.945054945055% 4.945054945055% 13.186813186813%; /* 15/303.33333333333333 & 40/303.33333333333333 */
}

.quiz-grid input[type=radio] + label:hover { 
	background-color: #fff;
}

.quiz-grid input[type=radio] + label:hover span {
	color: #125cab;
}

.quiz-grid input[type=radio] + label:hover:before {
	color: #125cab;
}

input[type=radio]:checked + label{
	background-color: #daffe1;
	font-family: 'campton_bold';
	font-weight: bold;
}

input[type=radio] + label:before{
	color: #535353;
	content: "\f096";
	display: inline-block;
    font-family: FontAwesome;
    font-size: 43px;
	left: 10px;
    letter-spacing: 10px;
	position: absolute;
	top: 21px;
}

.quiz-grid input[type=radio] + label:before{
	bottom: 2.637362637363%; /* 8/303.33333333333333 */
	font-size: 25px;
	left: 4.945054945055%;
	top: auto;
	color: #fff;
}

input[type=radio]:checked + label:before{
	color: #0F3;
    content: "\f00d";
    letter-spacing: 5px;
}

/* The old "input[type=radio]:focus + label:before { color: orange }" rule was removed here.
   It never applied while the radios were display: none. Now that they can take focus it
   would turn the tick orange after a mouse click. Keyboard focus uses the ring above. */

#other-quizzes.category-section-shows .bx-wrapper, .category-section-quizzes .bx-wrapper{
	height: 157px;
}


/* --------- Right/Wrong Answers -------------*/

.right-answer-copy{
	color: #777;
	display: none;
    font-style: italic;
    margin-top: 10px;
}

.feedback-copy{
	color: #777;
	display: block;
    font-style: italic;
    margin-top: 10px;
}

.feedback-copy span{
	font-size: 1.6rem;
}

.right-answer + label .right-answer-copy{
	display: block;
}

input.wrong-answer[type=radio]:checked + label:before{
	color: #ff0000;
    content: "\f00d";
    letter-spacing: 5px;
}

input.wrong-answer[type=radio]:checked + label{
	background-color: #ffdada;
}

input.right-answer[type=radio] + label{
	background-color: #daffe1;
	font-weight: bold;
}


/*-------- Results ---------------- */

#results{
	background-color: var(--light-gray);
    color: black;
	display: none;
	line-height: 25px;
	margin-bottom: 40px;
	padding: 20px;
}

#results h2, #results h6{
	margin-top: 0;
}

#results h2{
	font-size: 24px;
    line-height: 25px;
}

#results h4 {
	color: #000;
}

#results h6{
	font-size: 12px;
    font-style: italic;
	line-height: 20px;
    margin-bottom: 13px;
}

.results-img{
	display: block;
	float: right;
	width: 37.234042553191%; /* 350/940 */
}

.results-text{
	float: left;
	margin-right: 2rem;
	width: 100%;
}

.results-text span {
	font-family: 'campton_book';
}

#results .column-left,
#results .column-right {
	display: flex;
	width: 100%;
}

#results .column-left {
	flex: 100%;
}

#results .column-right {
	flex-direction: column;
  	align-items: center;
  	flex: 40%;
}

#results .column-right .results-img {
	width: 100%;
}

#results .results-img-wrapper {
	position: relative;
}

#sharing-results{
	font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    text-transform: uppercase;
}

#sharing-results span{
	display: block;
}

/* -------------- Misc -------------- */

.quiz-ad-sml, .quiz-ad-lg{
	margin: 0 auto;
}

.quiz-ad-sml{
	margin-bottom: 60px;
	width: 468px;
}

.quiz-ad-lg{
	width: 728px;
}


/* -------------- Media Queries -------------- */

@media screen and (max-width: 800px), handheld and (max-device-width: 800px){
	.quiz-grid input[type=radio] + label:before{
		font-size: 20px;
	}
	
	.quiz-ad-lg{
		width: 468px;
	}
}

@media screen and (max-width: 600px), handheld and (max-device-width: 600px){
	.quiz-grid input[type=radio] + label:before{
		font-size: 16px;
	}
}

@media screen and (max-width: 544px), handheld and (max-device-width: 544px){
	.results-img, .results-text{
		float: none;
		width: 100%;
	}
	
	.results-text{
		margin: 15px 0 0;
	}

	.quiz-header {
		margin-bottom: 3rem;
	}
}

@media screen and (max-width: 500px), handheld and (max-device-width: 500px){
	.quiz-ad-sml, .quiz-ad-lg{
		width: 320px;
	}
}

@media screen and (max-width: 450px), handheld and (max-device-width: 450px){
	.quiz-grid input[type=radio] + label:before{
		font-size: 13px;
	}
}

@media screen and (max-width: 350px), handheld and (max-device-width: 350px){
	.quiz-grid input[type=radio] + label:before{
		bottom: 1.637362637363%;
	}
}

.content-social {
    margin-bottom: 15px;
    width: 45%;
}