
/* LESS VARIABLES */
.rounded-corners (@radius: 5px) {
	border-radius: @radius;
  	-webkit-border-radius: @radius;
  	-moz-border-radius: @radius;
}
/* ############## */
* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
li {
	vertical-align: top;
	
}
body {
	font: 16px/22px CharterOSCRegular;
	background: #fff url(../images/smallline.jpg) repeat-x left 520px;
	color: #000;
	height: 100%;
	
}

.clearFix {
	clear: both;
}

#preloader {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: #000;
	z-index: 100000;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
	
	.spinner {
		display: none;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -25px 0 0 -25px;
		width: 50px;
		height: 50px;
		background: rgba(0,0,0, 0.9) url(../images/loading.gif) no-repeat center center;
	}
}

#wrapper {
	.block {
		width: 1200px;
		margin: 0 auto;
		position: relative;
	}
	
	h1 {
		font: 71px/85px 'NonameGroteskHanddrawnv4Rg';
		margin: 35px 0 0 150px;
		color: red;
	}
	.lead {
		width: 540px;
		font:  italic 16px/19px 'OctavaOSCRegular';
		margin: 45px 0 0 150px;
	}
	.brain {
		width: 314px;
		text-align: center;
		margin: 30px 0 0 690px;
		top: 0;
		
		p {
			width: 210px;
			text-align: left;
			margin-left: 100px;
			font: 18px/26px 'NonameGroteskHanddrawnv4Rg';
			padding-bottom: 20px;
		}
	}
	
	.target {
		font: 12px/18px 'NonameGroteskHanddrawnv4Rg';
		width: 210px;
		padding: 0 10px;
		border: 8px solid red;
		margin: 220px 0 0 790px;
	}
	
	.counter {
		margin-left: 530px;
		font: 10px/16px 'NonameGroteskHanddrawnv4Rg';
		letter-spacing: 2px;
		text-transform: uppercase;
		margin-top: 130px;
		height: 35px;
		
		div {
			float: left;
			margin-left: 65px;
			text-align: center;
		}
		
		.count {
			font: 24px/29px 'Futura';
			margin-left: 10px;
			border: 1px solid #000;
			padding: 0 5px;
		}
		.lives {
			img {
				padding-top: 10px;
				margin-left: 10px;
			}
		}
	}
	
	.field {
		height: 255px;
		position: relative;
		
		.dot {
			width: 160px;
			height: 140px;
			background: url(../images/dot.png);
			position: absolute;
			top: 40px;
			display: none;
		}
		
		.start {
			width: 304px;
			height: 105px;
			background: url(../images/igra.jpg);
			left: 50%;
			top: 50%;
			position: absolute;
			margin: -60px 0 0 -400px;
			cursor: pointer;
		}
		
		.fields {
			width: 100%;
			position: absolute;
			margin-top: 35px;
			height: 175px;
			background: url(../images/fields.jpg) no-repeat;
		}
	}
	
	.quest-block {
		position: relative;
		margin-top: 0px;
	}
	
	.question {
		display: none;
		
		ul {
			li {
				display: inline-block;
				padding-top: 20px;
			}
			.descr {
				font: 20px/24px 'OctavaOSCRegular';
				width: 300px;
				padding-left: 25px;
			}
			.blank {
				width: 62px;
			}
			.cases {
				font: 34px/45px 'NonameGroteskHanddrawnv4Rg';
				width: 700px;
				padding-top: 0;
				
				p {
					cursor: pointer;
					&:hover {
						color:red;
					}
				}
			}
		}	
	}
	.answer {
		display: none;
		
		ul {
			li {
				display: inline-block;
				padding-top: 20px;
			}
			.descr {
				font: 20px/24px 'OctavaOSCRegular';
				width: 300px;
				padding-left: 25px;
				
				.red {
					color: red;
				}
				.green {
					color: green;
				}
				
				.right-answer {
					padding-top: 20px;
				}
			}
			.blank {
				width: 62px;
			}
			.capt {
				padding-top: 0;
				font: 14px/17px 'NonameGroteskHanddrawnv4Rg';
				width: 250px;
				
				h3 {
					font: 24px/29px 'NonameGroteskHanddrawnv4Rg';
					text-transform: uppercase;
					letter-spacing: 2px;
					margin-top: -20px;
					padding-bottom: 10px;
				}
			}
			.next {
				width: 120px;
				height: 132px;
				background: url(../images/arrow.jpg);
				margin-left: 50px;
				cursor: pointer;
			}
		}	
	}
}

.win {
	margin-left: 90px;
	display: none;
	
	h2 {
		font: 40px/48px 'NonameGroteskHanddrawnv4Rg';
		color: green;
		margin-left: 150px;
		width: 515px;
	}
	p {
		font: 21px/26px 'NonameGroteskHanddrawnv4Rg';
		margin: 30px 0 0 150px;
		width: 515px;
	}
	.beat {
		width: 112px;
		height: 117px;
		background: url(../images/play_win.jpg);
		cursor: pointer;
		position: absolute;
		top: 40px;
	}
	.restart {
		width: 112px;
		height: 117px;
		background: url(../images/restart-green.jpg);
		cursor: pointer;
		position: absolute;
		top: 40px;
		margin-left: 730px;
	}
}

.lose {
	margin-left: 90px;
	display: none;
	
	h2 {
		font: 40px/48px 'NonameGroteskHanddrawnv4Rg';
		color: red;
		margin-left: 150px;
		width: 515px;
	}
	p {
		font: 21px/26px 'NonameGroteskHanddrawnv4Rg';
		margin: 30px 0 0 150px;
		width: 515px;
	}
	.beat {
		width: 112px;
		height: 117px;
		background: url(../images/play_lose.jpg);
		cursor: pointer;
		position: absolute;
		top: 40px;
	}
	.restart {
		width: 112px;
		height: 117px;
		background: url(../images/restart-red.jpg);
		cursor: pointer;
		position: absolute;
		top: 40px;
		margin-left: 730px;
	}
}

h6 {
	margin: 0 auto;
	width: 500px;
	font-size: 13px;
	margin-top: 50px;
}