html {
  width: 100%;
  height: 100%;
}
#body {
  width: 100%;
  height: 100%;
  margin: 0px;
  overflow: hidden;
}
#top-container {
  visibility: hidden;
  width: 100%;
  height: 0px;
  background-color: #f1f1f1;
  user-select:none;
}
#container {
  width: 100%;
  height: 100%;
  padding: 0px;
  position: relative;
  display: inline-block;
  float: left;
}
#bottom-container {
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 200;
  user-select:none;
}
#dialog-overlay {
  visibility: hidden;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align:center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.4);
}
#dialog-overlay div {
  width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #000;
  padding: 15px;
  text-align: center;
}
#dialog-message {
  font-family: Arial, Helvetica, sans-serif;
}
#dialog-button {
  padding: 5px 20px;
}
#background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  background: white;
  z-index: 1;
}
#message-container {
  width: 100%;
  height: 100%;
  display: table;
  vertical-align: middle;
}
#recent-document-list {
  cursor: default;
  visibility: hidden;
  display: table;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #f1f1f1;
  box-shadow: 3px 3px 5px #888888;
  border-style: solid;
  border-width: 1px;
  border-color: #888888;
  font-family: Arial, Helvetica, sans-serif;
}
.recent-document-row {
  display: table-row;
}
.recent-document-row-header {
  display: table-row;
  background-color: #ddd;
}
.recent-document-row-description {
  display: table-row;
      font-weight: bold;
  background-color: #bbb;
}
.recent-document-cell {
  display: table-cell;
  padding: 4px 30px;
}
.recent-document-cell-title {
  padding: 4px 15px;
}
.recent-document-row:hover {
  background-color: #d8d8d8;
}
#menu-background {
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  z-index: 1;
  opacity: 0;
}
#message {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 125%;
  font-family: Arial, Helvetica, sans-serif;
}
#fileinput {
  display:none;
}
#main-menu {
  width: 100%;
  height: calc(100% - 1px);
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.menu-item-left {
  list-style-type: none;
  float: left;
  height: inherit;
}
.menu-item-right {
  list-style-type: none;
  float: right;
  height: inherit;
}
.menu-button {
  border: none;
  padding: 9px 12px 4px 12px;
  background-color: transparent;
}
.menu-button:hover {
  background-color: #d8d8d8;
}
.menu-icon {
}
.menu-dropdown {
  display: none;
  position: absolute;
  z-index: 2;
  background-color: #ffffff;
  border: 1px solid #c0c0c0;
  min-width: 100px;
  overflow: auto;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.4);
}
.menu-dropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.menu-dropdown a:hover {
  background-color: #d8d8d8;
}
.show {
  display:block;
}
#scale-factor-manual {
  position: absolute;
  width: 40px;
  height: 15px;
  margin-top: 8px;
}
#scale-factor-list {
  width: 66px;
  height: 21px;
  margin-top: 8px;
}
#page-number div {
  display: inline-block;
  cursor: default;
}
#page-number {
  height: 36px;
}
#page-number:hover {
  background-color: #d8d8d8;
}
#page-number-container {
  margin-top: 10px;
}
#page-number-manual {
  width: 40px;
  height: 15px;
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.33px;
  background-color: transparent;
  border: none;
}
#page-number-total {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.33px;
  margin-left: 1px;
}
#horizontal-line {
  height: 1px;
  border-top: 1px solid #ccc;
}
#scrollbar-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  visibility: hidden;
}
#scrollbar-vertical {
  float: right;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  visibility: hidden;
}
#scrollbar-vertical-range {
  width: 1px;
}
#scrollbar-horizontal {
  position: absolute;
  width: 100%;
  bottom: 0;
  overflow-y: hidden;
  overflow-x: scroll;
  visibility: hidden;
}
#scrollbar-horizontal-range {
  height: 1px;
}
#progress-indicator {
  visibility: hidden;
  position: absolute;
}
progress[value] {
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
}
progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
progress[value]::-webkit-progress-value {
  background-image:
    -webkit-linear-gradient(-45deg, transparent 33%, rgba(0, 0, 0, .1) 33%, rgba(0, 0, 0, .1) 66%, transparent 66%),
    -webkit-linear-gradient(top, rgba(255, 255, 255, .25), rgba(0, 0, 0, .25)),
    -webkit-linear-gradient(left, #6495ED, #6495ED);
  border-radius: 2px;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}
