/*static --start*/

#fb5-container-book {
	position: relative;
}
/* Общий стиль стрелок */
.fb5-nav-arrow {
	position: absolute;
	top: 0;
	width: 20px;
	height: 100%; /* во всю высоту книги */
	background: rgba(0,0,0,0); /* по умолчанию прозрачный */
	cursor: pointer;
	z-index: 9999;
	opacity: 0; /* по умолчанию скрыты */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Показываем стрелки при наведении на контейнер книги */
#fb5-container-book:hover .fb5-nav-arrow {
	opacity: 0.1;
	background-color: #000000;
	pointer-events: auto;
}
/* Левая стрелка — смещена влево */
.fb5-nav-arrow.prev {
	left: -20px;
	border-radius: 15px 0 0 15px;
}

/* Правая стрелка — смещена вправо */
.fb5-nav-arrow.next {
	right: -20px;
	border-radius: 0 15px 15px 0;
}

/* Иконки стрелок по центру */
.fb5-nav-arrow::before {
	font-family: "FontAwesome";
	font-size: 22px;
	color: white;
	content: "";
	user-select: none;
}

/* Левая стрелка (влево) */
.fb5-nav-arrow.prev::before {
	content: "\f053";
}

/* Правая стрелка (вправо) */
.fb5-nav-arrow.next::before {
	content: "\f054";
}
#fb5-ajax.fullScreen .fb5-nav-arrow{
	opacity: 0!important;
}

#fb5 .fb5-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#fb5 .fb5-menu li {
	float: left;
	position: relative;
	width: auto;
	list-style: none;
	background:none;
	font-size: 20px;
	margin: 0 10px;
}

#fb5 .fb5-menu li a {
	display: block;
	color:#FFFFFF;
	opacity:1;
}

#fb5 .fb5-menu li a:hover {
	filter: drop-shadow(4px 4px 1px rgba(255, 255, 255, .1));
}

#fb5 .fb5-menu#fb5-center {
	width: auto;
	position:absolute;
	height: 100%;
	align-content: center;
}

#fb5 .fb5-menu#fb5-right {
	float: right;
	width: auto;
	height: 100%;
	align-content: center;
	color: #FFFFFF;
}

#fb5 .fb5-menu li.fb5-goto input[type="text"] {
	color: #FFFFFF;
	text-align: center;
	font-size: 16px;
}

#fb5 .fb5-menu li.fb5-goto {
	position: relative;
	width: auto;
	font-size: 16px;
	font-weight:bold;
}

#fb5 .fb5-tooltip {
	position: absolute;
	left: 0;
	top: 250px;
	z-index: 5;
	display:none;
	padding: 2px 5px;
	white-space: nowrap;
	font-size: 13px;
	font-weight: bold;
	border-radius:5px;
	opacity:1;

	box-shadow: 0px 0px 1px 1px #C8C8C8;
	background:#FFFFFF;
	color:#666666;

}
#fb5 .fb5-tooltip b {
	bottom: 25px;
	display: block;
	height: 0;
	left: 6px;
	position: absolute;
	width: 0;

}

#fb5 #fb5-footer {
	position: absolute;
	top: 0;
	z-index: 15;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0;
	opacity: 0;
}

#fb5 .fb5-menu ul{
	height: 50px;
	align-content: center;
}

#fb5 #fb5-footer #fb5-logo {
	position: absolute;
	left: 10px;
	height: 100%;
	align-content: center;
	filter: drop-shadow(4px 4px 1px rgba(255, 255, 255, .1));
}

#fb5 #fb5-footer .fb5-bcg-tools {
	background-color: #000000;
	height: 100%;
	left: 0;
	opacity: 0.3;
	position: absolute;
	top: 0;
	width: 100%;
	border-bottom:1px solid #303030;
}
#fb5 #config {
	display:none;
}
/*static --end*/

/*preloader --start*/
#fb5-ajax .fb5-preloader {
	border-radius: 50%;
	width: 26px;
	height:26px;
	background-repeat:no-repeat;
	background-image:url("/upload/IMG/flipbook/loader.gif");
	background-color:#FFFFFF;
	background-position:5px 5px;
	position:absolute;
	top:50%;
	left:50%;
	z-index:5;
	margin-left:-13px;
	margin-top:-13px;

}
/*preloader --end*/

#fb5-ajax{
	margin-bottom:30px;
	position:relative;
}
#fb5-ajax a {
	-webkit-transition: none;
	-moz-transition:    none;
	-ms-transition:     none;
	-o-transition:      none;
	transition:         none;	
}

#fb5-ajax.fb5-fullbrowser{
	position:fixed;
	left:0px;
	top:220px;
	right:0px;
	bottom:0px;
   	margin-bottom:0;
}

#fb5-ajax.fullScreen,#fb5-ajax[data-template="true"] {
    margin-bottom:0;
    position:fixed;
	left:0;
	top:0;
	right:0;
	bottom:0;
}

#fb5{
   font-family:Arial,sans-serif;
   font-size:14px;
   -webkit-text-size-adjust:none;
   position:absolute;
   overflow:hidden;
   top:0;
   left:0;
   display:block;
   width:100%;
   height:100%;
   opacity:0;

}
/* =  Gradient ( for left page )
--------------------------*/
.fb5-gradient-page {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#fb5 .turn-page.odd .fb5-cont-page-book > .fb5-gradient-page {


	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+97,cccccc+100&0+97,0.22+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 97%, rgba(204,204,204,0.22) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 97%,rgba(204,204,204,0.22) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 97%,rgba(204,204,204,0.22) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#38cccccc',GradientType=1 ); /* IE6-9 */
}

#fb5 .turn-page.even .fb5-cont-page-book > .fb5-gradient-page {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cccccc+0,ffffff+10&0.41+0,0+9 */
	background: -moz-linear-gradient(left, rgba(204,204,204,0.41) 0%, rgba(250,250,250,0) 3%, rgba(255,255,255,0) 10%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(204,204,204,0.41) 0%,rgba(250,250,250,0) 3%,rgba(255,255,255,0) 10%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(204,204,204,0.41) 0%,rgba(250,250,250,0) 3%,rgba(255,255,255,0) 10%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#69cccccc', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}


#fb5 #fb5-container-book {
	position: absolute;
	z-index: 5;
	display: none;
	width: 1100px;
	height: 715px;
}

#fb5 #fb5-deeplinking{
  display:none;
}

#fb5 .cursor-grab {
	cursor: -webkit-grab;
	cursor: -moz-grab;
}

/* = About
-------------------------------------------------------------- */
	#fb5 #fb5-about {
		position: absolute;
		z-index: 5;
		width: 45%;
		display: none;
	}

/* = Book
-------------------------------------------------------------- */

#fb5 #fb5-book {
	position: relative; z-index: 10;
	width: 100%; height:100%;
}

#fb5 #fb5-book .turn-page {
	background-color:#FFF;
	background-size: 100% 100%;
}

#fb5 a img {
	height: 30px;
	width: auto;
}



/* = important style FlipBook
-------------------------------------------------------------- */
/* tools bar*/
#fb5-ajax .fb5-bcg-book{
	opacity:1;
}

#fb5 .fb5-tooltip b {
	border-top: 10px solid #FFFFFF
}


/* custom solution for full size screen for mobile devices */

.full-screen-custom__flipbook_active {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	z-index: 999999 !important;
	background: rgb(17, 17, 17) !important;
	width: 100vw !important;
	height: 100vh !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}


.full-screen-custom__fb5-container_active {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.full-screen-custom__fb5-container-book_active {
	position: initial !important;
}
@media screen and (max-width: 768px){
	#fb5 #fb5-footer {
		height: 40px;
	}
	#fb5 .fb5-menu ul{
		height: 40px;
		align-content: center;
	}
	#fb5 .fb5-menu li{
		margin: 0 8px;
		font-size: 18px;
	}
}