html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

.js body {
	overflow: hidden;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
/*	height: 100%; */
}

.bb-bookblock {
	height: 1000px;
}

.container {
	position: relative;
	padding:0;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	font-family: 'Exo';
	background: #222;
	width: 240px;
	height: 100%;
	overflow: scroll;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
;font-weight:600;}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    color: #EBCF8F;
    font-size: 30px;
    font-weight: normal;
    margin: 10px 0;
    padding: 10px 20px;
}

.menu-toc {
	list-style: none;
}

.menu-toc li a {
	display: block;
	color: #999;
	font-size: 15px;
	line-height: 50px;
	padding: 0 15px;
	cursor: pointer;
	background: #222;
	border-bottom: 1px solid #444;
	text-transform:uppercase
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #444;
	color:#fff
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
    left: 60px;
    position: absolute;
    top: 13px;
    z-index: 1000;
}

.bb-custom-wrapper nav span{
	font-family: 'Lato',Calibri,'Open Sans',sans-serif;
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	color: #fff;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}



.menu-button {
	position: absolute;
	width: 55px;
	height: 60px;
	top: 0;
	left: 0;
	background-color: #444;
	color: #fff;
	line-height: 60px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #666;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}

.menu-button {
    height: 60px;
    left: 0;
    text-indent: -9000px;
    top: 0;
    width: 50px;
    z-index: 1000;
}

.menu-button img {
    bottom: 0;
    height: 15px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    z-index: 999999;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	bottom: 0;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
    margin: 20px auto 0;
    max-width: 970px;
    padding:0;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	/*background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);*/
}

.js .content:after {
	top: auto;
	bottom: 0;
	/*background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);*/
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}