@font-face {
	font-family: "Avgardd_bold";
	src: url(../fonts/Avgardd.ttf)
}

@font-face {
	font-family: "Avgardn";
	src: url(../fonts/Avgardn.ttf)
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 25px;
	min-width: 800px;
}

body {
	background-image: url(../Images/Math_BG.jpg);
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

div#load_screen {
	background-color: #10e0f3;
	opacity: 1;
	position: fixed;
	z-index: 10;
	top: 0px;
	width: 100%;
	height: 1600px;
}

div#load_screen>div#loading {
	color: #ffffff;
	width: 120px;
	height: 24px;
	margin: 300px auto;
}

#loading {
	font-family: "Avgardn";
	-moz-animation-name: preloader;
	-moz-animation-duration: 1s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
	-moz-animation-play-state: running;
	-webkit-animation-name: preloader;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-play-state: running;
	animation-name: preloader;
	animation-duration: 1s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-play-state: running;
}

a {
	text-decoration: none;
	color: #000000;
}

#bodyContent {
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: fixed;
}

.header {
	padding: 10px 0px;
}

#activitySubject {
	font-weight: bold;
	font-family: "Avgardd_bold";
	font-size: 90%;
	margin-left: 20px;
}

.content2 {
	border: 3px #F90 solid;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	border-radius: 20px;
	z-index: 3;
	padding: 20px;
	position: relative;
	height: 80%;
	width: 95%;
	margin: 0px auto;
	background-image: url(../Images/whiteBG.png);
}

.contentWrapper {
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 5px;
	height: 100%;
}

.popupBg {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: url(../Images/blueBG.png);
	z-index: 8;
	display: none;
}

.popupHolder {
	position: inherit;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	border: 2px #eb890a solid;
	background-color: #ffffff;
	border-radius: 30px;
	height: 400px;
	width: 350px;
	padding: 30px 20px;
	font-family: "Avgardn";
	text-align: center;
	background-color: #ffffff;
	z-index: 9;
}

#feedBack {
	font-family: "Avgardd_bold";
	text-align: center;
}

.starHolder {
	width: 200px;
	height: 48px;
	background-size: 100%;
	margin: 0px auto;
}

.popupHolder table {
	font-size: 80%;
	width: 80%;
	margin: 0px auto;
}

#average {
	font-size: 90%;
}

table {
	border-collapse: collapse;
	margin: 0;
}

table td,
table td span {
	font-family: "Avgardn";
}

table td.left {
	text-align: left;
}

table td.right {
	text-align: right;
}

a#reviewBtn {
	margin: 0px auto;
	position: static;
	background-color: #f2eb22;
	top: 100px;
	border-radius: 25px;
	padding: 10px 20px;
	font-family: "Avgardn";
}

a#reviewBtn:hover {
	background-color: #e2db10;
	cursor: pointer;
}

.controller {
	text-align: center;
	vertical-align: middle;
	margin-top: 50px;
	margin-bottom: 50px;
}

#submitBtn,
#retakeBtn,
#AnswerBtn {
	margin: 0px auto;
	background-color: #f2eb22;
	border-radius: 25px;
	padding: 10px 50px;
	font-family: "Avgardn";
	font-size: 20px;
}

#submitBtn:hover,
#retakeBtn:hover {
	background-color: #e2db10;
	cursor: pointer;
}

a#refbtn img {
	width: 40px;
	margin-left: 20px;
	border: 2px #000000 solid;
	border-radius: 27px;
}

#highscorefeedBack {
	color: #1c46e0;
}

#recordedHighScoreHolder {
	font-family: "Avgardn";
	font-size: 80%;
	color: #000000;
	margin-right: 20px;
}

#backBtn {
	background-image: url(../Images/arrowLeft2.png);
	background-size: 100%;
	width: 40px;
	height: 40px;
	margin: 0px 20px;
}

#backBtn:hover {
	background-image: url(../Images/arrowLeft2.png);
	cursor: pointer;
}

#scoreboardHolder {
	float: right;
	background-image: url(../Images/scoreBoardIcn.png);
	background-size: 100%;
	width: 40px;
	height: 40px;
}

#results {
	font-family: "Avgardn";
	text-align: center;
	margin: 20px auto;
}

#instruction_div {
	font-family: "Avgardd_bold";
}

#scoreboardHolder:hover {
	background-image: url(../Images/scoreBoardIcn2.png);
	cursor: pointer;
}

#clearData {
	display: none;
	font-size: 80%;
	color: #f57212;
	margin-top: 20px;
}

#clearData:hover {
	cursor: pointer;
}

.finalFeebackHolder {
	width: 95%;
	margin: 100px auto;
	text-align: center;
	position: absolute;
	border: 1px yellow solid;
}

.finalFeebackHolder table {
	width: 400px;
	margin: 10px auto;
	text-align: center;
}

#finalFeedback {
	text-align: center;
	font-family: "Avgardd_bold";
	margin-top: 50px;
}

#finalscoreLabel,
#wrongansLabel {
	text-align: left;
	font-size: 80%;
}

#percentLabel {
	text-align: left;
}

#finalscore,
#wrongans {
	text-align: right;
	font-size: 80%;
}

#percent {
	text-align: right;
}

.correct {
	border-radius: 50px;
}

.wrong {
	border-radius: 50px;
}

.marks {
	display: none;
	width: 30px;
	height: 32px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	text-align: center;
	background-image: url(../Images/xMark.png);
	margin-bottom: -7px;
}

input[disabled] {
	background-color: transparent;
}

.tableHolder {
	margin: 30px auto 60px auto;
	width: 90%;
}

.tableHolder table {
	margin: 0px auto;
}

.tableHolder td:first-child {
	vertical-align: baseline !important;
	min-width: 45px !important;
	width: 70px;
	line-height: 1;
}

.tableHolder td:nth-child(2) {
	vertical-align: baseline !important;
	line-height: 1;
}

.inline2 {
	display: inline-table;
	white-space: nowrap;
}

.spc2 {
	height: 30px;
}

.input-label {
	white-space: normal;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	line-height: 1.4;
}

.actImg {
	text-align: center;
}

.actImg img {
	width: 700px;
	margin: 10px 0;
	display: inline-block;
}

.answer-group {
	margin-top: 10px;
}

.underline {
	border: none;
	border-bottom: 2px solid #000;
	outline: none;
	padding: 5px;
	font-size: 25px;
	background: transparent;
	width: 55px;
	font-family: "Avgardn";
	text-align: center;
	margin-bottom: 5px;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#AnswerBtn {
	display: none;
}

.triangle-problem {
	display: grid;
	grid-template-columns: 140px 160px 1fr;
	gap: 160px;
	align-items: baseline;
	margin-top: 10px;
	width: 100%;
}

.problem-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.equals-spacing {
	margin-left: 8px;
	margin-right: 8px;
}

@-moz-keyframes preloader {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes preloader {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

@keyframes preloader {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

@media screen and (max-width: 1024px) and (min-width: 701px) {

	html,
	body {
		font-size: 18px !important;
		min-width: 320px;
	}

	.tableHolder {
		width: 98%;
		margin: 25px auto 50px auto;
	}

	.tableHolder table {
		width: 100%;
		table-layout: auto;
	}

	.tableHolder td:first-child {
		min-width: 50px !important;
		width: 50px;
		vertical-align: baseline !important;
		font-size: 20px !important;
		padding-right: 10px;
		line-height: 1.2;
	}

	.tableHolder td:nth-child(2) {
		font-size: 20px !important;
		line-height: 1.2;
		word-wrap: break-word;
		vertical-align: baseline !important;
	}

	.inline2 {
		display: block;
		width: 100%;
	}

	.input-container {
		width: 100%;
		overflow: hidden;
	}

	#activitySubject {
		font-size: 16px !important;
		margin-left: 15px;
	}

	#recordedHighScoreHolder {
		font-size: 16px !important;
		margin-right: 15px;
	}

	.content2 {
		width: 96%;
		padding: 15px;
	}

	#submitBtn,
	#retakeBtn,
	#AnswerBtn {
		font-size: 18px !important;
		padding: 8px 40px;
	}

	#instruction_div {
		font-size: 20px !important;
	}

	.triangle-problem {
		grid-template-columns: 120px 140px 1fr;
	}

	.underline {
		width: 35px !important;
		font-size: 20px !important;

		-webkit-appearance: none;
		-webkit-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

}

@media screen and (min-width: 1030px) and (max-width: 1200px) {
	.tableHolder td:first-child {
		min-width: 70px !important;
		width: 30px;
		vertical-align: baseline !important;
	}

	.tableHolder td:nth-child(2) {
		vertical-align: baseline !important;
	}


}

@media screen and (min-width: 730px) and (max-width: 925px) {
	.triangle-problem {
		gap: 60px !important;
		font-size: 18px !important;
	}

}

@media screen and (min-width: 480px) and (max-width: 729px) {
	.triangle-problem {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.problem-item {
		justify-content: flex-start;
	}

	.content2 {
		font-size: 20px;
	}

	.underline {
		font-size: 18px;
		width: 35px;
		-webkit-appearance: none;
		-webkit-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	.problem-item {
        display: grid;
        grid-template-columns: 50px 50px 1fr;
        align-items: baseline;
        gap: 5px;
    }
    
    .problem-item span:first-child {
        text-align: left;
    }
    
    .equals-spacing {
        text-align: center;
        margin: 0;
    }
    

}

@media screen and (max-width: 480px) {
	.textField {
		font-size: 17px;
		height: 26px;
		width: 45px;
	}

	.spc2 {
		height: 25px;
	}

	#activitySubject {
		width: 80%;
	}

	.input-label {
		gap: 5px !important;
	}

	.underline {
		width: 35px !important;
		font-size: 18px !important;
		-webkit-appearance: none;
		-webkit-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	.tableHolder td:first-child {
		min-width: 45px !important;
		width: 50px;
		vertical-align: baseline !important;
	}

	.actImg img {
		width: 100%;
	}

	.triangle-problem {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.content2 {
		padding: 10px;
	}
	.problem-item {
        display: grid;
        grid-template-columns: 50px 50px 1fr;
        align-items: baseline;
        gap: 5px;
    }
    
    .problem-item span:first-child {
        text-align: left;
    }
    
    .equals-spacing {
        text-align: center;
        margin: 0;
    }
    

	
}