div.wpmf-pdfemb-viewer {
    overflow: auto;
    line-height: 1;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid black !important;
    position: relative;
    text-align: left !important;
    direction: ltr;
    box-sizing: border-box;
}

div.pdfemb-inner-div {
    overflow: hidden;
    line-height: 1;
    margin: 0 auto;
    padding: 0;
    border: none;
    position: relative;
    background-color: lightGrey;
    width: 100%;
    height: 100%;
    display: inline-block;
}

div.pdfemb-inner-div-wantmobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background-color: lightgray;
    opacity: 0.5;
}

div.pdfemb-inner-div-wantmobile-fswrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

div.pdfemb-wantmobile-fsarea {
    position: relative;
    width: 80%;
    margin: 40% auto 0 auto;
    padding: 10px;
    text-align: center;
    opacity: 1;
    cursor: pointer;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 4px solid #363600;
    background-color: #C5BDCF;
    -webkit-box-shadow: #B3B3B3 8px 8px 8px;
    -moz-box-shadow: #B3B3B3 8px 8px 8px;
    box-shadow: #B3B3B3 8px 8px 8px;
    color: black;
    font-family: sans-serif;
    letter-spacing: 2px;
    font-size: 16px;
}

.grab-to-pan-grab {
    cursor: 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: move !important;
    cursor: -webkit-grabbing !important;
    cursor: -moz-grabbing !important;
    cursor: grabbing !important;

    z-index: 50000; /* should be higher than anything else in PDF.js! */
}

div.pdfemb-loadingmsg {
    text-align: center;
    padding: 5px;
    background-color: white;
}

div.wpmf-pdfemb-viewer canvas {
    position: relative;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-color: white;
}

div.pdfemb-toolbar {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    z-index: 10;
    position: absolute;
    display: block !important;
    background-color: #515151 !important;
    width: 100%;
}

div.pdfemb-toolbar-fixed {
    display: block;
}

div.pdfemb-toolbar-hover {
    display: none;
}

.wpmf-pdfemb-viewer .pdfemb-toolbar-top {
    top: 0;
    left: 0;
}

.wpmf-pdfemb-viewer .pdfemb-toolbar-bottom {
    bottom: 0;
    left: 0;
    padding-top: 1px;
}

div.pdfemb-toolbar button, div.pdfemb-toolbar button[disabled] {
    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;

    min-width: 16px;
    padding: 2px 6px 0;
    width: auto;

    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;
    cursor: default;

    margin: 4px 2px 4px 0;

    float: left;

}

div.pdfemb-toolbar button:hover {
    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);
}

div.pdfemb-toolbar button:first-child {
    margin-left: 4px;
}

div.pdfemb-toolbar button.pdfemb-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;
}

div.pdfemb-toolbar button.pdfemb-toggled:hover {
    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);
}


div.pdfemb-toolbar button.pdfemb-prev::before {
    content: url('../images/pdf-embed/toolbarButton-pageUp.png');
}

div.pdfemb-toolbar button.pdfemb-next::before {
    content: url('../images/pdf-embed/toolbarButton-pageDown.png');
}

div.pdfemb-toolbar button.pdfemb-zoomout::before {
    content: url('../images/pdf-embed/toolbarButton-zoomOut.png');
}

div.pdfemb-toolbar button.pdfemb-zoomin::before {
    content: url('../images/pdf-embed/toolbarButton-zoomIn.png');
}

div.pdfemb-toolbar button.pdfemb-fs::before {
    content: url('../images/pdf-embed/toolbarButton-presentationMode.png');
}

div.pdfemb-toolbar button.pdfemb-download::before {
    content: url('../images/pdf-embed/toolbarButton-download.png');
}

div.pdfemb-toolbar button.pdfemb-btndisabled {
    color: lightGray;
}

div.pdfemb-toolbar div {
    margin: 6px 15px 6px 2px !important;
    font-family: sans-serif;
    padding: 2px !important;
    text-align: center !important;
    letter-spacing: normal !important;
    word-spacing: normal;
    font-size: 12px;
    line-height: 14px;
    text-transform: none;
    text-indent: 0;
    text-shadow: none !important;
    font-weight: normal;
    display: inline;
    color: #fff !important;
    float: left;
}

.pdfemb-toolbar .pdfemb-page-area {
    display: inline !important;
}

div.pdfemb-toolbar div.pdfemb-poweredby {
    float: right;
}

div.pdfemb-toolbar div.pdfemb-poweredby a {
    color: lightgray;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

div.pdfemb-toolbar div.pdfemb-poweredby a:hover {
    border-bottom: none;
}

div.pdfemb-errormsg {
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    background-color: #faa;
}

.pdfemb-fsp-wrapper {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4000;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
}

.pdfemb-fsp-content {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
}

input.pdfemb-page-num {
    display: inline;
    font-family: sans-serif;
    width: 30px;
    height: 15px;
    vertical-align: middle;
    font-size: 10px;
    padding: 0 2px !important;
    color: black;
    text-align: center;
    margin: 0;
}

.pdfembAnnotationLayer {
    position: static;
}

.pdfembAnnotationLayer section.linkAnnotation {
    position: absolute;
    padding: 0;
    margin: 0;
    background: none;
    z-index: 5;
}

.pdfembAnnotationLayer .linkAnnotation > a {
    position: absolute;
    font-size: 1em;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pdfembAnnotationLayer .linkAnnotation > a /* -ms-a */
{
    background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
    border: none;
    opacity: 0;
}

.pdfembAnnotationLayer .linkAnnotation > a:hover {
    opacity: 0.2;
    background: #ff0;
    box-shadow: 0px 2px 10px #ff0;
    border: none;
}

.pdfembAnnotationLayer .textAnnotation img {
    position: absolute;
    cursor: pointer;
}

.pdfembAnnotationLayer .popupWrapper {
    position: absolute;
    width: 20em;
}

.pdfembAnnotationLayer .popup {
    position: absolute;
    z-index: 200;
    max-width: 20em;
    background-color: #FFFF99;
    box-shadow: 0px 2px 5px #333;
    border-radius: 2px;
    padding: 0.6em;
    margin-left: 5px;
    cursor: pointer;
    word-wrap: break-word;
}

.pdfembAnnotationLayer .popup h1 {
    font-size: 1em;
    border-bottom: 1px solid #000000;
    padding-bottom: 0.2em;
}

.pdfembAnnotationLayer .popup p {
    padding-top: 0.2em;
}

.pdfembAnnotationLayer .highlightAnnotation,
.pdfembAnnotationLayer .underlineAnnotation,
.pdfembAnnotationLayer .squigglyAnnotation,
.pdfembAnnotationLayer .strikeoutAnnotation {
    cursor: pointer;
}

.pdfembTextLayer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.2;
    line-height: 1.0;
    background: none;
}

.pdfembTextLayer > div {
    cursor: text !important;
    color: transparent;
    position: absolute;
    padding: 0;
    margin: 0;
    background: none;
    top: 0;
    left: 0;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}

.pdfemb-pagescontainer {
    overflow: hidden;
    display: block;
    position: relative;
    background-color: lightGrey;
}


/* Safari 6.1+ (9.0 is the latest version of Safari at this time) */

@media screen and (min-color-index: 0)
and(-webkit-min-device-pixel-ratio: 0) {
    @media {
        .pdfemb-pagescontainer {
            margin-left: 1px;
        }
    }
}
