view Applications/StoneWebViewer/Resources/Styles/wv-pdf-viewer.scss @ 2145:5f0529b2ce65

fix default windowing for images without preset windowing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Aug 2024 18:08:00 +0200
parents d1806b4e4839
children
line wrap: on
line source

wv-pdf-viewer {
    display: block;
    width: 100%;
    height: 100%;
}

#toolbarContainer > #toolbarViewer > #toolbarViewerLeft > .wv-pdf-viewer-closebutton { // We need high priority, !important keywords don't work
    background-color: inherit;
    color: hsl(0, 0%, 100%);
    border: none;

    padding: 2px;
    margin-left: 4px;
    margin-right: 2px;

    &:hover {
        color: black;
    }
}

.fa.fa-window-close.wv-pdf-viewer-closebuttonicon { // We need high priority
    font-size: 2rem;
    line-height: 28px; // pdf.js toolbar size (- closebutton margin)
}

// The following code has been generated via:
// 
// ```bash
// cd bower_components/pdf.js-viewer/
// lessc --global-var='pdfjsImagePath="../images/pdf.js-viewer"' viewer.less viewer.css
// ```

.pdfjs .textLayer {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.2;
}
.pdfjs .textLayer > div {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}
.pdfjs .textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: #b400aa;
  border-radius: 4px;
}
.pdfjs .textLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}
.pdfjs .textLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}
.pdfjs .textLayer .highlight.middle {
  border-radius: 0;
}
.pdfjs .textLayer .highlight.selected {
  background-color: #006400;
}
.pdfjs .textLayer ::selection {
  background: #00f;
}
.pdfjs .textLayer ::-moz-selection {
  background: #00f;
}
.pdfjs .pdfViewer .canvasWrapper {
  overflow: hidden;
}
.pdfjs .pdfViewer .page {
  direction: ltr;
  width: 816px;
  height: 1056px;
  margin: 1px auto -8px;
  position: relative;
  overflow: visible;
  border: 9px solid transparent;
  background-clip: content-box;
  border-image: url('../images/pdf.js-viewer/shadow.png') 9 9 repeat;
  background-color: #fff;
}
body {
  height: 100%;
}
.pdfjs .pdfViewer.removePageBorders .page {
  margin: 0 auto 10px;
  border: none;
}
.pdfjs .pdfViewer .page canvas {
  margin: 0;
  display: block;
}
.pdfjs .pdfViewer .page .loadingIcon {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pdf.js-viewer/loading-icon.gif') center no-repeat;
}
.pdfjs .pdfViewer .page .annotLink > a:hover {
  opacity: .2;
  background: #ff0;
  box-shadow: 0 2px 10px #ff0;
}
.pdfjs .pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
  margin-bottom: 100%;
  border: 0;
}
.pdfjs .pdfPresentationMode:-moz-full-screen .pdfViewer .page {
  margin-bottom: 100%;
  border: 0;
}
.pdfjs .pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
  margin-bottom: 100%!important;
  border: 0;
}
.pdfjs .pdfPresentationMode:fullscreen .pdfViewer .page {
  margin-bottom: 100%;
  border: 0;
}
.pdfjs .pdfViewer .page .annotText > img {
  position: absolute;
  cursor: pointer;
}
.pdfjs .pdfViewer .page .annotTextContentWrapper {
  position: absolute;
  width: 20em;
}
.pdfjs .pdfViewer .page .annotTextContent {
  z-index: 200;
  float: left;
  max-width: 20em;
  background-color: #FF9;
  box-shadow: 0 2px 5px #333;
  border-radius: 2px;
  padding: .6em;
  cursor: pointer;
}
.pdfjs .pdfViewer .page .annotTextContent > h1 {
  font-size: 1em;
  border-bottom: 1px solid #000;
  padding-bottom: 0.2em;
}
.pdfjs .pdfViewer .page .annotTextContent > p {
  padding-top: 0.2em;
}
.pdfjs .pdfViewer .page .annotLink > a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pdfjs .pdfViewer .page .annotLink > a {
  background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAA\ LAAAAAABAAEAAAIBRAA7") 0 0 repeat;
}
.pdfjs * {
  padding: 0;
  margin: 0;
}
html {
  height: 100%;
  font-size: 10px;
}
.pdfjs input,
.pdfjs button,
.pdfjs select {
  font: message-box;
  outline: none;
}
.pdfjs .hidden {
  display: none !important;
}
.pdfjs [hidden] {
  display: none !important;
}
.pdfjs #viewerContainer.pdfPresentationMode:-webkit-full-screen {
  top: 0;
  border-top: 2px solid transparent;
  background-color: #000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: none;
  -webkit-user-select: none;
}
.pdfjs #viewerContainer.pdfPresentationMode:-moz-full-screen {
  top: 0;
  border-top: 2px solid transparent;
  background-color: #000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: none;
  -moz-user-select: none;
}
.pdfjs #viewerContainer.pdfPresentationMode:-ms-fullscreen {
  top: 0!important;
  border-top: 2px solid transparent;
  width: 100%;
  height: 100%;
  overflow: hidden!important;
  cursor: none;
  -ms-user-select: none;
}
.pdfjs #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop {
  background-color: #000;
}
.pdfjs #viewerContainer.pdfPresentationMode:fullscreen {
  top: 0;
  border-top: 2px solid transparent;
  background-color: #000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.pdfjs .pdfPresentationMode:-webkit-full-screen a:not(.internalLink) {
  display: none;
}
.pdfjs .pdfPresentationMode:-moz-full-screen a:not(.internalLink) {
  display: none;
}
.pdfjs .pdfPresentationMode:-ms-fullscreen a:not(.internalLink) {
  display: none !important;
}
.pdfjs .pdfPresentationMode:fullscreen a:not(.internalLink) {
  display: none;
}
.pdfjs .pdfPresentationMode:-webkit-full-screen .textLayer > div {
  cursor: none;
}
.pdfjs .pdfPresentationMode:-moz-full-screen .textLayer > div {
  cursor: none;
}
.pdfjs .pdfPresentationMode:-ms-fullscreen .textLayer > div {
  cursor: none;
}
.pdfjs .pdfPresentationMode:fullscreen .textLayer > div {
  cursor: none;
}
.pdfjs .pdfPresentationMode.pdfPresentationModeControls > *,
.pdfjs .pdfPresentationMode.pdfPresentationModeControls .textLayer > div {
  cursor: default;
}
.pdfjs .outerCenter {
  pointer-events: none;
  position: relative;
}
html[dir='ltr'] .pdfjs .outerCenter {
  float: right;
  right: 50%;
}
html[dir='rtl'] .pdfjs .outerCenter {
  float: left;
  left: 50%;
}
.pdfjs .innerCenter {
  pointer-events: auto;
  position: relative;
}
html[dir='ltr'] .pdfjs .innerCenter {
  float: right;
  right: -50%;
}
html[dir='rtl'] .pdfjs .innerCenter {
  float: left;
  left: -50%;
}
.pdfjs #outerContainer {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #404040;
  background-image: url('../images/pdf.js-viewer/texture.png');
}
.pdfjs #sidebarContainer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  visibility: hidden;
  -webkit-transition-duration: 200ms;
  -webkit-transition-timing-function: ease;
  transition-duration: 200ms;
  transition-timing-function: ease;
}
html[dir='ltr'] .pdfjs #sidebarContainer {
  -webkit-transition-property: left;
  transition-property: left;
  left: -200px;
}
html[dir='rtl'] .pdfjs #sidebarContainer {
  -webkit-transition-property: right;
  transition-property: right;
  right: -200px;
}
.pdfjs #outerContainer.sidebarMoving > #sidebarContainer,
.pdfjs #outerContainer.sidebarOpen > #sidebarContainer {
  visibility: visible;
}
html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #sidebarContainer {
  left: 0;
}
html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #sidebarContainer {
  right: 0;
}
.pdfjs #mainContainer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  min-width: 320px;
  -webkit-transition-duration: 200ms;
  -webkit-transition-timing-function: ease;
  transition-duration: 200ms;
  transition-timing-function: ease;
}
html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #mainContainer {
  -webkit-transition-property: left;
  transition-property: left;
  left: 200px;
}
html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #mainContainer {
  -webkit-transition-property: right;
  transition-property: right;
  right: 200px;
}
.pdfjs #sidebarContent {
  top: 32px;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.1);
}
html[dir='ltr'] .pdfjs #sidebarContent {
  left: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}
html[dir='rtl'] .pdfjs #sidebarContent {
  right: 0;
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25);
}
.pdfjs #viewerContainer {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 0;
  left: 0;
  outline: none;
}
html[dir='ltr'] .pdfjs #viewerContainer {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05);
}
html[dir='rtl'] .pdfjs #viewerContainer {
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}
.pdfjs .toolbar {
  position: relative;
  left: 0;
  right: 0;
  // z-index: 9999;
  cursor: default;
}
.pdfjs #toolbarContainer {
  width: 100%;
}
.pdfjs #toolbarSidebar {
  width: 200px;
  height: 32px;
  background-color: #424242;
  background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(77, 77, 77, 0.99), rgba(64, 64, 64, 0.95));
}
html[dir='ltr'] .pdfjs #toolbarSidebar {
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
}
html[dir='rtl'] .pdfjs #toolbarSidebar {
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
}
.pdfjs #toolbarContainer,
.pdfjs .findbar,
.pdfjs .secondaryToolbar {
  position: relative;
  height: 32px;
  background-color: #474747;
  background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(82, 82, 82, 0.99), rgba(69, 69, 69, 0.95));
}
html[dir='ltr'] .pdfjs #toolbarContainer,
.pdfjs .findbar,
.pdfjs .secondaryToolbar {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
}
html[dir='rtl'] .pdfjs #toolbarContainer,
.pdfjs .findbar,
.pdfjs .secondaryToolbar {
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
}
.pdfjs #toolbarViewer {
  height: 32px;
}
.pdfjs #loadingBar {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-bottom: 1px solid #333;
}
.pdfjs #loadingBar .progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #ddd;
  overflow: hidden;
  -webkit-transition: width 200ms;
  transition: width 200ms;
}
@-webkit-keyframes progressIndeterminate {
  0% {
    left: 0;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes progressIndeterminate {
  0% {
    left: 0;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
.pdfjs #loadingBar .progress.indeterminate {
  background-color: #999;
  -webkit-transition: none;
  transition: none;
}
.pdfjs #loadingBar .indeterminate .glimmer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50px;
  background-image: linear-gradient(to right, #999 0%, #fff 50%, #999 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-animation: progressIndeterminate 2s linear infinite;
  animation: progressIndeterminate 2s linear infinite;
}
.pdfjs .findbar,
.pdfjs .secondaryToolbar {
  top: 32px;
  position: absolute;
  z-index: 10000;
  height: 32px;
  min-width: 16px;
  padding: 0 6px;
  margin: 4px 2px;
  color: #d9d9d9;
  font-size: 12px;
  line-height: 14px;
  text-align: left;
  cursor: default;
}
html[dir='ltr'] .pdfjs .findbar {
  left: 68px;
}
html[dir='rtl'] .pdfjs .findbar {
  right: 68px;
}
.pdfjs .findbar label {
  -webkit-user-select: none;
  -moz-user-select: none;
}
.pdfjs #findInput[data-status="pending"] {
  background-image: url('../images/pdf.js-viewer/loading-small.png');
  background-repeat: no-repeat;
  background-position: right;
}
html[dir='rtl'] .pdfjs #findInput[data-status="pending"] {
  background-position: left;
}
.pdfjs .secondaryToolbar {
  padding: 6px;
  height: auto;
  z-index: 30000;
}
html[dir='ltr'] .pdfjs .secondaryToolbar {
  right: 4px;
}
html[dir='rtl'] .pdfjs .secondaryToolbar {
  left: 4px;
}
.pdfjs #secondaryToolbarButtonContainer {
  max-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: -4px;
}
.pdfjs .doorHanger,
.pdfjs .doorHangerRight {
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.pdfjs .doorHanger:after,
.pdfjs .doorHanger:before,
.pdfjs .doorHangerRight:after,
.pdfjs .doorHangerRight:before {
  bottom: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.pdfjs .doorHanger:after,
.pdfjs .doorHangerRight:after {
  border-bottom-color: rgba(82, 82, 82, 0.99);
  border-width: 8px;
}
.pdfjs .doorHanger:before,
.pdfjs .doorHangerRight:before {
  border-bottom-color: rgba(0, 0, 0, 0.5);
  border-width: 9px;
}
html[dir='ltr'] .pdfjs .doorHanger:after,
html[dir='rtl'] .pdfjs .doorHangerRight:after {
  left: 13px;
  margin-left: -8px;
}
html[dir='ltr'] .pdfjs .doorHanger:before,
html[dir='rtl'] .pdfjs .doorHangerRight:before {
  left: 13px;
  margin-left: -9px;
}
html[dir='rtl'] .pdfjs .doorHanger:after,
html[dir='ltr'] .pdfjs .doorHangerRight:after {
  right: 13px;
  margin-right: -8px;
}
html[dir='rtl'] .pdfjs .doorHanger:before,
html[dir='ltr'] .pdfjs .doorHangerRight:before {
  right: 13px;
  margin-right: -9px;
}
.pdfjs #findMsg {
  font-style: italic;
  color: #A6B7D0;
}
.pdfjs #findInput.notFound {
  background-color: #f66;
}
html[dir='ltr'] .pdfjs #toolbarViewerLeft {
  margin-left: -1px;
}
html[dir='rtl'] .pdfjs #toolbarViewerRight {
  margin-right: -1px;
}
html[dir='ltr'] .pdfjs #toolbarViewerLeft,
html[dir='rtl'] .pdfjs #toolbarViewerRight {
  position: absolute;
  top: 0;
  left: 0;
}
html[dir='ltr'] .pdfjs #toolbarViewerRight,
html[dir='rtl'] .pdfjs #toolbarViewerLeft {
  position: absolute;
  top: 0;
  right: 0;
}
html[dir='ltr'] .pdfjs #toolbarViewerLeft > *,
html[dir='ltr'] .pdfjs #toolbarViewerMiddle > *,
html[dir='ltr'] .pdfjs #toolbarViewerRight > *,
html[dir='ltr'] .pdfjs .findbar > * {
  position: relative;
  float: left;
}
html[dir='rtl'] .pdfjs #toolbarViewerLeft > *,
html[dir='rtl'] .pdfjs #toolbarViewerMiddle > *,
html[dir='rtl'] .pdfjs #toolbarViewerRight > *,
html[dir='rtl'] .pdfjs .findbar > * {
  position: relative;
  float: right;
}
html[dir='ltr'] .pdfjs .splitToolbarButton {
  margin: 3px 2px 4px 0;
  display: inline-block;
}
html[dir='rtl'] .pdfjs .splitToolbarButton {
  margin: 3px 0 4px 2px;
  display: inline-block;
}
html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton {
  border-radius: 0;
  float: left;
}
html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton {
  border-radius: 0;
  float: right;
}
.pdfjs .toolbarButton,
.pdfjs .secondaryToolbarButton,
.pdfjs .overlayButton {
  border: 0 none;
  background: none;
  width: 32px;
  height: 25px;
}
.pdfjs .toolbarButton > span {
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
}
.pdfjs .toolbarButton[disabled],
.pdfjs .secondaryToolbarButton[disabled],
.pdfjs .overlayButton[disabled] {
  opacity: 0.5;
}
.pdfjs .toolbarButton.group {
  margin-right: 0;
}
.pdfjs .splitToolbarButton.toggled .toolbarButton {
  margin: 0;
}
.pdfjs .splitToolbarButton:hover > .toolbarButton,
.pdfjs .splitToolbarButton:focus > .toolbarButton,
.pdfjs .splitToolbarButton.toggled > .toolbarButton,
.pdfjs .toolbarButton.textButton {
  background-color: rgba(0, 0, 0, 0.12);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-transition-property: background-color, border-color, box-shadow;
  -webkit-transition-duration: 150ms;
  -webkit-transition-timing-function: ease;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.pdfjs .splitToolbarButton > .toolbarButton:hover,
.pdfjs .splitToolbarButton > .toolbarButton:focus,
.pdfjs .dropdownToolbarButton:hover,
.pdfjs .overlayButton:hover,
.pdfjs .toolbarButton.textButton:hover,
.pdfjs .toolbarButton.textButton:focus {
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 199;
}
.pdfjs .splitToolbarButton > .toolbarButton {
  position: relative;
}
html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton:first-child,
html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton:last-child {
  position: relative;
  margin: 0;
  margin-right: -1px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  border-right-color: transparent;
}
html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton:last-child,
html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton:first-child {
  position: relative;
  margin: 0;
  margin-left: -1px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-left-color: transparent;
}
.pdfjs .splitToolbarButtonSeparator {
  padding: 8px 0;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: inline-block;
  margin: 5px 0;
}
html[dir='ltr'] .pdfjs .splitToolbarButtonSeparator {
  float: left;
}
html[dir='rtl'] .pdfjs .splitToolbarButtonSeparator {
  float: right;
}
.pdfjs .splitToolbarButton:hover > .splitToolbarButtonSeparator,
.pdfjs .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
  padding: 12px 0;
  margin: 1px 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  -webkit-transition-property: padding;
  -webkit-transition-duration: 10ms;
  -webkit-transition-timing-function: ease;
  transition-property: padding;
  transition-duration: 10ms;
  transition-timing-function: ease;
}
.pdfjs .toolbarButton,
.pdfjs .dropdownToolbarButton,
.pdfjs .secondaryToolbarButton,
.pdfjs .overlayButton {
  min-width: 16px;
  padding: 2px 6px 0;
  border: 1px solid transparent;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
  -webkit-transition-property: background-color, border-color, box-shadow;
  -webkit-transition-duration: 150ms;
  -webkit-transition-timing-function: ease;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
html[dir='ltr'] .pdfjs .toolbarButton,
html[dir='ltr'] .pdfjs .overlayButton,
html[dir='ltr'] .pdfjs .dropdownToolbarButton {
  margin: 3px 2px 4px 0;
}
html[dir='rtl'] .pdfjs .toolbarButton,
html[dir='rtl'] .pdfjs .overlayButton,
html[dir='rtl'] .pdfjs .dropdownToolbarButton {
  margin: 3px 0 4px 2px;
}
.pdfjs .toolbarButton:hover,
.pdfjs .toolbarButton:focus,
.pdfjs .dropdownToolbarButton,
.pdfjs .overlayButton,
.pdfjs .secondaryToolbarButton:hover,
.pdfjs .secondaryToolbarButton:focus {
  background-color: rgba(0, 0, 0, 0.12);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pdfjs .toolbarButton:hover:active,
.pdfjs .overlayButton:hover:active,
.pdfjs .dropdownToolbarButton:hover:active,
.pdfjs .secondaryToolbarButton:hover:active {
  background-color: rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.45);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-transition-property: background-color, border-color, box-shadow;
  -webkit-transition-duration: 10ms;
  -webkit-transition-timing-function: linear;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 10ms;
  transition-timing-function: linear;
}
.pdfjs .toolbarButton.toggled,
.pdfjs .splitToolbarButton.toggled > .toolbarButton.toggled,
.pdfjs .secondaryToolbarButton.toggled {
  background-color: rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.45) rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-transition-property: background-color, border-color, box-shadow;
  -webkit-transition-duration: 10ms;
  -webkit-transition-timing-function: linear;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 10ms;
  transition-timing-function: linear;
}
.pdfjs .toolbarButton.toggled:hover:active,
.pdfjs .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
.pdfjs .secondaryToolbarButton.toggled:hover:active {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pdfjs .dropdownToolbarButton {
  width: 120px;
  max-width: 120px;
  padding: 0;
  overflow: hidden;
  background: url('../images/pdf.js-viewer/toolbarButton-menuArrows.png') no-repeat;
}
html[dir='ltr'] .pdfjs .dropdownToolbarButton {
  background-position: 95%;
}
html[dir='rtl'] .pdfjs .dropdownToolbarButton {
  background-position: 5%;
}
.pdfjs .dropdownToolbarButton > select {
  min-width: 140px;
  font-size: 12px;
  color: #f2f2f2;
  margin: 0;
  padding: 3px 2px 2px;
  border: none;
  background: rgba(0, 0, 0, 0);
}
.pdfjs .dropdownToolbarButton > select > option {
  background: #3d3d3d;
}
.pdfjs #customScaleOption {
  display: none;
}
.pdfjs #pageWidthOption {
  border-bottom: 1px rgba(255, 255, 255, 0.5) solid;
}
html[dir='ltr'] .pdfjs .splitToolbarButton:first-child,
html[dir='ltr'] .pdfjs .toolbarButton:first-child,
html[dir='rtl'] .pdfjs .splitToolbarButton:last-child,
html[dir='rtl'] .pdfjs .toolbarButton:last-child {
  margin-left: 4px;
}
html[dir='ltr'] .pdfjs .splitToolbarButton:last-child,
html[dir='ltr'] .pdfjs .toolbarButton:last-child,
html[dir='rtl'] .pdfjs .splitToolbarButton:first-child,
html[dir='rtl'] .pdfjs .toolbarButton:first-child {
  margin-right: 4px;
}
.pdfjs .toolbarButtonSpacer {
  width: 30px;
  display: inline-block;
  height: 1px;
}
.pdfjs .toolbarButtonFlexibleSpacer {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  min-width: 30px;
}
html[dir='ltr'] .pdfjs #findPrevious {
  margin-left: 3px;
}
html[dir='ltr'] .pdfjs #findNext {
  margin-right: 3px;
}
html[dir='rtl'] .pdfjs #findPrevious {
  margin-right: 3px;
}
html[dir='rtl'] .pdfjs #findNext {
  margin-left: 3px;
}
.pdfjs .toolbarButton::before,
.pdfjs .secondaryToolbarButton::before {
  position: absolute;
  display: inline-block;
  top: 4px;
  left: 7px;
}
html[dir="ltr"] .pdfjs .secondaryToolbarButton::before {
  left: 4px;
}
html[dir="rtl"] .pdfjs .secondaryToolbarButton::before {
  right: 4px;
}
html[dir='ltr'] .pdfjs .toolbarButton#sidebarToggle::before {
  content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle.png');
}
html[dir='rtl'] .pdfjs .toolbarButton#sidebarToggle::before {
  content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle-rtl.png');
}
html[dir='ltr'] .pdfjs .toolbarButton#secondaryToolbarToggle::before {
  content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle.png');
}
html[dir='rtl'] .pdfjs .toolbarButton#secondaryToolbarToggle::before {
  content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle-rtl.png');
}
html[dir='ltr'] .pdfjs .toolbarButton.findPrevious::before {
  content: url('../images/pdf.js-viewer/findbarButton-previous.png');
}
html[dir='rtl'] .pdfjs .toolbarButton.findPrevious::before {
  content: url('../images/pdf.js-viewer/findbarButton-previous-rtl.png');
}
html[dir='ltr'] .pdfjs .toolbarButton.findNext::before {
  content: url('../images/pdf.js-viewer/findbarButton-next.png');
}
html[dir='rtl'] .pdfjs .toolbarButton.findNext::before {
  content: url('../images/pdf.js-viewer/findbarButton-next-rtl.png');
}
html[dir='ltr'] .pdfjs .toolbarButton.pageUp::before {
  content: url('../images/pdf.js-viewer/toolbarButton-pageUp.png');
}
html[dir='rtl'] .pdfjs .toolbarButton.pageUp::before {
  content: url('../images/pdf.js-viewer/toolbarButton-pageUp-rtl.png');
}
html[dir='ltr'] .pdfjs .toolbarButton.pageDown::before {
  content: url('../images/pdf.js-viewer/toolbarButton-pageDown.png');
}
html[dir='rtl'] .pdfjs .toolbarButton.pageDown::before {
  content: url('../images/pdf.js-viewer/toolbarButton-pageDown-rtl.png');
}
.pdfjs .toolbarButton.zoomOut::before {
  content: url('../images/pdf.js-viewer/toolbarButton-zoomOut.png');
}
.pdfjs .toolbarButton.zoomIn::before {
  content: url('../images/pdf.js-viewer/toolbarButton-zoomIn.png');
}
.pdfjs .toolbarButton.presentationMode::before,
.pdfjs .secondaryToolbarButton.presentationMode::before {
  content: url('../images/pdf.js-viewer/toolbarButton-presentationMode.png');
}
.pdfjs .toolbarButton.print::before,
.pdfjs .secondaryToolbarButton.print::before {
  content: url('../images/pdf.js-viewer/toolbarButton-print.png');
}
.pdfjs .toolbarButton.openFile::before,
.pdfjs .secondaryToolbarButton.openFile::before {
  content: url('../images/pdf.js-viewer/toolbarButton-openFile.png');
}
.pdfjs .toolbarButton.download::before,
.pdfjs .secondaryToolbarButton.download::before {
  content: url('../images/pdf.js-viewer/toolbarButton-download.png');
}
.pdfjs .toolbarButton.bookmark,
.pdfjs .secondaryToolbarButton.bookmark {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  padding-top: 4px;
  text-decoration: none;
}
.pdfjs .secondaryToolbarButton.bookmark {
  padding-top: 5px;
}
.pdfjs .bookmark[href='#'] {
  opacity: .5;
  pointer-events: none;
}
.pdfjs .toolbarButton.bookmark::before,
.pdfjs .secondaryToolbarButton.bookmark::before {
  content: url('../images/pdf.js-viewer/toolbarButton-bookmark.png');
}
.pdfjs #viewThumbnail.toolbarButton::before {
  content: url('../images/pdf.js-viewer/toolbarButton-viewThumbnail.png');
}
html[dir="ltr"] .pdfjs #viewOutline.toolbarButton::before {
  content: url('../images/pdf.js-viewer/toolbarButton-viewOutline.png');
}
html[dir="rtl"] .pdfjs #viewOutline.toolbarButton::before {
  content: url('../images/pdf.js-viewer/toolbarButton-viewOutline-rtl.png');
}
.pdfjs #viewAttachments.toolbarButton::before {
  content: url('../images/pdf.js-viewer/toolbarButton-viewAttachments.png');
}
.pdfjs #viewFind.toolbarButton::before {
  content: url('../images/pdf.js-viewer/toolbarButton-search.png');
}
.pdfjs .secondaryToolbarButton {
  position: relative;
  margin: 0 0 4px;
  padding: 3px 0 1px;
  height: auto;
  min-height: 25px;
  width: auto;
  min-width: 100%;
  white-space: normal;
}
html[dir="ltr"] .pdfjs .secondaryToolbarButton {
  padding-left: 24px;
  text-align: left;
}
html[dir="rtl"] .pdfjs .secondaryToolbarButton {
  padding-right: 24px;
  text-align: right;
}
html[dir="ltr"] .pdfjs .secondaryToolbarButton.bookmark {
  padding-left: 27px;
}
html[dir="rtl"] .pdfjs .secondaryToolbarButton.bookmark {
  padding-right: 27px;
}
html[dir="ltr"] .pdfjs .secondaryToolbarButton > span {
  padding-right: 4px;
}
html[dir="rtl"] .pdfjs .secondaryToolbarButton > span {
  padding-left: 4px;
}
.pdfjs .secondaryToolbarButton.firstPage::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-firstPage.png');
}
.pdfjs .secondaryToolbarButton.lastPage::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-lastPage.png');
}
.pdfjs .secondaryToolbarButton.rotateCcw::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCcw.png');
}
.pdfjs .secondaryToolbarButton.rotateCw::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCw.png');
}
.pdfjs .secondaryToolbarButton.handTool::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-handTool.png');
}
.pdfjs .secondaryToolbarButton.documentProperties::before {
  content: url('../images/pdf.js-viewer/secondaryToolbarButton-documentProperties.png');
}
.pdfjs .verticalToolbarSeparator {
  display: block;
  padding: 8px 0;
  margin: 8px 4px;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
html[dir='ltr'] .pdfjs .verticalToolbarSeparator {
  margin-left: 2px;
}
html[dir='rtl'] .pdfjs .verticalToolbarSeparator {
  margin-right: 2px;
}
.pdfjs .horizontalToolbarSeparator {
  display: block;
  margin: 0 0 4px;
  height: 1px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pdfjs .toolbarField {
  padding: 3px 6px;
  margin: 4px 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.09);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) inset, 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #f2f2f2;
  font-size: 12px;
  line-height: 14px;
  outline-style: none;
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
.pdfjs .toolbarField[type=checkbox] {
  display: inline-block;
  margin: 8px 0;
}
.pdfjs .toolbarField.pageNumber {
  -moz-appearance: textfield;
  min-width: 16px;
  text-align: right;
  width: 40px;
}
.pdfjs .toolbarField.pageNumber.visiblePageIsLoading {
  background-image: url('../images/pdf.js-viewer/loading-small.png');
  background-repeat: no-repeat;
  background-position: 1px;
}
.pdfjs .toolbarField.pageNumber::-webkit-inner-spin-button,
.pdfjs .toolbarField.pageNumber::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pdfjs .toolbarField:hover {
  background-color: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.43) rgba(0, 0, 0, 0.45);
}
.pdfjs .toolbarField:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(77, 184, 255, 0.8) rgba(77, 184, 255, 0.85) rgba(77, 184, 255, 0.9);
}
.pdfjs .toolbarLabel {
  min-width: 16px;
  padding: 3px 6px 3px 2px;
  margin: 4px 2px 4px 0;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #d9d9d9;
  font-size: 12px;
  line-height: 14px;
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: default;
}
.pdfjs #thumbnailView {
  position: absolute;
  width: 120px;
  top: 0;
  bottom: 0;
  padding: 10px 40px 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pdfjs .thumbnail {
  float: left;
  margin-bottom: 5px;
}
.pdfjs #thumbnailView > a:last-of-type > .thumbnail {
  margin-bottom: 10px;
}
.pdfjs #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
  margin-bottom: 9px;
}
.pdfjs .thumbnail:not([data-loaded]) {
  border: 1px dashed rgba(255, 255, 255, 0.5);
  margin: -1px -1px 4px;
}
.pdfjs .thumbnailImage {
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: .8;
  z-index: 99;
  background-color: #fff;
  background-clip: content-box;
}
.pdfjs .thumbnailSelectionRing {
  border-radius: 2px;
  padding: 7px;
}
.pdfjs a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
.pdfjs .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
  opacity: 0.9;
}
.pdfjs a:focus > .thumbnail > .thumbnailSelectionRing,
.pdfjs .thumbnail:hover > .thumbnailSelectionRing {
  background-color: rgba(255, 255, 255, 0.15);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.pdfjs .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.pdfjs .thumbnail.selected > .thumbnailSelectionRing {
  background-color: rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.pdfjs #outlineView,
.pdfjs #attachmentsView {
  position: absolute;
  width: 192px;
  top: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.pdfjs #outlineView {
  padding: 4px 4px 0;
}
.pdfjs #attachmentsView {
  padding: 3px 4px 0;
}
html[dir='ltr'] .pdfjs .outlineItem > .outlineItems {
  margin-left: 20px;
}
html[dir='rtl'] .pdfjs .outlineItem > .outlineItems {
  margin-right: 20px;
}
.pdfjs .outlineItem > a,
.pdfjs .attachmentsItem > button {
  text-decoration: none;
  display: inline-block;
  min-width: 95%;
  height: auto;
  margin-bottom: 1px;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 15px;
  -moz-user-select: none;
  white-space: normal;
}
.pdfjs .attachmentsItem > button {
  border: 0 none;
  background: none;
  cursor: pointer;
  width: 100%;
}
html[dir='ltr'] .pdfjs .outlineItem > a {
  padding: 2px 0 5px 10px;
}
html[dir='ltr'] .pdfjs .attachmentsItem > button {
  padding: 2px 0 3px 7px;
  text-align: left;
}
html[dir='rtl'] .pdfjs .outlineItem > a {
  padding: 2px 10px 5px 0;
}
html[dir='rtl'] .pdfjs .attachmentsItem > button {
  padding: 2px 7px 3px 0;
  text-align: right;
}
.pdfjs .outlineItem > a:hover,
.pdfjs .attachmentsItem > button:hover {
  background-color: rgba(255, 255, 255, 0.02);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.pdfjs .outlineItem.selected {
  background-color: rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  background-clip: padding-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.pdfjs .noResults {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  cursor: default;
}
.pdfjs ::selection {
  background: rgba(0, 0, 255, 0.3);
}
.pdfjs ::-moz-selection {
  background: rgba(0, 0, 255, 0.3);
}
.pdfjs #errorWrapper {
  background: none repeat scroll 0 0 #F55;
  color: #fff;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1000;
  padding: 3px;
  font-size: 0.8em;
}
.pdfjs .loadingInProgress #errorWrapper {
  top: 37px;
}
.pdfjs #errorMessageLeft {
  float: left;
}
.pdfjs #errorMessageRight {
  float: right;
}
.pdfjs #errorMoreInfo {
  background-color: #FFF;
  color: #000;
  padding: 3px;
  margin: 3px;
  width: 98%;
}
.pdfjs .overlayButton {
  width: auto;
  margin: 3px 4px 2px!important;
  padding: 2px 6px 3px;
}
.pdfjs #overlayContainer {
  display: table;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 40000;
}
.pdfjs #overlayContainer > * {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pdfjs #overlayContainer > .container {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.pdfjs #overlayContainer > .container > .dialog {
  display: inline-block;
  padding: 15px;
  border-spacing: 4px;
  color: #d9d9d9;
  font-size: 12px;
  line-height: 14px;
  background-color: #474747;
  background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(82, 82, 82, 0.99), rgba(69, 69, 69, 0.95));
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.pdfjs .dialog > .row {
  display: table-row;
}
.pdfjs .dialog > .row > * {
  display: table-cell;
}
.pdfjs .dialog .toolbarField {
  margin: 5px 0;
}
.pdfjs .dialog .separator {
  display: block;
  margin: 4px 0;
  height: 1px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pdfjs .dialog .buttonRow {
  text-align: center;
  vertical-align: middle;
}
.pdfjs #passwordOverlay > .dialog {
  text-align: center;
}
.pdfjs #passwordOverlay .toolbarField {
  width: 200px;
}
.pdfjs #documentPropertiesOverlay > .dialog {
  text-align: left;
}
.pdfjs #documentPropertiesOverlay .row > * {
  min-width: 100px;
}
html[dir='ltr'] .pdfjs #documentPropertiesOverlay .row > * {
  text-align: left;
}
html[dir='rtl'] .pdfjs #documentPropertiesOverlay .row > * {
  text-align: right;
}
.pdfjs #documentPropertiesOverlay .row > span {
  width: 125px;
  word-wrap: break-word;
}
.pdfjs #documentPropertiesOverlay .row > p {
  max-width: 225px;
  word-wrap: break-word;
}
.pdfjs #documentPropertiesOverlay .buttonRow {
  margin-top: 10px;
}
.pdfjs .clearBoth {
  clear: both;
}
.pdfjs .fileInput {
  background: #fff;
  color: #000;
  margin-top: 5px;
  visibility: hidden;
  position: fixed;
  right: 0;
  top: 0;
}
.pdfjs #PDFBug {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #666;
  position: fixed;
  top: 32px;
  right: 0;
  bottom: 0;
  font-size: 10px;
  padding: 0;
  width: 300px;
}
.pdfjs #PDFBug .controls {
  background: #EEE;
  border-bottom: 1px solid #666;
  padding: 3px;
}
.pdfjs #PDFBug .panels {
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  right: 0;
  top: 27px;
}
.pdfjs #PDFBug button.active {
  font-weight: 700;
}
.pdfjs .debuggerShowText {
  background: none repeat scroll 0 0 #ff0;
  color: blue;
}
.pdfjs .debuggerHideText:hover {
  background: none repeat scroll 0 0 #ff0;
}
.pdfjs #PDFBug .stats {
  font-family: courier;
  font-size: 10px;
  white-space: pre;
}
.pdfjs #PDFBug .stats .title {
  font-weight: 700;
}
.pdfjs #PDFBug table {
  font-size: 10px;
}
.pdfjs #viewer.textLayer-visible .textLayer > div,
.pdfjs #viewer.textLayer-hover .textLayer > div:hover {
  background-color: #fff;
  color: #000;
}
.pdfjs #viewer.textLayer-shadow .textLayer > div {
  background-color: rgba(255, 255, 255, 0.6);
  color: #000;
}
.pdfjs .grab-to-pan-grab {
  cursor: url('../images/pdf.js-viewer/grab.cur'), move !important;
  cursor: -webkit-grab !important;
  cursor: -moz-grab !important;
  cursor: grab !important;
}
.pdfjs .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link) {
  cursor: inherit !important;
}
.pdfjs .grab-to-pan-grab:active,
.pdfjs .grab-to-pan-grabbing {
  cursor: url('../images/pdf.js-viewer/grabbing.cur'), move !important;
  cursor: -webkit-grabbing !important;
  cursor: -moz-grabbing !important;
  cursor: grabbing!important;
  position: fixed;
  background: transparent;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 50000;
}
@page {
  margin: 0;
}
.pdfjs #printContainer {
  display: none;
}
@media screen and (min-resolution: 2dppx) {
  .pdfjs .toolbarButton::before {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    top: -5px;
  }
  .pdfjs .secondaryToolbarButton::before {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    top: -4px;
  }
  html[dir='ltr'] .pdfjs .toolbarButton::before,
  html[dir='rtl'] .pdfjs .toolbarButton::before {
    left: -1px;
  }
  html[dir='ltr'] .pdfjs .secondaryToolbarButton::before {
    left: -2px;
  }
  html[dir='rtl'] .pdfjs .secondaryToolbarButton::before {
    left: 186px;
  }
  .pdfjs .toolbarField.pageNumber.visiblePageIsLoading,
  .pdfjs #findInput[data-status="pending"] {
    background-image: url('../images/pdf.js-viewer/loading-small@2x.png');
    background-size: 16px 17px;
  }
  .pdfjs .dropdownToolbarButton {
    background: url('../images/pdf.js-viewer/toolbarButton-menuArrows@2x.png') no-repeat;
    background-size: 7px 16px;
  }
  html[dir='ltr'] .pdfjs .toolbarButton#sidebarToggle::before {
    content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton#sidebarToggle::before {
    content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle-rtl@2x.png');
  }
  html[dir='ltr'] .pdfjs .toolbarButton#secondaryToolbarToggle::before {
    content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton#secondaryToolbarToggle::before {
    content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle-rtl@2x.png');
  }
  html[dir='ltr'] .pdfjs .toolbarButton.findPrevious::before {
    content: url('../images/pdf.js-viewer/findbarButton-previous@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton.findPrevious::before {
    content: url('../images/pdf.js-viewer/findbarButton-previous-rtl@2x.png');
  }
  html[dir='ltr'] .pdfjs .toolbarButton.findNext::before {
    content: url('../images/pdf.js-viewer/findbarButton-next@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton.findNext::before {
    content: url('../images/pdf.js-viewer/findbarButton-next-rtl@2x.png');
  }
  html[dir='ltr'] .pdfjs .toolbarButton.pageUp::before {
    content: url('../images/pdf.js-viewer/toolbarButton-pageUp@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton.pageUp::before {
    content: url('../images/pdf.js-viewer/toolbarButton-pageUp-rtl@2x.png');
  }
  html[dir='ltr'] .pdfjs .toolbarButton.pageDown::before {
    content: url('../images/pdf.js-viewer/toolbarButton-pageDown@2x.png');
  }
  html[dir='rtl'] .pdfjs .toolbarButton.pageDown::before {
    content: url('../images/pdf.js-viewer/toolbarButton-pageDown-rtl@2x.png');
  }
  .pdfjs .toolbarButton.zoomIn::before {
    content: url('../images/pdf.js-viewer/toolbarButton-zoomIn@2x.png');
  }
  .pdfjs .toolbarButton.zoomOut::before {
    content: url('../images/pdf.js-viewer/toolbarButton-zoomOut@2x.png');
  }
  .pdfjs .toolbarButton.presentationMode::before,
  .pdfjs .secondaryToolbarButton.presentationMode::before {
    content: url('../images/pdf.js-viewer/toolbarButton-presentationMode@2x.png');
  }
  .pdfjs .toolbarButton.print::before,
  .pdfjs .secondaryToolbarButton.print::before {
    content: url('../images/pdf.js-viewer/toolbarButton-print@2x.png');
  }
  .pdfjs .toolbarButton.openFile::before,
  .pdfjs .secondaryToolbarButton.openFile::before {
    content: url('../images/pdf.js-viewer/toolbarButton-openFile@2x.png');
  }
  .pdfjs .toolbarButton.download::before,
  .pdfjs .secondaryToolbarButton.download::before {
    content: url('../images/pdf.js-viewer/toolbarButton-download@2x.png');
  }
  .pdfjs .toolbarButton.bookmark::before,
  .pdfjs .secondaryToolbarButton.bookmark::before {
    content: url('../images/pdf.js-viewer/toolbarButton-bookmark@2x.png');
  }
  .pdfjs #viewThumbnail.toolbarButton::before {
    content: url('../images/pdf.js-viewer/toolbarButton-viewThumbnail@2x.png');
  }
  html[dir="ltr"] .pdfjs #viewOutline.toolbarButton::before {
    content: url('../images/pdf.js-viewer/toolbarButton-viewOutline@2x.png');
  }
  html[dir="rtl"] .pdfjs #viewOutline.toolbarButton::before {
    content: url('../images/pdf.js-viewer/toolbarButton-viewOutline-rtl@2x.png');
  }
  .pdfjs #viewAttachments.toolbarButton::before {
    content: url('../images/pdf.js-viewer/toolbarButton-viewAttachments@2x.png');
  }
  .pdfjs #viewFind.toolbarButton::before {
    content: url('../images/pdf.js-viewer/toolbarButton-search@2x.png');
  }
  .pdfjs .secondaryToolbarButton.firstPage::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-firstPage@2x.png');
  }
  .pdfjs .secondaryToolbarButton.lastPage::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-lastPage@2x.png');
  }
  .pdfjs .secondaryToolbarButton.rotateCcw::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCcw@2x.png');
  }
  .pdfjs .secondaryToolbarButton.rotateCw::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCw@2x.png');
  }
  .pdfjs .secondaryToolbarButton.handTool::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-handTool@2x.png');
  }
  .pdfjs .secondaryToolbarButton.documentProperties::before {
    content: url('../images/pdf.js-viewer/secondaryToolbarButton-documentProperties@2x.png');
  }
}
@media print {
  body {
    background: transparent none;
  }
  .pdfjs #sidebarContainer,
  .pdfjs #secondaryToolbar,
  .pdfjs .toolbar,
  .pdfjs #loadingBox,
  .pdfjs #errorWrapper,
  .pdfjs .textLayer {
    display: none;
  }
  .pdfjs #viewerContainer {
    overflow: visible;
  }
  .pdfjs #mainContainer,
  .pdfjs #viewerContainer,
  .pdfjs .page,
  .pdfjs .page canvas {
    position: static;
    padding: 0;
    margin: 0;
  }
  .pdfjs .page {
    float: left;
    display: none;
    border: none;
    box-shadow: none;
    background-clip: content-box;
    background-color: #fff;
  }
  .pdfjs .page[data-loaded] {
    display: block;
  }
  .pdfjs .fileInput {
    display: none;
  }
  body[data-mozPrintCallback] .pdfjs #outerContainer {
    display: none;
  }
  body[data-mozPrintCallback] .pdfjs #printContainer {
    display: block;
  }
  .pdfjs #printContainer > div {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
  }
  .pdfjs #printContainer canvas {
    display: block;
  }
}
.pdfjs .visibleLargeView,
.pdfjs .visibleMediumView,
.pdfjs .visibleSmallView {
  display: none;
}
@media all and (max-width: 960px) {
  html[dir='ltr'] .pdfjs #outerContainer.sidebarMoving .outerCenter,
  html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen .outerCenter {
    float: left;
    left: 205px;
  }
  html[dir='rtl'] .pdfjs #outerContainer.sidebarMoving .outerCenter,
  html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen .outerCenter {
    float: right;
    right: 205px;
  }
}
@media all and (max-width: 900px) {
  .pdfjs .sidebarOpen .hiddenLargeView {
    display: none;
  }
  .pdfjs .sidebarOpen .visibleLargeView {
    display: inherit;
  }
}
@media all and (max-width: 860px) {
  .pdfjs .sidebarOpen .hiddenMediumView {
    display: none;
  }
  .pdfjs .sidebarOpen .visibleMediumView {
    display: inherit;
  }
}
@media all and (max-width: 770px) {
  .pdfjs #sidebarContainer {
    top: 32px;
    z-index: 100;
  }
  .pdfjs .loadingInProgress #sidebarContainer {
    top: 37px;
  }
  .pdfjs #sidebarContent {
    top: 32px;
    background-color: rgba(0, 0, 0, 0.7);
  }
  html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #mainContainer {
    left: 0;
  }
  html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #mainContainer {
    right: 0;
  }
  html[dir='ltr'] .pdfjs .outerCenter {
    float: left;
    left: 205px;
  }
  html[dir='rtl'] .pdfjs .outerCenter {
    float: right;
    right: 205px;
  }
  .pdfjs #outerContainer .hiddenLargeView,
  .pdfjs #outerContainer .hiddenMediumView {
    display: inherit;
  }
  .pdfjs #outerContainer .visibleLargeView,
  .pdfjs #outerContainer .visibleMediumView {
    display: none;
  }
}
@media all and (max-width: 700px) {
  .pdfjs #outerContainer .hiddenLargeView {
    display: none;
  }
  .pdfjs #outerContainer .visibleLargeView {
    display: inherit;
  }
}
@media all and (max-width: 660px) {
  .pdfjs #outerContainer .hiddenMediumView {
    display: none;
  }
  .pdfjs #outerContainer .visibleMediumView {
    display: inherit;
  }
}
@media all and (max-width: 600px) {
  .pdfjs .hiddenSmallView {
    display: none;
  }
  .pdfjs .visibleSmallView {
    display: inherit;
  }
  html[dir='ltr'] .pdfjs #outerContainer.sidebarMoving .outerCenter,
  html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen .outerCenter,
  html[dir='ltr'] .pdfjs .outerCenter {
    left: 156px;
  }
  html[dir='rtl'] .pdfjs #outerContainer.sidebarMoving .outerCenter,
  html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen .outerCenter,
  html[dir='rtl'] .pdfjs .outerCenter {
    right: 156px;
  }
  .pdfjs .toolbarButtonSpacer {
    width: 0;
  }
}
@media all and (max-width: 510px) {
  .pdfjs #scaleSelectContainer,
  .pdfjs #pageNumberLabel {
    display: none;
  }
}
/* should be hidden differently */
#fileInput.fileInput {
  display: none;
}