::selection {
    background-color: #2d2daf;
    color: #fff;
}

.hidden {
    visibility: hidden;
}

.rDocument {
    width: 100%;
    height: 100%;
    text-align: center !important;
    background-color: #E7E7E7;
    overflow: hidden;
}

.rDocument.onePage .rRoot .rMorph .rFaker {
    visibility: hidden;
    /* transition: all 0.2s; */
    position: absolute;
}
@keyframes fadeInOut {
    0% {
        visibility: visible;
    }

    100% {
        visibility: hidden;
    }
}
.rDocument:not(.onePage) .rRoot .rMorph .rFaker {
    transform: none!important;
}
.rDocument.onePage .rRoot .rMorph .rFaker.inView {
    visibility: visible;
    z-index: 99;
}
.rDocument.onePage .rRoot .rMorph .rFaker:not(.inView){
    animation: fadeInOut 0.2s;
}
.rDocument.onePage .rRoot .rMorph .rFaker:not(.inView) .rPalette{
    top: -99999px;
}
.rDocument.onePage .rRoot, .rDocument.onePage .rRoot .rMorph {
    width: 100%;
    height: 100%;
}

.rFaker {
    margin: 2px auto;
}

.rDisableSelect {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ and Edge */
    user-select: none;
    overflow: hidden;
}

.rDocument .OFDText {
    background: white;
    width: 100%;
    height: calc(100% - 5px);
}

.rDocument .rMessage * {
    text-align: center
}

.rDocument .rRoot {
    position: relative;
    margin: 0 auto;
    width: max-content;
    /*https://css-tricks.com/fighting-the-space-between-inline-block-elements/*/
}

/*.rDocument .rRoot:after {
    content: 'place';
    pointer-events: none;
    color: transparent;
}*/

.rDocument .swiper-wrapper {
    display: flex;
    align-items: center;
}

.rDocument .swiper-scrollbar {
    height: 20px;
}

/*.rDocument .rSingle {
    height: 100%;
    display: flex;
    align-items: center;
}*/
.rDocument .rPage {
    background: white url("data:image/gif;base64,R0lGODlhHgAeAPIAADux9Ljl/oLP+9vw/AAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+ID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jDKSau9dgwsteeQ94GNqJGliTLqmrowE8yzBNyARNMRjkc73sN3AwZ7RN3O5psImTmSIMYQWKex6zWrxbq63hWYqqWaz+g0OgEAIfkECQoABAAsAAAAAB4AHgAAA1BIutz+MMpJq70428E15KDXgKEVnMFIdhSKMis7ue+ymnQKyy0tNr4fUOgBAIgMoxFJUCovgqig4VxWpNJk1YKNap3cLvUZxjLNzLR6zW67EwAh+QQJCgAEACwAAAAAHgAeAAADUki63P4wykmrvTi7wIOGnfc1ITcypbgM7HClTNta8Cq7r2rL5z73Ch7QdhEYhwqjcqhcApvOBWBahAoY02w1Ssh6tw2vticGIMXIrjnNbrvfowQAIfkECQoABAAsAAAAAB4AHgAAA05Iutz+MMpJq702BCy155D3gY2okaWJMurKnm68CLQwDfgw1XSU5xFe7/EDQoQ2YlEX5PmKEqfkJ6sCrlXCdWvdYl1ebizcFWfP6LR6lQAAIfkECQoABAAsAAAAAB4AHgAAA1NIutz+MMpJq7046+2C9xzzfZhgNiNJmawgpkHVngtszXQN3nO44L4fK5gZDIgKoxKpXF4AgEbTSYFao8npsXKFMqaWrvdrfIqJXaRirG6733B1AgAh+QQJCgAEACwAAAAAHgAeAAADUEi63P4wykmrvTjrLHrfjSeCi+g1QXqZ35K+gcW6sCq3dE3m767oPhcGAAgqiMiiL0kMMpuLgXRweTKmU4s1ipVWodyur0sNYo3otHrNNiYAACH5BAUKAAQALAAAAAAeAB4AAANPSLrc/jDKSau9VuApet+P54GOOJKLqaGMyTbnKytADUxBHki2Hek6SM/3AAaFQ4gxFxnelEYe8XecvQbYgTWbnXG7169W9t1yrei0eq1OAAA7") no-repeat center;
}
.rDocument .rMain {
    position: relative;
    margin: 0 auto;
    overflow: visible;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.rDocument.rWatermarkDown .rMain .rBackdrop {
    z-index: 1;
    opacity: 0.95;
}

.rDocument.rWatermarkDown .rMain .rBackdrop img {
    background-color: transparent !important;
}

.rDocument .rMain .rActive {
    z-index: 900;
}

.rDocument .rMain .rBackdrop table {
    position: absolute;
    width: 100%;
    height: 100%;
}

.rDocument .rMain .rBackdrop table img {
    width: 100%;
    height: 100%;
    display: block;
}

.rDocument .rMain .rBackdrop table td {
    background: url("../../common/image/loading.gif") no-repeat center;
}

.rDocument .rMain .rBackdrop table tr:first-child {
    left: 0;
}

.rDocument .swiper-slide {
    border: none !important;
    box-shadow: none !important;
}

.rDocument .rMain .rBackdrop.verticalPage {
    /*解决svg版本下横向页面显示错误的问题*/
    overflow: hidden;
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.rDocument .rMain .rBackdrop {
    /* 导致搜索时，mark会有偏移 */
    /*border: 1px solid #CFCFCF;*/
    box-shadow: 0 0 3px #CFCFCF;
    user-select: none;
    pointer-events: none;
}

.rDocument .rMain > div {
    position: absolute;
    text-align: left;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rDocument .rBackdrop + .swiper-zoom-container {
    margin: 0 auto;
    position: relative !important
}

.rDocument .rMain .rBackdrop > img {
    max-width: 100%;
    max-height: 100%;
    border: none;
    pointer-events: none;
    user-select: none;
}

.rDocument .rMain .rBackdrop > svg {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    background-color: #FFFFFF !important;
}

.rDocument .rMain .rContent {
    width: 100%;
    height: 100%;
    /*z-index: 200; !*需要大于canvans层*!*/
    touch-action: auto;
    user-select: text;
    -webkit-user-select: text;
    -webkit-user-drag: auto;
    text-align: initial;
    right: 0;
    bottom: 0;
    line-height: 1;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
}

.rDocument .rMain .rContent br {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0 0;
}

.rDocument .rMain .rContent br::selection {
    background: transparent;
}

.rDocument .rMain .rContent span {
    position: absolute;
    white-space: pre;
    cursor: text;
}

.rDocument .rPageMix .rContent .rGroup > span {
    color: rgba(0, 0, 0, 0.0);
}

.rDocument .rPageMix .rContent .rGroup {
    color: rgba(0, 0, 0, 0.0) !important;
}

.rDocument .rMain .rCover {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
}

.rDocument .rMain .rCover > * {
    position: absolute;
}

.rDocument .rMain .rCover .rMark {
    position: absolute;
    filter: alpha(opacity=50);
    background: #FFEB3B;
    background: rgba(255, 235, 59, 0.5);
}

.rDocument .rMain .rCover .rNone {
    position: absolute;
}

.rDocument .rMain .rCover .rSemantic {
    position: absolute;
    filter: alpha(opacity=50);
    background-color: #03A9F4;
    background-color: rgba(3, 169, 244, 0.5);
}

.rDocument .rMain .rCover .rSelect {
    background: #03A9F4;
    background: rgba(3, 169, 244, 0.5);
}

.rDocument .rMain .rCover > span {
    position: absolute;
    cursor: pointer;
}

.rDocument .rMain .rCover .rALink :hover {
    cursor: crosshair !important;
}

.rDocument .rMain .rCover .rALink {
    border-bottom: 2px dashed #785;
    position: absolute;
    cursor: pointer;
}

.rDocument .rMain .rCover .rALink span {
    position: absolute !important;
    cursor: pointer;
    transform: rotate(45deg);
    top: auto;
    bottom: -8px;
    left: -15px;
}

.rDocument .rRoot .rSignImage {
    /*z-index: 1000;
    width: 0px;*/
}

.rDocument .rRoot .rSign {
    z-index: 1000;
    mix-blend-mode: darken;
}

.rDocument .rRoot .signBtn {
    z-index: 1100;
}

.rDocument .rRoot .signUtil {
    z-index: 1100;
    width: 35px;
    height: 20px;
    display: inline-block;
    font-size: 15px;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFF;
}

.rDocument .rRoot .rSignImage img {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 2px 1px #0a6ff5;
}

/*.rDocument .rHide {
    display: none;
}*/

.rPalette canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 899;
}

.rDocument .rPalette svg > * {
    mix-blend-mode: darken;
    overflow: hidden;
}

.rDocument .rRoot.rRotateMode {
    pointer-events: none;
}

.rDocument .rRoot.rDrawMode .rPalette svg > * {
    pointer-events: none;
}

.rDocument.AnnotHide .rPalette svg > * {
    visibility: hidden;
}

.rDocument.AnnotHide .rPalette svg > .nAnnot {
    visibility: visible;
}

.rDocument.AnnotHide .rPalette svg > g[type="shadow"] {
    visibility: visible;
}

.rDocument.AnnotHide .rPalette .sealBase {
    visibility: visible !important;
}

.eraser .rDocument .rMain .rPalette {
    /*mix-blend-mode: darken;*/
}

.rPalette canvas.show {
    z-index: 800 !important;
}

.swiper-zoom-container > canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
}

#container pre, xmp {
    word-wrap: break-word;
    white-space: pre-wrap;
    font-size: 15px;
    margin: 1em 1em;
    background: #fff;
}

#container div.encode {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    background: #454545;
    color: #fff;
    width: 140px;
    font-size: 15px;
    font-family: Microsoft YaHei, Avenir, Helvetica, Arial, sans-serif;
    /*border-radius: 10px;*/
}

#container div span.codeVal {
    width: 121px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#container div svg.fold {
    position: absolute;
    right: 10px;
    top: 15px;
}

#container ul.encodeList {
    border-radius: 5px;
    width: 200px;
    position: absolute;
    bottom: 70px;
    right: 20px;
}

#container ul.encodeList li {
    background-color: #454545;
    padding: 10px;
    color: #fff;
    font-size: 15px;
    font-family: Microsoft YaHei, Avenir, Helvetica, Arial, sans-serif;
}

#container ul.encodeList li.actived {
    color: #208fc5;
}

span.acwxc {
    overflow: hidden;
    border: none;
    display: block;
    white-space: pre;
}

span.wrap {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    -ms-word-break: break-all;
    height: auto !important
}

/* 邮件预览 */
.email-container {
    padding: 10px 20px;
    font-family: '微软雅黑';
    margin: 0 20px 20px 20px;
    border-left: 1px solid #CFCFCF;
    border-right: 1px solid #CFCFCF;
    box-shadow: 0 0 3px 1px #cfcfcf;
    font-size: initial;
}

.email-container .space {
    display: inline-block;
    width: 1px;
    height: 16px;
    vertical-align: middle;
    background-color: gray;
    margin: 0 12px;
}

.email-container h3 {
    color: #333;
    font-size: 20px;
    line-height: 1.6;
    margin: 10px;
    font-weight: normal;
}

.email-container .email-head {
    font-size: 14px;
    color: #333;
    padding: 0 10px 10px;
}

.email-container .email-head .item {
    position: relative;
    margin-bottom: 5px;
    min-height: 20px;
    line-height: 1.6;
    word-break: break-all;
}

.email-container .email-head .item .content {
    display: inline-block;
    word-break: break-all;
    text-indent: 3px;
}

.email-container .attachments .comma {
    margin-right: 12px;
}

.email-container .attachments .comma:last-child {
    display: none;
}

.email-container .email-head .item .title {
    margin-right: 3px;
}

.email-container .email-head .item span a {
    color: #008aea;
}

.email-container .email-body {
    padding: 15px;
    border-top: 1px dashed #a2a9b6;
    overflow: auto;
}
