* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
	width: 100%;

    overflow: hidden;
}
a, a:visited {
	text-decoration: none;
}
body {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #353535;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	overflow: hidden;
	background-image: url('/_img/logo-white.png'), url('../img/watermark.png');
	background-repeat: no-repeat, no-repeat;
	background-size: 210px auto, cover;
	background-position: bottom 48px right 17px, center;
}
#pagecount {
	position: absolute;
	top: 0px;
	text-align: center;
	left: 0;
	right: 0;
	z-index: 25;
	display: none;
}
#pagecount .inner {
    display: inline-block;
    border-radius: 0 0 8px 8px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 7px 18px 9px 18px;
}
#pagecount .inner select {
	display: inline-block;
}
.controls {
	position: absolute;
	bottom: 0px;
	text-align: center;
	left: 0;
	right: 0;
	z-index: 25;
	padding: 12px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
    /*background-color: rgba(0, 0, 0, 0.6);*/
    /* Rectangle 2: */
	background-image: linear-gradient(0deg, #141414 0%, rgba(216,216,216,0.00) 100%);
}
.controls .pageslider {
	width: calc(77% - 220px);
	display: inline-block;
	position: relative;
}
.controls .pageslider .pageMarkCont {
	position: absolute;
	left: 5px;
	right: 10px;
	top: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 4;
}
.controls .pageslider .pageMarkCont .pageMark {
    position: absolute;
    pointer-events: none;
    top: 4px;
    bottom: 1px;
    left: 0;
    width: 4px;
    background-color: #f8fd24;
    z-index: 20;
    display: none;
    border-radius: 1px;
}
.controls .pageslider .pageMarkCont .pageMark.hasResults {
	display: block;
}
.controls .pageslider .pageMarkCont .pageMark.pageMarkMobile {
	display: none;
}
.controls .pageslider input {
	width: 100%;
	vertical-align: middle;
	position: relative;
	z-index: 5;
}
.controls .zooms {
	width: 23%;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
}
.controls .zooms a.zoom {
    z-index: 25;
    width: 36px;
    height: 20px;
    border-radius: 50%;
    /* background-color: rgba(0, 0, 0, 0.6); */
    text-align: center;
    line-height: 22px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 100;
    vertical-align: middle;
}
.controls .zooms a.zoom.zoomout {
	left: inherit;
	right: 20px;
}
.controls .zooms .zoomslider {
	width: calc(100% - 92px);
	display: inline-block;
}
.controls .zooms .zoomslider input {
	width: 100%;
    vertical-align: middle;
}
.controls .pagecount {
	color: #fff;
	width: 80px;
	display: inline-block;
	white-space: nowrap;
}
.controls .fullscreen {
	color: #fff;
	width: 30px;
	display: inline-block;
}
.controls .searchbutton {
	color: #fff;
	width: 30px;
	display: inline-block;
}
.search {
	position: absolute;
	top: -53px;
	left: 0;
	right: 0;
	/*display: none;*/
	text-align: center;
    z-index: 70;
    transition: top linear .2s;
}
.search.active {
	top: 0;
}
.search .searchinner {
	position: relative;
	text-align: left;
	display: inline-block;
	padding: 7px 9px;
	border-radius: 0 0 5px 5px;
	background-color: rgba(70, 70, 70, 0.75);
	color: #fff;
}
.search .searchinner .close {
    display: inline-block;
    margin-right: 10px;
    margin-left: 7px;
    font-size: 22px;
    line-height: 1;
    position: relative;
    bottom: -2px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s linear;
}
.search .searchinner .close:hover {
	opacity: 1;
}
.search .searchinner .results {
    position: absolute;
    top: 7px;
    right: 30px;
    height: 39px;
    line-height: 39px;
    text-align: right;
    z-index: 10;
    color: #ffffff;
    font-weight: 400;
    font-size: 14px;
    opacity: .7;
}
.search .searchinner input {
    height: 39px;
    line-height: 39px;
    border-radius: 2px;
    border: none;
    width: 240px;
    padding: 0 15px;
    font-size: 14px;
    font-family: 'Open Sans';
    background-color: #313131;
    color: #fff;
    outline: none;
}
.pagenav {
    position: absolute;
    top: 0;
    bottom: 0;
    display: inline-flex;
    left: 0px;
    z-index: 23;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    /* color: #666; */
    width: 85px;
    /*height: 90px;*/
    border-radius: 0 50% 50% 0;
    /* background-color: rgba(0, 0, 0, 0.6); */
    text-align: center;
    line-height: 83px;
    color: #fff;
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.35);
}
.pagenav.next {
	left: inherit;
	right: 0;
    border-radius: 50% 0 0 50%;
}
#zoom {
	max-height: 842px;
	height: 100%;
}
section#book {
	/*pointer-events: none;*/
	white-space: nowrap;
	/*width: 1190px;*/
	height: 100%;
	overflow: hidden;
	position: relative;
}
section#book > img {
	height: 100%;
	display: block;
	visibility: hidden;
}
section#book .inner {
	position: absolute;
	left: 297.5px;
	height: 100%;
	top: 0;
	bottom: 0;
}
section#book .page {
	display: inline-block;
	background-color: #fff !important;
	/*width: 595px;*/
    height: 100%;
	position: relative;
	transition: opacity .2s linear;
	overflow: hidden;
}
section#book .page > img {
	height: 100%;
	display: block;
	visibility: hidden;
	min-height: 842px;
}
section#book .page iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}
section#book .page:after {
	content: 'Page ' attr(data-page);
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	bottom: 0;
	padding: 10px;
	color: #333;
	display: none;
}
section#book .page.loading:before {
    content: attr(data-page);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 25;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-top: 0px;
    font-size: 17px;
    color: #0c0c0c;
    font-weight: 400;
    justify-content: center;
    background-color: #fff;
    background-image: url(../img/star.svg);
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity .2s linear;
}
section#book[data-pagenum="1"] .page[data-page="2"] {
	opacity: 0;
}
section#book .page iframe {
	width: 100%;
	height: 100%;
}

section#book > img {
	min-height: 842px;
}
section#book > img.mobilesizer {
	display: none;
}

@media only screen and (max-height: 900px) {

	section#book {
		height: auto;
		transform: scale(0.8);
	}

}
@media only screen and (max-width: 1215px) {

	section#book {
		height: auto;
		transform: scale(0.8);
	}

}

@media only screen and (max-width: 1100px) {

	section#book {
		/*height: auto;*/
		transform: scale(0.7);
	}

}

@media only screen and (max-width: 1000px) {

	#zoom {
		height: auto;
	}
	section#book {
		transform: scale(0.6);
	}
	section#book .inner {
		left: 0;
	}
	section#book > img {
		display: none;
	}
	section#book > img.mobilesizer {
		display: block;
	}
	.controls {
	    padding: 12px 10px;
	}
	.controls .pageslider {
		width: 70%;
	}
	.controls .pageslider .pageMarkCont .pageMark,
	.controls .pageslider .pageMarkCont .pageMark.hasResults {
		display: none;
	}
	.controls .pageslider .pageMarkCont .pageMark.pageMarkMobile.hasResults {
		display: block !important;
	}
	.controls .zooms {
		width: auto;
	}
	.controls .zooms a.zoom {
		width: 32px;
	}
	.controls .zooms .zoomslider {
		display: none;
	}
	.controls .searchbutton {
		width: 32px;
	}
	.controls .fullscreen {
		display: none;
	}

}

@media only screen and (max-width: 800px) {

	section#book {
		transform: scale(0.5);
	}

}
@media only screen and (max-height: 400px) {

	section#book {
		transform: scale(0.35);
	}

}
