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


body {
	background: #f5f3f2;
}
#wrapper {
	width: 700px;
	margin: 50px auto;
}
h1 {
	font-family: Futura;
	font-size: 70px;
	line-height: 60px;
	font-weight: normal;
}
.caption {
	text-align: center;
	font-family: Futura;
	font-size: 17px;
	text-transform: uppercase;
}
.dashed {
	text-align: center;
	margin: 30px 0;
	
	i {
		width: 460px;
		height: 1px;
		display: inline-block;
		border-bottom: 2px dotted #000;
	}
}
.zahod {
	width: 465px;
	position: relative;
	margin: 0 auto;
	height:327px;
	background: url(../images/top.png) no-repeat center top;
	z-index: 2;
	font-family: Futura;
	font-size: 20px;
	line-height: 25px;
	padding: 360px 30px 0 30px;
}
.logos {
	position: absolute;
	width: 254px;
	height: 195px;
	background: url(../images/logos.png);
	cursor: pointer;
	right: 0px;
}
.flip-book {
	position: absolute;
	top: 0px;
	top: 200px;
	z-index: 1;
	
	.book {
		position:absolute;
		width: 180px;
		height: 100px;
		box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
		
		top: 0px;
		left: 0px;
		.page {
			position: absolute;
			width: 50%;
			height: 100%;
			
			&.l {
				left: 0px;
			}
			&.r {
				right: 0px;
			}
			&.flip {
				z-index: 1;
				right: 0px;
			}
		}
	}
}
.lead {
	font-family: Futura;
	font-size: 22px;
	line-height: 26px;
}
h2 {
	font-family: Futura;
	font-size: 40px;
	font-weight: normal;
}

.action, span {
	font-family: futura;
	font-size: 14px;
	line-height: 18px;
	
	text-align: right;
	
	.red {
		color: #f00;
	}
}
.social-share {
	left: 10px;
}
.anketa {
	padding: 20px 20px 20px 20px;
	margin-top: 50px;
	background: #fff;
	
	table {
		border-collapse: collapse;
		border: none;
		
		td {
			vertical-align: top;
		}
	}
	.dashed {
		margin: 40px 0;
		
		i {
			width: 100%;
			border-bottom-width: 1px;
		}
	}
	
	.input {
		position: relative;
		height: 27px;
		margin-bottom: 25px;
		
		.line {
			position: absolute;
			width: 100%;
			height: 1px;
			bottom: 0px;
			background: #f00;
		}
		input {
			border: none;
			font-family: futura;
			font-family: Octava;
			font-size: 16px;
			line-height: 21px;
			width: 390px;
		}
		input:focus {
			outline: none;
		}
	}
	
	.option {
		width: 40px;
		height: 86px;
		
		.item {
			height: 43px;
			cursor: pointer;
			
			&.m { 
				background: url(../images/m.png) no-repeat;
			}
			&.m.active { 
				background: url(../images/m_hover.png) no-repeat;
			}
			&.w { 
				background: url(../images/w.png) no-repeat;
			}
			&.w.active { 
				background: url(../images/w_hover.png) no-repeat;
			}
			
		}
	}
	
	.vertical-dashed {
		position: absolute;
		margin: -32px 0 0 43px;
		width: 1px;
		height: 165px;
		border-left: 1px dotted #000;
	}
	
	.upload {
		width: 181px;
		height: 117px;
		background: url(../images/upload.png) no-repeat center center;
		cursor: pointer;
		
		.qq-upload-button {
			width: 181px;
			height: 117px;
		}
		.qq-upload-list {
			display: none;
		}
	}
	.photo {
		display: none;
		width: 180px;
		
		img {
			width: 100%;
		}
	}
	
	.find {
		width: 224px;
		height: 88px;
		cursor: pointer;
		background: url(../images/button.png) no-repeat center center;
		&:hover {background: url(../images/button_hover.png) no-repeat center center;}
	}
	
	.map {
		width: 650px;
		height: 306px;
		background: url(../images/map.png) no-repeat center center;
		margin: 50px 0;
	}
}

.popup {
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 10;
	background: rgba(38,169,224,0.7);
	
	.window {
		position: absolute;
		left: 50%;
		top: 50%;
		margin: -269px 0 0 -417px;
		width: 835px;
		height: 458px;
		background: url(../images/otvet.png) no-repeat;
		
		.photo {
			position: absolute;
			top: 96px;
			left: 24px;
			width: 280px;
			height: 300px;
			
			img {
				width: 100%;
			}
		}
		.books {
			position: absolute;
			top: 144px;
			left: 355px;
			width: 400px;
			height: 120px;
			text-align: center;
			
			.action {
				padding:0 10px
			}
		}
		.contacts {
			position: absolute;
			top: 336px;
			left: 355px;
			width: 400px;
			height: 60px;
			text-align: center;
		}
		.name {
			position: absolute;
			top: 22px;
			left: 225px;
			width: 540px;
			height: 33px;
			font-size: 25px;
			line-height: 33px;
			font-family: Octava;
			color: #ed2146;
			text-align: left;
		}
		.close {
			display: none;
			position: absolute;
			width: 30px;
			height: 30px;
			right: 10px;
			top: 10px;
			cursor: pointer;
			opacity: 0.8;
			background: url(../images/close.png) no-repeat center center;
		}
		.close:hover {
			opacity: 1;
		}
	}
	.retry {
		width: 835px;
		height: 49px;
		background: url(../images/more.png);
		cursor: pointer;
		position: absolute;
		bottom: -60px;
		
		&:hover {background: url(../images/more_hover.png);}
	}
}

.block-comments {
	background: #fff !important;
	
	.shadow-up {
		display: none;
	}
	>.container {
		background: #ff9b9c !important;
		text-align:center !important;
		color: #fff !important;
	}
	.comments-count {
		font-family: Futura !important;
	}
}


.autocomplete-w1 {position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
.autocomplete { border:1px solid #f00; border-top:none; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; font-family: Octava;
}
.autocomplete .selected { background:#F0F0F0; }
.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
.autocomplete strong { font-weight:normal; color:#f00; }