html {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
}

pagebody {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #C3C3C3;
}

.viewer {
  background-color: black;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}

.thumbnails {
  background-color: black;
  border: 0px;
  width: 200px;
  height: 100%;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  float: left;
}

.thumbnail {
  padding: 0;
  margin: 0;
  background-color: black;
  width: 100%;
  position: relative;
  height: 200px;
  text-align: center;
  overflow: visible;
  border: 0px;
}

.thumbnail .container{
  background-color: black;
  width: 100%;
  padding-top: 10px;
  height: 170px;
  position: relative;
}

.thumbimg {
  max-height: 100%;
  max-width: 100%;
  position: relative;
  height: 150px;
  width: 150px;
}

.thumbnail .label{
  display: block;
  color: white; 
  background-color: #0B2161;
  width: 100%;
  height: 2em;
  position: relative;
  padding: 0px;
}

.thumbnail .label span{
  display: inline-block;
  font-family: arial, verdana;
  font-size: 1em;
  vertical-align: middle;
  height: 20px;
  line-height: 2em;
}


.cell {
  background-color: black;
  border: 1px solid #505050;
  padding: 0;
  margin: 1px;
  position: absolute;
  overflow-y: hidden;
  overflow-x: hidden;
}

.viewport {
  background-color: gray;
  padding: 10px;
  overflow-y: hidden;
  overflow-x: hidden;
  text-align: center;
  height: calc(100% - 50px - 43px);
}

.page {
  border: 1px solid black;
  display: inline-block;
  background-color: white;
  -webkit-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
  position: relative;
}

.toolbar {
  background-color: #6f6f6f;
  border: 0px;
  padding: 4px;
  margin: 0px;
  width: 100%;
  height: 43px;
  position: relative;
  text-align: left;
  display: inline-block;
}

.loadingpercent {
  color: yellow;
  text-align: left;
}

.overlay {
  position: absolute;
  overflow: hidden;
  color: white;
  font-family: sans-serif;
  white-space: nowrap;
  overflow: hidden
}

.topLeftOverlay {
  text-align: left;
  left: 0;
  top: 0;
  right: 50%;
  bottom: 50%; 
}

.topRightOverlay {
  text-align: right;
  left: 50%;
  top: 0;
  right: 0;
  bottom: 50%; 
}

.bottomLeftOverlay {
  text-align: left;
  left: 0;
  right: 50%;
  bottom: 0; 
}

.bottomRightOverlay {
  text-align: right;
  left: 50%;
  right: 0;
  bottom: 0; 
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.logo {
  max-height: 100%;
  max-width: 100%;
  height: 100%;
}
