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

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

.transition( @target: all, @duration: 400ms, @type: ease, @delay: 0s ) {
	-webkit-transition: @target @duration @type @delay;
	-moz-transition: @target @duration @type @delay;
	-ms-transition: @target @duration @type @delay;
	-o-transition: @target @duration @type @delay;
	transition: @target @duration @type @delay;
}

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

.contain {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.rotate( @value: 0deg ) {
	-webkit-transform: rotate( @value );
	-moz-transform: rotate( @value );
	-ms-transform: rotate( @value );
	-o-transform: rotate( @value );
	transform: rotate( @value );
}

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

html, body {
}

/*================================*/

.page {
	.container {
		position: relative;
		margin: 0 auto;
	}
	
	.start {
		background-color: #EBEBEB;
		padding-top: 50px;
		padding-bottom: 100px;
		
		.container {
			width: 599px;
			height: 644px;
			background-image: url(../images/header.png);
		}
	}
	
	.action {
		background-color: #0A0A0A;
	
		.container {
			width: 1020px;
		}
		
		.ws {
			position: relative;
			width: 100%;
			height: 600px;
			
			.help {
				font-family: 'trivia-serif';
				font-size: 12px;
				line-height: 15px;
				color: #ffffff;
				position: absolute;
				width: 150px;
				right: 20px;
				top: 70px;
				text-align: center;
			}
			
			.object {
				position: absolute;
				cursor: move;
				z-index: 2;
				top: 0;
				left: 0;
				/*left: -15px;
				top: -20px;*/
			}
		
			.egg {
				position: absolute;
				width: 389px;
				height: 464px;
				left: (1020px - 390px) / 2;
				background-size: 100% 100%;
				background-repeat: no-repeat;
				top: 80px;
			}
			
			.sa {
				position: absolute;
				right: 26px;
				top: 380px;
				width: 138px;
				height: 70px;
				background-image: url(../images/sa.png);
				cursor: pointer;
				opacity: 0.8;
				z-index: 2000;
				
				&:hover {
					opacity: 1;
				}
			}
			
			.sh {
				position: absolute;
				right: 20px;
				top: 200px;
				width: 150px;
				z-index: 2000;
			
				.social {
					width: 100%;
					height: 45px;
					background-image: url(../images/btnShare.png);
					margin-bottom: 10px;
					cursor: pointer;
				
					&.fb {
						background-position: 0px 0px;
						
						&:hover {
							background-position: 0px -46px;
						}
					}
					
					&.vk {
						background-position: -330px 0px;
						
						&:hover {
							background-position: -330px -46px;
						}
					}
					
					&.tw {
						background-position: -165px 0px;
						
						&:hover {
							background-position: -165px -46px;
						}
					}
				}
			}
			
			.arr {
				position: absolute;
				top: 300px;
				width: 45px;
				height: 32px;
				cursor: pointer;
				opacity: 0.8;
				z-index: 2000;
				
				&:hover {
					opacity: 1;
				}
			
				&--left {
					left: 230px;
					background-image: url(../images/ar.png);
				}
				
				&--right {
					left: 740px;
					background-image: url(../images/al.png);
				}
			}
		}
	}
}