/* 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}

/* plugin */

@lightblue: #ECF0F1;
@blue: #3498DB;
@red: #FF3032;
@white: #FFFFFF;

@octava: Octava;
@futura: Futura;

@font-size-huge: 60px;
@font-size-big: 40px;
@font-size-medium: 22px;
@font-size-normal: 16px;
@font-size-small: 14px;

@transition: 0.5s;
@animation: 2.0s;

html, body {
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	background: @white;
}

#page {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.container {
	height: 100%;
	width: 100%;
	position: absolute;
}

.round {
	-webkit-border-radius: 1000px; 
	-moz-border-radius: 1000px; 
	border-radius: 1000px;
}

.transition {
	-webkit-transition: all @transition ease;
	-moz-transition: all @transition ease;
	-ms-transition: all @transition ease;
	-o-transition: all @transition ease;
	transition: all @transition ease;
}

.animation {
	-webkit-transition: all @animation ease;
	-moz-transition: all @animation ease;
	-ms-transition: all @animation ease;
	-o-transition: all @animation ease;
	transition: all @animation ease;
}

.left {
	float: left;
}

.right {
	float: right;
}

.spacer {
	clear: both;
}

.button {
	text-align: center;
	cursor: pointer;
}

#start {
	font-family: @octava;
	z-index: 100;
	background: @lightblue;
	text-align: center;

	#title {
		width: 1000px;
		margin: 0 auto;

		div {
			margin-bottom: 40px;
		}

		.firstRow {
			font-family: @futura;
			font-size: @font-size-big;

			span {
				font-family: @octava;
				font-style: oblique;
			}
		}

		.secondRow {
			font-family: @futura;
			font-size: @font-size-normal;
			color: @blue;
			text-transform: uppercase;
		}

		.thirdRow {
			font-family: @octava;
			font-size: @font-size-normal;
			line-height: 22px;

			span {
				color: @blue;
			}
		}

		.button {
			width: 100px;
			height: 100px;
			line-height: 100px;
			border: @blue 2px solid;
			font-size: @font-size-medium;
			color: @blue;
			margin: 0 auto;
		}

		.button:hover {
			background: @white;
		}
	}
}

#test {
	font-family: @octava;
	background: @white;
	z-index: 70;
	#question {
		width: 1000px;
		margin: 0 auto;

		.firstCol {
			width: 750px;
		}

		.secondCol {
			width: 250px;
		}

		.firstRow {
			line-height: 90px;

			#questionNumber {
				color: @red;
				font-size: @font-size-medium;
				margin-right: 30px;
			}

			#questionText {
				font-size: @font-size-big;
			}
		}

		.secondRow {
			margin-bottom: 20px;
			
			#descriptionTitle {
				font-size: @font-size-normal;
				font-style: oblique;
			}
		}

		.thirdRow {

			.answer {
				width: 300px;
				height: 300px;
				cursor: pointer;
			}

			#imageLeft {
				margin-right: 30px;
			}

			#descriptionText {
				font-size: @font-size-normal;
				padding-top: 10px;
				border-top: @red 1px solid;
			}

			.tf {
				display: none;
				position: absolute;
				width: 300px;
				height: 300px;
				z-index: 51;
			}
		}
	}
}

.draw {
	position: absolute;
}

#result {
	background: @white;
	z-index: 50;

	.hor {
		height: 2px;
	}

	.ver {
		width: 2px;
	}

	#results {
		width: 1000px;
		margin: 0 auto;
		-moz-box-shadow: 0px 0px 3px 1px @blue;
		-webkit-box-shadow: 0px 0px 3px 1px @blue;
		box-shadow: 0px 0px 3px 1px @blue;

		.firstCol {
			width: 400px;
		}

		.secondCol {
			width: 600px;
		}

		#again {
			cursor: pointer;
			text-align: center;
			font-size: @font-size-normal;
			font-style: oblique;
			color: @blue;
			
			span {
				border-bottom: @blue 1px dashed;
			}
		}

		.firstRow {
			line-height: 90px;
			margin-bottom: 60px;
			font-family: @octava;

			#answerQuantity {
				font-size: @font-size-medium;
				text-align: center;

				span {
					color: @blue;
				}
			}

			#answerPercentageRunner {
				font-size: @font-size-small;

				padding-top: 44px;

				.hor {
					width: 500px;
					margin-left: 50px;
					background: @blue;
					z-index: 10;
				}

				.round {
					z-index: 30;
					text-align: center;
					width: 40px;
					height: 40px;
					line-height: 40px;
					border: @blue 2px solid;
					margin-top: -22px;
					background: @white;
					color: @blue;
				}

				#startCircle {
					margin-left: 50px;
				}

				#middleCircle {
					margin-left: 279px;
				}

				#endCircle {
					margin-left: 506px;
				}

				.runner {
					z-index: 20;
					width: 70px;
					color: @blue;
					text-align: center;
					margin-left: 45px;
					font-size: @font-size-normal;
					padding-bottom: -30px;

					.ver {
						height: 40px;
						background: @blue;
						margin-left: 26px;
					}

					.label {
						margin-top: -35px;
					}
				}
			}
		}

		.secondRow {
			font-size: @font-size-medium;
			margin-bottom: 30px;
			text-align: center;

			.firstCol {
				font-family: @octava;
			}

			.secondCol {
				font-family: @futura;

				span {
					font-family: @octava;
					font-style: oblique;
					font-size: @font-size-small;

					span:first-child {
						color: @blue;
					}

					span:last-child {
						color: @red;
					}
				}
			}
		}

		.thirdRow {
			font-size: @font-size-normal;

			#peopleQuantity {
				width: 200px;
				color: @blue;
				text-align: center;
				font-family: @octava;

				#peopleQuantityWrapper {
					width: 100px;
					height: 100px;
					margin: 0 auto;
					padding: 20px 0px;

					#peopleQuantityCircle {
						width: 100px;
						height: 100px;
						border: @blue 2px solid;
						-webkit-transform: scale( 0, 0 );
					}

					#peopleQuantityLabel {
						width: 100px;
						line-height: 100px;
						position: absolute;
						margin-top: -100px;
					}
				}
			}

			#peoplePercentageRunner {
				width: 200px;

				.ver {
					height: 240px;
					margin-left: 25px;
					z-index: 15;
				}

				.round {
					z-index: 20;
					border: @red 2px solid;
					width: 30px;
					height: 30px;
					line-height: 30px;
					text-align: center;
					color: @red;
					margin-left: 9px;
					background: @white;
					margin-top: 210px;
					font-family: @octava;
					font-size: @font-size-small;
				}

				#peoplePercentageUp {
					z-index: 15;
					background: @blue;
				}

				#peoplePercentageDown {
					height: 0px;
					margin-top: 240px;
					z-index: 18;
					background: @red;
				}

				.text {
					font-family: @futura;
					width: 100px;
					margin-left: 75px;
					text-align: left;
					font-size: @font-size-normal;
				}

				#upText {
					color: @blue;

				}

				#downText {
					color: @red;
					margin-top: 180px;
				}
			}

			#answerDistribution {
				width: 600px;
				height: 350px;
			}
		}
	}

	#share {
		font-family: @octava;
		color: @white;
		height: 60px;
		background: @blue;

		.left {
			width: 160px;
			text-align: center;
			font-size: @font-size-normal;
			padding: 12px 0px;
		}

		img {
			margin-top: 12px;
			margin-left: 80px;
			cursor: pointer;
		}
	}
}

svg {
	z-index: 50;
	font-family: @octava;
}