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

* {
	padding: 0;
	margin: 0;
}

td {
	vertical-align: top;
}

.clearFix {
	clear: both;
}

body {
	background: #fff;
	.fPR;
	font-size: 21px;
	line-height: 27px;
	background-image: url(../images/bg.jpg);
	background-size: cover;
	background-attachment: fixed;
}

#wrapper {
	width: 1240px;
	margin: 30px auto;
}

input:focus {
	outline: none;
}

.fPT {
	font-family: ProximaNovaT-Thin;
}
.fPR {
	font-family: ProximaNova-Regular;
}
.fPB {
	font-family: ProximaNova-Extrabld;
	font-weight: normal;
}

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

.start {
	position: relative;
	width: 670px;
	margin: 0 auto;
	left: -59px;
	height: 500px;
	
	h1 {
		display: inline-block;
		font-weight: normal;
		font-size: 50px;
		width: 800px;
		height: 141px;
		text-indent: -9999px;
		background: url(../images/1.png) no-repeat;
		margin-left: -110px;
	}
	.lead {
		position: absolute;
		width: 220px;
		top: 180px;
		color: #fff;
	}
	.text {
		position: absolute;
		width: 350px;
		font-size: 14px;
		line-height: 17px;
		top: 180px;
		left: 275px;
		color: #fff;
	}
	
	.controls {
		position: absolute;
		width: 600px;
		top: 320px;
		height: 170px;
		border: 1px solid #ff0;
		
		>.label {
			position: absolute;
			font-size: 15px;
			color: #ff0;
			margin: 68px 0 0 30px;
		}
		
		.sex {
			position: absolute;
			top: 63px;
			left: 140px;
			
			i {
				display: inline-block;
				font-style: normal;
				font-size: 14px;
				.border-radius(100px);
				border: 1px solid #ff0;
				width: 38px;
				height: 38px;
				line-height: 38px;
				text-align: center;
				margin-right: 10px;
				cursor: pointer;
				color: #ff0;
				
				&.active {
					color: #000;
					background: #ff0;
					cursor: default;
				}
			}
		}
		
		.action {
			border-left: 1px solid #ff0;
			cursor: pointer;
			text-align: center;
			color: #ff0;
			font-size: 17px;
			line-height: 24px;
			text-transform: uppercase;
			position: absolute;
			top: 0px;
			right: 0px;
			width: 230px;
			height: 100%;
			background: url(../images/arrow.png) no-repeat center 132px;
			
			span {
				display: inline-block;
				margin-top: 57px;
			}
			&.disable {
				cursor: default;
				background: transparent;
				
				span {
					opacity: 0.35;
				}
			}
			&:hover:not(.disable) {
				background: rgba(255,255,255,0.1) url(../images/arrow.png) no-repeat center 122px;
			}
		}
	}
}

.final {
	display: none;
	background: #fff;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	overflow-y: auto;
	
	.container {
		position: relative;
		width: 1200px;
		margin: 0 auto;
	}
	p {
		font-size: 25px;
		line-height: 30px;
		float: left;
		position: relative;
		z-index: 2;
		padding-top: 15px;
		margin-left: 170px;
	}
	.photo {
		position: relative;
		width: 100%;
		height: 70%;
		z-index: 1;
		
		img {
			display: block;
			height: 80%;
			margin: 0 auto;
			max-height: 800px;
			max-width: 1200px;
		}
	}
	.restart {
		position: absolute;
		display: inline-block;
		color: #00f;
		border-bottom: 1px solid #00f;
		cursor: pointer;
		font-size: 16px;
		text-transform: uppercase;
		left: 40px;
		top: 19px;
		position: relative;
		z-index: 2;
	}
	.header {
		height: 70px;
	}
	.action-shares {
		float: right;
		.box-sizing;
		width: 576px;
		position: relative;
		z-index: 2;
		margin-top: 15px;
		
		.action-share-item {
			display: inline-block;
			cursor: pointer;
			width: 145px;
			height: 35px;

			&.vk {
				background-image: url( ../images/vk.png );
				
				&:hover {
					background-image: url( ../images/vk_hover.png );
				}
			}
			
			&.fb {
				background-image: url( ../images/fb.png );
				
				&:hover {
					background-image: url( ../images/fb_hover.png );
				}
			}
			
			&.tw {
				background-image: url( ../images/twitter.png );
				
				&:hover {
					background-image: url( ../images/twitter_hover.png );
				}
			}
		}
	}
}

.banner {
	position: absolute;
	right: -300px;
	width: 240px;
	height: 400px;
	background: #fff;
	
	p {
		position: absolute;
		font-size: 12px;
		bottom: -90px;
		text-align: center;
		width: 100%;
	}
}


/*! jQuery UI - v1.9.2 - 2012-12-05
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.slider.css
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
.ui-helper-clearfix:after { clear: both; }
.ui-helper-clearfix { zoom: 1; }
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }


/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle {outline:none; top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle {outline:none; left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }