
#book {
    position: relative;
    margin: 0 auto;

    overflow: hidden;
}

.loading:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #afb99f url('lib/assets/loading-cylon.svg') no-repeat center center;
}

#book-wrapper {
    overflow:hidden;
    position: relative;
    top:-1%;
}

#book-wrapper:-webkit-full-screen {
    width: 100%;
   
    background-color: #664667;
}

#book-wrapper:-webkit-full-screen #book {

    background-color: #664667;
}

#book-wrapper:-webkit-full-screen canvas,
#book-wrapper:-webkit-full-screen .fake-canvas {
    max-width: none !important;
    max-height: none !important;
}

#book-wrapper:-webkit-full-screen #fullscreen {
    display: none;
}

#book-wrapper:-moz-full-screen {
    width: 100%;
    background-color: #664667;
}

#book-wrapper:-moz-full-screen #book {
    background-color: #664667;
}

#book-wrapper:-moz-full-screen canvas,
#book-wrapper:-moz-full-screen .fake-canvas {
    max-width: none !important;
    max-height: none !important;
}

#book-wrapper:-moz-full-screen #fullscreen {
    display: none;
}

#book-wrapper:fullscreen {
    width: 100%;
    background-color: #664667;
}

#book-wrapper:fullscreen #book {
    background-color: #664667;
}

#book-wrapper:fullscreen canvas,
#book-wrapper:fullscreen .fake-canvas {
    max-width: none !important;
    max-height: none !important;
}

#book-wrapper:-webkit-full-screen #fullscreen {
    display: none;
}

.controls,
#watermark {
    position: absolute;
     bottom: 40px;
    width: 847px;
    left: 50%;
    margin-left: -423px;
    z-index: 9999;
    text-align: center;
}

#watermark {
    bottom: 250px;
}

#watermark a {
    background-color: #3ebfab;
    color: #fff;
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
}
