@font-face {
    font-family: 'FFDINBold';
    src: url('fonts/ffdinbold-webfont.eot');
    src: url('fonts/ffdinbold-webfont.eot') format('embedded-opentype'),
         url('fonts/ffdinbold-webfont.woff') format('woff'),
         url('fonts/ffdinbold-webfont.ttf') format('truetype'),
         url('fonts/ffdinbold-webfont.svg#FFDINBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CharterOSCRegular';
    src: url('fonts/charterosc-webfont.eot');
    src: url('fonts/charterosc-webfont.eot') format('embedded-opentype'),
         url('fonts/charterosc-webfont.woff') format('woff'),
         url('fonts/charterosc-webfont.ttf') format('truetype'),
         url('fonts/charterosc-webfont.svg#CharterOSCRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CharterOSCItalic';
    src: url('fonts/charterosc-italic-webfont.eot');
    src: url('fonts/charterosc-italic-webfont.eot') format('embedded-opentype'),
         url('fonts/charterosc-italic-webfont.woff') format('woff'),
         url('fonts/charterosc-italic-webfont.ttf') format('truetype'),
         url('fonts/charterosc-italic-webfont.svg#CharterOSCItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CirceRegular';
    src: url('fonts/circe-light-webfont.eot');
    src: url('fonts/circe-light-webfont.eot') format('embedded-opentype'),
         url('fonts/circe-light-webfont.woff') format('woff'),
         url('fonts/circe-light-webfont.ttf') format('truetype'),
         url('fonts/circe-light-webfont.svg#CirceRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CirceRegular';
    src: url('fonts/circe-regular-webfont.eot');
    src: url('fonts/circe-regular-webfont.eot') format('embedded-opentype'),
         url('fonts/circe-regular-webfont.woff') format('woff'),
         url('fonts/circe-regular-webfont.ttf') format('truetype'),
         url('fonts/circe-regular-webfont.svg#CirceRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'LineaturaLight';
    src: url('fonts/lineatura_light-webfont.eot');
    src: url('fonts/lineatura_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/lineatura_light-webfont.woff') format('woff'),
         url('fonts/lineatura_light-webfont.ttf') format('truetype'),
         url('fonts/lineatura_light-webfont.svg#LineaturaLight') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'NonameGroteskHanddrawnv4Rg';
    src: url('fonts/nonamegroteskhanddrawnv4-webfont.eot');
    src: url('fonts/nonamegroteskhanddrawnv4-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/nonamegroteskhanddrawnv4-webfont.woff') format('woff'),
         url('fonts/nonamegroteskhanddrawnv4-webfont.ttf') format('truetype'),
         url('fonts/nonamegroteskhanddrawnv4-webfont.svg#NonameGroteskHanddrawnv4Rg') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* LESS VARIABLES */
.rounded-corners (@radius: 5px) {
	border-radius: @radius;
  	-webkit-border-radius: @radius;
  	-moz-border-radius: @radius;
}
@colorblue: '#3953A4';

/* ############## */


* {
	padding: 0;
	margin: 0;
}
body {
	font-family: CharterRegular;
	font-size: 14px;
}
#wrapper {
	width: 1130px;
	padding: 0px 30px 0 10px;
	margin: 50px auto;
}
#wrapper > .menu {
	position: fixed;
	width: 250px;
	
	.arrow-right {
		padding-left: 20px;
		background: url(../images/ui/menu-arrow-right.png) no-repeat left center; 
	}
	.chzn-container {
		margin: 0 0 15px 20px;
	}
	a.item {
		display: block;
		font-size: 14px;
		color: #3953A4;
		margin-bottom: 14px;
	}
	select {
		width: 200px !important;
	}
}
#wrapper > .page {
	width: 800px;
	margin-left: 330px;
	
	
	.box {
		float: left;
		width: 796px;
		border: 2px solid #3953A4;
		height: 270px;
	}
	.tabs {
		font-size: 13px;
		z-index: 1;
		
		.item {
			display: block;
			text-decoration: none;
			width: 75px;
			height: 20px;
			background: #fff;
			text-align: center;
			border: 1px solid #3953A4;
			margin-bottom: 10px;
			cursor: pointer;
			span {
				color: #3953A4;
				line-height: 18px;
				letter-spacing: 1px;
			}
		}
		.w120 {
			width: 120px !important;
			
			.shadow {
				width: 120px !important;
			}
		}
		.arr-down {
			.arrow {
				display: none;
				position: absolute;
				margin: 21px 0 0 44% !important;
				width: 9px !important;
				height: 14px !important;
				background: url(../images/ui/tabs-arrow-down.png) !important;
			}
		}
		.active {
			background: #3953A4;
			border: 1px solid #fff;
			 
			span {
				color: #fff;
			}
			.shadow {
				position: absolute;
				width: 75px;
				height: 20px;
				background: #3953A4;
				z-index: -1;
				margin: 2px 0 0 2px;
				
				.arrow {
					display: block;
				}
			}
		}
		.shadow {
			position: absolute;
			width: 75px;
			height: 20px;
			background: #fff;
			z-index: -1;
			margin: 2px 0 0 2px;
			border: 1px solid #3953A4;
			
			.arrow {
				display: none;
				position: absolute;
				margin: 4px 0 0 76px;
				width: 14px;
				height: 9px;
				background: url(../images/ui/tabs-arrow-right.png);
			}
		}
		.item:active {
			position: relative;
			top: 3px;
			left: 3px;
			border: 1px solid #3953A4;
			.shadow {
				display: none;
			}
		}
	}
	
	/* BOX TYPE */
	.box-news {
		.tabs {
			position: absolute;
			margin: 29px 0 0 -65px;
		}
		.news, .events {
			list-style: none;
			margin-top: 30px;
			li {
				float: left;
				width: 145px;
				height: 200px;
				margin: 0 50px 0 0;
				
				img {
					width: 100px;
					height: 100px;
				}
				p {
					font-size: 13px;
					line-height: 16px;
					text-decoration: underline;
					color: #3953A4;
					margin-top: 5px;
				}
			}
		}
		.tab-events {
			display: none;
		}
	}
	.box-publish {
		.tabs {
			position: absolute;
			margin: 259px 0 0 25px;
			.item {
				float: left;
				margin-right: 25px;
			}
		}
		.col {
			float: left;
			&.logo { width: 400px; margin-right: 30px;}
			&.desc { width: 365px;}
		}
		h1 {
			font-size: 40px;
			line-height: 40px;
			color: #D2232A;
			font-weight: normal;
			margin: 20px 0 0 25px;
		}
		.container {
			margin: 20px 0 0 25px;
			width: 400px;
			height: 160px;
			overflow: hidden;
		}
		img {
			max-width: 400px;
		}
		.desc {
			p {
				font-size: 13px;
				padding: 20px 10px 0 0;
				line-height: 15px;
			}
		}
	}
	
	.shelf {
		float: left;
		width: 800px;
		margin-top: 50px;
		
		.book {
			float: left;
			width: 175px;
			height: 380px;
			margin: 0 25px 25px 0;
			overflow: hidden;
			
			p {
				text-align: center;
			}
			a {
				text-decoration: none;
			}
			.non {
				img {
					width: auto !important;
					height: auto !important;
					margin: 0 !important;
				}
				.mask {
					display: none !important;
				}
			}
			.img {
				position: relative;
				width: 175px;
				height: 207px;
				overflow: hidden;
				
				img {
					width: 120px;
					height: 200px;
					margin-left: 21px;
				}
				.mask {
					position: absolute;
					top: 0;
					left: 0;
					width: 175px;
					height: 207px;
					background: url(../images/book-mask.png);
					z-index: 2;
				}
			}
			.name {
				font-size: 16px;
				margin-top: 12px;
				span {
					border-bottom: 1px solid #3953A4;
				}
			}
			.author {
				font-size: 14px;
				margin-top: 6px;
				font-style: italic;
				font-family: 'CharterOSCItalic';
			}
			.publish {
				font-size: 10px;
				text-transform: uppercase;
				margin-top: 4px;
				letter-spacing: 1px;
			}
			.back {
				display: none;
				position: absolute;
				width: 175px;
				height: 380px;
				background: #fff url(../images/book-back.png) no-repeat;
				z-index: 3;
				
				a {
					color: #3953A4;
					text-align: center;
					width: 100%;
					float: left;
				}
				.block {
					width: 100%;
					float: left;
					clear: both;
					overflow: hidden;
				}
				.header {height: 93px;}
				.body {height: 200px;}
				.footer {height: 45px;}
				.name {
					font-size: 13px;
					margin-top: 12px;
					color: #3953A4;
					padding: 0 10px;
					span {
						border-bottom: 1px solid #3953A4;
					}
				}
				.author {
					font-size: 12px;
					margin-top: 6px;
					font-style: italic;
					font-family: 'CharterOSCItalic';
					color: #3953A4;
				}
				.publish {
					font-size: 10px;
					text-transform: uppercase;
					margin-top: 4px;
					letter-spacing: 1px;
					color: #3953A4;
				}
				.description {
					font-size: 12px;
					text-align: left;
					width: auto;
					padding: 18px 13px 0 13px;
				}
				.full {
					font-size: 11px;
					margin-top: 6px;
					font-style: italic;
					font-family: 'CharterOSCItalic';
					cursor: pointer;
					text-decoration: underline;
				}
				.buy {
					margin-top: 13px;
					text-decoration: underline;
				}
			}
		}
	}
	
	.info {
		float: left;
		width: 800px;
		margin-top: 50px;
		font-size: 15px;
	}
	
	.book-full {
		.col {
			float: left;
			width: 275px;
			margin-top: 32px;
			
			&.cover {
				width: 315px;
				margin-right: 10px;	
				overflow: hidden;
			}
			&.description {
				width: 340px;
			}
		}
		.description {
			.name {
				font-size: 30px;
				span {
					border-bottom: 2px solid #000;
				}
			}
			.author {
				font-size: 26px;
				line-height: 31px;
				margin-top: 15px;
				font-style: italic;
				font-family: 'CharterOSCItalic';
			}
			.publish {
				font-size: 15px;
				line-height: 18px;
				text-transform: uppercase;
				margin-top: 15px;
				letter-spacing: 2px;
			}
			.review {
				font-size: 15px;
				line-height: 18px;
			}
			.dotted-line {
				width: 300px;
				height: 2px;
				border-bottom: 2px dotted #000;
				margin: 30px 0;
			}
			.critic {
				display: table;
				margin-bottom: 10px;
				margin-top: 20px;
				
				img {
					width: 60px;
					height: 60px;
					display: table-cell;
				}
				.critic-name {
					display: table-cell;
					vertical-align: middle;
					padding-left: 30px;
					font-size: 16px;
					span {
						font-family:CharterOSCItalic;
					}
				}
			}
			.buy {
				display: block;
				width: 219px;
				height: 46px;
				background: url(../images/buy.png);
			}
		}
		.cover-menu {
			margin: 35px 0 0 40px;
		}
	}
	
	.all-news {
		.tabs {
			.item {
				display: inline-block;
				margin-right: 25px;
			}
		}
		.block {
			padding: 25px 0;
			
			img {
				width: 180px;
				height: 180px;
				display: inline-block;
			}
			.title {
				font-family: CirceRegular;
				font-size: 12px;
				line-height: 16px;
				color: #3953A4;
				text-transform: uppercase;
			}
			.short {
				display: inline-block;
				width: 400px;
				vertical-align: top;
				padding-left: 20px;
			}
			p {
				padding-top: 20px;
				font-size: 14px;
				line-height: 17px;
			}
		}
		
	}
	.specific-news {
		float: left;
		margin-top: 30px;
		
		.title {
			font-size: 20px;
			line-height: 22px;
			margin-bottom: 10px;
		}
		p {
			font-size: 14px;
			line-height: 17px;
		}
	}
	
	.space {
		float: left;
		width: 100%;
		height: 100px;
	}
	a {
		color: #3953A4;
	}
	.ico-button {
		float: left;
		width: 100px;
		padding-top: 45px;
		text-align: center;
		
		&.ico-short {background: url(../images/ui/ico-short.png) no-repeat top center;}
		&.ico-roll {background: url(../images/ui/ico-roll.png) no-repeat top center;}
	}
}

.pss {
	float: left;
	.next {
		background: url(../images/arrow-next.png) no-repeat center center;
	}
	.prev {
		background: url(../images/arrow-prev.png) no-repeat center center;
	}
	.col-arrow {
		display: none;
		width: 70px;
		float: left;
		cursor: pointer;
	}
	.col-desc {
		float: left;
		margin-top: 15px;
		
		p {
			font-family: CharterOSCRegular;
			font-size: 12px;
			line-height: 14px;
		}
	}
	.counter {
		position: absolute;
		font-family: CharterOSCRegular;
		font-size: 12px;
		
	}
	.col-photo {
		margin-left: 50px;
		width: 745px;
		float: left;
		overflow: hidden;
		
		.container {
			
			ul {
				list-style: none;
				
				li {
					float: left;
					
					p {
						display: block;	
					}
				}
			}
		}
	}
}
.scrollbar{
	float:left;
	height:1px !important;
	background-color: #3953A4 !important;
	border:0px !important;
	font-size:0px !important;
	margin:20px 0px 0px 50px !important;
	padding:0px !important;
	
	.scroller{
		height:7px;
		margin-top:-3px;
		width:40px;
		background-color: #3953A4;
	}
}

.book-reader-text {
	display: none;
}

.book-reader {
	position: fixed;
	display: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 10000;
	
	.bg {
		position: absolute;
		background: rgba(0,0,0, 0.6);
		width: 100%;
		height: 100%;
		z-index: 1;
	}
	.container {
		position: relative;
		width: 100%;
		height: 100%;
		min-width: 600px;
		margin: 0 auto;
		overflow-y: auto;
	}
	.paper {
		position: relative;
		z-index: 2;
		width: 600px;
		margin: 50px auto;
		padding: 60px 50px;
		background: #fff;
		border-radius: 3px;
		box-shadow: 0px 3px 50px #444, inset 0px 0px 25px #eee;
		
		h2 {
			margin: 20px 0;
		}
		p {
			font-size: 18px;
			line-height: 23px;
		}
	}
	.close {
		display: none;
		position: fixed;
		width: 40px;
		height: 35px;
		background: url(../images/reader-close.png);
		left: 50%;
		margin: 100px 0 0 338px;
		z-index: 2;
		cursor: pointer;
	}
	.close:hover {
		margin-left: 345px;
	}
}

.book-preview {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 10000;
	
	.bg {
		position: absolute;
		background: rgba(0,0,0, 0.6);
		width: 100%;
		height: 100%;
		z-index: 1;
	}
	.container {
		position: relative;
		width: 100%;
		height: 100%;
	}
	.paper {
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -250px 0 0 -375px;
		width: 750px;
		height: 500px;
		background: #fff;
		border-radius: 3px;
		box-shadow: 0px 3px 50px #444, inset 0px 0px 25px #eee;
		z-index: 2;
		overflow: hidden;
		.image-roll {
			width: 750px;
			overflow: hidden;
		}
	}
	.close {
		position: absolute;
		width: 40px;
		height: 35px;
		background: url(../images/reader-close.png);
		left: 50%;
		top: 50%;
		margin: -180px 0 0 368px;
		z-index: 2;
		cursor: pointer;
	}
	.close:hover {
		margin-left: 375px;
	}
	
}



/*ABOUT-WOS-TAB*/
.tab .about {
	padding: 25px 40px;
	
	td {
		width: 210px;
		vertical-align: top;
		padding-left: 50px;
	}
	.what {
		text-align: center;
		padding: 0;
		width: 170px;
		font: 18px/22px 'CharterOSCRegular';
		letter-spacing: 1px;
		
		.wos-big {
			font: 30px/38px 'NonameGroteskHanddrawnv4Rg';
			letter-spacing: 3px;
		}
		span {
			font: 18px/22px 'NonameGroteskHanddrawnv4Rg';
		}
	}
	.blue {
		color: #007eff;
		font: 16px/20px 'NonameGroteskHanddrawnv4Rg';
		p {
			padding-bottom: 15px;
		}
	}
}

/*CONTACTS-WOS-TAB*/
.tab .contacts {
	padding: 20px 30px;
	
	td {
		width: 210px;
		padding-left: 30px;
		font: 18px/22px 'NonameGroteskHanddrawnv4Rg';
		text-align: center;
		
		span {
			font: 18px/22px 'CharterOSCRegular';
		}
	}
	.border {
		border: 3px solid #000;
		padding: 10px 15px;
		font: 18px/22px 'NonameGroteskHanddrawnv4Rg';
		letter-spacing: 1px;
	}
	.wel {
		font: 16px/20px 'CharterOSCRegular';
	}	
}

.image-preloader {
	position: absolute;
	width: 1px;
	height: 1px;
	left: -9999px;
}