.textLayer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: .2;
    line-height: 1.0
}

.textLayer > span {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0 0
}

.textLayer .highlight {
    margin: -1px;
    padding: 1px;
    background-color: rgba(180, 0, 170, 1);
    border-radius: 4px
}

.textLayer .highlight.begin {
    border-radius: 4px 0 0 4px
}

.textLayer .highlight.end {
    border-radius: 0 4px 4px 0
}

.textLayer .highlight.middle {
    border-radius: 0
}

.textLayer .highlight.selected {
    background-color: rgba(0, 100, 0, 1)
}

.textLayer ::-moz-selection {
    background: rgba(0, 0, 255, 1)
}

.textLayer ::selection {
    background: rgba(0, 0, 255, 1)
}

.textLayer .endOfContent {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    bottom: 0;
    z-index: -1;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.textLayer .endOfContent.active {
    top: 0
}

.annotationLayer section {
    position: absolute
}

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

.annotationLayer .linkAnnotation > a:hover, .annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
    opacity: .2;
    background: rgba(255, 255, 0, 1);
    box-shadow: 0 2px 10px rgba(255, 255, 0, 1)
}

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

.annotationLayer .textWidgetAnnotation input, .annotationLayer .textWidgetAnnotation textarea, .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation.checkBox input, .annotationLayer .buttonWidgetAnnotation.radioButton input {
    background-color: rgba(0, 54, 255, 0.13);
    border: 1px solid transparent;
    box-sizing: border-box;
    font-size: 9px;
    height: 100%;
    margin: 0;
    padding: 0 3px;
    vertical-align: top;
    width: 100%
}

.annotationLayer .choiceWidgetAnnotation select option {
    padding: 0
}

.annotationLayer .buttonWidgetAnnotation.radioButton input {
    border-radius: 50%
}

.annotationLayer .textWidgetAnnotation textarea {
    font: message-box;
    font-size: 9px;
    resize: none
}

.annotationLayer .textWidgetAnnotation input[disabled], .annotationLayer .textWidgetAnnotation textarea[disabled], .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
    background: 0;
    border: 1px solid transparent;
    cursor: not-allowed
}

.annotationLayer .textWidgetAnnotation input:hover, .annotationLayer .textWidgetAnnotation textarea:hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
    border: 1px solid rgba(0, 0, 0, 1)
}

.annotationLayer .textWidgetAnnotation input:focus, .annotationLayer .textWidgetAnnotation textarea:focus, .annotationLayer .choiceWidgetAnnotation select:focus {
    background: 0;
    border: 1px solid transparent
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
    background-color: rgba(0, 0, 0, 1);
    content: '';
    display: block;
    position: absolute
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
    height: 80%;
    left: 45%;
    width: 1px
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
    transform: rotate(45deg)
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
    transform: rotate(-45deg)
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
    border-radius: 50%;
    height: 50%;
    left: 30%;
    top: 20%;
    width: 50%
}

.annotationLayer .textWidgetAnnotation input.comb {
    font-family: monospace;
    padding-left: 2px;
    padding-right: 0
}

.annotationLayer .textWidgetAnnotation input.comb:focus {
    width: 115%
}

.annotationLayer .buttonWidgetAnnotation.checkBox input, .annotationLayer .buttonWidgetAnnotation.radioButton input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0
}

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

.annotationLayer .popup {
    position: absolute;
    z-index: 200;
    max-width: 20em;
    background-color: rgba(255, 255, 153, 1);
    box-shadow: 0 2px 5px rgba(136, 136, 136, 1);
    border-radius: 2px;
    padding: 6px;
    margin-left: 5px;
    cursor: pointer;
    font: message-box;
    font-size: 9px;
    word-wrap: break-word
}

.annotationLayer .popup > * {
    font-size: 9px
}

.annotationLayer .popup h1 {
    display: inline-block
}

.annotationLayer .popup span {
    display: inline-block;
    margin-left: 5px
}

.annotationLayer .popup p {
    border-top: 1px solid rgba(51, 51, 51, 1);
    margin-top: 2px;
    padding-top: 2px
}

.annotationLayer .highlightAnnotation, .annotationLayer .underlineAnnotation, .annotationLayer .squigglyAnnotation, .annotationLayer .strikeoutAnnotation, .annotationLayer .freeTextAnnotation, .annotationLayer .lineAnnotation svg line, .annotationLayer .squareAnnotation svg rect, .annotationLayer .circleAnnotation svg ellipse, .annotationLayer .polylineAnnotation svg polyline, .annotationLayer .polygonAnnotation svg polygon, .annotationLayer .caretAnnotation, .annotationLayer .inkAnnotation svg polyline, .annotationLayer .stampAnnotation, .annotationLayer .fileAttachmentAnnotation {
    cursor: pointer
}

.pdfViewer .canvasWrapper {
    overflow: hidden
}

.pdfViewer .page {
    direction: ltr;
    width: 816px;
    height: 1056px;
    margin: 1px auto -8px auto;
    position: relative;
    overflow: visible;
    border: 9px solid transparent;
    background-clip: content-box;
    -o-border-image: url(images/shadow.png) 9 9 repeat;
    border-image: url(images/shadow.png) 9 9 repeat;
    background-color: rgba(255, 255, 255, 1)
}

.pdfViewer.removePageBorders .page {
    margin: 0 auto 10px auto;
    border: 0
}

.pdfViewer.singlePageView {
    display: inline-block
}

.pdfViewer.singlePageView .page {
    margin: 0;
    border: 0
}

.pdfViewer.scrollHorizontal, .pdfViewer.scrollWrapped, .spread {
    margin-left: 3.5px;
    margin-right: 3.5px;
    text-align: center
}

.pdfViewer.scrollHorizontal, .spread {
    white-space: nowrap
}

.pdfViewer.removePageBorders, .pdfViewer.scrollHorizontal .spread, .pdfViewer.scrollWrapped .spread {
    margin-left: 0;
    margin-right: 0
}

.spread .page, .pdfViewer.scrollHorizontal .page, .pdfViewer.scrollWrapped .page, .pdfViewer.scrollHorizontal .spread, .pdfViewer.scrollWrapped .spread {
    display: inline-block;
    vertical-align: middle
}

.spread .page, .pdfViewer.scrollHorizontal .page, .pdfViewer.scrollWrapped .page {
    margin-left: -3.5px;
    margin-right: -3.5px
}

.pdfViewer.removePageBorders .spread .page, .pdfViewer.removePageBorders.scrollHorizontal .page, .pdfViewer.removePageBorders.scrollWrapped .page {
    margin-left: 5px;
    margin-right: 5px
}

.pdfViewer .page canvas {
    margin: 0;
    display: block
}

.pdfViewer .page canvas[hidden] {
    display: none
}

.pdfViewer .page .loadingIcon {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url('images/loading-icon.gif') center no-repeat
}

.pdfPresentationMode .pdfViewer {
    margin-left: 0;
    margin-right: 0
}

.pdfPresentationMode .pdfViewer .page, .pdfPresentationMode .pdfViewer .spread {
    display: block
}

.pdfPresentationMode .pdfViewer .page, .pdfPresentationMode .pdfViewer.removePageBorders .page {
    margin-left: auto;
    margin-right: auto
}

.pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
    margin-bottom: 100% !important
}

.pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
    margin-bottom: 100%;
    border: 0
}

.pdfPresentationMode:-moz-full-screen .pdfViewer .page {
    margin-bottom: 100%;
    border: 0
}

.pdfPresentationMode:fullscreen .pdfViewer .page {
    margin-bottom: 100%;
    border: 0
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    overflow: hidden
}

#header {
    height: 31px;
    border-bottom: 1px solid #dcdcdc
}

.btn {
    margin-top: 5px;
    margin-left: 4px;
    margin-right: 5px;
    width: 21px;
    height: 21px;
    cursor: pointer;
    background-color: transparent;
    outline: 0;
    border: 1px solid transparent;
    border-radius: 2px;
    -webkit-tap-highlight-color: transparent
}

.btn:active {
    border: 1px solid #dcdcdc
}

#sidebarToggle {
    background: url(images/toolbarButton-sidebarToggle-gray.svg) 95% center no-repeat
}

#clockwiseRotate {
    background: url(images/secondaryToolbarButton-rotateCw.svg) 98% center no-repeat
}

#counterclockwiseRotate {
    background: url(images/secondaryToolbarButton-rotateCcw.svg) 98% center no-repeat
}

#downLoad {
    background: url(images/toolbarButton-download.svg) 98% center no-repeat
}

#print {
    background: url(images/toolbarButton-print.svg) 98% center no-repeat
}

#signature {
    background: url(images/draw_phone.png) 98% center no-repeat;
    background-size: contain
}

@media screen and (max-width: 450px) {
    #downLoad, #print, #signature {
        display: none
    }

    #page {
        position: absolute;
        left: 5px
    }
}

#sidebar {
    float: left;
    margin-left: 10px
}

#fileName {
    float: left;
    width: 150px;
    height: 100%;
    margin-left: 10px;
    text-align: left;
    line-height: 29px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

#page {
    float: left;
    position: absolute;
    left: 0;
    right: 0;
    width: 200px;
    height: 29px;
    margin: auto;
    color: #2e2e2e;
    display: flex;
    justify-content: space-between
}

#functionButton {
    float: right;
    margin-right: 10px
}

#containerWarrper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #eee
}

#outlineContainer {
    float: left;
    /*position: absolute;*/
    left: 0;
    overflow: auto;
    width: 20%;
    height: calc(100% - 35px);
    margin-left: 20px;
    display: none;
    border-right: 1px solid #dcdcdc;
    font-size: 12px;
    animation: myfirst 1.5s linear;
    -moz-animation: myfirst 1.5s linear;
    -webkit-animation: myfirst 1.5s linear;
    -o-animation: myfirst 1.5s linear;
    -ms-animation: myfirst 1.5s linear
}

@media screen and (max-width: 420px) {
    #outlineContainer {
        width: 40% !important
    }
}

@media screen and (max-width: 610px) {
    #fileName {
        display: none
    }
}

@keyframes myfirst {
    0% {
        opacity: 0
    }
    25% {
        opacity: .25
    }
    50% {
        opacity: .5
    }
    75% {
        opacity: .75
    }
    100% {
        opacity: 1
    }
}

@-moz-keyframes myfirst {
    0% {
        opacity: 0
    }
    25% {
        opacity: .25
    }
    50% {
        opacity: .5
    }
    75% {
        opacity: .75
    }
    100% {
        opacity: 1
    }
}

@-webkit-keyframes myfirst {
    0% {
        opacity: 0
    }
    25% {
        opacity: .25
    }
    50% {
        opacity: .5
    }
    75% {
        opacity: .75
    }
    100% {
        opacity: 1
    }
}

@-o-keyframes myfirst {
    0% {
        opacity: 0
    }
    25% {
        opacity: .25
    }
    50% {
        opacity: .5
    }
    75% {
        opacity: .75
    }
    100% {
        opacity: 1
    }
}

@-ms-keyframes myfirst {
    0% {
        opacity: 0
    }
    25% {
        opacity: .25
    }
    50% {
        opacity: .5
    }
    75% {
        opacity: .75
    }
    100% {
        opacity: 1
    }
}

#viewerContainer {
    float: right;
    position: absolute;
    right: 0;
    overflow: auto;
    width: 100%;
    height: calc(100% - 35px);
    background-color: #f4f4f4
}

#viewer {
    width: 100%;
    height: 100%
}

#page div {
    float: left;
    width: 55px;
    height: 20px;
    font-size: 12px;
    text-align: right;
    line-height: 20px;
    margin-top: 5px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    border-radius: 2px;
    border: 1px solid transparent
}

#prev {
    background-image: url(images/pageUp.svg);
    background-repeat: no-repeat;
    background-size: 55% 55%;
    background-position: -8px center;
    cursor: pointer
}

.page {
    overflow: hidden !important;
}

#next {
    background-image: url(images/pageDown.svg);
    background-repeat: no-repeat;
    background-size: 55% 55%;
    background-position: -8px center;
    cursor: pointer
}

.buttonDarken {
    opacity: .5;
    cursor: not-allowed !important
}

#pageNum {
    width: 84px !important;
    text-align: left !important;
    margin-left: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

#page div:active:not(#pageNum) {
    border: 1px solid #dcdcdc
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

#currentPage {
    display: inline-block;
    width: 45%;
    height: 15px;
    line-height: 15px;
    margin-left: 1px;
    margin-right: 2px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 2px;
    position: relative;
    top: -1px;
    outline: 0
}

#currentPage:focus {
    border-color: lightskyblue
}

#totalPage {
    display: inline-block;
    margin-left: 1px
}

#zoomContainer {
    width: 100px;
    height: 20px;
    position: absolute;
    left: 70px;
    top: 5px;
    font-size: 13px;
    z-index: 999;
    display: flex;
    justify-content: space-between
}

#zoomContainer button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #8b8989;
    background-color: transparent;
    cursor: pointer
}

#zoomContainer button:active {
    border: 1px solid black
}

#zoomOut {
    background-image: url(images/toolbarButton-zoomOut.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat
}

#zoomIn {
    background-image: url(images/toolbarButton-zoomIn.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat
}

#zoomNumber {
    width: 50px;
    height: 100%;
    text-align: center;
    line-height: 20px;
    font-weight: 500;
    color: rgba(46, 46, 46, 1)
}

@media print {
    body {
        background: rgba(0, 0, 0, 0) none
    }

    #viewer_app {
        display: none
    }
}

.signcanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    top: 0
}

.sign-bar {
    background: #1b1b1b;
    height: 41px;
    width: 100%;
    position: relative;
    display: none
}

.drawTool {
    color: #fff;
    position: absolute;
    height: 40px;
    left: 33%
}

.marker-tool {
    float: left;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 2px;
    list-style-type: none;
    vertical-align: middle
}

.color-marker {
    background-image: none;
    border-radius: 4px;
    background-color: red;
    width: 20px;
    height: 20px;
    margin: auto;
    margin-top: 10px;
    border: 1px solid #9e9e9e;
    position: relative
}

.color-marker::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    height: 2px;
    margin-top: -2px;
    display: block;
    border: 4px solid transparent;
    border-top-color: gray
}

.content {
    display: none;
    position: absolute;
    border-radius: 2px;
    background-color: #fff;
    z-index: 10000;
    text-align: left;
    border: 1px solid #e0e0e0;
    height: auto;
    top: 40px;
    left: -66px
}

.content .popup-arrow {
    font-style: normal;
    position: absolute;
    pointer-events: none;
    bottom: 100%
}

.content .popup-arrow::after {
    border: 10px solid transparent;
    border-bottom-color: rgba(0, 0, 0, .8);
    right: 100%;
    width: 0;
    height: 0;
    content: " ";
    display: block
}

.content-inner {
    text-align: left;
    height: 100%;
    width: auto
}

.color-list {
    background-color: rgba(0, 0, 0, .8);
    padding-left: 5px;
    margin: 0;
    display: flex
}

.color-list li {
    line-height: 40px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 6px 5px 6px 0;
    border: 0;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 0
}

.marker-op {
    width: 92px;
    height: 22px;
    border-radius: 3px;
    background: #4c4c4c;
    border: 1px solid #000;
    vertical-align: middle;
    list-style: none;
    float: left;
    margin: 8px 0 0 5px
}

.marker-op span {
    width: 30px;
    height: 21px;
    float: left;
    position: relative;
    border-radius: 1px;
    cursor: pointer
}

.marker-op span div {
    display: inline-block;
    border-radius: 50%;
    background-color: gray;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%
}

.marker-op .thin div {
    width: 5px;
    height: 5px
}

.marker-op .middle div {
    width: 10px;
    height: 10px
}

.marker-op .wide div {
    width: 14px;
    height: 14px
}

.marker-op .selected div {
    background-color: white
}

.btnSave, .btnReadModel {
    float: right;
    margin-right: 0;
    padding: 8px;
    width: 20px;
    height: 20px
}

.cancelbtn {
    padding: 12px;
    float: left
}

.cancelbtn img {
    width: 20px;
    height: 16px;
    vertical-align: middle;
    border: 0
}