/* 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: fixed;
	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;
	-webkit-transform-origin: @x @y;
}

@import "/plugins/pages/Visual/7832/css/game.css";

body {
	font-family: ProximaNova-Regular;
	font-size: 16px;
}

#page {
	position: relative;
	width: 500px;
	margin: 0 auto;
}
.footer {
	font-size: 12px;
	width: 400px;
	margin: 40px auto;
	text-align: center;
}
.heading {
	position: absolute;
	right: -140px;
	top: 0px;
	
	.score-container, .best-container {
		background: transparent;
		color: #222;
	}
}

.tile-container {
	.transition();
}

.container.game {
	opacity: 0.8;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	.transition();
	
	&.hidden {
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
		transform: scale(0.8);
		
		.tile-container {
			opacity: 0;
		}
	}
}

#popup {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #ff9e1b;
	z-index: 100;
	overflow: hidden;
	
	&.ani {
		.transition();
	}
	&.hide {
		top: -100%;
	}
	
	.finish, .records {
		display: none;
		width: 100%;
		height: 100%;
		overflow-y: auto;
		
		.close {
			background: url(../images/records-close.png) no-repeat center center;
			width: 24px;
			height: 23px;
			cursor: pointer;
			position: fixed;
			z-index: 1000;
			right: 30px;
			top: 30px;
			cursor: pointer;
		}
		.container {
			width: 620px;
			margin: 30px auto;
		}
		.cnt {
			width: 410px;
			margin: 0 auto;
		}
		.your-score {
			width: 100%;
			height: 70px;
			background: url(../images/end1.png) no-repeat center center;
		}
		.score-count {
			font-family: ProximaNova-Extrabld;
			font-size: 117px;
			line-height: 160px;
			text-align: center;
			color: #fff;
		}
		.user-login {
			background: #fff;
			height: 160px;
			
			.login {
				display: none;
				text-align: center;
				
				#uLogin {
					display: inline-block;
				}
			}
			p {
				padding: 20px;
				margin: 20px;
				font-size: 13px;
				line-height: 15px;
				text-transform: uppercase;
				border-bottom: 2px solid #333;
				text-align: center;
			}
			.user-place {
				display: none;
				font-size: 16px;
				line-height: 160px;
				text-align: center;
				text-transform: uppercase;
				
				span {
					font-size: 25px;
				}
			}
		}
		.restart {
			display: block;
			width: 410px;
			height: 74px;
			cursor: pointer;
			background: url(../images/again.png) no-repeat center center;
			margin-top: 30px;
			
			&:hover {
				background: url(../images/again_hover.png) no-repeat center center;
			}
		}
		
		.scores {
			width: 100%;
			padding-top: 70px;
			margin-top: 100px;
			background: url(../images/end.png) no-repeat center top;
			
			.item {
				color: #fff;
				border-bottom: 1px solid #222;
				margin: 20px 0;
				padding-bottom: 7px;
				span, img {
					display: inline-block;
					vertical-align: text-bottom;
				}
				.num {
					font-family: ProximaNova-Extrabld;
					font-size: 26px;
					line-height: 35px;
					width: 60px;
				}
				.scr {
					font-family: ProximaNova-Extrabld;
					font-size: 52px;
					width: 255px;
				}
				img {
					width: 35px;
					height: 35px;
					margin-bottom: 10px;
				}
				.name {
					color: #000;
					font-size: 13px;
					line-height: 30px;
					margin-bottom: 13px;
					margin-left: 10px;
					text-transform: uppercase;
				}
				
				&:last-of-type {
					border-bottom: none;
				}
			}
			
		}
	}
	
	.intro {
		position: absolute;
		width: 700px;
		height: 500px;
		left: 50%;
		top: 50%;
		margin: -280px 0 0 -350px;
		
		
		.zahod {
			padding-top: 430px;
			width: 402px;
			font-family: MonoCondensed-Bold;
			font-size: 16px;
			line-height: 19px;
			background: url(../images/zahod.png) no-repeat left top;
		}
		.start {
			position: absolute;
			width: 242px;
			height: 242px;
			left: 490px;
			top: 162px;
			background: url(../images/button.png) no-repeat center center;
			z-index: 10;
			cursor: pointer;
			.transition();
			-webkit-transform: scale(1);
			-moz-transform: scale(1);
			-ms-transform: scale(1);
			-o-transform: scale(1);
			transform: scale(1);
			
			i {
				position: relative;
				display: block;
				background: url(../images/button.png) no-repeat center center;
				width: 100%;
				height: 100%;
				z-index: 2;
			}
			b {
				position: absolute;
				top: 0px;
				left: 0px;
				background: #fff;
				width: 100%;
				height: 100%;
				z-index: 1;
				border-radius: 1000px;
				-webkit-transform: scale(1);
				-moz-transform: scale(1);
				-ms-transform: scale(1);
				-o-transform: scale(1);
				transform: scale(1);
				.transition();
			}
			
			&:hover {
				b {
					-webkit-transform: scale(1.05);
					-moz-transform: scale(1.05);
					-ms-transform: scale(1.05);
					-o-transform: scale(1.05);
					transform: scale(1.05);
					box-shadow: 0px 0px 10px 2px #fff;
				}
			}
			&:active {
				-webkit-transform: scale(0.971);
				-moz-transform: scale(0.971);
				-ms-transform: scale(0.971);
				-o-transform: scale(0.971);
				transform: scale(0.971);
				
				b {
					background-color: lighten(#ff9e1b, 20%);
				}
			}
		}
		
	}
}

.shares {
	margin: 10px 0 30px 0;
	width: 430px;
	margin-left: -14px;
	
	.buttons {
		height: 35px;
		text-align: center;
		
		.button {
			width: 134px;
			height: 35px;
			display: inline-block;
			cursor: pointer;
			
			&.vk {
				background-image: url(../images/vk.png);
				
				&:hover {
					background-image: url(../images/vk_hover.png);
				}
			}
			
			&.tw {
				background-image: url(../images/twitter.png);
				
				&:hover {
					background-image: url(../images/twitter_hover.png);
				}
			}
			
			&.fb {
				background-image: url(../images/fb.png);
				
				&:hover {
					background-image: url(../images/fb_hover.png);
				}
			}
		}
	}
}

.arrows {
	width: 100%;
	height: 68px;
	background: url(../images/arrows.png) no-repeat right top;
	margin-top: 20px;
}

.show-records {
	width: 100%;
	height: 42px;
	background: url(../images/record.png) no-repeat right top;
	margin-top: 20px;
	cursor: pointer;
	.transition();
	
	&:hover {
		background: url(../images/record_hover.png) no-repeat right top;
	}
}

.retry {
	width: 100%;
	height: 42px;
	background: url(../images/retry.png) no-repeat right top;
	margin-top: 20px;
	cursor: pointer;
	.transition();
	
	&:hover {
		background: url(../images/retry_hover.png) no-repeat right top;
	}
}