body {
    margin: 0;
    font-family: sans-serif;
    font-size: 0.9rem;
  }
  #pdf-viewer {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  #toolbar {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    background-color: #555;
    color: #fff;
    padding: 0.5em;
  }
  #toolbar button,
  #page-mode input {
    color: currentColor;
    background-color: transparent;
    font: inherit;
    border: 1px solid currentColor;
    border-radius: 3px;
    padding: 0.25em 0.5em;
  }
  #toolbar button:hover,
  #toolbar button:focus,
  #page-mode input:hover,
  #page-mode input:focus {
    color: lightGreen;
  }
  .toolbar-close-btn{
    color: #999;
    padding: 0px 0;
    width: 50px;
    right:0;
    top:-5px;
    font-size: 35px;
    font-weight: bold;
    z-index: 1065;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
  }
  .toolbar-close-btn:hover,
  .toolbar-close-btn:focus {
    color: white;
    text-decoration: none;
    
  }

  #page-mode {
    display: flex;
    align-items: center;
    padding: 0.25em 0.5em;
  }
  
  #viewport-container {
    flex: 1;
    background: #eee;
    overflow: auto;
    white-space: nowrap;
    
  }
  #viewport {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    /* flex-direction: column; */
    align-items: center;
    
  }
  #viewport > div {
    text-align: center;
    /* max-width: 100%; */
    
  }
  #viewport canvas {
    /* width: 100%; */

    box-shadow: 0 2px 5px gray;
  }

  .custom-pager-button{
    height: 150px;
    width:50px !important;
    background-color: #555;
    top:50% !important;
    border-radius: 10px;
  
  }