/** {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}*/
::selection {
    color: black;
    text-shadow: none;
    background: rgba(76, 156, 211, 0.6);
}

.rBase {
    position: absolute;
    top: 40px;
    bottom: 0px;
    left: 0;
    right: 0;
    overflow: scroll;
    z-index: 1;
}

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

#container div.encode {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    background: #454545;
    color: #fff;
    width: 140px;
    font-size: 1.5em;
    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 i.fold {
    position: absolute;
    right: 10px;
    top: 15px;
}

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

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

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

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

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

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

.rDocument .rPage {
    position: relative;
    margin: 0 auto;
    overflow: visible;
}

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

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

.rDocument .rPage .rBackdrop {
    /*为解决svg横版页面样式不对的问题*/
    overflow: hidden;
}

.rDocument .rPage .rBackdrop {
    /*border: 1px solid #CFCFCF;*/
    box-shadow: 0 0 3px #CFCFCF;
    background: white url("../../common/image/loading.gif") no-repeat center;
}

.rDocument .rPage > div {
    position: absolute;
    text-align: left;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

.rDocument .rPage .rBackdrop > img {
    width: 100%;
    height: 100%;
    border: none;
    /*background-color: #FFFFFF !important;*/
    pointer-events: none;
}

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

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

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

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

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

.rDocument .rPage .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 .rPage .rContent br {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}

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

.rDocument .rPage .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 .rPage .rCover {
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 201;
}

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

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

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

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

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

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

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

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

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

/*loading样式*/
.loading-mask {
    position: fixed;
    z-index: 2000;
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #FFFFFF;
}

.loading-mask .loading-spinner {
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
}

.loading-mask .loading-spinner .suwell-spin-dot {
    display: inline-block;
}

.loading-mask .loading-spinner .suwell-spin-dot .suwell-spin-dot-item {
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    background-color: #1890ff;
    border-radius: 100%;
    transform: scale(0.75);
    transform-origin: 50% 50%;
    opacity: 0.3;
    animation: suwellSpinMove 1s infinite linear alternate;
}

.loading-mask .loading-spinner .suwell-spin-dot .suwell-spin-dot-item:nth-child(1) {
    top: 0;
    left: 0;
}

.loading-mask .loading-spinner .suwell-spin-dot .suwell-spin-dot-item:nth-child(2) {
    top: 0;
    right: 0;
    animation-delay: 0.4s;
}

.loading-mask .loading-spinner .suwell-spin-dot .suwell-spin-dot-item:nth-child(3) {
    right: 0;
    bottom: 0;
    animation-delay: 0.8s;
}

.loading-mask .loading-spinner .suwell-spin-dot .suwell-spin-dot-item:nth-child(4) {
    bottom: 0;
    left: 0;
    animation-delay: 1.2s;
}

.loading-mask .loading-spinner .suwell-spin-dot.suwell-spin-dot-spin {
    transform: rotate(45deg);
    animation: suwellRotate 1.2s infinite linear;
}

.loading-mask .loading-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 53%;
}

@keyframes suwellSpinMove {
    to {
        opacity: 1;
    }
}

@keyframes suwellRotate {
    to {
        transform: rotate(405deg);
    }
}

