/* RESET */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


body, html {
	padding:  0px;
	margin:  0px;
	width: 100%;
	height:  100%;
	
	background: #333 url(../images/bg.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	
	color: #fff;
}

.social-share {
	margin-top:  50px;
	margin-left: 20px;
}
#page {
	position: relative;
	width: 1240px;
	margin: 0 auto;
	padding-top: 30px;
}

.black {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 40%;
	height: 100%;
	background: rgba(0,0,0, 0.82);
	-webkit-transition: width 800ms ease-out;
	-moz-transition:  width 800ms ease-out;
	-o-transition:  width 800ms ease-out;
	transition:  width 800ms ease-out;
	
	&.full {
		width: 100%;
	}
}

.start {
	position: relative;
	padding-top: 30px;
	width: 380px;
	float: right;
	color: #fff;
	padding-right: 30px;
	
	h1 {
		font-weight: normal;
		font-size: 40px;
		line-height: 36px;
		font-family: Gothic725BlkBT, Helvetica, Arial;
		padding-bottom: 25px;
	}
	.lead {
		font-family: PTSerif-Italic, Georgia;
		font-size: 18px;
		line-height: 20px;
		padding-bottom: 40px;
	}
	.text {
		font-family: PTSansPro-Caption, Helvetica, Arial;
		font-size: 14px;
		line-height: 17px;
	}
	.btn-start {
		width: 143px;
		height: 128px;
		margin-top: 40px;
		background: url(../images/start.png);
		cursor: pointer;
		
		&:hover {
			background: url(../images/start_hover.png);
		}
	}
}

.test, .finish, .gameover {
	display: none;
	color: #fff;
}

.gameover, .finish {
	position: absolute;
	width: 300px;
	height: 200px;
	margin: -100px 0 0 -150px;
	top: 50%;
	left: 50%;
	text-align: center;
	
	p {
		font-family: PTSansPro-Caption, Helvetica, Arial;
		font-size: 28px;
		line-height: 42px;
	}
	.restart {
		color: #114ec9;
		cursor: pointer;
		
		&:hover {
			text-decoration: underline;
		}
	}
}

.finish {
	width: 660px;
	height: 180px;
	margin: -90px 0 0 -330px;
}

.social-share {
	position: absolute;
	margin-top:  50px;
	margin-left: 20px;
	z-index: 1;
}

.test {
	.left, .center, .right {
		position: absolute;
		top: 30px;
	}
	.left {
		left: 160px;
		width: 120px;
		
		.counter {
			font-size: 40px;
			line-height: 36px;
			font-family: Gothic725BlkBT, Helvetica, Arial;
			text-align: center;
		}
		.label {
			font-family: PTSansPro-Caption, Helvetica, Arial;
			font-size: 12px;
			line-height: 40px;
			text-align: center;
			margin-top: 20px;
		}
		.lifes {
			text-align: center;
			
			i {
				display: inline-block;
				width: 40px;
				height: 40px;
				margin: 10px 0;
				background: rgba(52,196,0,0.7);
				
				&.active {
					background: #c40000;
				}
			}
		}
	}
	
	.center {
		left: 350px;
		width: 400px;
		
		.question {
			font-size: 40px;
			line-height: 36px;
			font-family: Gothic725BlkBT, Helvetica, Arial;
		}
		.answers {
			padding-top: 40px;
			margin-left: 80px;
			
			&.lock {
				.answer:hover {
					opacity:0.5;
					cursor: default;
				}
			}
		}
		.answer {
			font-family: PTSansPro-Caption, Helvetica, Arial;
			font-size: 22px;
			line-height: 32px;
			margin: 40px 0;
			cursor: pointer;
			opacity: 0.5;
			-webkit-transition: all 300ms ease-out;
			-moz-transition:  all 300ms ease-out;
			-o-transition:  all 300ms ease-out;
			transition:  all 300ms ease-out;
			
			&:hover {
				opacity:1;
			}
			&.r {
				color: #88d20b;
				opacity: 1 !important;
			}
			&.w {
				color: #eb4b41;
				opacity: 1 !important;
			}
		}
	}
	.right {
		left: 350px + 400px + 30px;
		width: 350px;
		
		img {
			position: absolute;
			top: 120px;
		}
		.caption {
			display: none;
			position: absolute;
			top: 120px;
			
			p {
				font-family: PTSansPro-Caption, Helvetica, Arial;
				font-size: 20px;
				line-height: 30px;
			}
			.btn-next {
				margin-top: 40px;
				width: 228px;
				height: 94px;
				background: url(../images/next.png);
				cursor: pointer;
				
				&:hover {
					background: url(../images/next_hover.png);
				}
			}
		}
	}
}