    
    
    /* p {
      margin: 0;
      padding: 0;
    } */
    body {
      margin: 0;
      padding: 0 0 4px 0;
      background: #717171;
      overflow: hidden;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
    }  
    div.wrapper {
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }
   
    /* #content {
    touch-action: none;
    } */

    #content {
      display: flex;
      align-items: center;
      justify-content: center;
      /* margin: 100px auto 20px auto;
      border: 10px solid #4C4C4C; */
      width: 96vw;
      max-height: 3900px;
      position: relative;
      margin:auto;
      padding: 0px;
    }

    #content img {
      position: absolute;
      left: 0;
      right: 0;
      top: -10px;
      max-height: 92vh;
      margin: auto;
    }

    /********** Link Styles ***********/

    #navigationIcon {
      transition: ease-in-out 0.08s;
      margin: 20px 0 4px 14px;
      display: inline-block;
      text-decoration: none;
      font-size: .8em;
      color: white;
      height: 30px;
      background-color: rgba(128, 126, 126, .8);
      border-radius: 14px;
      padding: 0 12px;
      line-height: 28px;
      cursor: pointer;
    }
    #navigationIcon:hover {
      background-color: rgba(128, 126, 126, .6);

    }



    /********** Page Slider ***********/


    .pageSliderContainer {
      display: flex;
      flex-wrap: nowrap;
      /* width: 60%; */
      position: absolute;
      bottom: 20px;
      left: 0;
      height: 34px;
      /* transform: translateX(-50%); */
      width: calc(100% - 6px);
      background-color: rgba(202, 202, 202, 0.6);
      border-radius: 20px;
      padding: 0px;
      margin: 0px 3px 8px 3px;
    }
    .sliderBar {

      width: calc(100% - 60px)
    }
    .pageSliderContainer input {
      margin: auto;
      width: 100%;
    }
    .links a {
      text-decoration: none;
    }
    .links {
      cursor: pointer;
      /* background-color: red; */
      /* background-color: rgba(202, 202, 202, 0.6); */
      /* width: 10%; */
      /* position: absolute; */
      /* bottom: 22px; */
      width: 52px;
      height: 30px;
      margin: 0px;
      /* color: rgb(68, 68, 68); */
      font-weight: 600;
      font-size: 26px;
      line-height: 12px;
      transition: 0.2s ease;
      user-select: none;
      -webkit-user-select: none;
      /* border-radius: 50%; */
      
      /* box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4), 0px 4px 8px 3px rgba(0, 0, 0, 0.15); */
      padding-top: 2px;
    }
    .links img {
      height: 26px;
    }
    .slider {
      -webkit-appearance: none;
      height: 4px;
      border-radius: 5px;
      background: #838282;
      outline: none;
      opacity: 0.7;
      -webkit-transition: .2s;
      /* transition: opacity .2s; */
      /* background-color: rgba(0, 0, 0, 0); */
    }
    .slider:hover {
      opacity: 1;
    }
    .slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 20px;
      height: 20px;
      border: 0;
      background: url('../../img/slider.svg'); 
      filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.4));
      box-shadow: none;     
      cursor: pointer;
    }
    .slider::-moz-range-thumb {
      width: 20px;
      height: 20px;
      border: 0;
      background: url('../../img/slider.svg');
      cursor: pointer;
      box-shadow: none;     
    }

    .pageSliderContainer.hideSlider {
      top: -400px;
    }

    #next img {
      float: right;
      height: 30px;

      margin-right: 2px;
      /* background: url('../../img/rightPointer.svg'); */
    }
    #previous img{
      float:left;
      height: 30px;

      /* background: url('../../img/leftPointer.svg'); */
    }
    /* #links a#next {
      padding: 12px;
    } */
    /* #links a#previous {
      padding: 12px;
    } */

    .pageNum {
      /* position: absolute;
      bottom: 30px;
      left: 50px; */
      /* width: 20px; */
      height: 24px;
      border: solid 1px #838282;
      background-color: white;
      border-radius: 9px;
      z-index: 995;
      line-height: 24px;
      text-align: center;
      display: none;
      font-size: .8em;
      padding: 0px 4px;
      margin: auto;

    }
    .pageNumPopupBox {
      position: absolute;
      bottom: 30px;
      left: calc(50px - 20px + 10px);
      height: 30px;
      width: 40px;
      /* background-color: red; */
      text-align: center;
    }

/* sidebar Navigation */

    a.backtoLibrary {
      display: inline-block;
      text-decoration: none;
      font-size: .8em;
      color: white;
      height: 30px;
      background-color: rgba(128, 126, 126, .8);
      border-radius: 14px;
      padding: 0 12px;
      line-height: 28px;
      cursor: pointer;
      margin-left: 14px;
    }
    a.backtoLibrary:hover {
      background-color: rgba(128, 126, 126, .6);

    }
    #openSideNavButton {
      display: block;
      position: absolute;      
      filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.4));
      width: 100px;
      height: 100px;
      left: -24px;
      /* border-radius: 50%; */
      top: 0px;
      background-color: rgba(0,0,0,0);
      transition: .18s ease-in-out;
      z-index: 998;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
      #openSideNavButton svg {
      height: 40px
      }
      #openSideNavButton:hover {
      cursor: pointer;
      user-select: none;
    }
    #openButtonSVG {
      width: 38px;
      height: 38px;
      opacity: 100%;
      /* transition: .02s */
    }
    #mySidenav {
      position: absolute;
      /* opacity: 0; */
      background-color: white;
      top: 0;
      left: -300px;
      width: 260px;
      height: 100%;
      z-index: 999;      
      border-radius: 0 14px 14px 0 ;
      overflow-x: hidden;
      padding-top: 0;
      transition: .3s ease-in-out;
      z-index: 999;
      overflow-y: hidden;
    }

    #closeNavBar {
      font-size: 2em;
      width: 100%;
      height: 40px;
      display: block;

    }
    #closebutton {      
      height: 40px;
      width: 40px;
      display: inline;
      float: right;
      opacity: 0;
      /* transition: .02s ease-in; */
     }
    #closebutton:hover {
      cursor: pointer;
    }

    button#goToPage {
      height: 40px;
      min-width: 40px;
      margin: 0px;
      border-radius: 50%;
      line-height: 40px;
      font-size: 1.2em;
      background-color:rgb(128, 126, 126);
      border: none;
    }
    button#goToPage:hover {
      cursor: pointer;
      background-color: rgb(202, 202, 202);
    }
    
    .chapterNavigationBox {
    max-height: 65vh;
    overflow-y: scroll;
    border: thin 1px #ccc;
    border: solid 1.4px rgb(189, 188, 188);
    padding: 8px;
    margin-right: 10px;
    border-radius: 8px 1px 1px 8px;
    }

    ul {
      list-style-type: none;
      margin: 0 0 0 14px;
      padding: 0;
    }
    li {
      cursor: pointer;
      padding: 0;
    }
    li:hover {
      background-color:rgb(202, 202, 202);
    }
    #pageInput {
      display: flex;
      column-gap: 8px;
      height: 72px;
      width: 180px;
      padding: 0px 10px; 
      margin-top: 18px
    }
    input#choosePageInput {
      max-width: 70%;
      height: 40px;
      text-align: center;
      font-size: 1.2em;
      margin: 0px;
      border-radius: 12px;
      border: solid 1px rgb(231, 229, 229);
    } 
    input:focus {
      border: thin 1px rgb(165, 164, 164);
    }
    #goToPage img {
      width: 35px; 
    }

    /* #links a:hover {
        background-color: rgb(233, 233, 233);
      color: #3f3e3e;
    } */

    /************ Animation Styles ************/

    .fadeinimg {
      animation: fadein .2s;
    }

    @keyframes fadein {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    
@media only screen and (max-width: 1000px) {
  body {
    padding: 0;
  }
    #content {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100vw;
      max-height: 3900px;
      position: relative;
      margin:auto;
      padding: 0px;
    }
    #content img {
      left: 0;
      right: 0;
      top: -5px;
      max-height: 88vh;
    }

  
  }



  @media only screen and (max-width: 340px) {
    body {
      overflow:auto;
    }
    #content img {
      max-height: 86vh;
      top: -5px;
    }

    .pageSliderContainer {
      bottom: 12px;
      height: 34px;
    }
  }
  @media only screen and (max-height: 592px) {
      .chapterNavigationBox {
        max-height: 50vh;

      }
      }
      /* @media only screen and (max-height: 544px) {
      .chapterNavigationBox {
        max-height: 262px;

      }
      }     */
      @media only screen and (max-height: 448px) {
      .chapterNavigationBox {
        max-height:36vh;
        overflow-y: scroll;
      }

      }
      @media only screen and (max-height: 326px) {
      .chapterNavigationBox {
        max-height:50px;
      }
      #mySidenav {
        overflow-y: scroll;
      }      
      }
