/* 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: 23px;
	line-height: 28px;
	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: 760px;
	margin: 0 auto;
	left: -100px;
	height: 700px;
	
	h1 {
		display: inline-block;
		font-weight: normal;
		font-size: 50px;
		border-bottom: 2px solid #000;
		padding-top: 20px;
	}
	.lead {
		position: absolute;
		width: 220px;
		top: 100px;
	}
	.text {
		position: absolute;
		width: 450px;
		font-size: 14px;
		line-height: 17px;
		top: 100px;
		left: 275px;
	}
	
	.controls {
		position: absolute;
		width: 100%;
		top: 300px;
		
		>.label {
			position: absolute;
			
			&.l1 {
				width: 150px;
			}
			&.l2 {
				width: 400px;
				left: 260px;
			}
		}
		
		.sex {
			position: absolute;
			top: 80px;
			
			i {
				display: inline-block;
				font-style: normal;
				.border-radius(100px);
				border: 2px solid #000;
				width: 48px;
				height: 48px;
				line-height: 48px;
				text-align: center;
				margin-right: 10px;
				cursor: pointer;
				
				&.active {
					color: #fff;
					border-color: #fff;
					cursor: default;
				}
			}
		}
		
		.slider {
			position: absolute;
			left: 260px;
			top: 60px;
			width: 480px;
			background: url(../images/slider-bg.png) no-repeat 0px 39px;
			
			.label {
				font-size: 12px;
				float: left;
				
				&.fr {
					float: right;
				}
			}
			.count {
				position: absolute;
				display: inline-block;
				font-size: 30px;
				left: 40px;
				top: 65px;
				width: 130px;
			}
			.ui {
				margin-top: 35px;
				width: 460px;
				height: 21px;
			
				.ui-slider-handle {
					height: 21px !important;
					width: 21px !important;
					.border-radius(100px);
					background: #fff;
					margin: 7px 0 0 0px !important;
					cursor: pointer;
				}
				.ui-slider-range {
					background: #000;
					height: 3px;
					margin-top: 9px;
				}
			}
		}
		
		.action {
			display: inline-block;
			border: 2px solid #fff;
			.border-radius(12px);
			padding: 15px 20px;
			cursor: pointer;
			text-align: center;
			color: #fff;
			font-size: 25px;
			position: absolute;
			top: 200px;
			left: 260px;
			
			&:hover {
				background: rgba(255,255,255,0.1);
			}
			&:active {
				top: 201px;
			}
		}
	}
}

.final {
	display: none;
	p {
		text-align: center;
		font-size: 25px;
		line-height: 30px;
		width: 700px;
		margin: 0 auto;
	}
	.photo {
		width: 1000px;
		height: 420px;
		background: #fff;
		margin: 40px auto 20px;
	}
	.restart {
		display: inline-block;
		border: 2px solid #fff;
		.border-radius(12px);
		padding: 15px 20px;
		cursor: pointer;
		text-align: center;
		color: #fff;
		font-size: 25px;
		float: right;
		margin-right: 120px;
		
		&:hover {
			background: rgba(255,255,255,0.1);
		}
		&:active {
			top: 201px;
		}
	}
	
	.action-shares {
		float: left;
		.box-sizing;
		width: 540px;
		margin-left: 120px;
		
		.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; }