
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	background: transparent;
	box-shadow: inset 2px 0 5px 0 rgba(0,0,0,.1);
}
::-webkit-scrollbar-thumb {
	background: #808080;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}


body {

	background-image: url(/img/fon2-01.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: repeat-y;
}
@font-face {
	font-family: 'arrows';
	src:url('arrows.eot');
	src:url('arrows.eot?#iefix') format('embedded-opentype'),
		url('arrows.woff') format('woff'),
		url('arrows.ttf') format('truetype'),
		url('arrows.svg#arrows') format('svg');
	font-weight: normal;
	font-style: normal;
}

.bb-item {
	background-image: url(/img/fon2-01.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: repeat-y;
}

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

.bb-custom-wrapper .bb-bookblock {
	width: 100%;
	height: 100%;
	-webkit-perspective: 2000px;
	perspective: 2000px;
	position: relative;
	transform-origin: 0 0;
	cursor: grab;
	transition: all linear 150ms;
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	/*background: #271a52;*/
	/* 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;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: 10px 20px;
}

.bb-custom-side img {
	width: 100%;
	height: 100%;
	object-fit: scale-down;
	pointer-events: none;
}
.bb-custom-side:last-child img {
	object-position: left center;
}

.bb-custom-side:first-child img {
	object-position: right center;
}

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

.bb-custom-wrapper > nav a {
	display: inline-block;
	vertical-align: middle;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 1.5rem;
	background: linear-gradient(95deg, #e55993 0%, #912e82 100%);
	color: #fff;
	font-size: 0;
	margin: 2px;
	text-decoration: none;
	-webkit-transition: all linear 100ms;
	-moz-transition: all linear 100ms;
	-ms-transition: all linear 100ms;
	-o-transition: all linear 100ms;
	transition: all linear 100ms;
}
.bb-custom-wrapper > nav a.zoom {
	display: inline-flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
}

.bb-custom-wrapper > nav a:hover {
	transform: scale(1.05);
}

.bb-custom-back {
	min-width: 100px;
	padding-left: 10px;
	padding-right: 10px;
	width: auto!important;
	vertical-align: top;
	font-family: "Montserrat", "Roboto", "Open Sans", sans-serif;
	font-size: 16px!important;
	line-height: 40px;
	font-weight: bold;
}
.bb-custom-back.zoom {
	display: inline-flex;
	align-items: center;
	text-align: center;
	min-width: auto!important;
	padding: 4px;
}
.bb-custom-back.zoom img {
	width: 35px;
	height: 30px;
	object-fit: contain;
	object-position: center;
	filter: brightness(0) invert(1);
}
.bb-custom-back.close {
	display: inline-flex;
	align-items: center;
	text-align: center;
	min-width: auto!important;
	padding: 4px;
}
.bb-custom-back.close img {
	width: 35px;
	height: 30px;
	object-fit: contain;
	object-position: center;
	filter: brightness(0) invert(1);
	padding: 4px;
}
@media screen and (max-width: 480px) {
	.bb-custom-back {
		font-size: 13px !important;
		padding-left: 5px;
		padding-right: 5px;
		width: auto!important;
		min-width: fit-content;
	}
}

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

