/** source file: uniform/mediasystem_player_client/modules/ms2_pdf_viewer.scss **/
body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  background-color: #9e9e9e !important;
}

body.ms2_pdfpage_inside {
  -ms-overflow-style: none;
}
body.ms2_pdfpage_inside #page-container {
  background-color: #9e9e9e;
  background-image: none !important;
}

.ms2_pdf_viewer_contentelement {
  position: fixed;
  top: 48px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.ms2_pdf_viewer_pagescontainer {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.ms2_pdf_viewer_page {
  width: 100%;
  border: 0;
  margin: auto;
  box-sizing: border-box;
}
.ms2_pdf_viewer_page > iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/** While loading, show nice page background. */
.ms2_pdf_viewer_page.toolkit_loading_component_loading {
  background-color: rgba(255, 255, 255, 0.6);
  border-top: 10px solid #9e9e9e;
  border-bottom: 10px solid #9e9e9e;
}
.ms2_pdf_viewer_page.toolkit_loading_component_loading iframe {
  opacity: 0;
}

/* Toolbar control */
.ms2_pdf_viewer_toolbar {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(50, 54, 57, 0.9);
  height: 48px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  color: rgb(241, 241, 241);
  font-size: 18px;
  width: 100%;
  z-index: 99999999;
  font-family: sans-serif;
}

.ms2_pdf_viewer_toolbar {
  /** Mobilize PdfViewer toolbar */
}
.ms2_pdf_viewer_toolbar .pdf_toolbar_title {
  padding: 14px;
  font-size: 18px;
}
.ms2_pdf_viewer_toolbar .pdf_toolbar_count {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ms2_pdf_viewer_toolbar .pdf_button_print {
  position: absolute;
  right: 100px;
}
.ms2_pdf_viewer_toolbar .pdf_button_common {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 300ms linear;
}
.ms2_pdf_viewer_toolbar a.pdf_button_common:hover {
  opacity: 1;
}
.ms2_pdf_viewer_toolbar a.pdf_button_print {
  background-image: url(/static/assets/uniform/mediasystem_player_client/assets/ms2_player_icons/ms2_pdfviewer_icon_print.svg);
  right: 100px;
}
.ms2_pdf_viewer_toolbar a.pdf_button_download {
  background-image: url(/static/assets/uniform/mediasystem_player_client/assets/ms2_player_icons/ms2_pdfviewer_icon_download.svg);
  right: 150px;
}
@media screen and (min-width: 0px) and (max-width: 1024px) {
  .ms2_pdf_viewer_toolbar,
  .ms2_pdf_viewer_toolbar div.pdf_toolbar_title {
    font-size: 36px !important;
  }
  .ms2_pdf_viewer_toolbar {
    height: 68px !important;
  }
  .ms2_pdf_viewer_toolbar .pdf_button_common {
    width: 48px !important;
    height: 48px !important;
  }
  .ms2_pdf_viewer_toolbar .pdf_button_print {
    right: 80px !important;
  }
  .ms2_pdf_viewer_toolbar .pdf_toolbar_count {
    display: none;
  }
}
