@import url(http://fonts.googleapis.com/css?family=Arvo:400,700);

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 16px; padding: 0; margin: 0; height: 100%;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
	font-family: Arvo, Calibri, Arial, sans-serif;
	color: #777;
	background-color: #f8f8f8;
	overflow: hidden;
	text-align: center;
}

a {
	color: #1baede;
	text-decoration: none;
	outline: none;
}

a:hover,
a:active {
	color: #777;
	opacity: 0.6;
}

a img {
	border: none;
}




.bb-custom-wrapper {
	width: 141.4vh;
	height: 100%;
	position: relative;
	margin: 0 auto;
}
.bb-custom-wrapper:after {
	content: " ";
	position: absolute;
	top:0; right: 0;
	width:50%; height: 100%;
	box-shadow: 0px 0.5vh 2vh 0px rgba(0,0,0,0.2);
}

.bb-custom-wrapper .bb-bookblock {
	width: 100%;
	height: 100%;
	-webkit-perspective: 2000px;
	perspective: 2000px;
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100vh;
	overflow: hidden;
	position: relative;
	background: #fff;
}
.bb-custom-side img {
	position: absolute;
	top: 0;
	width: auto; height: 100vh;
}
.bb-custom-side img.pleft {
	right: 0;
}
.bb-custom-side img.pright {
	left: 0;
}

.bb-custom-firstpage {
	text-align: center;
	padding-top: 15%;
	width: 50%;
	float: left;
	height: 100vh;
	background-color: #fff;
	background: url(../../img/logo-200-e8e8e8.png) center center no-repeat;
}

.bb-custom-lastpage {
	text-align: center;
	float: left;
	width: 50%; height: 100%;
	background-color: #fff;
	position: relative;
}
.bb-custom-lastpage article {
	position: absolute; top: 40%; left: 50%;
	transform: translate(-50%,0%);
	font-size: 3em;
	line-height: 1.2em;
	font-family: 'Arvo', Calibri, Arial;
	color: #ddd;
}


/* CONTROL BUTTONS ------*/
.bb-custom-wrapper > nav {
	width: 100%;
	height: 40px;
	margin: 1em auto 0;
	position: fixed;
	bottom: 1vh;
	left: 0;
	z-index: 1000;
	text-align: center;
}

.bb-custom-wrapper > nav a {
	display: inline-block;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
	margin: 2px;
}

.bb-custom-wrapper > nav a:hover {
	opacity: 0.6;
}

.bb-custom-icon:before {
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 30px;
	line-height: 40px;
	display: block;
	-webkit-font-smoothing: antialiased;
}
.bb-custom-icon-first:before {
	content: "|<";
}
.bb-custom-icon-last:before {
	content: ">|";
}
.bb-custom-icon-arrow-left:before {
	content: "<";
}
.bb-custom-icon-arrow-right:before {
	content: ">";
}

/* CONTROL BUTTONS ------*/



/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 470px;
}

@media screen and (max-width: 61.75em){
	.bb-custom-side {
		font-size: 70%;
	}
}

@media screen and (max-width: 33em){
	.bb-custom-side {
		font-size: 60%;
	}
}