body {
  background: #4e4e4e;
  overflow: hidden;
}

#main {
  /* height: 500px; */
  position: absolute;
  width: 100%;
  height: 100%;
  /* left: 40px; */ 
/*   -webkit-transform: translate(40px, 0);
  -moz-transform: translate(40px, 0); */
    
  /* border-radius: 5px 0px 0px 5px; */
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  -webkit-transition: -webkit-transform .5s;
  -moz-transition: -moz-transform .5s;
  
  -moz-box-shadow:    inset 0 0 50px rgba(0,0,0,.1);
  -webkit-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
  box-shadow:         inset 0 0 50px rgba(0,0,0,.1);
}


#titlebar {
  
  height: 8%;
  min-height: 20px;
  padding: 10px 0 10px 0;
  margin: 0 50px 0 50px;
  text-align: center;
  color: #4f4f4f;
  font-weight: 100;
  font-family: Georgia, "Times New Roman", Times, serif;
  opacity: .5;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
}

#titlebar:hover {
  opacity: 1;
}

#book-title {
  font-weight: 600;
}

#title-seperator {
  display: none;
}

#area {
  width: 80%;
  height: 80%;
  /* margin-left: 10%; */
  margin: 0 auto;
  max-width: 1250px;
  /* z-index: 2;
  position: absolute; */
}

#area iframe {
  border: none;
}

#prev {
  left: 40px;
}

#next {  
  right: 40px;
}

.arrow {
  position: absolute;
  top: 50%;  
  font-size: 64px;
  color: #E2E2E2;
  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
}

.arrow:hover {
  color: #777;
}
 
.arrow:active {
  color: #000;
}

#sidebar {
  background: #6b6b6b;
  position: absolute;
  /* left: -260px; */
  /* -webkit-transform: translate(-260px, 0);
  -moz-transform: translate(-260px, 0); */
  top: 0;
  width: 300px;
  height: 100%;
  -webkit-transition: -webkit-transform .5s;
  -moz-transition: -moz-transform .5s;
  
  overflow: hidden;
}

#sidebar.open {
 /* left: 0; */
 /* -webkit-transform: translate(0, 0);
 -moz-transform: translate(0, 0); */
}

#main.closed {
  /* left: 300px; */
  -webkit-transform: translate(300px, 0);
  -moz-transform: translate(300px, 0);
}

#controls {
  background: #4e4e4e;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 15px;
  padding: 10px 0;
}

#opener {
  padding: 10px 10px;
  float: left;
}

#opener #open {
  width: 25px;
}

#controls a {
  float: left;
  margin-left: 12px;
  opacity: .5;
}

#controls img:hover {
  opacity: .8;
}

#controls img:active {
  opacity: 1;
}

#search {
  width: 155px;
  border-radius: 5px;
  background: #9b9b9b;
  float: left;
  margin-left: 5px;
  margin-top: -5px;
  padding: 3px 10px;
  color: #000;
  border: none;
  outline: none;
}

input::-webkit-input-placeholder {
    color: #454545;
}
input:-moz-placeholder {
    color: #454545;
}

#divider {
  position: absolute;
  width: 1px;
  border-right: 1px #000 solid;
  height: 80%;
  z-index: 1;
  left: 50%;
  top: 10%;
  opacity: .15;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
  display: none;
}

#divider.show {
  display: block;
}

#loader {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  margin: -33px 0 0 -33px;
}

#toc {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 300px;
  height: 100%;
  visibility: hidden;
  -webkit-transition: visibility 0 ease .5s;
  -moz-transition: visibility 0 ease .5s;
}

#sidebar.open #toc {
  overflow-y: auto;
  visibility: visible;
  -webkit-transition: visibility 0 ease 0;
  -moz-transition: visibility 0 ease 0;
}

#toc > ul{
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 20px;
  display: block;
}

#toc li {
  margin-bottom:10px;
  width: 225px;
  font-family: Georgia, "Times New Roman", Times, serif;
  list-style: none;
  text-transform: capitalize;
}

#toc li:active,
#toc li.currentChapter
{
  list-style: none;
}

#toc a {
  color: #AAA;
  text-decoration: none;
}

#toc a.chapter {
  font-size: 1em;
}

#toc a.section {
  font-size: .8em;
}

#toc li.currentChapter > a,
#toc li a:hover {
  color: #f1f1f1
}

#toc li.openChapter > a,
#toc li a:hover {
  color: #E2E2E2;
}

#toc li ul {
  padding-left:10px;
  margin-top: 8px;
  display: none;
}

#toc li.currentChapter > ul,
#toc li.openChapter > ul
{
  display: block;
}

#settingsPanel {
  display:none;
}

#settingsPanel h3 {
  color:#f1f1f1;
  font-family:Georgia, "Times New Roman", Times, serif;
  margin-bottom:10px;
}

#settingsPanel ul {
  margin-top:60px;
  list-style-type:none;
}

#settingsPanel li {
  font-size:1em;
  color:#f1f1f1;
}

#settingsPanel .xsmall {  font-size:x-small; }
#settingsPanel .small {  font-size:small; }
#settingsPanel .medium {  font-size:medium; }
#settingsPanel .large {  font-size:large; }
#settingsPanel .xlarge {  font-size:x-large; }


@media only screen and (max-width: 1040px) {
  #area{
    width: 50%;
    margin-left: 25%;
  }
  
  #divider,
  #divider.show {
    display: none;
  }
}

@media only screen and (max-width: 900px) {
  #area{
    width: 60%;
    margin-left: 20%;
  }

  #prev {
    left: 20px;
  }
  
  #next {  
    right: 20px;
  }
}

@media only screen and (max-width: 550px) {
  #area{
    width: 80%;
    margin-left: 10%;
  }
  
  #prev {
    left: 0;
  }
  
  #next {  
    right: 0;
  }
  
  .arrow {
    height: 100%;
    top: 45px;
    width: 10%;
    text-indent: -10000px;
  }
  
  #main {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
  }
  
  #main.closed {
    -webkit-transform: translate(260px, 0);
    -moz-transform: translate(260px, 0);
  }
  
  #titlebar {
    font-size: 10px;
    margin: 0 50px 0 50px;
  }
  
  
  #toc {
    width: 260px;
  }
  
  #toc li {
    font-size: 12px;
  }
  
  #toc > ul{
    padding-left: 10px;
    webkit-padding-start:;
  }
}

            .bookbox{
                
            position:relative !important;
            z-index: 5;

            }     
                         
            .butang-info{

                position:absolute;
                left: 40%;
                top: 30% !important;
                padding:10px !important;

            }
            
            .butang-baca{

                position:absolute;
                left:36%;
                top:50%;
                padding:10px !important;
                background-color:#43A701 !important;

            }
            
            #hidebtncbox{
              position:absolute; 
              bottom:0; 
              right:0; 
              display:none; 
              color:#444;
              cursor:pointer;
              border:0; 
              padding:0; 
              margin:0; 
              overflow:visible; 
              width:auto; 
              background:none;

            }
            #hidebtncbox:active {outline:0;}


#blockpanel h1 { width: 400px; margin: auto; margin-top: 200px; background-color: #fff; 
color: #aaa; border: 4px solid #ccc; padding: 10px; text-align: center; font-size: 20px; }

.ui-dialog{
    
    font-size: 13px !important;
    width: auto !important;
    z-index: 99999 !important;
}

.ui-button-icon-primary{
    
    left: -10% !important;
    top: -10% !important;
}

#searchinput{
    
    position:relative !important;
    z-index: 99999 !important;
    width:191px;
    border:1px solid #c6d2db;
    border-top:1px solid #b4c1cb;
    box-shadow:inset 0 1px 2px rgba(0,0,0,0.08);
    background:#e8edf1;
        
}

.split-icon-link {
    width: 116px !important;
}

.split-icon-link > .ui-btn-inner:before {
    float: left;
    font-size: 15px;
    padding: .7em 4px;
    content: "View Store"; /*this is the text to display*/
}

.ui-button-text{
    height: 22px;
    font-size: 16px;
    background:#0078e7;
    padding: 10px;
}

.ui-menu-item{
    width: 100px;
}

.ui-menu{
    
    position:absolute !important;
    right: 0px !important;
    width: 180px !important;
    z-index: 100 !important;
}

.test{
    
    width: 35px !important;
    margin: auto !important;
}


#cboxLoadedContent{
    
    overflow: hidden !important;           
    
}






