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

.clear {
	clear: both;
}

.social-share {
	margin-top:  50px;
	margin-left: 20px;
	position: absolute;
	z-index: 1000;
	
	&.pie {
		display: block;
	}
}

.cover {
	background-size: cover;
	background-position: center center;
}

.transition( @duration:400ms, @target:all ) {
	-webkit-transition: @target @duration ease;
	-moz-transition: @target @duration ease;
	-o-transition: @target @duration ease;
	transition: @target @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;
}

.box-scale(@value) {
  -webkit-transform: scale(@value);
     -moz-transform: scale(@value);
      -ms-transform: scale(@value); 
       -o-transform: scale(@value);
          transform: scale(@value);
}

.transform-origin( @x, @y ) {
	transform-origin: @x @y;
	-ms-transform-origin: @x @y;
	-moz-transform-origin: @x @y;
	-o-transform-origin: @x @y;
	-webkit-transform-origin: @x @y;
}

html, body {
	width: 100%;
	height: 100%;
	background: #e8e8e8;
}

.no-select {
	-webkit-user-select: none;
	-moz-user-select: none;
}

#page {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 1200px;
	
	.start {
		position: relative;
		width: 1200px;
		height: 2000px;
		margin: 0 auto;
		
		.title {
			position: absolute;
			width: 616px;
			height: 466px;
			background-image: url(../images/zahod.png);
			top: 20px;
			left: 50%;
			margin-left: -416px;
		}
		
		.lead {
			position: absolute;
			font-family: ProximaNova-Extrabld;
			font-size: 20px;
			line-height: 32px;
			width: 600px;
			top: 500px;
			left: 200px;
			text-align: left;
			
			a {
				color: #0620f4;
			}
		}
	
		.iframe {
			position: absolute;
			width: 600px;
			height: 450px;
			top: 750px;
			left: 200px;
		}
		
		.people {
			position: absolute;
			top: 1300px;
			width: 250px;
			left: 50%;
			
			.photo {
				width: 79px;
				height: 79px;
				margin-bottom: 25px;
			}
			
			.name {
				font-family: ProximaNova-Extrabld;
				font-size: 14px;
				line-height: 16px;
				margin-bottom: 25px;
			}
			
			.text {
				font-family: MonoCondensed-Bold;
				font-size: 14px;
				line-height: 16px;
			}
			
			&.one {
				margin-left: -450px;
			
				.photo {
					background-image: url(../images/1.png);
				}
			}
			
			&.two {
				margin-left: -125px;
			
				.photo {
					background-image: url(../images/2.png);
				}
			}
			
			&.three {
				margin-left: 225px;
			
				.photo {
					background-image: url(../images/3.png);
				}
			}
		}
		
		.you {
			position: absolute;
			width: 772px;
			height: 123px;
			background-image: url(../images/5.png);
			left: 50%;
			margin-left: -355px;
			top: 1850px;
		}
	}
	
	.action {
		width: 100%;
		height: 100%;
		position: relative;
	
		.akai {
			width: 775px;
			height: 558px;
			background-image: url(../images/pad.jpg);
			position: absolute;
			top: 50%;
			left: 50%;
			margin-left: -382px;
			margin-top: -279px;
		
			.pads {
				width: 400px;
				height: 300px;
				position: absolute;
				margin-left: 330px;
				margin-top: 218px;
				
				.instrument {
					float: left;
					width: 65px;
					height: 300px;
					margin-left: 3px;
					margin-right: 0px;
					position: relative;
					
					&:first-of-type {
						margin-right: 28px;
						margin-left: 0px;
					}
					
					.turn-off {
						position: absolute;
						width: 14px;
						height: 14px;
						background-image: url(../images/off.png);
						margin-top: -328px;
						margin-left: 30px;
						
						&.active {
							cursor: pointer;
							background-image: url(../images/on.png);
						}
					}
					
					.sample {
						width: 65px;
						height: 59px;
						background-image: url(../images/button1.png);
						position: relative;
						margin-top: 7px;
						
						&:first-of-type {
							margin-top: 0px;
						}
						
						.backlight {
							position: absolute;
							width: 100%;
							height: 100%;
							z-index: 1;
							opacity: 0;
							background-image: url(../images/button2.png);
							.transition;
						}
						
						.pad {
							position: absolute;
							cursor: pointer;
							width: 100%;
							height: 100%;
							z-index: 2;
							line-height: 59px;
							text-align: center;
							padding-left: 7px;
							color: #D8C9BD;
							font-family: ProximaNova-Regular;
							font-size: 10px;
							.box-sizing;
						}
						
						&.active {
							.backlight {
								opacity: 1;
							}
						}
					}
				}
			}
		}
	}

	.footer {
		padding-top: 50px;
		padding-bottom: 100px;
	}
}

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

	.most-read {
		color: #000000!important;
	
		a {
			color: #000000!important;
		}
		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 {
		color: #000000!important;
	
		a {
			color: #000000!important;
		}
		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;
					}
				}
			}
		}
	}
}

.start {
	.zahod {
		width: 898px;
		height: 591px;
		background: url(../images/zahod.jpg);
		margin: 0 auto;
	}
	.kakashka {
		width: 364px;
		height: 503px;
		background: url(../images/2.jpg);
		margin: 0 auto;
	}
	.lead {
		font-family: MonoCondensed-Bold;
		font-size: 20px;
		line-height: 26px;
		width: 680px;
		text-align: center;
		margin: 50px auto;
		padding-bottom: 50px;
	}
}

.postcard {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -225px 0 0 -150px;
	width: 300px;
	height: 450px;
	
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-o-transform: translateX(0px);
	transform: translateX(0px);
	
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease;
	transition: all 2s ease;
	
	.cover {
		position: absolute;
		width: 300px;
		height: 450px;
		z-index: 2;
		/*-webkit-transition: translate3d(0,0,0);*/
		
		-webkit-transform-style: preserve-3d;
		-moz-transform-style: preserve-3d;
		-o-transform-style: preserve-3d;
		transform-style: preserve-3d;
		
		-webkit-perspective: 800px;
		-moz-perspective: 800px;
		-o-perspective: 800px;
		perspective: 800px;
		
		
		
		.face, .back {
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;
			height: 100%;
			z-index: 2;
			
			-webkit-backface-visibility: hidden;
			-moz-backface-visibility: hidden;
			-o-backface-visibility: hidden;
			backface-visibility: hidden;
			
			-webkit-transition: all 2s ease;
			-moz-transition: all 2s ease;
			-o-transition: all 2s ease;
			transition: all 2s ease;
			
		}
		.face {
			.transform-origin(0%, 50%);
		}
		.back {
			.transform-origin(100%, 50%);
			-webkit-transform: rotateY(-180deg);
			-moz-transform: rotateY(180deg);
			-o-transform: rotateY(-180deg);
			transform: rotateY(-180deg);
			left: -300px;
		}
	}
	.page {
		position: absolute;
		width: 300px;
		height: 450px;
		z-index: 1;
		background-position: -300px 0;
		
		.shadow {
			display: none;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: #000;
			opacity: 0.9;
		}
	}
	
	&.flip {
		-webkit-transform: translateX(150px);
		-moz-transform: translateX(150px);
		-o-transform: translateX(150px);
		transform: translateX(150px);
		
		
		.face {
			-webkit-transform: rotateY(-180deg) !important;
			-moz-transform: rotateY(-180deg) !important;
			-o-transform: rotateY(-180deg) !important;
			transform: rotateY(-180deg) !important;
		}
		.back {
			-webkit-transform: rotateY(0deg)!important;
			-moz-transform: rotateY(0deg)!important;
			-o-transform: rotateY(0deg)!important;
			transform: rotateY(0deg)!important;
		}
		.end, .make {
			-webkit-transform: translateX(-280px);
			-moz-transform: translateX(-280px);
			-o-transform: translateX(-280px);
			transform: translateX(-280px);
		}
	}
	
	.open, .close {
		display: none;
		position: absolute;
		right: -200px;
		top: 50%;
		margin-top: -21px;
		width: 151px;
		height: 42px;
		background: url(../images/open.png);
		cursor: pointer;
	}
	.close {
		background: url(../images/close.png);
	}
	.end {
		position: absolute;
		left: -300px;
		width: 310px;
		height: 165px;
		background: url(../images/end.png);
		
		-webkit-transition: all 2s ease;
		-moz-transition: all 2s ease;
		-o-transition: all 2s ease;
		transition: all 2s ease;
		
		input {
			border: 3px solid #e7304d;
			padding: 10px;
			width: 236px;
			color: #e7304d;
			font-size: 12px;
			margin-left: 10px;
			position: absolute;
			bottom: -90px;
			.radius(13px)
		}
	}
	.make {
		position: absolute;
		left: -300px;
		width: 154px;
		height: 80px;
		background: url(../images/make.png);
		cursor: pointer;
		display: block;
		-webkit-transition: all 2s ease;
		-moz-transition: all 2s ease;
		-o-transition: all 2s ease;
		transition: all 2s ease;
		bottom: 0px;
		
		&:hover {
			background: url(../images/make_hover.png);
		}
	}
	
}

.huynushka {
	position: fixed;
	top: 0px;
	left: 50px;
	width: 228px;
	height: 111px;
	background: url(../images/vam.png);
}


.endd {
	top: 100px;
	width: 1050px;
	height: 250px;
	left: 50%;
	position: relative;
	margin-left: -500px;
	text-decoration: none;
	font-family: MonoCondensed-Bold;
	font-size: 25px;
	line-height: 23px;
	background-image: url(../images/pg2.png);
}

.parkg{
	margin-top: -38px;
	margin-bottom: 150px;
	position: relative;
	width: 100%;
	height: 500px;	
	background-image: url(../images/bg2.jpg);
	.cover;
	
	
	
}