body, html{
	margin:0;
	font-family:sans-serif;
	height: 100%;
	overflow: hidden;
}
#topbar {
	position:absolute;
	top:0;
	left:0;
	right:0;
	background: white;
	line-height:45px;
	height:45px;
	margin:0;
	border-bottom: solid 1px #D9D7D3;
	min-height:45px;
	z-index:100;
}
#leftbar{
	background-color: #D9D7D3;
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	width:40px;
}
#rightbar{
	background-color: #D9D7D3;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	width:40px;
}
#navbar{
	position:absolute;
	left:0;
	top: 0;
	bottom:0;
	max-width: 50%;
	background-color: white;
	box-shadow: 2px 0 6px 0 rgba(0,0,0,.6);
	z-index: 90;
	outline: 0;
	overflow:scroll;
	transition: transform 0.4s ease-in-out;
}
#navbar ul{
	list-style-type:none;
	font-weight: 300;
	font-size:12px;
	letter-spacing:.48px;
	padding:0;
}
#navbar li{
	border-bottom: solid 1px #D9D7D3;
}
#navbar li a{
	display: block;
	text-decoration: none;
	padding: 8px;
	color: #000;
	line-height: 20px;
	font-weight: 400;
	cursor:pointer;
}
.frame {
	position:absolute;
	top:50%;
	height:100%;
	transform:translate(0, -50%);
	z-index:1;
	border:none;
}
#wrapper {
	background-color:#D9D7D3;
	position:relative;
	width:100%;
	height:calc(100% - 45px);
	top:45px;
}
#app-container {
	box-sizing:border-box;
	height:100%;
}
#reading-area {
	text-align:center;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
}
#epub-reader-container {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	background-color:#D9D7D3;
}
#epub-reader-frame {
	touch-action: pinch-zoom;
	display:inline-block;
	height:100%;
	position:relative;
	width:100%;
	overflow:hidden;
	border-left:40px solid transparent;
	border-right:40px solid transparent;
	box-sizing: border-box;
}
#fixed-book-frame {
	position: absolute;
}
#fixed-page-frame-left {
	transform:translateZ(0px);
	left:0px;
	top:0px;
}
#fixed-page-frame-right {
	transform:translateZ(0px);
	right:0px;
	top:0px;
}

#reader {
	overflow: auto;
	border-left: 40px solid transparent;
	border-right: 40px solid transparent;
}
#logo {
	float:left;
	height:40px;
	vertical-align:middle;
	margin-top:2px;
	margin-left:5px;
	margin-right:5px;
}
#selectoptions{
	float:left;
}
#scaleexo{
	display: block;
	float: left;
	vertical-align: middle;
	margin-top: 15px;
}
#pages {
	background-color:#D9D7D3;
	height:100%;
	overflow: hidden;
	position:relative;
	margin:auto;
}
#button-prev{
	left:0;
	border-radius:0;
	border-top-right-radius:4px;
	border-bottom-right-radius:4px;
	background-image:url(images/prev.svg);
	overflow:hidden;
	display:block;
	position:absolute;
	top:50%;
	transform:translate(0, -50%);
	opacity:.7;
	border:none!important;
	outline:0;
	padding:0;
	margin:0;
	background-color:rgba(255,255,255,.9);
	width:35px;
	height:70px;
	background-position:center;
	background-repeat:no-repeat;
	background-size: 60%;
	z-index:5;
	cursor:pointer;
}
#button-next{
	right:0;
	border-radius:0;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	background-image:url(images/next.svg);
	overflow:hidden;
	display:block;
	position:absolute;
	top:50%;
	transform:translate(0, -50%);
	opacity:.7;
	border:none!important;
	outline:0;
	padding:0;
	margin:0;
	background-color:rgba(255,255,255,.9);
	width:35px;
	height:70px;
	background-position:center;
	background-repeat:no-repeat;
	background-size: 60%;
	z-index:5;
	cursor:pointer;
}
#button-zoom-in{
	right:0;
	border-radius:0;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	background-image:url(images/zoom-in.svg);
	overflow:hidden;
	display:block;
	position:absolute;
	bottom: 70px;
	opacity:.7;
	border:none!important;
	outline:0;
	padding:0;
	margin:0;
	background-color:rgba(255,255,255,.9);
	width:35px;
	height:50px;
	background-position:center;
	background-repeat:no-repeat;
	background-size: 60%;
	z-index:5;
	cursor:pointer;
}
#button-zoom-out{
	right:0;
	border-radius:0;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	background-image:url(images/zoom-out.svg);
	overflow:hidden;
	display:block;
	position:absolute;
	bottom: 15px;
	opacity:.7;
	border:none!important;
	outline:0;
	padding:0;
	margin:0;
	background-color:rgba(255,255,255,.9);
	width:35px;
	height:50px;
	background-position:center;
	background-repeat:no-repeat;
	background-size: 60%;
	z-index:5;
	cursor:pointer;
}
#button-zoom-move{
	right:0;
	border-radius:0;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
	background-image:url(images/zoom-move.svg);
	overflow:hidden;
	display:block;
	position:absolute;
	top: 15px;
	opacity:.7;
	border:none!important;
	outline:0;
	padding:0;
	margin:0;
	background-color:rgba(255,255,255,.9);
	width:35px;
	height:50px;
	background-position:center;
	background-repeat:no-repeat;
	background-size: 60%;
	z-index:5;
	cursor:pointer;
}
#button-zoom-move.active{
	background-image:url(images/zoom-move-selected.svg);
}
#button-close{
	float:right;
	background-image:url(images/close.svg);
	vertical-align:middle;
	overflow:hidden;
	display:inline-block;
	outline:0;
	padding:0;
	margin:0;
	width:35px;
	height:35px;
	margin-top:5px;
	margin-right:5px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
}
#button-close:hover{
	background-image:url(images/close-hover.svg);
}
#button-sommaire{
	float:left;
	background-image:url(images/sommaire.svg);
	vertical-align:middle;
	overflow:hidden;
	display:inline-block;
	outline:0;
	padding:0;
	margin:0;
	width:35px;
	height:35px;
	margin-top:5px;
	margin-right:5px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
}
#button-sommaire:hover{
	background-image:url(images/sommaire-hover.svg);
}
#button-fittoscreen{
	float:left;
	background-image:url(images/fit-to-screen.svg);
	vertical-align:middle;
	overflow:hidden;
	display:inline-block;
	outline:0;
	padding:0;
	margin:0;
	width:35px;
	height:35px;
	margin-top:5px;
	margin-right:5px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
}
#button-fittoscreen:hover{
	background-image:url(images/fit-to-screen-hover.svg);
}
#button-fittoscreen.active{
	background-image:url(images/fit-to-screen-hover.svg);
	opacity:0.5;
}
#button-fittowidth{
	float:left;
	background-image:url(images/fit-to-width.svg);
	vertical-align:middle;
	overflow:hidden;
	display:inline-block;
	outline:0;
	padding:0;
	margin:0;
	width:35px;
	height:35px;
	margin-top:5px;
	margin-right:5px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
}
#button-fittowidth:hover{
	background-image:url(images/fit-to-width-hover.svg);
}
#button-fittowidth.active{
	background-image:url(images/fit-to-width-hover.svg);
	opacity:0.5;
}
#button-fullscreen{
	float:right;
	vertical-align:middle;
	overflow:hidden;
	display:inline-block;
	outline:0;
	padding:0;
	margin:0;
	width:35px;
	height:35px;
	margin-top:5px;
	margin-right:5px;
	background-position:center;
	background-repeat:no-repeat;
	cursor:pointer;
}
.fullscreen-enter{
	background-image:url(images/fullscreen-enter.svg);
}
.fullscreen-enter:hover{
	background-image:url(images/fullscreen-enter-hover.svg);
}
.fullscreen-exit{
	background-image:url(images/fullscreen-exit.svg);
}
.fullscreen-exit:hover{
	background-image:url(images/fullscreen-exit-hover.svg);
}
#loading {
	display:none;
	background:white;
	height:100%;
	width:100%;
	position:absolute;
	top:0;
	bottom:0;
	right:0;
	left:0;
	z-index:20;
}
#loading img{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
}
#numpage{
	font-size:16px;
}
#ressources {
	display:none;
	background:white;
	border:solid 1px black;
	padding:10px;
	margin:10px;
	border-radius:10px;
	position:absolute;
	left:0px;
	top:50px;
	z-index:20;
}
#modal {
	background:white;
	width:100%;
	height:calc(100% - 46px);
	position:absolute;
	top:46px;
	left:0;
	bottom:0;
	right:0;
	z-index:10;
	scrollbar-width:none;
}
#modal-iframe {
	width:100vw;
	height:100vh;
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
}
#book{
	margin-left:10px;
}
.toprint{
	display:none;
}
@media print {
	html, body{
		margin:0;
		width:100%;
		height:100%;
	}
	.toprint{
		display:block;
	}
	.noprint{
		display:none;
	}
}