.q4-arrow_left,
.q4-arrow_right {
    width: 40px;
}

#toolbarViewerMiddle .q4-arrow_right:before,
#toolbarViewerMiddle .q4-arrow_left:before {
    font-size: 22px;
    line-height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.q4-arrow_right:before {
    content: "\e958" !important;
}

.q4-arrow_left:before {
    content: "\e95b" !important;
}

@media screen and (max-width: 480px) {
    #toolbarViewerMiddle .q4-arrow_right:before,
    #toolbarViewerMiddle .q4-arrow_left:before {
        font-size: 30px;
        line-height: 36px;
    }

}

#sidebarToggle,
.toolbarButtonSpacer,
#viewFind,
#openFile,
#print,
#download,
#viewBookmark,
.verticalToolbarSeparator,
#secondaryToolbarToggle,
#scaleSelectContainer {
    display: none !important;
}

.toolbar {
    position: fixed;
    bottom: 0;
    height: 32px;
}

#mainContainer {
    min-width: 150px;
}

#viewerContainer {
    top: 0;
    bottom: 32px;
    border-top: 5px solid black;
    border-bottom: 5px solid black;
}

#loadingBar {
    position: absolute;
    top: -4px;
}

@media screen and (min-device-width: 600px) {
    #viewerContainer {
        overflow: hidden;
    }
}

@media (max-width: 510px) and (min-device-width: 600px) {
    #scaleSelectContainer,
    #pageNumberLabel {
        display: block;
    }
}

#presentationMode {
    display: block !important;
}

@media all and (max-width: 640px) {
    .hiddenSmallView,
    .hiddenSmallView * {
        display: flex;
    }
    .visibleSmallView {
        display: inherit;
    }
    .toolbarButtonSpacer {
        width: 0;
    }
}

html[dir='ltr'] .toolbarButton.pageUp::before {
    content: url(../image/toolbarButton-prevPage.png);
}

html[dir='ltr'] .toolbarButton.pageDown::before {
    content: url(https://investors.adamaltd.com.cn/pdf-reader/web/images/toolbarButton-nextPage.png);
}

@media screen and (min-resolution: 2dppx) {
    html[dir='ltr'] .toolbarButton.pageUp::before {
        content: url(../image/toolbarButton-prevPage@2x.png);
    }
    html[dir='ltr'] .toolbarButton.pageDown::before {
        content: url(https://investors.adamaltd.com.cn/pdf-reader/web/images/toolbarButton-nextPage@2x.png);
    }
}

.pageUp,
.pageDown {
    float: none !important;
}

#toolbarViewer,
.toolbar,
#toolbarContainer {
    height: 40px;
}

#viewerContainer {
    bottom: 40px;
}

#toolbarViewerLeft,
#toolbarViewerRight {
    margin-top: 5px;
}

#toolbarViewerLeft {
    margin-left: 5px;
}

.toolbarField.pageNumber {
    width: 25px;
}

#toolbarContainer,
.findbar,
.secondaryToolbar {
    background-color: #222;
    background-image: none;
}

body {
    background-color: #000;
    background-image: none;
}

.pdfViewer .page {
  background-color: transparent;
}
#toolbarViewer.toolbarViewer--flex #toolbarViewerLeft, 
#toolbarViewer.toolbarViewer--flex #toolbarViewerRight {
    float: none;
}
#toolbarViewer.toolbarViewer--flex #toolbarViewerMiddle {
    display: block;
}
#toolbarViewer.toolbarViewer--flex {
    display: flex; 
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}
.splitToolbarButton > .toolbarButton:focus, 
.overlayButton:focus, 
.toolbarButton.textButton:focus, 
.secondaryToolbarButton:focus, 
.toolbarButton:focus{
    border-color: #909090 !important;
}
/* prevent buttons from wrapping out of iframe on 400% zoom */
@media screen and (max-width: 350px) {
    .toolbarButton,
    .secondaryToolbarButton,
    .overlayButton {
      width: 30px;
    }
  }
  