@font-face {
	font-family: 'arrows';
	src:url('../fonts/arrows/arrows.eot');
	src:url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
		url('../fonts/arrows/arrows.woff') format('woff'),
		url('../fonts/arrows/arrows.ttf') 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;
}
.bb-custom-wrapper .bb-bookblock {
	width: 100%;
	height: 100%;
   /* height:72vh;*/
	-webkit-perspective: 2000px;
	perspective: 2000px;    margin-bottom: 60px;
}
.bb-custom-side {
	width: 50%;
	/*float: left;*/
    float:right;
	height: 100%;
	overflow: hidden;
	background: #fff;
	/* 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: 100%;
	height: 40px;
	margin: 1em auto 0;
	/*position: fixed;*/
    position:relative;
	z-index: 1000;
	text-align: center;
        display: flex;
    align-items: center;
    justify-content: center;
}

.bb-custom-wrapper > nav a {
/*	display: inline-block;*/
    display:flex;
    align-items: center;
    justify-content: center;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 2px;
	background: #fff;
        border: 1px solid #5c5c5c;
	color: #fff;
	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;
}

.bb-custom-icon{position:relative;}

.bb-custom-icon-arrow-right .arrow,.bb-custom-icon-last .arrow {
  position: relative;
  display: inline-block;
  width: 10.9px;
  height: 20.8px;
}

.bb-custom-icon-arrow-right .arrow::before,
.bb-custom-icon-last .arrow::before,
.bb-custom-icon-arrow-right .arrow::after,
.bb-custom-icon-last .arrow::after{
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 15px;
  height: 1px;
  border-radius: 9999px;
  background-color: #5c5c5c;
  transform-origin: calc(100% - 0.5px) 50%;
}

.bb-custom-icon-arrow-right .arrow::before,.bb-custom-icon-last .arrow::before {
  transform: rotate(45deg);
}

.bb-custom-icon-arrow-right .arrow::after,.bb-custom-icon-last .arrow::after {
  transform: rotate(-45deg);
}

.bb-custom-icon-arrow-left .arrow,.bb-custom-icon-first .arrow {
  position: relative;
  display: inline-block;
  width: 10.9px;
  height: 20.8px;
}
/**/
.bb-custom-icon-arrow-left .arrow::before,
.bb-custom-icon-arrow-left .arrow::after,.bb-custom-icon-first .arrow::before,
.bb-custom-icon-first .arrow::after  {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  width: 15px;
  height: 1px;
  border-radius: 9999px;
  background-color: #5c5c5c;
  transform-origin: 0.5px 50%;
}

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

.bb-custom-icon-arrow-left .arrow::after,.bb-custom-icon-first .arrow::after {
  transform: rotate(-45deg);
}

.bb-custom-icon-first:before{  
     content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 7px;
    width:0.1rem;
    height: 23px;
    background-color: #8b8b8b;
    
}
.bb-custom-icon-last:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 7px;
    width: 0.12rem;
    height: 23px;
    background-color: #8b8b8b;
}
/**/

@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%;
	}
}

