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

@width: 1200px;
@height: 600px;

.social-share {
	margin-top:  50px;
	margin-left: 20px;
	display: block!important;
	position: absolute;
	z-index: 200;
}

.box-sizing() {
	-webkit-box-sizing: border-box; /* Android ≤ 2.3, iOS ≤ 4 */
     -moz-box-sizing: border-box; /* Firefox 1+ */
          box-sizing: border-box;
}

.box-shadow() {
  -webkit-box-shadow: 4px 4px 6px 2px rgba(0,0,0,0.5); /* Android 2.3+, iOS 4.0.2-4.2, Safari 3-4 */
          box-shadow: 4px 4px 6px 2px rgba(0,0,0,0.5); /* Chrome 6+, Firefox 4+, IE 9+, iOS 5+, Opera 10.50+ */
}

.transition(@duration: 1000ms) {
  -webkit-transition: all @duration ease;  /* Chrome 1-25, Safari 3.2+ */
     -moz-transition: all @duration ease;  /* Firefox 4-15 */
       -o-transition: all @duration ease;  /* Opera 10.50–12.00 */
          transition: all @duration ease;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
}

.radius(@value:1000px) {
  -webkit-border-radius: @value; /* Android ≤ 1.6, iOS 1-3.2, Safari 3-4 */
          border-radius: @value; /* Android 2.1+, Chrome, Firefox 4+, IE 9+, iOS 4+, Opera 10.50+, Safari 5+ */

  /* useful if you don't want a bg color from leaking outside the border: */
  background-clip: padding-box; /* Android 2.2+, Chrome, Firefox 4+, IE 9+, iOS 4+, Opera 10.50+, Safari 4+ */
}

.clear {
	clear: both;
}

.page {
	width: 100%;
	height:  100%;
	position: relative;
	overflow: hidden;
	
	.layer {
		width: 100%;
		height:  100%;
		position: absolute;
		top: 0%;
		left: 0%;
		.transition;
	
		.content {
			width: 100%;
			height:  100%;
			position: relative;
		
			.container {
				position: relative;
				width: @width;
				height: 100%;
				min-height: @height;
				margin: 0 auto;
			}
		}
		
		&.hidden {
			top: -200%;
		}
	}
	
	.start {
		z-index: 100;
	
		.content {
			background-color: #ffffff;
		
			.container {
				width: @width;
				height: @height;
				top: 50%;
				left: 50%;
				margin-top: -@height / 2;
				margin-left: -@width / 2;
				position: absolute;
			}
		}
	}
	
	.action {
		z-index: 50;
	
		.content {
			background-color: #ffffff;
		
			.item {
				width: 100%;
				height: 100%;
				position: absolute;
				.transition;
				display: none;
			
				.back {
					width: 0px;
					.transition;
					top: 0px;
					left: 0px;
					background-size: cover;
					background-position: center center;
					background-image: url( ../images/bg1.gif );
					height: 100%;
					position: absolute;
					z-index: 1;
				}
				
				.container {
					position: relative;
					z-index: 2;
					
					.next {
						position: absolute;
						cursor: pointer;
						display: none;
						width: 161px;
						height: 120px;
						background-image: url( ../images/btn.png );
						left: 100%;
						top: 50%;
						margin-left: -161px;
						margin-top: -60px;
						z-index: 3;
						.transition;
						
						&.showed {
							display: block;
						}
					}
					
					.left {
						float: right;
						width: 440px;
						height: 100%;
						background-color: rgba( 255, 255, 255, 0.6 );
						position: relative;
						
						.info {
							position: absolute;
							height: @height;
							top: 50%;
							margin-top: -@height / 2 + 30px;
							.box-sizing;
							padding: 0px 30px 0px 30px;
							
							.title {
								font-family: Gothic725BlkBT;
								font-size: 30px;
								line-height: 36px;
								color: #000000;
								margin-bottom: 25px;
							}
							
							.text {
								-webkit-font-smoothing: antialiased;
								font-family: PTSansPro-Caption;
								font-size: 14px;
								line-height: 17px;
								color: #000000;
							}
							
							.before {
								position: absolute;
								top: -10px;
								left: 460px;
								background-image: url( ../images/povodi.png );
								width: 500px;
								height: 41px;
							}
						}
					}
					
					.right {
						float: right;
						width: 700px;
						height: 100%;
						position: relative;
						
						.cartoon {
							position: absolute;
							height: @height;
							width: 500px;
							top: 50%;
							left: 0%;
							margin-top: -@height / 2 + 30px;
							margin-left: 20px;
							.box-sizing;
							
							.cadre {
								display: none;
								
								&.showed {
									display: block;
								}
							}
						}
					}
				}
				
				&.hidden {
					top: -200%;
				}
				
				&.active {
					display: block;
				}
			}
		}
	}
	
	.result {
		z-index: 10;
	
		.content {
			.container {
				position: absolute;
				width: @width;
				height: 400px;
				top: 50%;
				left: 50%;
				margin-top: -200px;
				margin-left: -@width / 2;
				
				.info {
					width: 600px;
					margin: 0 auto;
				
					.description {
						-webkit-font-smoothing: antialiased;
						font-family: PTSansPro-Caption;
						font-size: 24px;
						line-height: 26px;
						color: #000000;
						text-align: right;
					}
					
					.text {
						font-family: Gothic725BlkBT;
						font-size: 30px;
						line-height: 36px;
						color: #000000;
						margin-bottom: 35px;
					}
				}
			}
		}
	}
}

.comm {
	width: 920px;
	margin: 0 auto;
	display: none;
	padding-bottom: 100px;
	
	@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;
					}
				}
			}
		}
	}
}

@media screen and (max-width: 1200px) {
	.next {
		margin-left: -320px;
	}
}

@media screen and (max-width: 900px) {
	.next {
		margin-left: -480px;
	}
}