/* ############## */
* {
	margin: 0;
	padding: 0;
}

.clear {
	clear: both;
}

.transition( @duration: 400ms ) {
	-webkit-transition: all @duration ease;
	-moz-transition: all @duration ease;
	-o-transition: all @duration ease;
	transition: all @duration ease;
}

.box-sizing {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.radius( @value: 1000px ) {
	-webkit-border-radius: @value;
	border-radius: @value;
    background-clip: padding-box;
}

body, html {
	width: 100%;
	height: 100%;
	background-image: url(../images/bg.jpg);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	
	-webkit-transition: background-image 400ms ease-in-out;
	-moz-transition: background-image 400ms ease-in-out;
	-ms-transition: background-image 400ms ease-in-out;
	-o-transition: background-image 400ms ease-in-out;
	transition: background-image 400ms ease-in-out;
	
	&.blured {
		background-image: url(../images/bg_blur.jpg);
	}
}

#page {
	width: 100%;
	height: 100%;
	
	#test {
		width: 100%;
		height: 100%;
		overflow: hidden;
		position: relative;
		z-index: 1;
		
		.section {
			position: absolute;
			z-index: 2;
			width: 100%;
			height: 100%;
			left: 0%;
			.transition;
			
			&.current {
				top: 0%;
			}
			
			&.inactive {
				top: 100%;
			}
			
			&.disabled {
				top: -100%;
			}
			
			.section-inner {
				width: 100%;
				height: 100%;
				position: relative;
				z-index: 3;
				overflow: hidden;
				
				.section-content {
					position: absolute;
					z-index: 4;
					width: 1200px;
					height: 600px;
					top: 50%;
					left: 50%;
					margin-top: -300px;
					margin-left: -600px;
				}
			}
			
			&.start {
				.title {
					position: absolute;
					z-index: 4;
					width: 450px;
					font-family: ProximaNova-Extrabld;
					font-size: 55px;
					line-height: 42px;
					left: 175px;
					top: 30px;
				}
				
				.description {
					position: absolute;
					z-index: 4;
					width: 200px;
					font-family: ProximaNova-Regular;
					font-size: 24px;
					line-height: 23px;
					left: 175px;
					top: 200px;
					
					&:before {
						content: '';
						position: absolute;
						z-index: 4;
						width: 4px;
						height: 150px;
						background-color: #000000;
						margin-left: 210px;
						margin-top: 0px;
					}
				}
				
				.lead {
					position: absolute;
					z-index: 4;
					width: 350px;
					font-family: ProximaNova-Regular;
					font-size: 15px;
					line-height: 18px;
					left: 430px;
					top: 200px;
				}
				
				.button {
					position: absolute;
					z-index: 4;
					cursor: pointer;
					width: 180px;
					height: 180px;
					background-image: url(../images/button1.png);
					left: 175px;
					top: 400px;
					
					&:hover {
						background-image: url(../images/button1_hover.png);
					}
				}
			}
			
			&.action {
				.questions {
					position: absolute;
					z-index: 4;
					width: 860px;
					height: 400px;
					left: 50%;
					margin-left: -430px;
					margin-top: 30px;
					
					.question {
						float: left;
						width: 400px;
						
						&:first-of-type {
							margin-right: 60px;
						}
						
						.title {
							font-family: ProximaNova-Extrabld;
							font-size: 37px;
							line-height: 28px;
							padding: 0px 30px;
							.box-sizing;
						}
						
						.answers {
							margin-top: 30px;
						
							.answer {
								font-family: ProximaNova-Extrabld;
								font-size: 18px;
								line-height: 24px;
								cursor: pointer;
								padding: 5px 30px;
								.box-sizing;
								
								&.active {
									cursor: default;
									background-color: #fdfb45;
								}
							}
						}
					}
				}
				
				.button {
					position: absolute;
					z-index: 4;
					cursor: pointer;
					width: 180px;
					height: 180px;
					background-image: url(../images/button2.png);
					left: 50%;
					margin-left: -90px;
					top: 420px;
					
					&:hover:not(.disabled) {
						background-image: url(../images/button2_hover.png);
					}
					
					&.disabled {
						cursor: default;
						opacity: 0.5;
					}
				}
			}
			
			&.finish {
				.title {
					position: absolute;
					z-index: 4;
					left: 175px;
					top: 30px;
					font-family: ProximaNova-Extrabld;
					font-size: 32px;
					line-height: 28px;
					width: 400px;
				}
				
				.video {
					position: absolute;
					z-index: 4;
					width: 750px;
					height: 450px;
					left: 175px;
					top: 150px;
				
					iframe {
						display: block;
					}
				}
				
				.button {
					position: absolute;
					z-index: 4;
					cursor: pointer;
					width: 180px;
					height: 180px;
					background-image: url(../images/button3.png);
					left: 970px;
					top: 300px;
					
					&:hover {
						background-image: url(../images/button3_hover.png);
					}
				}
			}
		}
	}
	
	#bottom {
		padding-bottom: 100px;
	}
}

.comments {
	background: rgba(255,255,255,0.8);
	padding: 30px;
}

.comm {
	width: 920px;
	margin: 0 auto;
	
	@active_color: #ffca24;

	.most-read {
		margin-bottom: 30px;
	
		.container {
			width: 920px;
			margin: 0 auto;
		
			.label {
				padding: 30px 0px;
				font-family: PTSansPro-Caption;
				font-size: 19px;
			}
		
			.item {
				width: 200px;
				float: left;
				margin-left: 40px;
			
				.image {
					display: block;
					width: 200px;
					height: 200px;
					background-size: cover;
					background-position: 50% 50%;
				}
				
				.title {
					display: block;
					padding: 10px 0px;
					font-family: PTSerif-Regular;
					font-size: 18px;
					line-height: 20px;
					color: #000000;
					text-decoration: none;
				}
				
				.lead {
					font-family: PTSansPro-Caption;
					font-size: 12px;
					line-height: 13px;
				}
				
				&:nth-child(2) {
					margin: 0px;
				}
				
				&:hover {
					.title {
						color: @active_color;
					}
				}
			}
		}
	}
	
	.same-read {
		margin-bottom: 30px;
		
		.container {
			width: 920px;
			margin: 0 auto;
			
			.label {
				padding: 30px 0px;
				font-family: PTSansPro-Caption;
				font-size: 19px;
			}
			
			.item {
				width: 300px;
				height: 100px;
				margin-bottom: 30px;
				float: left;
				
				.image {
					display: block;
					width: 100px;
					height: 100px;
					float: left;
					background-size: cover;
					background-position: 50% 50%;
					.transition;
				}
				
				.info {
					float: left;
					width: 170px;
					padding: 0px 15px;
					
					.rubrics {
						margin-bottom: 15px;
						
						 a {
						 	color: #000000;
						 	text-decoration: none;
						 	font-family: MonoCondensed-Bold;
							font-size: 11px;
							line-height: 13px;
						 	
						 	&:hover {
						 		color: @active_color;
						 	}
						 }
					}
					
					.title {
						margin-bottom: 20px;
						display: block;
						font-family: PTSerif-Regular;
						font-size: 20px;
						line-height: 21px;
						color: #000000;
						text-decoration: none;
						
						&:hover {
							color: @active_color;
						}
					}
				}
				
				&:hover {
					.title {
						color: @active_color;
					}
				}
			}
		}
	}
}