#scaleSelectContainer,
#sidebarToggle,
#toolbarSidebar,
#viewFind,
#openFile,
#print,
#download,
#viewBookmark,
#secondaryToolbarToggle,
#toolbarViewerMiddle {
  display: none !important;
}

body {
  background-color: #303030;
  overflow: hidden;
}

#mainContainer {
  bottom: 60px;
}

.toolbarButton[disabled] {
  opacity: 1;
}
.toolbarButton.pageUp,
.toolbarButton.pageDown {
  cursor: pointer;
  height: 50px;
  left: 40px;
  padding: 0;
  position: absolute;
  top: 50%;
  width: 50px;
}
.toolbarButton.pageUp::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/arrow-clear.svg);
  height: 50px;
  left: 0;
  opacity: 1;
  top: 0;
  width: 50px;
}
.toolbarButton.pageUp:hover,
.toolbarButton.pageDown:hover {
  background: none;
}
.toolbarButton.pageUp:hover::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/arrow-white.svg);
  transform: rotate(180deg);
}
.toolbarButton.pageDown {
  left: auto;
  right: var(--sidebar-width);
}
.toolbarButton.pageDown::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/arrow-clear.svg);
  height: 50px;
  left: 0;
  opacity: 1;
  top: 0;
  transform: rotate(180deg);
  width: 50px;
}
.toolbarButton.pageDown:hover::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/arrow-white.svg);
  transform: rotate(360deg);
}

html[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
  left: 0;
  padding-right: calc(var(--sidebar-width) - 20px);
  right: 0;
  scrollbar-width: none;
  top: 42px;
}
html[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode)::-webkit-scrollbar {
  background: transparent;
  width: 0;
}
html[dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer {
  left: auto;
  right: 0;
  top: 0;
}
html[dir="ltr"] #sidebarContent {
  background: none;
  box-shadow: none;
}

.thumbnail {
  margin: 0 10px 20px;
}
.thumbnailSelectionRing {
  padding: 3px;
}
.thumbnail.selected > .thumbnailSelectionRing {
  background-color: #02a783;
  border-radius: 0;
}
.thumbnailImage {
  box-shadow: none;
  margin-bottom: 20px;
}
#thumbnailView {
  overflow: hidden;
}

.toolbar {
  bottom: 0;
  position: absolute;
}
#toolbarContainer {
  align-items: center;
  background-color: #27272c;
  box-shadow: none;
  display: flex;
  height: 60px;
}
#toolbarViewer {
  width: 100%;
}
#toolbarViewerLeft {
  margin-left: calc(50% - var(--sidebar-width) + 58px);
}
#toolbarViewerRight button {
  margin: 0 14px;
}
.toolbarButton {
  cursor: pointer;
}
.toolbarButton::before {
  height: 20px;
  left: 4px;
  opacity: 1;
  top: 4px;
  width: 20px;
}
.toolbarButton.zoomIn::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/zoom-in.svg);
}
.toolbarButton.zoomOut::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/zoom-out.svg);
}
.toolbarButton.presentationMode::before {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: url(icons/presentation.svg);
  background-repeat: no-repeat;
}
.toolbarButton:focus,
.splitToolbarButton > .toolbarButton:focus,
.toolbarButton:hover,
.splitToolbarButton > .toolbarButton:hover {
  background-color: unset;
}

#pageNumber,
#numPages {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: lighter;
  font-size: 16px;
  line-height: 26px;
  padding: 0;
}
#pageNumber {
  background: none;
  border: none;
  cursor: unset;
}

@media screen and (max-width: 675px) {
  html[dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
    padding-right: 0;
  }
  #sidebarContainer {
    display: none;
  }
  #toolbarViewerLeft {
    margin-left: 0;
  }
}

@media screen and (max-width: 875px) {
  .hiddenSmallView {
    display: none;
  }
}
