﻿/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 /*add to bootstrap col-* to allow the pdf to have height equal to row height
   breaks responsiveness
 */
.pdf-column-pull {
    float: none;
    display: table-cell;
}
.pdf-set-height{
	min-height:575px;
}



.textLayer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.2;
    line-height: 1.0;
}
.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%;
}
.textLayer .highlight {
    margin: -1px;
    padding: 1px;
    background-color: rgb(180, 0, 170);
    border-radius: 4px;
}
.textLayer .highlight.begin {
    border-radius: 4px 0px 0px 4px;
}
.textLayer .highlight.end {
    border-radius: 0px 4px 4px 0px;
}
.textLayer .highlight.middle {
    border-radius: 0px;
}
.textLayer .highlight.selected {
    background-color: rgb(0, 100, 0);
}
.textLayer::selection {
    background: rgb(0, 0, 255);
}
.textLayer::-moz-selection {
    background: rgb(0, 0, 255);
}
.textLayer .endOfContent {
    display: block;
    position: absolute;
    left: 0px;
    top: 100%;
    right: 0px;
    bottom: 0px;
    z-index: -1;
    cursor: default;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
}
.textLayer .endOfContent.active {
    top: 0px;
}
.pdfViewer .canvasWrapper {
    overflow: hidden;
}
.pdfViewer .page {
    direction: ltr;
    width: 816px;
    height: 1056px;
    margin: 1px auto -4px auto;
    position: relative;
    overflow: visible;
    border: 9px solid transparent;
    background-clip: content-box;
    border-image: url(../img/pdf_viewer/shadow.png) 9 9 repeat;
    background-color: white;
}
.pdfViewer.removePageBorders .page {
    margin: 0px auto 10px auto;
    border: none;
}
.pdfViewer.singlePageView {
    display: inline-block;
}
.pdfViewer.singlePageView .page {
    margin: 0;
    border: none;
}
.pdfViewer .page canvas {
    margin: 0;
    display: block;
    border-bottom: 9px solid hsla(0, 0%, 0%, .15);
}
.pdfViewer .page .loadingIcon {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pdf_viewer/loading-icon.gif') center no-repeat;
}
.hidden {
    display: none !important;
}
[hidden] {
    display: none !important;
}
#viewerContainer {
    background-color: #404040;
    background-image: url(../img/pdf_viewer/texture.png);
}
#outerContainer {
    width: 100%;
    height: 100%;
}
#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;
}
#viewerContainer {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    top: 32px;
    right: 0;
    bottom: 0;
    left: 0;
    outline: none;
}
#viewerContainer {
    box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, .05);
}
.toolbar {
    position: relative;
    left: 0;
    right: 0;
    z-index: 999;
    cursor: default;
}
#toolbarContainer {
    width: 100%;
}
#toolbarContainer,
.findbar {
    position: relative;
    height: 32px;
    background-color: #474747;
    /* fallback */
    
    background-image: url(../img/pdf_viewer/texture.png), linear-gradient(hsla(0, 0%, 32%, .99), hsla(0, 0%, 27%, .95));
}
#toolbarContainer,
.findbar {
    box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, .08), inset 0 1px 1px hsla(0, 0%, 0%, .15), inset 0 -1px 0 hsla(0, 0%, 100%, .05), 0 1px 0 hsla(0, 0%, 0%, .15), 0 1px 1px hsla(0, 0%, 0%, .1);
}
#toolbarViewer {
    height: 32px;
}
#loadingBar {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #333;
    border-bottom: 1px solid #333;
}
#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: -142px;
    }
    100% {
        left: 0;
    }
}
@keyframes progressIndeterminate {
    0% {
        left: -142px;
    }
    100% {
        left: 0;
    }
}
#loadingBar .progress.indeterminate {
    background-color: #999;
    -webkit-transition: none;
    transition: none;
}
#loadingBar .progress.indeterminate .glimmer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(100% + 150px);
    background: repeating-linear-gradient(135deg, #bbb 0, #999 5px, #999 45px, #ddd 55px, #ddd 95px, #bbb 100px);
    -webkit-animation: progressIndeterminate 950ms linear infinite;
    animation: progressIndeterminate 950ms linear infinite;
}
.findbar {
    top: 32px;
    position: absolute;
    z-index: 1000;
    height: 32px;
    min-width: 16px;
    padding: 0px 6px 0px 6px;
    margin: 4px 2px 4px 2px;
    color: hsl(0, 0%, 85%);
    font-size: 12px;
    line-height: 14px;
    text-align: left;
    cursor: default;
}
.findbar label {
    -webkit-user-select: none;
    -moz-user-select: none;
}
#findInput[data-status="pending"] {
    background-image: url(../img/pdf_viewer/loading-small.png);
    background-repeat: no-repeat;
    background-position: right;
}
#findResultsCount {
    background-color: hsl(0, 0%, 85%);
    color: hsl(0, 0%, 32%);
    text-align: center;
    padding: 3px 4px;
}
#findMsg {
    font-style: italic;
    color: #A6B7D0;
}
#findInput.notFound {
    background-color: rgb(255, 102, 102);
}
#toolbarViewerLeft {
    margin-left: -1px;
}
#toolbarViewerLeft {
    position: absolute;
    top: 0;
    left: 0;
}
#toolbarViewerLeft > *,
.findbar > * {
    position: relative;
    float: left;
}
.splitToolbarButton {
    margin: 0px 2px 4px 0;
    display: inline-block;
}
.splitToolbarButton > .toolbarButton {
    border-radius: 0;
    float: left;
}
.toolbarButton,
.overlayButton {
    border: 0 none;
    background: none;
    width: 32px;
    height: 25px;
}
.toolbarButton > span {
    display: inline-block;
    width: 0;
    height: 0;
    overflow: hidden;
}
.toolbarButton[disabled],
.overlayButton[disabled] {
    opacity: .5;
}
.toolbarButton.group {
    margin-right: 0;
}
.splitToolbarButton.toggled .toolbarButton {
    margin: 0;
}
.splitToolbarButton:hover > .toolbarButton,
.splitToolbarButton:focus > .toolbarButton,
.splitToolbarButton.toggled > .toolbarButton,
.toolbarButton.textButton {
    background-color: hsla(0, 0%, 0%, .12);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    border: 1px solid hsla(0, 0%, 0%, .35);
    border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 1px 0 hsla(0, 0%, 100%, .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;
}
.splitToolbarButton > .toolbarButton:hover,
.splitToolbarButton > .toolbarButton:focus,
.dropdownToolbarButton:hover,
.overlayButton:hover,
.overlayButton:focus,
.toolbarButton.textButton:hover,
.toolbarButton.textButton:focus {
    background-color: hsla(0, 0%, 0%, .2);
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 0 1px hsla(0, 0%, 0%, .05);
    z-index: 199;
}
.splitToolbarButton > .toolbarButton {
    position: relative;
    margin-right: -1px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-right-color: transparent;
}
.splitToolbarButtonSeparator {
    padding: 8px 0;
    width: 1px;
    background-color: hsla(0, 0%, 0%, .5);
    z-index: 99;
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .08);
    display: inline-block;
    margin: 5px 0;
}
.splitToolbarButtonSeparator {
    float: left;
}
.splitToolbarButton:hover > .splitToolbarButtonSeparator,
.splitToolbarButton.toggled > .splitToolbarButtonSeparator {
    padding: 12px 0;
    margin: 1px 0;
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .03);
    -webkit-transition-property: padding;
    -webkit-transition-duration: 10ms;
    -webkit-transition-timing-function: ease;
    transition-property: padding;
    transition-duration: 10ms;
    transition-timing-function: ease;
}
.toolbarButton,
.dropdownToolbarButton,
.overlayButton {
    min-width: 16px;
    padding: 2px 6px 0;
    border: 1px solid transparent;
    border-radius: 2px;
    color: hsla(0, 0%, 100%, .8);
    font-size: 12px;
    line-height: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Opera does not support user-select, use <... unselectable="on"> instead */
    
    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;
}
.toolbarButton,
.overlayButton,
.dropdownToolbarButton {
    margin: 3px 2px 4px 0;
}
.toolbarButton:hover,
.toolbarButton:focus,
.dropdownToolbarButton,
.overlayButton {
    background-color: hsla(0, 0%, 0%, .12);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    border: 1px solid hsla(0, 0%, 0%, .35);
    border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
}
.toolbarButton:hover:active,
.overlayButton:hover:active {
    background-color: hsla(0, 0%, 0%, .2);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    border-color: hsla(0, 0%, 0%, .35) hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .45);
    box-shadow: 0 1px 1px hsla(0, 0%, 0%, .1) inset, 0 0 1px hsla(0, 0%, 0%, .2) inset, 0 1px 0 hsla(0, 0%, 100%, .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;
}
.toolbarButton.toggled,
.splitToolbarButton.toggled > .toolbarButton.toggled {
    background-color: hsla(0, 0%, 0%, .3);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    border-color: hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .45) hsla(0, 0%, 0%, .5);
    box-shadow: 0 1px 1px hsla(0, 0%, 0%, .1) inset, 0 0 1px hsla(0, 0%, 0%, .2) inset, 0 1px 0 hsla(0, 0%, 100%, .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;
}
.toolbarButton.toggled:hover:active,
.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active {
    background-color: hsla(0, 0%, 0%, .4);
    border-color: hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .5) hsla(0, 0%, 0%, .55);
    box-shadow: 0 1px 1px hsla(0, 0%, 0%, .2) inset, 0 0 1px hsla(0, 0%, 0%, .3) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
}
.dropdownToolbarButton {
    width: 120px;
    max-width: 120px;
    padding: 0;
    overflow: hidden;
    background: url(../img/pdf_viewer/toolbarButton-menuArrows.png) no-repeat;
}
.dropdownToolbarButton {
    background-position: 95%;
}
.dropdownToolbarButton > select {
    min-width: 140px;
    font-size: 12px;
    color: hsl(0, 0%, 95%);
    margin: 0;
    padding: 3px 2px 2px;
    border: none;
    background: #717171;
    /* Opera does not support 'transparent' <select> background */
}
.dropdownToolbarButton > select > option {
    background: hsl(0, 0%, 24%);
}
#customScaleOption {
    display: none;
}
#pageWidthOption {
    border-bottom: 1px rgba(255, 255, 255, .5) solid;
}
.splitToolbarButton:first-child,
.toolbarButton:first-child {
    margin-left: 4px;
}
.splitToolbarButton:last-child,
.toolbarButton:last-child {
    margin-right: 4px;
}
.toolbarButtonSpacer {
    width: 30px;
    display: inline-block;
    height: 1px;
}
.toolbarButtonFlexibleSpacer {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    min-width: 30px;
}
#findPrevious {
    margin-left: 3px;
}
#findNext {
    margin-right: 3px;
}
.toolbarButton::before {
    /* All matching images have a size of 16x16
   * All relevant containers have a size of 32x25 */
    
    position: absolute;
    display: inline-block;
    top: 4px;
    left: 7px;
}
.toolbarButton.findPrevious::before {
    content: url(../img/pdf_viewer/findbarButton-previous.png);
}
.toolbarButton.findNext::before {
    content: url(../img/pdf_viewer/findbarButton-next.png);
}
.toolbarButton.pageUp::before {
    content: url(../img/pdf_viewer/toolbarButton-pageUp.png);
}
.toolbarButton.pageDown::before {
    content: url(../img/pdf_viewer/toolbarButton-pageDown.png);
}
.toolbarButton.zoomOut::before {
    content: url(../img/pdf_viewer/toolbarButton-zoomOut.png);
}
.toolbarButton.zoomIn::before {
    content: url(../img/pdf_viewer/toolbarButton-zoomIn.png);
}
.toolbarButton.openFile::before {
    content: url(../img/pdf_viewer/toolbarButton-openFile.png);
}
.toolbarButton.download::before {
    content: url(../img/pdf_viewer/toolbarButton-download.png);
}
.toolbarButton.bookmark {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    padding-top: 4px;
    text-decoration: none;
}
.bookmark[href='#'] {
    opacity: .5;
    pointer-events: none;
}
#viewFind.toolbarButton::before {
    content: url(../img/pdf_viewer/toolbarButton-search.png);
}
.toolbarButton.firstPage::before {
    content: url(../img/pdf_viewer/secondaryToolbarButton-firstPage.png);
}
.toolbarButton.lastPage::before {
    content: url(../img/pdf_viewer/secondaryToolbarButton-lastPage.png);
}
.toolbarButton.handTool::before {
    content: url(../img/pdf_viewer/secondaryToolbarButton-handTool.png);
}
.verticalToolbarSeparator {
    display: block;
    padding: 8px 0;
    margin: 8px 4px;
    width: 1px;
    background-color: hsla(0, 0%, 0%, .5);
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .08);
}
.verticalToolbarSeparator {
    margin-left: 2px;
}
.horizontalToolbarSeparator {
    display: block;
    margin: 0 0 4px 0;
    height: 1px;
    width: 100%;
    background-color: hsla(0, 0%, 0%, .5);
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .08);
}
.toolbarField {
    padding: 3px 6px;
    margin: 4px 0 4px 0;
    border: 1px solid transparent;
    border-radius: 2px;
    background-color: hsla(0, 0%, 100%, .09);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    border: 1px solid hsla(0, 0%, 0%, .35);
    border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
    box-shadow: 0 1px 0 hsla(0, 0%, 0%, .05) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
    color: hsl(0, 0%, 95%);
    font-size: 12px;
    line-height: 14px;
    outline-style: none;
    transition-property: background-color, border-color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: ease;
}
.toolbarField[type=checkbox] {
    display: inline-block;
    margin: 8px 0px;
}
.toolbarField.pageNumber {
    -moz-appearance: textfield;
    /* hides the spinner in moz */
    
    min-width: 16px;
    text-align: right;
    width: 40px;
}
.toolbarField.pageNumber.visiblePageIsLoading {
    background-image: url(../img/pdf_viewer/loading-small.png);
    background-repeat: no-repeat;
    background-position: 1px;
}
.toolbarField.pageNumber::-webkit-inner-spin-button,
.toolbarField.pageNumber::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.toolbarField:hover {
    background-color: hsla(0, 0%, 100%, .11);
    border-color: hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .43) hsla(0, 0%, 0%, .45);
}
.toolbarField:focus {
    background-color: hsla(0, 0%, 100%, .15);
    border-color: hsla(204, 100%, 65%, .8) hsla(204, 100%, 65%, .85) hsla(204, 100%, 65%, .9);
}
.toolbarLabel {
    min-width: 16px;
    padding: 3px 6px 3px 2px;
    margin: 4px 2px 4px 0;
    border: 1px solid transparent;
    border-radius: 2px;
    color: hsl(0, 0%, 85%);
    font-size: 12px;
    line-height: 14px;
    text-align: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: default;
}
.thumbnail:not([data-loaded]) {
    border: 1px dashed rgba(255, 255, 255, 0.5);
    margin: -1px -1px 4px -1px;
}
.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: 0.8;
    z-index: 99;
    background-color: white;
    background-clip: content-box;
}
.thumbnailSelectionRing {
    border-radius: 2px;
    padding: 7px;
}
a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
.thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
    opacity: .9;
}
a:focus > .thumbnail > .thumbnailSelectionRing,
.thumbnail:hover > .thumbnailSelectionRing {
    background-color: hsla(0, 0%, 100%, .15);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .2) inset, 0 0 1px hsla(0, 0%, 0%, .2);
    color: hsla(0, 0%, 100%, .9);
}
.thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
    box-shadow: 0 0 0 1px hsla(0, 0%, 0%, .5);
    opacity: 1;
}
.thumbnail.selected > .thumbnailSelectionRing {
    background-color: hsla(0, 0%, 100%, .3);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .1) inset, 0 0 1px hsla(0, 0%, 0%, .2);
    color: hsla(0, 0%, 100%, 1);
}
.outlineWithDeepNesting > .outlineItem,
.outlineItem > .outlineItems {
    margin-left: 20px;
}
.outlineItem > a {
    text-decoration: none;
    display: inline-block;
    min-width: 95%;
    min-width: calc(100% - 4px);
    /* Subtract the right padding (left, in RTL mode)
                                  of the container. */
    
    height: auto;
    margin-bottom: 1px;
    border-radius: 2px;
    font-size: 13px;
    line-height: 15px;
    -moz-user-select: none;
    white-space: normal;
}
.outlineItem > a {
    padding: 2px 0 5px 4px;
}
.outlineItemToggler {
    position: relative;
    height: 0;
    width: 0;
}
.outlineItemToggler::before {
    content: url(../img/pdf_viewer/treeitem-expanded.png);
    display: inline-block;
    position: absolute;
}
.outlineItemToggler.outlineItemsHidden::before {
    content: url(../img/pdf_viewer/treeitem-collapsed.png);
}
.outlineItemToggler.outlineItemsHidden ~ .outlineItems {
    display: none;
}
.outlineItemToggler {
    float: left;
}
.outlineItemToggler::before {
    right: 4px;
}
.outlineItemToggler:hover,
.outlineItemToggler:hover + a,
.outlineItemToggler:hover ~ .outlineItems,
.outlineItem > a:hover {
    background-color: hsla(0, 0%, 100%, .02);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .2) inset, 0 0 1px hsla(0, 0%, 0%, .2);
    border-radius: 2px;
}
.outlineItem.selected {
    background-color: hsla(0, 0%, 100%, .08);
    background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
    background-clip: padding-box;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .1) inset, 0 0 1px hsla(0, 0%, 0%, .2);
    color: hsla(0, 0%, 100%, 1);
}
.noResults {
    font-size: 12px;
    color: hsla(0, 0%, 100%, .8);
    font-style: italic;
    cursor: default;
}
::selection {
    background: rgba(0, 0, 255, 0.3);
}
::-moz-selection {
    background: rgba(0, 0, 255, 0.3);
}
.overlayButton {
    width: auto;
    margin: 3px 4px 2px 4px !important;
    padding: 2px 6px 3px 6px;
}
#overlayContainer {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, .2);
    z-index: 40000;
}
#overlayContainer > * {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#overlayContainer > .container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
#overlayContainer > .container > .dialog {
    display: inline-block;
    padding: 15px;
    border-spacing: 4px;
    color: hsl(0, 0%, 85%);
    font-size: 12px;
    line-height: 14px;
    background-color: #474747;
    /* fallback */
    
    background-image: url(../img/pdf_viewer/texture.png), linear-gradient(hsla(0, 0%, 32%, .99), hsla(0, 0%, 27%, .95));
    box-shadow: inset 1px 0 0 hsla(0, 0%, 100%, .08), inset 0 1px 1px hsla(0, 0%, 0%, .15), inset 0 -1px 0 hsla(0, 0%, 100%, .05), 0 1px 0 hsla(0, 0%, 0%, .15), 0 1px 1px hsla(0, 0%, 0%, .1);
    border: 1px solid hsla(0, 0%, 0%, .5);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.dialog > .row {
    display: table-row;
}
.dialog > .row > * {
    display: table-cell;
}
.dialog .toolbarField {
    margin: 5px 0;
}
.dialog .separator {
    display: block;
    margin: 4px 0 4px 0;
    height: 1px;
    width: 100%;
    background-color: hsla(0, 0%, 0%, .5);
    box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .08);
}
.dialog .buttonRow {
    text-align: center;
    vertical-align: middle;
}
.dialog:link {
    color: white;
}
#documentPropertiesOverlay > .dialog {
    text-align: left;
}
#documentPropertiesOverlay .row > * {
    min-width: 100px;
}
#documentPropertiesOverlay .row > * {
    text-align: left;
}
#documentPropertiesOverlay .row > span {
    width: 125px;
    word-wrap: break-word;
}
#documentPropertiesOverlay .row > p {
    max-width: 225px;
    word-wrap: break-word;
}
#documentPropertiesOverlay .buttonRow {
    margin-top: 10px;
}
.clearBoth {
    clear: both;
}
.fileInput {
    background: white;
    color: black;
    margin-top: 5px;
    visibility: hidden;
    position: fixed;
    right: 0;
    top: 0;
}
#viewer.textLayer-visible .textLayer {
    opacity: 1.0;
}
#viewer.textLayer-visible .canvasWrapper {
    background-color: rgb(128, 255, 128);
}
#viewer.textLayer-visible .canvasWrapper canvas {
    mix-blend-mode: screen;
}
#viewer.textLayer-visible .textLayer > div {
    background-color: rgba(255, 255, 0, 0.1);
    color: black;
    border: solid 1px rgba(255, 0, 0, 0.5);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#viewer.textLayer-hover .textLayer > div:hover {
    background-color: white;
    color: black;
}
#viewer.textLayer-shadow .textLayer > div {
    background-color: rgba(255, 255, 255, .6);
    color: black;
}
.grab-to-pan-grab {
    cursor: url("../img/pdf_viewer/grab.cur"), move !important;
    cursor: -webkit-grab !important;
    cursor: -moz-grab !important;
    cursor: grab !important;
}
.grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) {
    cursor: inherit !important;
}
.grab-to-pan-grab:active,
.grab-to-pan-grabbing {
    cursor: url("../img/pdf_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: 1029;/*note: bootstrap footer is 1030, so 1 less to stop it popping over on grab*/
    /* should be higher than anything else in PDF.js! */
}