body{
	background:#ccc;
	z-index: 1;
position: relative;

}

a:hover{
  color: black;
}

#book{
	width:950px;
	height:680px;
	margin: 20px;
	margin: 0 auto;
	margin-top: 12px;
	box-shadow: 0px 0px 20px gray;
	overflow: hidden;
  transition: all .5s;
}
#book.single{
	width:475px !important;	
}
#book .turn-page-wrapper,
#book .page{
	width:475px !important;		
}
#book .turn-page{
	/*
	background-color:white;
	*/
	background-color:silver;
	box-shadow: 0px 0px 10px gray;
}

#book .page.p1,
#book .page.p38{
	/*width:475px !important;*/
}

#book .page{
	height:680px;
	background-color:white;
	background-repeat:no-repeat;
	background-size:100% 100%;
}

#book .page{
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}



#book .loader{
	background-image:url(loader.gif);
	width:24px;
	height:24px;
	display:block;
	position:absolute;
	top:238px;
	left:188px;
}

#book .data{
	text-align:center;
	font-size:40px;
	color:#999;
	line-height:500px;
}

#controls{
  position: relative;
	width:auto;
	color: #666;
	text-align:center;
	margin:20px auto;
	font:15px arial;
	font-weight: 200;
  opacity: 1;
  transition: opacity .5s;
  z-index: 1000;

}

#controls.zoomed{

  opacity: 0;
}
#controls.zoomed.show{
  opacity: 1;
}


#controls input, #controls label{
	font:15px arial;
}


.lmask {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #f5f5f5;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999999999;
  opacity: .9;
}
.lmask.hide {
	display: none;
}
.lmask.fixed {
  position: fixed;
}
.lmask:before {
  content: '';
  background-color: transparent;
  border: 5px solid #333;
  opacity: .98;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-radius: 50px;
  
  width: 50px;
  height: 50px;
  -moz-animation: spinPulse 1s infinite ease-in-out;
  -webkit-animation: spinPulse 1s infinite linear;
  margin: -25px 0 0 -25px;
  position: fixed;
  top: 40%;
  left: 50%;
}
.lmask:after {
  content: '';
  background-color: transparent;
  border: 5px solid #333;
  opacity: .98;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-radius: 50px;
  
  width: 30px;
  height: 30px;
  -moz-animation: spinoffPulse 1s infinite linear;
  -webkit-animation: spinoffPulse 1s infinite linear;
  margin: -15px 0 0 -15px;
  position: fixed;
  top: 40%;
  left: 50%;
}


@-moz-keyframes spinPulse {
  0% {
    -moz-transform: rotate(160deg);
    opacity: 0;
    box-shadow: 0 0 1px #333;
  }
  50% {
    -moz-transform: rotate(145deg);
    opacity: 1;
  }
  100% {
    -moz-transform: rotate(-320deg);
    opacity: 0;
  }
}
@-moz-keyframes spinoffPulse {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spinPulse {
  0% {
    -webkit-transform: rotate(160deg);
    opacity: 0;
    box-shadow: 0 0 1px #333;
  }
  50% {
    -webkit-transform: rotate(145deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-320deg);
    opacity: 0;
  }
}
@-webkit-keyframes spinoffPulse {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

.controls-left{
  position: absolute;
  left:10%;
  top:45%;
  transition: all .5s;
}

.controls{
  z-index: 999;
}
.controls a {
  cursor: pointer;
}
.controls a i{
  color: #333;
  font-size: 30px;

  }

.controls-right{
  position: absolute;
  right:10%;
  top:45%;
  transition: all .5s;
}


.zoom{
 color: #666;
    font-size: 28px;
    margin-top: 0px;
    padding: 5px;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 999;
}


#zoom-viewport{
  
    display: block;
    /*overflow: auto;*/
    position: relative;
    width: 950px;
    height: 695px;
    margin: 0 auto;
  }