@import url('normalize.css');
/* General Demo Style */

#ad-1 {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
body {
	/*font-family: 'Open Sans Condensed', 'Arial Narrow', serif;
	background: #ddd url(../../book/images/bg.jpg) repeat top left;
	font-weight: 400;
	font-size: 15px;
	color: #333;*/
	-webkit-font-smoothing: antialiased;
	overflow-y: hidden;
	overflow-x: hidden;
	background: #0000cc;
	margin-top: 5px;
}
a, a:hover, a:active, a:focus {
	color: #555;
	text-decoration: none;
	outline: none;
}
.container {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
}
.clr {
	clear: both;
	padding: 0;
	height: 0;
	margin: 0;
}
.main {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
/*.container > header{
	margin: 10px;
	padding: 20px 10px 10px 10px;
	position: relative;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: center;
}
.container > header h1{
	font-size: 36px;
	line-height: 36px;
	margin: 0;
	position: relative;
	font-weight: 300;
	color: #666;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
}
.container > header h2{
	font-size: 14px;
	font-weight: 300;
	margin: 0;
	padding: 15px 0 5px 0;
	color: #888;
	font-family: Cambria, Georgia, serif;
	font-style: italic;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
}*/
.codrops-top {
	line-height: 24px;
	font-size: 11px;
	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	font-family: Cambria, Georgia, serif;
	box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.codrops-top a {
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #333;
	display: inline-block;
}
.codrops-top a:hover {
	background: rgba(255,255,255,0.6);
}
.codrops-top span.right {
	float: right;
}
.codrops-top span.right a {
	float: left;
	display: block;
}
/* Demo Buttons Style */
.codrops-demos {
	text-align: center;
	display: block;
	line-height: 30px;
	padding: 5px 0px;
}
.codrops-demos a {
	display: inline-block;
	margin: 0px 4px;
	padding: 0px 6px;
	color: #aaa;
	line-height: 20px;
	font-size: 13px;
	text-shadow: 1px 1px 1px #fff;
	border: 1px solid #fff;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(47%, #f6f6f6), color-stop(100%, #ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 ); /* IE6-9 */
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.codrops-demos a:hover {
	color: #333;
	background: #fff;
}
.codrops-demos a:active {
	background: #fff;
}
.codrops-demos a.current-demo, .codrops-demos a.current-demo:hover {
	background: #f0f0f0;
	border-color: #d9d9d9;
	color: #aaa;
	box-shadow: 0 1px 1px rgba(255,255,255,0.7);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#f6f6f6', GradientType=0 ); /* IE6-9 */
}
.support-note span {
	color: #ac375d;
	font-size: 16px;
	display: none;
	font-weight: bold;
	text-align: center;
	padding: 5px 0;
}
.no-cssanimations .support-note span.no-cssanimations, .no-csstransforms .support-note span.no-csstransforms, .no-csstransforms3d .support-note span.no-csstransforms3d, .no-csstransitions .support-note span.no-csstransitions {
	display: block;
}

/* Content Flip Style */
.bb-bookblock {
	width: 842px;
	height: 515px;
	position: relative;
	background: #fff;
	z-index: 100;
}

.bb-page {
	width: 50%;
	height: 100%;
	left: 50%;
	position: absolute;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
}

.bb-page > div,
.bb-outer,
.bb-content {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
}

.bb-content {
	background: #fff;
}

.bb-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.bb-overlay, .bb-outer {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-page > div {
	width: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

.bb-outer {
	width: 100%;
	overflow: hidden;
	z-index: 999;
}

.bb-overlay, 
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.2);
}

.bb-bookblock > div.bb-page:first-child,
.bb-bookblock > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.bb-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.bb-custom-wrapper {
	/*background: #fff;*/
	width: 842px;
	height: 515px;
	position: relative;
	margin: 0px auto;
	/*box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);*/
	/*border-radius: 0 0 5px 5px;*/
}

.bb-custom-wrapper:before, 
.bb-custom-wrapper:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	/*background: #fff;*/
	left: 0;
	/*box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 5px 5px;*/
}

.bb-custom-wrapper:before {
	top: 6px;
	z-index: -2;
	/*box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);*/
}

.bb-custom-wrapper:after {
	top: 3px;
	z-index: -1;
}

/*.bb-bookblock {
	box-shadow: 0px 5px 0 rgba(0, 0, 0, 0.1);
}*/

.bb-custom-wrapper h3 {
	color: #aaa;
	font-size: 12px;
	line-height: 16px;
	position: absolute;
	left: 10px;
	bottom: -3px;
}
.container .main #bottom {
	height: auto;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	width: 842px;
}
#bottom #under_ad  {
	float: left;
	width: 480px;
	margin: 10px 0px 0px;
	padding: 0px;
	text-align: left;
}
/*.bb-custom-wrapper nav {
	width: 500px;
	margin: 8px 0px 0 0;
	float: right;
	z-index: 0;
	text-align: right;
}*/
.container .main #bottom nav {
	text-align: right;
	padding-right: 0px;
	width: 300px;
	float: right;
	margin-top: 15px;
}

/*.bb-custom-wrapper nav a {
	float: left;
	width: 30px;
	height: 30px;
	background: url(images/nav_small.png) center right;
	text-indent: -90000px;
	opacity: 0.8;
}

.bb-custom-wrapper nav a:hover {
	opacity: 1;
}*/
.bb-custom-wrapper nav a#bb-nav-first {
	background-position: center left;
	height: 52px;
	width: 72px;
	display: block;
}
*.bb-custom-wrapper nav a#bb-nav-prev {
	background-position: center left;
	margin-right: 50px;
}
.bb-custom-wrapper nav a#bb-nav-next {
	background-position: -43px 50%;
}

.bb-custom-wrapper nav a#bb-nav-jump {
	background-position: center right;
	float: right;
}
.container .main #bottom nav #bb-nav-prev img {
	margin-right: 20px;
}
.container .main #bottom nav #bb-nav-top img {
	margin-right: 20px;
}
