html, body {margin: 0;height: 100%;}
body {background-color: #333;}
body.hide-overflow {overflow: hidden;}

/* helpers */

.t {display: table;width: 100%;height: 100%;}
.tc {display: table-cell;vertical-align: middle;text-align: center;}
.rel {position: relative;}

/* book */
.book {margin: 0 auto;width: 90%;height: 90%;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
	.book .page {height: 100%;}
		.book .page img {max-width: 100%;max-height: 100%;display:block;}