/*
dark green #1d632c
light green #d0da60
yellow #ffce31
brown #472704
*/
body {
	font-family: "Nunito", "Noto Sans HK", sans-serif;
  font-style: normal;
  font-weight: 400; /* regular */
  font-size: 62.5%; /* 10px */
  line-height: 1.2;
	background-color: #d0da60;
  overflow: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: 'liga', 'kern';
}
body, .container {
	min-width: 300px;
}
html, body, .container {
	min-height: 100%;
}
.container {
	width: 1024px !important;
	min-height: 0;
	height: 768px !important;
}
img {
	max-width: 100%;
	height: auto;
	border: 0;
}
h1 {
	font-size: 3.5em;
	font-weight: 700;
	margin-bottom: 1.5em;
}
p {
	margin-bottom: 1em;
	font-size: 1.6em;
}
a {
  text-decoration: none;
}

.container {
	position: relative;
	/* width: 90%;
	max-width: 1000px;
	padding: 40px 0; */
	width: 100%;
	margin: 0 auto;
	background: url('images/bg@4x.jpg') no-repeat center top;
	overflow: hidden;
}
.container.center,
.finish.center {
	text-align: center;
}

.content {
	max-width: 60%;
	margin: 0 auto;
}

.question-entry {
	display: none;
}
.question-entry#q-1 {
	display: block;
}
/*
.buttons {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.button.done {
	background-color: #ffc04d;
}
.button.done:hover {
	background-color: #e8a429;
}
.buttons .button {
	margin: 0 10px;
}
.button:hover {
	background-color: #06C;
}
*/
.link {
	display: block;
	margin: 40px 0;
	font-size: 1.6em;
}
.link-alt {
	margin: 20px 0;
}

.question-display {
	padding-top: 4%;
}
.question-entry span {
	display: block;
}
.question {
	margin-bottom: 1em;
	color: #472704;
	text-align: center;
}
.question .ch {
	font-size: 4.7em;
	font-weight: 700;
}
.question .en {
	font-size: 1.8em;
}
.question-entry[data-id="14"] .question .ch {
	font-size: 4em;
}
.question-entry[data-id="20"] .question .ch {
	font-size: 3.3em;
}
.question-entry[data-id="32"] .question .ch {
	font-size: 3.5em;
}
.answers {
	display: flex;
	max-width: 90%;
	margin: 0 auto;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}
.answer {
	position: relative;
	width: 48%;
}
.answer-inner {
	position: relative;
	height: 100%;
	padding-top: 7%;
	padding-bottom: 10px;
}
.answer-mark {
	position: absolute;
	left: 50%;
	top: 0;
	width: 11%;
	height: 0;
	padding-bottom: 11%;
	color: #d0da60;
	background-color: #1d632c;
	background-repeat: no-repeat;
	background-size: contain;
	border-radius: 100%;
	transform: translateX(-50%);
}
.answer-a .answer-mark {
	background-image: url('images/icon-a@2x.png');
}
.answer-b .answer-mark {
	background-image: url('images/icon-b@2x.png');
}
.answer-c .answer-mark {
	background-image: url('images/icon-c@2x.png');
}
.answer-d .answer-mark {
	background-image: url('images/icon-d@2x.png');
}
.answer-mark span {
	display: none;
	/* position: absolute;
	display: flex;
	left: 0;
	top: -0.1em;
	width: 100%;
	height: 100%;
	font-size: 3em;
	font-weight: 700;
	align-items: center;
	justify-content: center; */
}
.answer-text {
	height: 100%;
	padding: 5% 3% 3% 3%;
	border: 1px solid #ccc;
	background-color: #FFF;
	text-align: center;
	border-radius: 25px;
	box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
}
.question-entry[data-id="32"] .answer-b .answer-text {
	padding-left: 39.5%;
}
.question-entry[data-id="26"] .answer-b .answer-text {
	padding-left: 10%;
}
.question-entry[data-id="20"] .answer-d .answer-text {
	padding-right: 12%;
}
.answer-text .ch {
	font-size: 1.8em;
	font-weight: 700;
}
.answer-text .en {
	font-size: 1.6em;
}
.unanswered .answer {
	cursor: pointer;
}

.answered .answer:before {
	display: block;
	position: absolute;
	content: '';
	right: -2%;
	top: 6;
	width: 10%;
	height: 0;
	padding-bottom: 10%;
	background: no-repeat center center;
	background-size: contain;
	z-index: 2;
}
.answer.correct:before {
	background-image: url('images/button-correct@4x.png');
}
.answer.incorrect:before {
	background-image: url('images/button-incorrect@4x.png');
}
.answer.selected .answer-text {
	background-color: #ffce31;
}
/*
.answer.correct .answer-mark {
	color: #1d632c;
	background-color: white;
}
*/

.answer-a.correct .answer-mark {
	background-image: url('images/icon-a-hover@2x.png');
}
.answer-b.correct .answer-mark {
	background-image: url('images/icon-b-hover@2x.png');
}
.answer-c.correct .answer-mark {
	background-image: url('images/icon-c-hover@2x.png');
}
.answer-d.correct .answer-mark {
	background-image: url('images/icon-d-hover@2x.png');
}
.answer.correct .answer-text {
	color: white;
	background-color: #1d632c;
}
.answer.correct .answer-text .en {
	color: #d0da60;
}

.question-number {
	position: absolute;
	right: 5%;
	bottom: 5%;
	color: #eff169;
	font-family: "Noto Sans HK", sans-serif;
	font-size: 2em;
	letter-spacing: 1px;
	z-index: 1;
}

.next-container,
.done-container,
.status,
.finish {
	display: none;
}
.finish-bg {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: url(images/bg-end-full@2x.png) no-repeat center center;
	background-size: cover;
	z-index: 3;
}
.score-text {
	padding-right: 10px;
}
.score-container {
	display: flex;
	font-size: 2em;
	margin-bottom: 40px;
	justify-content: center;
	align-items: center;
}
.status-container {
	padding: 15px 0;
	font-size: 2.2em;
  font-weight: 700;
}
.status-correct {
  color: #2fd62f;
}
.status-incorrect {
  color: #fb6a84;
}
.correct-answer {
	border: 1px solid blue;
	padding: 10px 15px;
	font-size: 2em;
}
.record-table-container {
	overflow: auto;
}
.record-table {
	width: 100%;
	border: 1px solid black;
	margin: 0 auto;
}
.record-table th,
.record-table td {
	min-width: 130px;
	padding: 10px 15px;
	border: 1px solid black;
	font-size: 1.6em;
}
.record-table th {
	font-weight: 700;
	color: white;
	background-color: #1d632c;
}
.record-table td {
	background-color: white;
}
.record-table tr:nth-child(even) td {
	background-color: #ddd;
}

.form-field {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}
label {
	width: 100px;
	padding-right: 10px;
	font-size: 1.6em;
}
input {
	border: 1px solid #bbb;
	padding: 10px 15px;
	font-size: 1.6em;
}
.form-submit {
	margin-top: 40px;
}
.form-submit input {
	cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.start-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 4% 0;
}
.start-button {
	width: 48%;
	margin-top: 2%;
}
.start-button:first-child,
.start-button:nth-child(2) {
	margin-top: 0;
}

.logo {
	width: 45.41%;
	padding-top: 3%;
	margin: 0 auto;
}
.logo img {
	display: block;
}
.deco {
	position: absolute;
	z-index: 1;
}
.deco img {
	display: block;
}
.deco-1 {
	left: -0.5%;
	top: 0;	
	width: 24.61%;
}
.deco-2 {
	right: -0.3%;
	top: 0;
	width: 24.32%;	
}
.deco-3 {
	left: -0.5%;
	bottom: 0;
	width: 25.10%;	
}
.deco-4 {
	right: -0.2%;
	bottom: 0%;	
	width: 27.9%;
}
.deco img {
	width: 101%;
	max-width: 101%;
}
.message-start {
	position: relative;
	width: 80%;
	margin: 3% auto 0 auto;
}
.message-start img {
	display: block;
}

.message-end {
	position: relative;
	width: 80%;
	margin: -2.8% auto 0 auto;
}
.message-end img {
	display: block;
}

.quiz-content {
	padding: 5% 0 10% 0;
}
.button-confirm {
	cursor: pointer;
	display: none;
}
.button-confirm-topic {
	display: block;
	width: 34.5%;
	margin: -6.5% auto 0 auto;
}
.button-confirm-quiz {
	position: absolute;
	bottom: 5%;
	left: 50%;
	transform: translateX(-50%);
	width: 27.6%;
	z-index: 4;
}

.button-download {
	display: inline-block;
	padding: 10px 20px;
	margin: 15px 0;
	color: white;
	background-color: #09C;
	font-size: 1.6em;
	border-radius: 8px;
	cursor: pointer;
}
.content-records {
	padding: 3% 0;
}

.stars {
	position: absolute;
	top: 18%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}
.star {
	width: 13%;
	margin: 0 0.5%;
}

#stars-4 .star-5,
#stars-3 .star-5,
#stars-2 .star-5,
#stars-1 .star-5,
#stars-0 .star-5 {
	display: none;
}
#stars-3 .star-4,
#stars-2 .star-4,
#stars-1 .star-4,
#stars-0 .star-4 {
	display: none;
}
#stars-2 .star-3,
#stars-1 .star-3,
#stars-0 .star-3 {
	display: none;
}
#stars-1 .star-2,
#stars-0 .star-2 {
	display: none;
}
#stars-0 .star-1 {
	visibility: hidden;
}