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

#bookblock {
	/*height: 719px*/
background-color: #fff;
}

/*.two .bb-bookblock div,.normal .bb-bookblock div {
	height: 100%!important}*/
.bb-bookblock {
	max-height: 100%;
	text-align: center;

	margin: 0 auto;
	position: relative;
	z-index: 2;
	-webkit-perspective: 1300px;
	perspective: 1300px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
/*div#bb-bookblock div {height: auto;}*/
#bookblock.normal .close
{
	display: none;
	text-align: right;
}
#bookblock.fullscreen .close{
	display: block;
}
.fullscreen.two img {max-height: 100%!important;}
.fullscreen.one {height: 100%!important;}
.fullscreen {
    
    position: fixed;
    width: 100%;
    top: 0;
    left: 0px;
    z-index: 3;
}
 /*.fullscreen.one .bb-bookblock { height:auto!important}/*overflow-y: scroll;}*/*/
 .fullscreen.two div{max-height: 100%!important}
 .fullscreen .bb-bookblock{width:100%!important;}
 .fullscreen.two #bb-bookblock{height: 100%!important}
 .fullscreen.two #bb-bookblock .bb-item, .fullscreen.two #bb-bookblock .bb-page{width:100%; }
.fullscreen.one img.image-bookblock{width:100%!important}

.fullscreen.one #bb-bookblock {overflow-y: scroll;}
.fullscreen.one #bb-bookblock > div {overflow-y: visible;}
.fullscreen.one #bb-bookblock::-webkit-scrollbar-thumb {
    background-color: #a6beaa;
    border-radius: 10px;
}
.fullscreen.one #bb-bookblock::-webkit-scrollbar-track {
    background-color: #e2f5e5;
    border-radius: 0 10px 10px 0;
}
.fullscreen.one #bb-bookblock::-webkit-scrollbar {
    width: 10px;
}
.bb-page {
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}

.normal .bb-vertical .bb-page {
/*height: 96%;*/
}
.fullscreen.two .bb-vertical .bb-page {
height: 102%;
}
.bb-vertical .bb-page {
	width: 50%;
	/*/*height: 94%;*//*84*/
	/*84*/
	left: 50%;
	-webkit-transform-origin: left center;
	transform-origin: left center;
}

.bb-horizontal .bb-page {
	width: 50%;
	/*height: 50%;*/
	top: 50%;
	-webkit-transform-origin: center top;
	transform-origin: center top;
}

.bb-page > div,
.bb-outer,
.bb-content,
.bb-inner {
	position: absolute;
	height: 100%;
	/*/*height: 89%;*/*/
	/*width: 100%;*/
	top: 0;
	left: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.bb-page > div{width: 100%}
.bb-outer{width: 100%}
.bb-content{width: 100%}
.bb-inner{width: 100%}
.bb-vertical .bb-content {
	width: 200%!important;
}

.bb-horizontal .bb-content {
	height: 200%;
}


.bb-page > div {
	
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.normal .bb-vertical .bb-back,.normal .bb-vertical .bb-front{width: 100%;}
.fullscreen .bb-vertical .bb-back,.fullscreen .bb-vertical .bb-front{width: 93%;}

.bb-vertical .bb-back {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	
}

.bb-horizontal .bb-back {
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
}

.bb-outer {
	width: 100%;
	overflow: hidden;
	z-index: 999;
}

.bb-overlay, 
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.2);
}

.bb-bookblock.bb-vertical > div.bb-page:first-child,
.bb-bookblock.bb-vertical > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.bb-bookblock.bb-horizontal > div.bb-page:first-child,
.bb-bookblock.bb-horizontal > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}

/* Content display */
.bb-content {
	background: #fff;
}

.bb-vertical .bb-front .bb-content {
	left: -100%;
}

.bb-horizontal .bb-front .bb-content {
	top: -100%;
}

/* Flipping classes */
.bb-vertical .bb-flip-next,
.bb-vertical .bb-flip-initial {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

.bb-vertical .bb-flip-prev {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.bb-horizontal .bb-flip-next,
.bb-horizontal .bb-flip-initial {
	-webkit-transform: rotateX(180deg);
	transform: rotateX(180deg);
}

.bb-horizontal .bb-flip-prev {
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.bb-vertical .bb-flip-next-end {
	-webkit-transform: rotateY(-15deg);
	transform: rotateY(-15deg);
}

.bb-vertical .bb-flip-prev-end {
	-webkit-transform: rotateY(-165deg);
	transform: rotateY(-165deg);
}

.bb-horizontal .bb-flip-next-end {
	-webkit-transform: rotateX(15deg);
	transform: rotateX(15deg);
}

.bb-horizontal .bb-flip-prev-end {
	-webkit-transform: rotateX(165deg);
	transform: rotateX(165deg);
}

.bb-item{
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	/*height: 646px;*/
	position: absolute;
	overflow-y: hidden;
}

.bb-item,.bookblock-page {
	background: #fff;
text-align: center;}
#bookblock .counter {
    /* text-align: center; */
    /*font-size: 0.8em!important;*/
    position: absolute;
    right: 20px;
    z-index: 6;
    bottom: 2px
}
#bookblock .counter div {display: inline;padding: 5px; /*height: 96%;*/}
.image-bookblock{max-width:100%;position: relative;}
.normal .bookblock-page.one .image-bookblock, .normal #bb-bookblock{width:100%!important;}
/*.fullscreen .bookblock-page.one .image-bookblock{height:100%!important;}*/
.normal .bb-item.one:first-child .image-bookblock{float: right;}
/* No JS */
.no-js .bb-bookblock, 
.no-js ul.bb-custom-grid li {
	width: auto;
	height: auto;
}

.no-js .bb-item {
	display: block;
	position: relative;
}
#bb-nav-first,#bb-nav-last
{position: relative;
float: left;
margin: auto 8px;
}
.bb-custom-icon:before,#bookblock .counter {
	font-family: 'arrows';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 1.3em;
	line-height: 30px;
	display: inline;
	-webkit-font-smoothing: antialiased;
    border-radius: 20px;
    background-color: #eee;
    padding: 15px;
    border: 1px solid #ccc;
}
#bb-nav-prev,#bb-nav-next {
    /* position: relative; */
    /* float: left; */
    /* margin: auto 8px; */
    position: absolute;
    width: 50%;
    display: block;
    height: 96%;
}
#bb-nav-next{left: 50%}
.bb-custom-icon-first:before{transform: rotate(180deg)}
.bb-custom-icon-first:before,
.bb-custom-icon-last:before {
	content: "\e002";
}

.bb-custom-icon.bb-nav-fullscreen:before {
	content: "⛞";
	
}
.bb-custom-icon.bb-nav-close:before {
	content: "\274C";
	
}
.bb-custom-icon-fullscreen{
	color: #214c10!important
}


.bb-custom-icon-arrow-left:before, .bb-custom-icon-arrow-right:before {
    content: "\e003";
    position: absolute;
    top: 50%;
}
.bb-custom-icon-arrow-right:before{right: 10px}
.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}



#bb-nav1 {
    width: 99%;
    position: absolute;
    /* left: 50%; */
    /* margin-left: -93px; */
    z-index: 5;
    /* top: -21px; */
    height: 100%;
    top: 0;
display: none;}
#bb-nav2 {
    position: absolute;
    white-space: nowrap;
    bottom: 18px;
    z-index: 6;
}
#bookblock:hover #bb-nav1{display: block;}
.bb-custom-wrapper {
	width: 420px;
	position: relative;
	margin: 0 auto 40px;
	text-align: center;
}

.bb-custom-wrapper .bb-bookblock {
	box-shadow: 0 12px 20px -10px rgba(81,64,49,0.6);
}

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

.bb-custom-wrapper nav {
	width: 100%;
	height: 30px;
	margin: 1em auto 0;
	position: relative;
	z-index: 0;
	text-align: center;
}

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

.bb-custom-wrapper nav a:hover {
	opacity: 0.6;
}
.listalkapdf iframe,.listalkapdf object,.listalkapdf embed {height: 800px!important}
.openbook a.active {
    background-color: #800000;
    color: #ddd!important;
}
.openbook a {
    padding: 5px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 22px;
    display: inline-block;
    white-space: nowrap;
}
.openbook {
    margin: 20px 0;
}
.error{font-size: 0.8em;margin: 30px;color: #2765db}
/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 470px;
}
@media(max-width: 1279px)
{
	.image-bookblock{width:100%}
}
@media(max-width: 799px)
{
#bb-nav2 {
    width: auto;
    
}

}
@media(min-width: 800px)
{
.fullscreen {height: 100%!important;}
#bb-nav2 {
    width: 212px;
    left: 50%;
    margin-left: -106px;
}
.openbook {
    text-align: right;
}
}
@media(min-width: 1280px)
{
	.bookblock-page.two .image-bookblock{width:49%}
}