/* LESS VARIABLES */
.border-radius (@radius: 5px) {
	border-radius: @radius;
  	-webkit-border-radius: @radius;
  	-moz-border-radius: @radius;
}
.box-sizing (@type: border-box) {
	-webkit-box-sizing: @type;
	-moz-box-sizing:    @type;
	box-sizing:         @type;
}

#preloader {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: #fff;
	z-index: 100000;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
	
	.spinner {
		display: none;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -25px 0 0 -25px;
		width: 50px;
		height: 50px;
		background: rgba(0,0,0, 0.9) url(../images/loading.gif) no-repeat center center;
		.border-radius(40px);
	}
}

* {
	padding: 0;
	margin: 0;
}

td {
	vertical-align: top;
}

.clr {
	clear: both;
}

body {
	background-color: #000;
}
#wrapper {
	width: 1024px;
	margin: 0 auto;
	padding: 0 100px;
	position: relative;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	
	a {
		color: inherit;
	}
	
	.lead {
		position: absolute;
		margin: -120px 0 0 110px;
		font: 20px/25px Octava;
		text-align: center;
		width: 320px;
		
		.yellow {
			color: #f5ca1d;
			font: italic 26px/30px Octava;
		}
	}
	.descr {
		width: 290px;
		text-align: center;
		font: 20px/25px Octava;
		margin: 100px 0 0 630px;
		a {
			color: #f5ca1d;
		}
	}
	.buttons {
		background: url(../images/palka.jpg) no-repeat center top;
		height: 70px;
		
		div {
			width: 72px;
			height: 70px;
			float: left;
			cursor: pointer;
		}
		.button-a {
			background: url(../images/1.png);
			margin-left: 355px;
			&.active {
				background: url(../images/1__.png);
			}
			&:hover {
				background: url(../images/1_.png);
			}
			&:active {
				margin-top: 1px;
			}
		}
		.button-b {
			background: url(../images/2.png);
			margin-left: 50px;
			&.active {
				background: url(../images/2__.png);
			}
			&:hover {
				background: url(../images/2_.png);
			}
			&:active {
				margin-top: 1px;
			}
		}
		.button-c {
			background: url(../images/3.png);
			margin-left: 50px;
			&.active {
				background: url(../images/3__.png);
			}
			&:hover {
				background: url(../images/3_.png);
			}
			&:active {
				margin-top: 1px;
			}
		}
	}
}

.generator {
	z-index: 100;
	width: 1024px;
	height: 800px;
	
	.objects {
		position: relative;
		width: 700px;
		height: 380px;
		
		.object {
			position: absolute;
			z-index: 100;
			cursor: move;
		}
	}
}