/* SUMMARY

1. GLOBAL SETTINGS
2. QUIZ

*/

/* 1.GLOBAL SETTINGS
================================================================================= */
* {
	box-sizing: border-box;
	outline: none;
}
html {
	width: 100%;
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 18px;
	font-weight: normal;
	font-family: 'arial', sans-serif;
	color: #16212c;
	background: #ffffff;
}
p {
	margin: 0;
}
a {
	text-decoration: none;
	color: #16212c;
}


/* 2.QUIZ
================================================================================= */
.quiz-container {
	padding: 0;
	margin: 20px auto;
	width: 100%;
	max-width: 560px;
}
#quiz-header,
#quiz-start-screen,
#quiz-results-screen,
#quiz-counter {
	text-align: center;
}
.quiz-container h1 {
	color: #16212c;
	font-size: 32px;
	line-height: 30px;
    margin: 0;
}
.faded {
	color: #16212c;
	margin: 20px 0;
}
#quiz-start-screen {
	margin: 20px 0;
}
#quiz-buttons a,
.quiz-container .quiz-button {
	display: inline-block;
	padding: 0.5em 1em;
	background: #16212c;
	color: #ffffff;
	border: 2px solid transparent;
	transition: all 0.3s ease-in-out;
}
.quiz-container .quiz-button:hover {
	background: #ffffff;
	color: #16212c;
	border: 2px solid #16212c;
}
.quiz-container a {
	text-decoration: none;
	color: #16212c;
}

#quiz-counter {
	color: #16212c;
	font-size: 26px;
	line-height: 26px;
	margin: 20px 0;
	padding: 20px 0 0 0;
	border-top: 2px solid #16212c;
}
.question {
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
}
.answers {
	list-style: none;
	padding: 0;
	counter-reset: listStyle;
}
.answers li {
	padding: 0px;
	transition: all 0.3s ease-in-out;
	position: relative;
}
.answers li:before {
	content: counter(listStyle, lower-alpha);
	counter-increment: listStyle;
	font-weight: bold;
	font-size: 16px;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	text-transform: uppercase;
}
.answers a {
	padding: 20px 40px;
	display: block;
	transition: all 0.3s ease-in-out;
}
.answers a:hover {
	background: #E4E6E9;
}


.answers a.correct {
	background: #E4E6E9;
}
.answers a.incorrect {
	background: #E4E6E9;
}

.answers a.correct,
.answers a.incorrect {
	color: #16212c;
}

#quiz-controls {
	background: #ffffff;
	color: #16212c;
	padding: 20px 10px;
	text-align: center;
	border-top: 1px solid #E4E6E9;
	margin-top: 20px;
}
#quiz-image {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}
#quiz-response {
	font-size: 14px;
	line-height: 20px;
}
#quiz-response a {
	text-decoration: underline;
}
#quiz-response span {
	font-weight: bold;
	font-size: 16px;
}

#quiz-buttons {
	margin: 20px 0;
}


#quiz-results {
	font-size: 1.25em;
}

#quiz-buttons a {
	display: inline-block;
	padding: 0.5em 1em;
	background: #16212c;
	color: #ffffff;
	border: 2px solid transparent;
	transition: all 0.3s ease-in-out;
}
.quiz-results-state #quiz-controls {
	background: none;
	padding: 0;
}


.quiz-results-state #quiz-buttons a {
	background: #ffffff;
	color: #16212c;
	padding: 20px 10px;
	text-align: center;
	border-top: 1px solid #E4E6E9;
	margin-top: 20px;
}
.quiz-results-state #quiz-buttons a#quiz-restart-btn {
	display: inline-block;
	padding: 0.5em 1em;
	background: #16212c;
	color: #ffffff;
	border: 2px solid transparent;
	transition: all 0.3s ease-in-out;
}


