body {
    width: 100%;
}

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

.rDocument .rRoot {
    position: relative;
    /*display: inline-block;*/
    margin: 0 auto;
    /* border: 1px solid #00BCD5;*/
    /*https://css-tricks.com/fighting-the-space-between-inline-block-elements/*/
}

.rEnable {
    touch-action: auto !important; /*手机端拖动*/
}

.rDocumentTurn {
    overflow: hidden;
    margin: 0 auto;
}

.rDocument .rMorph {
    margin: 0 auto;
    display: block;
}

.rDocument .rFaker {
    display: inline-block;
    margin: 2px 2px 0 3px;
}

.rDocument .rPage {
    background-color: #FFFFFF;
    border: 1px solid #CFCFCF;
    box-shadow: 0 0 3px #CFCFCF;
    display: table;
}

.rDocument .rMain {
    position: relative;
    background: url("../image/loading.gif") no-repeat center;
    display: inline-block;
}

.rDocument .rMain > div {
    text-align: left;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*display: none;*/
}

.rDocument .rMain .rBackdrop {
    /*修复拖拽蓝屏;IE&EDGE不生效*/
    -webkit-touch-callout: none; /* iOS Safari */

    -webkit-user-select: none; /* Chrome/Safari/Opera */

    -khtml-user-select: none; /* Konqueror */

    -moz-user-select: none; /* Firefox */

    -ms-user-select: none; /* Internet Explorer/Edge */

    user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

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

.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("../image/loading.gif") no-repeat center;
}

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

.rDocument .rMain .rWatermark {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    /*background: url("../image/loading.gif") no-repeat center;*/
}

.rDocument .rMessage * {
    text-align: center;
    cursor: pointer;
}


.rDocument .rMain .rContent {
    width: 100%;
    height: 0;
    z-index: 200; /*需要大于canvans层*/
}

.rDocument .rMain .rContent span {
    position: absolute;
}

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

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

.rDocument .rMain .rCover {
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 201;
    mix-blend-mode: darken;
}

.rDocument .rRoot .rSignImage {
    width: 0px;
}

.rDocument .rRoot .rSign {
    z-index: 500;
}

.rDocument .rRoot .rSignImage img {
    width: 100%;
    height: 100%;
}

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

.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 !important;
    background: rgba(3, 169, 244, 0.5) !important;
}

.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 .rMain .rPalette > canvas {
    width: 100%;
    height: 100%;
    /*visibility: hidden;*/
}

.rDocument .rMain .rPalette .rTips {
    position: absolute;
    background: white;
    border: 1px solid #CFCFCF;
    white-space: nowrap;
    padding: 5px;
    z-index: 1000;
    display: none;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*翻书*/
.rDocument .rFlip {
    overflow: hidden;
    margin: 0 auto !important;
}

.rDocument .rFlip .rMain {
    /*border: none;*/
    border-right: 2px solid gray;
}

/* https://css-tricks.com/left-and-right/ */
.rDocument .rExtend {
    display: inline-block;
    height: 100%;
   /* position: relative !important;*/
    vertical-align: top;
    /*background-color: #f4f4f4;*/
}

.rDocument .rExtend .rActive {
    border: 1px solid #0096E6;
    z-index: 9;
}

.rDocument .rExtend .rHover {
    border: 1px solid #0096E6;
    z-index: 10;
}

.rDocument .rExtend > div {
    width: 100%;
    height: 100%;
    top: 0px;
    overflow: auto;
}

.rDocument .rExtend > div > div {
    position: relative !important;
    width: 90%;
    height: auto;
    background-color: #F4F4F4;
    margin: 10px 5px 0 0;
    border: 1px solid #CDCDCD;
}

.rDocument .rExtend .mark-head {
    position: relative;
    text-align: left;
    width: 100%;
    height: 30%;
}

.rDocument .rExtend .mark-head > span {
    position: static;
    display: inline-block;
    text-align: left;
    line-height: 38px;
}

.rDocument .rExtend .mark-head > span:first-child {
}

.rDocument .rExtend .mark-head > span:last-child {
    cursor: pointer;
    float: right;
}

.rDocument .rExtend .mark-head .del {
    width: 38px;
    height: 38px;
    background-image: url("../image/del.png");
    background-repeat: no-repeat;
    background-position: center;
}

.rDocument .rExtend .mark-textarea {
    position: relative;
    border-top: 1px solid #CDCDCD;
    max-height: 70%;
    width: 100%;
    text-align: left;
}

.rDocument .rExtend .mark-textarea > textarea {
    margin: -1px;
    background: none;
    border: none;
    width: 98%;
    resize: none;
    font-size: 12pt;
    overflow-y: auto;
    font-family: "Times New Roman", "SimSun", sans-serif;
}

.rMessage {
    background-color: white;
}

.rDocument .rHide {
    display: none;
}

::selection {
    text-shadow: none;
    background: rgba(20, 168, 240, 0.4);
}
