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

.bb-custom-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

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

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	background: #ede2c6;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.bb-custom-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
	background: #fff;
}

.bb-custom-firstpage h1 span {
	display: block;
	font-size: 60%;
	opacity: 0.3;
	padding: 0 0 0.6em 0.1em;
}

.bb-custom-firstpage {
	text-align: center;
	padding-top: 15%;
	width: 50%;
	float: left;
	height: 100%;
}

.bb-custom-side p {
	padding: 8%;
	font-size: 1.8em;
	font-weight: 300;
}

.bb-custom-wrapper h3 {
	font-size: 1.4em;
	font-weight: 300;
	margin: 0.4em 0 1em;
}

.bb-custom-wrapper > nav {
    width: 60%;
    height: 40px;
    margin: 0em auto 0;
    position: fixed;
    bottom: 42px;
    right: 20.5%;
    z-index: 1000;
    text-align: right;
}

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

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

.bb-custom-icon:before {
	font-family: 'arrows';
	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,
.bb-custom-icon-last:before {
	content: "\e002";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
	content: "\e003";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

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

.binding {
    width: 62px;
    height: 94%;
    position: absolute;
    margin: 0 auto;
    right: 0;
    top: 11px;
    left: 0;
    background-image: url(images/binding.png);
    z-index: 999 !important;
    display: block !important;
}


@media screen and (min-width: 1536px) and (max-width: 1760px)
{
	.bb-custom-wrapper {
    width: 80%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.bb-custom-wrapper > nav {
    width: 19%;
    height: 40px;
    margin: 0em auto 0;
    position: fixed;
    bottom: 18px;
    right: 23.5%;
    z-index: 1000;
    text-align: right;
}

.story-wrap .content-wrap {
    width: 100%;
    display: table-cell;
    padding: 80px 0px;
}
}



@media screen and (min-width: 1280px) and (max-width: 1536px)
{
	.bb-custom-wrapper {
    width: 68%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.bb-custom-wrapper > nav {
    width: 19%;
    height: 30px;
    margin: 0em auto 0;
    position: fixed;
    bottom: 18px;
    right: 23.5%;
    z-index: 1000;
    text-align: right;
}

.story-wrap .content-wrap {
    width: 100%;
    display: table-cell;
    padding: 65px 0px;
}
.bb-custom-icon:before {
    font-family: 'arrows';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 20px;
    line-height: 30px;
    display: block;
    -webkit-font-smoothing: antialiased;
}

.bb-custom-wrapper > nav a {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 2px;
    background: #000000;
    color: #f4cd92;
    font-size: 0;
    margin: 2px;
}
footer p {
    color: #f4cd92;
    font-size: 11px;
    letter-spacing: 1px;
}
}


@media screen and (max-width: 767px) 
{
section.story-wrap.open .inner-wrapper .preview-page.story-txt {

     padding-left: 5px; 
     height: 80vh; 
     width: 100%; 
 
}

.story-wrap .content-wrap {
    width: 100%;
    display: table-cell;
    padding: 100px 0px;
}

.bb-custom-side {
    width: 100%;
     float: none; 
    height: 100%;
}

.bb-custom-wrapper > nav {
    width: 60%;
    height: 60px;
    margin: 0em auto 0;
    position: absolute;
    bottom: -113%;
    right: 20.5%;
    z-index: 1000 !important;
    text-align: center;
    overflow: visible;
}

.bb-custom-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: auto;
}

}


@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation:portrait)
{
	.bb-custom-wrapper {
    width: 100%;
    height: 66%;
    position: relative;
    overflow: hidden;
}

.bb-custom-wrapper > nav {
    width: 60%;
    height: 40px;
    margin: 0em auto 0;
    position: fixed;
    bottom: 32%;
    left: 4.5%;
    z-index: 1000;
    text-align: right;
    right: 38%;
}
}


@media screen and (min-width: 768px) and (max-width: 1280px) and (orientation: landscape)
{
	.bb-custom-wrapper {
    width: 84%;
    height: 84%;
    position: relative;
    overflow: hidden;
}
}