.content.content-test{
	padding: 0;
	height: 100vh;
	min-height: 680px;
	overflow: hidden;
	position: relative;
	z-index: 5;
}
footer{
	display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px 20px !important;
    color: #fff;
    font-size: 14px;
    z-index: 6;
}
footer a{
	color: #fff;
}

.error-label{
    color: white;
    left: 20px;
    bottom: 0px;
    right: 20px;
    background: #fd4670;
    padding: 5px 0;
    margin-top: 10px;
    border-radius: 3px;
    display: none;
}

.test{
	height: 100vh;
	min-height: 680px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	top: 100%;
	transition: all .4s ease;
}
.test.open{
	top: 0;
}
.test.test-1{
	background-image: url(../img/game-bg-1.png);
	background-size: cover;
	background-position: center;
	z-index: 1;
}
.test.test-2{
	background-color: #f29332;
	background-image: url(../img/test-2-bg.png);
	z-index: 2;
}
.test.test-3{
    background-color: #da7e7e;
	background-image: url(../img/test-3-bg.png);
	z-index: 3;
}
.test.test-3 .btn{
    margin: 0 5px;
    margin-top: 40px;
    display: inline-block;
    width: 145px;
    height: 145px;
    font-size: 40px;
    white-space: normal;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    border-width: 7px;
    padding: 22px 0;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: #ef6566;
}
.test.test-3 .btn:active{
    border-color: #f98989;
    background-color: #c74545;
}
.test.test-4{
	background-color: #2a1d16;
	background-image: url(../img/sleeping-baby.jpg);
	background-position: center;
	background-size: cover;
	z-index: 4;
}
.test-4-overlay{
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .7;
}
.test.test-focus-question{
	background-color: #ec3f52;
	z-index: 5;
}
.test.test-focus{
	background-color: #10201d;
	background-image: url(../img/test-6-bg.png);
	z-index: 6;
}
.test.focus-facts{
	background-color: #2a1d16;
	background-image: url(../img/reading.jpg);
	background-position: center;
	background-size: cover;
	z-index: 7;
}
.test.focus-facts .test-4-overlay{
	opacity: .6;
}
.test.test-5{
	background-color: #ec3f52;
	z-index: 8;
}
.test.test-focus-question h2,
.test.test-5 h2{
	font-size: 34px;
	margin-bottom: 60px;
}

.test.test-6{
	background-color: #10201d;
	background-image: url(../img/test-6-bg.png);
	z-index: 9;
}
.test.test-7{
	background-color: #2a1d16;
	background-image: url(../img/sleeping-cat.jpg);
	background-position: center;
	background-size: cover;
	z-index: 10;
}
.test.test-7 .test-4-overlay{
	opacity: .7;
}
.test.test-8{
	background-color: #da7d7d;
	background-image: url(../img/test-3-bg.png);
	z-index: 11;
}
.test.test-9{
	background-color: #f29332;
	background-image: url(../img/test-2-bg.png);
	z-index: 12;
}
.test.test-9 .random-number-val{
	margin-top: 0;
	margin-bottom: 30px;
}
.test.test-9 .random-number-val span{
	font-size: 80px;
	border-radius: 14px;
    color: #ffa140;
}
.test.test-10{
    /*background-color: #509732;*/
	/*background-image: radial-gradient(circle at top left, #8dc63f, #066324); */
	/*background-color: #125774;*/
	/*background-image: url(../img/test-result-bg.png);*/

	background-color: #ccd9cf;
	background-image: url(../img/blur-bg-1.jpg);
	background-size: 100% 100%;

    z-index: 12;
}
.test.test-10 .test-section{
	color: #222;
	width: 800px;
	margin-left: -400px;
}
.test.test-10 .test-section h2{
	font-size: 40px;
	line-height: 1.1;
	font-weight: bold;
}
.test.test-10 .test-section .btn.btn-default{
	border-color: #222;
	color: #222;
	font-size: 20px;
	border-width: 2px;
	width: auto;
	padding: 5px 20px;
}
.test.test-10 .test-section .test-result-share .btn.btn-default{
	margin: 0 4px;
}
.test.test-10 .test-section .test-result-share .btn.btn-default.share-fb{
    color: #3b5998;
    border-color: #3b5998;
}
.test.test-10 .test-section .test-result-share .btn.btn-default.share-tw{
    color: #1da1f2;
    border-color: #1da1f2;
}
.test.test-10 .test-section .test-result-share .btn.btn-default .fa{
	position: static;
	font-size: inherit;
	margin-right: 4px;
}

.test-result-container{
    border: rgba(255, 255, 255, 1) 3px solid;
    padding: 20px;
	background: rgba(255,255,255,.3);
}
.test-result-icon{
	float: left;
	padding-top: 16px;
}
.test-result-info{
	padding-left: 160px;
	text-align: left;
}
.test-result-info a{
	font-weight: bold;
	color: green;
}
.test-result-icon img{
	display: none;
}
.the-result, .the-result-b{
	display: none;
}
.test-result-info .btn{
	margin-top: 10px;
}
.test-section .test-result-info p{
	font-size: 20px;
}
.test-result-share{
    border-top: rgba(255, 255, 255, 1) 3px solid;
    margin: 30px -20px 0;
    padding: 20px 0 10px;
}
.test-section .test-result-share p{
	font-size: 20px;
}


.test-content-center{
	text-align: center;
	color: #fff;
}
.test.test-9 .form-group,
.test.test-1 .form-group{
	margin-top: 50px;
}
.test .btn{
	width: 340px;
	border-radius: 0;
	text-transform: uppercase;
	font-weight: bold;
	position: relative;
	font-size: 24px;
	transition: all .3s ease;
}
.test .btn:hover{
	box-shadow: -2px 2px 12px rgba(0,0,0,.6);
}
.test .btn-primary{
	background-color: #3b5998;
	color: #fff;
	border-color: #3b5998;
	font-size: 18px;
	text-align: left;
	padding-left: 40px;
}
.test .btn-default{
	border: #fff 4px solid;
	background: none;
	color: #fff;
}
.test .btn .fa{
	position: absolute;
	left: 10px;
	top: 8px;
	font-size: 30px;
}
.test-section{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	margin-left: -250px;
	transform: translateY(-50%);
	z-index: 1;
	opacity: 0;
	transition: all .4s ease;
	color: #fff;
	text-align: center;
}
.test-section h1{
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1;
	font-size: 70px;
}
.test-section p{
	font-size: 24px;
	line-height: 1.2;
}
.test-section .form-control{
    font-size: 30px;
    padding: 40px 30px;
    border: none;
    text-align: center;
}
.test-section.open{
	z-index: 2;
	opacity: 1;
}
.gender-selector-title{
    font-size: 40px;
    font-weight: bold;
}
.gender-selector{
	margin-top: 50px;
}
.gender-selector-item{
	display: inline-block;
	padding: 20px;
	background-color: rgba(0,0,0,.1);
	border-radius: 5px;
	margin: 0 20px;
	transition: all .2s linear;
	cursor: pointer;
}
.gender-selector-item img{
	width: 110px;
	height: 110px;
	transition: all .2s linear;
}
.gender-selector-item:hover{
	background-color: rgba(0,0,0,.4);
	margin: 0 18px;
}
.gender-selector-item:hover img{
	width: 120px;
	height: 120px;
}
.status-selector{
	margin-top: 30px;
}
.status-selector .status-selector-item{
	padding-bottom: 10px;
}


.btn-next-container{
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 8;
}
.btn-next-container .btn{
	font-size: 22px;
	width: 280px;
}

#range-slider {
    height: 160px !important;
    width: 100% !important;
    overflow: hidden;
    padding: 10px;
}
#range-slider .rs-container  {
    left: 50%;
    margin-left: -300px;
}
#range-slider .rs-tooltip  {
    top: 100px;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}
#range-slider .rs-bg-color{
	background-color: #ec3f52;
}
#range-slider .rs-border{
	border-color: #ec3f52;
}
#range-slider .rs-range-color{
    background-color: #ffffff;
    background-image: linear-gradient(orange, white);
}
#range-slider:before{
	content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    top: 90px;
    left: 31px;
    z-index: 8;
}
#range-slider:after{
	content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ec3f52;
    border-radius: 50%;
    top: 90px;
    left: auto;
    z-index: 7;
    right: 31px;
    border: 10px #941423 solid;
}
#range-slider .rs-path-color{
    background-color: #941523;
    top: -1px;
}
#range-slider .rs-handle{
	height: 40px !important;
    width: 40px !important;
    margin: -20px 0px 0px -10px !important;
    border: none;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
}
#range-slider .rs-handle-dot:after{
	background-color: #eee;
	border: none;
}
#range-slider .rs-seperator{
	display: none;
}


/** Focus */
#range-slider-focus {
    height: 160px !important;
    width: 100% !important;
    overflow: hidden;
    padding: 10px;
}
#range-slider-focus .rs-container  {
    left: 50%;
    margin-left: -300px;
}
#range-slider-focus .rs-tooltip  {
    top: 100px;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}
#range-slider-focus .rs-bg-color{
	background-color: #ec3f52;
}
#range-slider-focus .rs-border{
	border-color: #ec3f52;
}
#range-slider-focus .rs-range-color{
    background-color: #ffffff;
    background-image: linear-gradient(orange, white);
}
#range-slider-focus:before{
	content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    top: 90px;
    left: 31px;
    z-index: 8;
}
#range-slider-focus:after{
	content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ec3f52;
    border-radius: 50%;
    top: 90px;
    left: auto;
    z-index: 7;
    right: 31px;
    border: 10px #941423 solid;
}
#range-slider-focus .rs-path-color{
    background-color: #941523;
    top: -1px;
}
#range-slider-focus .rs-handle{
	height: 40px !important;
    width: 40px !important;
    margin: -20px 0px 0px -10px !important;
    border: none;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
}
#range-slider-focus .rs-handle-dot:after{
	background-color: #eee;
	border: none;
}
#range-slider-focus .rs-seperator{
	display: none;
}

.range-slider-container{
	position: relative;
}
.range-slider-label-a{
    position: absolute;
    left: 26px;
    top: 40px;
    transform: rotate(-35deg);
    font-size: 15px;
    color: white;
}
.range-slider-label-b{
    position: absolute;
    right: 26px;
    top: 40px;
    transform: rotate(35deg);
    font-size: 15px;
    color: yellow;
}
.colo-chooser-container{
	text-align: center;
}
.color-item{
	width: 100px;
	height: 100px;
	display: inline-block;
	margin: 20px;
	background-color: #fff;
	box-shadow: 0 0 4px rgba(0,0,0,.4);
	border-radius: 10px;
	color: #066324;
	font-size: 40px;
	padding: 27px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	border: #fff 1px solid;
	line-height: 1;
}
.color-item:before{
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	background-color: #183438;
	width: 0;
	height: 0;
	border-radius: 50%;
	transition: all .4s ease;
}
.color-item.game-on:before{
	background-color: #15af47;
}
.color-item.game-on:hover{
	cursor: pointer;
}
.color-item.wrong{
	border-color: #ff1e2e;
	color: #ff1e2e;
}
.color-game-question{
	font-size: 24px;
	margin-top: 0;
	line-height: 1.2;
}
.test-6 p{
	margin-bottom: 20px;
}
.color-item.wrong:after{
    content: "Salah!";
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    right: 7px;
    bottom: 7px;
    left: 7px;
    text-align: center;
}
.color-item.correct{
	border-color: #00b900;
	color: #00b900;
}
.color-item.correct:after{
    content: "Betul!";
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    right: 7px;
    bottom: 7px;
    left: 7px;
    text-align: center;
}

.color-item.closed:before{
	top: -125px;
	right: -125px;
	width: 250px;
	height: 250px;
}
.color-item.color-item-chooser{
	border: #fff 5px solid;
	transform: rotate(45deg);
}
.color-item.color-item-chooser:hover{
	/*border: #eee 5px solid;*/
	/*box-shadow: 0 0 4px rgba(0,0,0,.8);*/
}
.color-item.active{
	background-color: #8dc63f;
}
.color-item.active:hover{
	border: #5f9417 5px solid;
	cursor: pointer;
}
.color-item.active:active{
	background-color: #62961c;
	border: #436b0c 5px solid;
}
.test .btn-default.maze-chooser{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: inline-block;
	border: #eee 5px solid;
	background-color: #fff;
	color: #da7d7d;
    text-align: center;
    padding: 3px 0;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
    margin: 10px 30px 0;
}
.test .btn-default.maze-chooser:hover{
	border-color: #ccc;
}
.test .btn-default.maze-chooser:active{
    border-color: #e0393b;
}

.random-number-val{
	margin-top: 60px;
}
.random-number-val span{
    background: #f37f07;
    padding: 0 17px;
    border-top: #ffa140 6px solid;
    border-radius: 10px;
    margin: 0 4px;
    font-size: 100px;
    width: 115px;
    display: inline-block;
}

.tired-meter-icon{
	width: 80px;
}

.restart-game-btn{
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 98;
	opacity: .5;
}
.restart-game-btn:hover{
	opacity: 1;
}
#content-loading.game-loading{
	z-index: 10;
}
.restart-confirmation{
	position: absolute;
	top: 0; right: 0;
	bottom: 0; left: 0;
	background-color: rgba(0,0,0,.8);
	z-index: 99;
	display: none;
}
.restart-confirmation h4{
	color: #fff;
	line-height: 1.8;
}
.restart-confirmation-content{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.restart-confirmation-content .btn{
	border: #fff 2px solid;
	text-transform: uppercase;
	background: none;
	color: #fff;
	font-weight: bold;
	border-radius: 0;
	margin: 30px 15px 0;
}
.restart-confirmation-content .btn:hover{
	box-shadow: 0 0 4px #000;
}
.restart-confirmation-content .btn:active{
	background-color: #000;
	outline: 0;
}
.test-focus .test-section{
	padding-bottom: 30px;
}

.test .status-selector-item .btn{
	font-size: 21px;
}
.test .status-selector-item .btn img{
	vertical-align: text-bottom;
}
.focus-facts img,
.test-4 img,
.test-7 img{
	height: 260px;
}
.color-game-timeout{
	margin-bottom: 0;
}

.test-8 .test-section img{
	max-width: 270px;
}

@media (max-width: 999px){
	.test.test-10 .test-section{
		left: 20px;
		right: 20px;
		width: auto;
		margin-left: 0;
	}
}

@media (max-width: 768px){
	.content.content-test, .test{
		height: calc(100vh - 60px);
	}
}

@media (max-width: 765px){
	.content.content-test{
		min-height: 550px;
	}
	.test{
		min-height: 550px;
	}

	footer{
		left: 0;
	}
	.content.content-test, .test{
		height: calc(100vh - 60px);
	}

	.test-section{
		width: auto;
		left: 40px;
		right: 40px;
		margin-left: 0;
	}
	.test-section h1{
		font-size: 52px;
	}
	.test-section p{
		font-size: 19px;
	}

	.test .btn{
		width: 100%;
	}

	.test-section .form-control{
		font-size: 24px;
	    padding: 30px 15px;
	}
	.test.test-9 .form-group, .test.test-1 .form-group{
		margin-top: 30px;
	}

	.gender-selector{
		margin-top: 40px;
	}
	.gender-selector-item{
		margin: 0 10px;
	}
	.gender-selector-item:hover img,
	.gender-selector-item img{
		width: 100px;
		height: 100px;
	}

	.test.test-3 .btn{
		padding: 10px 0;
	    height: auto;
	    width: 100%;
	    margin: 8px 0;
	    border-width: 5px;
	    font-size: 36px;
	}
	.gender-selector-title{
		font-size: 28px;
		margin-bottom: 20px;
	}
	.test-section img{
		max-width: 100%;
	}
	.focus-facts img, .test-4 img, .test-7 img{
		height: 200px;
	}
	.color-item{
		margin: 1px;
	}
	.color-item.color-item-chooser{
		transform: none;
	}
	.test-section .test-result-info p{
		font-size: 16px;
	}
	.test.test-10 .test-section{
		width: auto;
		margin-left: 0;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		transform: none;
	}
	.test-result-icon{
		padding-top: 10px;
		float: none;
	}
	.test-result-info{
		padding-left: 0;
		text-align: center;
	}
	.test.test-10 .test-section h2{
		font-size: 30px;
	}
	.test.test-10 .test-section .btn.btn-default{
		margin-top: 10px;
	}
	.test-result-share{
		margin-top: 30px;
	}
	.test-result-share{
		padding: 10px 24px 10px;
	}
	.test.test-10 .test-section .test-result-share .btn.btn-default{
		margin: 0 4px;
		padding: 0;
		width: 40px;
		height: 40px;
		border-radius: 10px;
		overflow: hidden;
		font-size: 22px;
		padding: 3px 0;
	}
	.test.test-10 .test-section .test-result-share .btn.btn-default .fa{
		width: 36px;
		text-align: center;
		margin: 0;
	}

	.random-number-val span{
		font-size: 70px;
		width: 80px;
	}
	.btn-next-container{
		left: 40px;
		right: 40px;
		bottom: 60px;
	}

	.test.test-focus-question h2, .test.test-5 h2{
		margin-bottom: 30px;
	}

	#range-slider .rs-container,
	#range-slider-focus .rs-container {
    	margin-left: -220px; 
	}
	.test-5 .test-section,
	.test-focus-question .test-section{
		left: 0;
		right: 0;
	}
	#range-slider .rs-tooltip,
	#range-slider-focus .rs-tooltip{
		font-size: 24px;
		top: 80px;
	}
	#range-slider:before,
	#range-slider-focus:before{
		top: 67px;
	    left: 42px;
	}
	#range-slider:after,
	#range-slider-focus:after{
		top: 67px;
	    right: 42px;
	}

	.test .btn-default.maze-chooser{
		margin: 10px 10px 0;
	}

	.h2, h2{
		font-size: 24px;
	}

	.restart-confirmation-content{
		left: 40px;
		right: 40px;
		transform: translateY(-50%);
	}
	.restart-confirmation h4{
		line-height: 1.4;
	}

	.test .status-selector-item .btn{
		font-size: 18px;
	}

	.range-slider-label-a, .range-slider-label-b{
		/*display: none;*/
	}
	.range-slider-label-a{
	    left: 50%;
	    top: 16px;
	    transform: rotate(-30deg);
	    margin-left: -160px;
	}
	.range-slider-label-b{
		right: 50%;
	    top: 14px;
	    transform: rotate(30deg);
	    margin-right: -160px;
	}

	#range-slider:before, #range-slider-focus:before{
		left: 50%;
		right: auto;
		margin-left: -163px;
	}
	#range-slider:after, #range-slider-focus:after{
		right: 50%;
		left: auto;
		margin-right: -163px;
	}

	.test .btn{
		border-width: 2px;
	}

	.focus-facts .gender-selector-title,
	.test-4 .gender-selector-title,
	.test-7 .gender-selector-title{
		margin-bottom: 15px !important;
		font-size: 22px;
	}
	.number-game-question{
		font-size: 20px;
	}

	.test-result-container {
		position: absolute;
	    border: none;
	    left: 0;
	    right: 0;
	    top: 0;
	    bottom: 0;
	    transform: none;
	    padding: 10px 20px;
	}
	.test-result-share{
		border-top: rgba(0, 0, 0, 0.19) 1px solid;
	}
	.test.test-10 .test-section h2{
		font-size: 20px;
	}
	.test-10 .test-section img{
		height: 80px;
	}
	.test-10 .test-section a{
		color: green;
		font-weight: bold;
	}
	.test-section p{
		font-size: 15px;
	}
	.test-section .test-result-share p{
		font-size: 14px;
	}
	.test-result-share{
		margin-top: 15px;
		border-top: none;
		padding-top: 0;
	}
}

@media (max-width: 350px){
	.content.content-test, .test{
		height: calc(100vh - 45px);
	}
}

@media (max-width: 375px){
	.test-10 .test-section img{
		height: 60px;
	}
	.test-section h1{
		font-size: 36px;
	}

	.test-section{
		left: 20px;
		right: 20px;
	}
	.test .btn{
	    font-size: 20px;
	    padding: 5px;
	}
	.gender-selector-item:hover img,
	.gender-selector-item img{
		width: 70px;
		height: 70px;
	}
	.random-number-val span{
		font-size: 60px;
		width: 72px;
	}
	.remember-number-title{
		font-size: 18px;
		margin-top: -80px;
	}
	.test-3 .gender-selector-title{
		font-size: 24px;
	}
	.random-number-val{
		margin-top: 30px;
	}
	.test.test-3 .btn{
		padding: 7px;
		font-size: 28px;
	}

	.color-item{
		width: 80px;
		height: 80px;
		font-size: 32px;
		padding: 22px 0;
	}
	.color-item.wrong:after{
		font-size: 10px;
	}
	.restart-confirmation-content{
		left: 20px;
		right: 20px;
	}
	.restart-confirmation-content .btn{
		margin-left: 2px;
		margin-right: 2px;
	}
	.color-game-question{
		font-size: 15px;
	}
	.test .btn-default.maze-chooser{
	    margin: 10px 4px 0;
	}
	.test-section p{
		font-size: 15px;
	}
	.test-section .test-result-info p{
		font-size: 15px;
	}
	.test.test-10 .test-section h2{
		margin-top: 10px;
	}
	.test-section .test-result-share p{
		font-size: 14px;
	}
	.test .btn-primary{
		font-size: 14px;
		padding-left: 34px;
		overflow: hidden;
	}
	.test .btn .fa{
		font-size: 24px;
		top: 6px;
	}
	.gender-selector-title{
		margin-top: 0;
	}

	#range-slider .rs-container,
	#range-slider-focus .rs-container {
    	margin-left: -200px; 
	}

	#range-slider:before, #range-slider-focus:before{
		left: 50%;
		right: auto;
		margin-left: -155px;
	}
	#range-slider:after, #range-slider-focus:after{
		right: 50%;
		left: auto;
		margin-right: -155px;
	}
	.btn-next-container{
		bottom: 40px;
	}
	.test.test-focus-question h2, .test.test-5 h2{
		font-size: 24px;
	}
	.test-6 .test-section{
		margin-top: -20px;
	}
	.test-8 h2{
		margin-top: 0;
	}
	.test-result-share{
		display: none;
	}
}
@media (max-width: 355px){
	.test-result-icon{
		display: none;
	}
	.test-result-info h2{
		margin-top: 0;
	}
	.test-result-share{
		display: none;
	}
	.test.test-10 .test-section h2{
		margin-top: 0;
	}
	.test-result-info{
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 15px;
		right: 15px;
	}
}
