html, body {
    margin: 0;
    height: 100%;
 background-image:url(../img/bg.jpg);
 background-size: cover;

}
body.hide-overflow {
    overflow: hidden;

}
/* helpers */
.t {
    padding-top: 2%;
    display: table;
    width: 100%;
    height: auto;
}
.tc {
    display: table-cell;
    vertical-align: middle;

    text-align: center;
    padding-left: 9%;
}
.rel {
    position: relative;
    padding-left: 9%;
}

/* book */
.book {
  cursor:  -webkit-grab;
  cursor:   -moz-grab;
  margin: 0 auto;
  width: 90%;
  height: 90%;
  padding-bottom: 25%;
  -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%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.book .print a{padding: 1.7% 10%;z-index: 9999999999999999;}
.book .print a:hover{background-color: rgb(216, 110, 42) !important;}

.book .page img {
  max-width: 100%;
  height: 100%;
  padding: 0%;
}
.book .p1 .side{
  width:5px;
  height:80%;
  position:absolute;
  top:0;
  left:475px;
  background-color:gray;
  -webkit-transform:rotateY(-90deg);
  -moz-transform:rotateY(-90deg);
  -o-transform:rotateY(-90deg);
  -ms-transform:rotateY(-90deg);
  transform:rotateY(-90deg);
  -webkit-transform-origin:top right;
  -moz-transform-origin:top right;
  -o-transform-origin:top right;
  -ms-transform-origin:top right;
  transform-origin:top right;
  z-index:100000;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.book .p1{
  background-position: -2% 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.tm.book .p1{
  background-position: 0.3% !important;
}

.book .p2 {
  background-position: 33.6% 0;
}

.book .front{
    padding: 1% 6%;
    box-shadow: inset 6px -10px 5px rgba(0, 0, 0, 0.41);
}


.book .page-wrapper{
  -webkit-perspective:2000px;
  -moz-perspective: 2000px;
  -ms-perspective: 2000px;
  perspective: 2000px;
}


.book .p .side{
  width:5px;
  height:80%;
  position:absolute;
  top:0;
  left:475px;
  background-color:gray;
  -webkit-transform:rotateY(-90deg);
  -moz-transform:rotateY(-90deg);
  -o-transform:rotateY(-90deg);
  -ms-transform:rotateY(-90deg);
  transform:rotateY(-90deg);
  -webkit-transform-origin:top right;
  -moz-transform-origin:top right;
  -o-transform-origin:top right;
  -ms-transform-origin:top right;
  transform-origin:top right;
  z-index:100000;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.shadow {
    margin-left: 0%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 4px 10px #666;
    -moz-box-shadow: 0 4px 10px #666;
    -ms-box-shadow: 0 4px 10px #666;
    -o-box-shadow: 0 4px 10px #666;
    box-shadow: 0 2px 4px #666;
}
.print {
  width: 100%;
  max-width: 820px;
  position: fixed;
  bottom: 0;
  right: 0;
  margin-right: 50%;
  margin-bottom: -11%;
  z-index: 999999;
}
.print img{
  width: 31%;
  background: none !important;
}
.gradient_even {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.2)));
  background-image: -webkit-linear-gradient(left,rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
  background-image: -moz-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
  background-image: -ms-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
  background-image: -o-linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
  background-image: linear-gradient(left, rgba(0,0,0,0) 95%, rgba(0,0,0,0.2) 100%);
}

.gradient_odd {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, rgba(0,0,0,0.15)));
  background-image: -webkit-linear-gradient(right,rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
  background-image: -moz-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
  background-image: -ms-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
  background-image: -o-linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
  background-image: linear-gradient(right, rgba(0,0,0,0) 95%, rgba(0,0,0,0.15) 100%);
}

#wrapper {
  margin:0 auto;  
}

#content {
  padding-top: 20px;
  margin-bottom: 16px;
  background: #fff;
}

.printableArea{
  display:none;
}

img#printableImg{
  width:100%;
  visibility: hidden;
}
.loader {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff url(loading.gif) center center no-repeat;
    background-size: 15%;
    z-index: 1000;
}

#book1 .title{
    width: 100%;
    background-color: #FD7822;
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    margin-bottom: -4%;
    font-weight: bold;
    padding:1.6% 0%;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
}


#book2 .title{
    width: 100%;
    background-color: rgb(92, 73, 150);
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    margin-bottom: -4%;
    font-weight: bold;
    padding:1.6% 0%;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
}


#book3 .title{
    width: 100%;
    background-color: rgb(75, 175, 33);
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    margin-bottom: -4%;
    font-weight: bold;
    padding:1.6% 0%;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
}

@media all and (orientation:portrait) {

}

@media all and (orientation:landscape)
{

}



/* Tooltip */



.buy{
}

.buy a{
  font-size: 1.1em;
  text-decoration: none;
  color: #fff;
  padding: 0.7% 4%;
  border-radius: 5px;
  font-family: 'Source Sans Pro', sans-serif;
}

.book1 a{
  background-color: #F98337;
  z-index: 99999999;
  box-shadow: 0 3px 0px rgb(216, 110, 42);
}

.book2 a{
  background-color: rgba(92, 73, 150, 0.48) !important;
  box-shadow: 0 3px 0px rgb(92, 73, 150) !important;
}
.book3 a{
  background-color: #59BD2E;
  z-index: 99999999;
  box-shadow: 0 3px 0px rgb(75, 175, 33);
}
.buy a:hover{
    transition: 0.3s;
}

.book1 a:hover{
  background-color: rgb(216, 110, 42);
}
.book2 a:hover{
  color: #2B7137;

}
.book .hard{
   background-size: 356%;
}




#controlHead{
  width: 100;
  height: 30px;
  padding: 10px 0;
  margin-top: 4%;
  background: #F7F7F7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  margin-bottom: 0;
}
.contain{
  width:80%;
  margin: 0 auto;
}

.pageNum{
  font-size:0.9em;
  width: 70%;
  float:left;
  text-align: left;
}
.pageNum label{
  font-weight: 600;
  color: #000;
}
.pageNum input[type="text"]{padding: 3px 5px;border-radius: 2px;border: solid 2px rgba(150, 150, 150, 0.41);border-bottom: solid 2px #c9c9c9;-webkit-transition: border 0.3s;-moz-transition: border 0.3s;-o-transition: border 0.3s;transition: border 0.3s;}

.pageNum input[type="text"]:focus, .pageNum input[type="text"].focus {
  outline: none;
    border: solid 2px #c9c9c9;
    -webkit-box-shadow: inset 0 0 0 1px #707070;
    -moz-box-shadow: inset 0 0 0 1px #707070;
    box-shadow: inset 0 0 0 1px #707070;
    -webkit-transition: box-shadow 0.3s, border 0.3s;
    -moz-transition: box-shadow 0.3s, border 0.3s;
    -o-transition: box-shadow 0.3s, border 0.3s;
    transition: box-shadow 0.3s, border 0.3s;
}
#book1 .pageNum #finder{
   outline: none;
   background: #FD7822;
   border: 2px solid #D6641B;
   color: #fff;
}
#book2 .pageNum #finder{
   outline: none;
   background: #715DAD;
   border: 2px solid #5C4996;
   color: #fff;
}
#book3 .pageNum #finder{
   outline: none;
   background: #47A022;
   border: 2px solid #43981F;
   color: #fff;
}
.flip-control{
  width: 30%;
  float:left;
  text-align: right;
  font-size: 2em;
  margin-top: -5px;
}

#book1 .flip-control a{
  color: #D6661D;
  text-shadow: 0 1px 0px #823B0D;
}

#book2 .flip-control a{
  color: #8A77C5;
  text-shadow: 0 1px 0px #5C4996;
}

#book3 .flip-control a{
  color: #55B92B;
  text-shadow: 0 1px 0px #2E6D14;
}