.mugedaarticleroot{
    cursor: text;
    font-size: 17px;
    letter-spacing: .034em;
    margin: 0;
    padding: 0; /* 20px 16px 12px; */
    font-family: "microsoft yahei", 微软雅黑, simhei, sans-serif;
    word-wrap:break-word; /* 长的链接换行 */
}

.mugedaarticleroot ver {
    line-height: initial;
}

.mugedaarticleroot p{
    margin: 5px 0;
    line-height: 150%;
}

.mugedaarticleroot .cascade p, .editable.cascade p {
    margin: 0;
}

.mugedaarticleroot.article.topic  .paragraph.title,
.mugedaarticleroot.article.topic  .paragraph.subtitle
 {
    display: none;
}

.mugedaarticleroot.article.topic  .paragraph.title,
.mugedaarticleroot.article.topic  .paragraph.subtitle
 {
    display: none;
}

.mugedaarticleroot.article > .paragraph.title {
    padding: 20px 16px 12px;
}

.mugedaarticleroot.article > .paragraph {
    padding: 0 16px;
}

.mugedaarticleroot.topic .paragraph:first-child,
.mugedaarticleroot.topic .paragraph.subtitle   section,
.mugedaarticleroot.topic .paragraph.first.content {
    padding: 0;
}


.mugedaarticleroot .paragraph img {
    /* display: block; */
    max-width: 100%;
}

/*
p span {
    line-height: 150%;
}*/

.mugedaarticleroot a,
.mugedaarticleroot .link {
    text-decoration: none;
    color: #00abff;
    cursor: pointer;
}


.mugedaarticleroot p.mugeda_element > span {
    display:inline-block;position:relative
}

.mugedaarticleroot p.mugeda_element > span > iframe{
    position: absolute;top:0;left:0;width:100%;height:100%;
}

.mugedaarticleroot.view{
    /* padding: 0 16px; */
    font-family: "microsoft yahei", 微软雅黑, simhei, sans-serif;
    overflow-y: hidden;
    cursor: text;
}

.mugedaarticleroot.view.region {
    padding: 0;
}

.mugedaarticleroot.view.main{
    padding-top: 0;
}

/*scrollbar style*/
.mugedaarticleroot.view::-webkit-scrollbar {
    height: 5px;
    width: 5px;
    background: #d3ecf8;
}

.mugedaarticleroot.view::-webkit-scrollbar-thumb {
    background: #77c7ec;
    border-radius: 5px;
}

.mugedaarticleroot.view::-webkit-scrollbar-thumb:hover {
    background: #e67748;
}

.mugedaarticleroot.view .mugeda_element_mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.mugedaarticleroot .paragraph ul {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    padding-inline-start: 2em;
}

.mugedaarticleroot .grid_container {
    display: grid;
}

.mugedaarticleroot .grid_fit_auto {
    grid-template-columns: fit-content(50%) auto;
}

.mugedaarticleroot .grid_gap_16 {
    grid-gap: 16px;
}

.mugedaarticleroot .grid_gap_8 {
    grid-gap: 8px;
}

.mugedaarticleroot .grid_gap_4 {
    grid-gap: 4px;
}

.mugedaarticleroot .grid_gap_0 {
    grid-gap: 0;
}

.mugedaarticleroot .editable {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    /* overflow: hidden; */
}

.mugedaarticleroot .editable.smart {
    background-position: center;
    background-size: cover;
    /* min-height: 24px; */
}

.mugedaarticleroot.view comment, .review comment {
    background-color: rgba(255, 255, 0, 0.5);
    position: relative;
}

.mugedaarticleroot.view comment:hover, .review comment:hover {
    background-color: rgba(140, 250, 139, 0.7);
}

.mugedaarticleroot.view comment.active, .review comment.active {
    background-color: rgba(52, 243, 50, 0.7);
    position: relative;
}

.mugedaarticleroot section[data-revision-type='remove'] {
    position: relative;
    overflow: hidden;
}
.mugedaarticleroot section[data-revision-type='remove']:after {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-bottom: 2px double red;
    top: 0;
    left: 0;
    transform-origin: 50% 100%;
}

.mugedaarticleroot section[data-revision-type='remove']:before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 50%;
    border-bottom: 2px double red;
    top: 0;
    transform-origin: 50% 100%;
}

.mugedaarticleroot section[data-revision-type='remove']:before {
    transform: rotate(45deg);
    z-index: 1
}

.mugedaarticleroot section[data-revision-type='add'] {
    position: relative;
    overflow: hidden;
    background-color: #ff000011;
}

.mugedaarticleroot section[data-revision-type='add']:after {
    position: absolute;
    display: block;
    content: '';
    font-size: 24px;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    background-color: red;
    color: white;
    background-image: ;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.mugedaarticleroot revision[data-color-index='0'] * { color: #ff6358!important; text-decoration-color: #ff6358; }
.mugedaarticleroot revision[data-color-index='1'] * { color: #aa46be!important; text-decoration-color: #aa46be; }
.mugedaarticleroot revision[data-color-index='2'] * { color: #28b4c8!important; text-decoration-color: #28b4c8; }
.mugedaarticleroot revision[data-color-index='3'] * { color: #78d237!important; text-decoration-color: #78d237; }
.mugedaarticleroot revision[data-color-index='4'] * { color: #2d72f5!important; text-decoration-color: #2d72f5; }
.mugedaarticleroot revision[data-color-index='5'] * { color: #ffd246!important; text-decoration-color: #ffd246; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='0'] { background-color: #ff635822; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='1'] { background-color: #aa46be22; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='2'] { background-color: #28b4c822; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='3'] { background-color: #78d23722; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='4'] { background-color: #2d72f522; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='5'] { background-color: #ffd24622; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='0']:after  { background-color: #ff6358; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='1']:after  { background-color: #aa46be; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='2']:after  { background-color: #28b4c8; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='3']:after  { background-color: #78d237; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='4']:after  { background-color: #2d72f5; }
.mugedaarticleroot section[data-revision-type='add'][data-revision-color-index='5']:after  { background-color: #ffd246; }

.mugedaarticleroot revision.revision-remove img { outline: 2px solid red; outline-style: dashed;}
.mugedaarticleroot revision.revision-add img { outline: 2px solid green; }
.mugedaarticleroot revision.revision-remove {text-decoration: line-through;}

.mugedaarticleroot[revision-display="final"] revision[data-type="remove"],
.mugedaarticleroot[revision-display="final"] section[data-revision-type="remove"],
.mugedaarticleroot[revision-display="original"] revision[data-type="add"],
.mugedaarticleroot[revision-display="original"] section[data-revision-type="add"],

.mugedaarticleroot[revision-display="original"] section[data-revision-type="remove"]:before,
.mugedaarticleroot[revision-display="original"] section[data-revision-type="remove"]:after,
.mugedaarticleroot[revision-display="original"] section[data-revision-type="add"]:after,
.mugedaarticleroot[revision-display="final"] section[data-revision-type="add"]:after {
    display: none;
}

.mugedaarticleroot[revision-display="final"] revision[data-type="add"][data-color-index] {
    color: initial;
}

.mugedaarticleroot[revision-display="final"] section[data-revision-type="add"] {
    background-color: initial;
}

.mugedaarticleroot[revision-display="final"] section[data-revision-type="add"]:after,
.mugedaarticleroot[revision-display="original"] section[data-revision-type="remove"]:before,
.mugedaarticleroot[revision-display="original"] section[data-revision-type="remove"]:after,
.mugedaarticleroot[revision-display="original"] section[data-revision-type="add"]:after {
    display: none;
}

.mugedaarticleroot[revision-display="original"] revision[data-type="remove"] {
    color: initial;
    text-decoration: initial;
}

.mugedaarticleroot[revision-display="original"] section[data-revision-type="add"] {
    background-color: initial;
}

 {
    display: none;
}


.mugedaarticleroot .reviewholder {
    display: block;
    position: absolute;
    z-index: 1;
    background-color: #fff;
    border-radius: 2px;
    font-family: tahoma,"微软雅黑",arial, simhei;
    padding: 8px;
    /* box-shadow: 0 0 4px; */
    border: 2px solid #19be6b;
    width: 256px;
}

.mugedaarticleroot .revisionreview .reviewtitle {
    position: relative;
}

.mugedaarticleroot .revisionreview .reviewtitle .reviewavatar {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #2494fe;
    margin: 4px;
    background-image: ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.mugedaarticleroot .revisionreview .reviewtitle .reviewauthortime {
    display: inline-block;
    vertical-align: top;
}

.mugedaarticleroot .revisionreview .reviewactions {
    display: none;
}

.mugedaarticleroot .revisionreview .reviewactions .reviewaction {
    display: inline-block;
    width: 96px;
    height: 24px;
    line-height: 24px;
    border-radius: 2px;
    margin: 8px;
    color: #f9f9f9;
    cursor: pointer;
}

.mugedaarticleroot .revisionreview .reviewtime {
    color: #aaa;
    font-size: 12px;
}

.mugedaarticleroot .revisionreview .reviewpoint {
    display: block;
    width: 16px;
    height: 16px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #19be6b;
    border-bottom: 2px solid #19be6b;
    transform: rotate(45deg);
    background-color: white;
    position: absolute;
    bottom: -9px;
    left: calc(50% - 9px);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.mugedaarticleroot .reviewholder.more .revisionreview .reviewpoint {
    opacity: 0;
}

.mugedaarticleroot .revisionreview .reviewactions .reviewaction.reviewaccept {
    background-color: #19be6b;
}

.mugedaarticleroot .revisionreview .reviewactions .reviewaction.reviewreject {
    background-color: #ff5f5f;
}

.mugedaarticleroot .revisionreview .reviewmore {
    font-size: 12px;
    color: #aaa;
    cursor: pointer;
    margin-top: 8px;
}

.mugedaarticleroot .revisionreview .reviewmore:after {
    border: solid #aaa;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 0;
    width: 6px;
    transform: translate(0, -2px) rotate(45deg);
    height: 6px;
    display: inline-block;
    content: "";
    margin-left: 4px;
    transition: transform 0.5s ease-in-out;
}

.mugedaarticleroot .revisionreview .reviewactions .reviewaction.reviewactionmore {
    display: block;
    width: 100%;
    height: 24px;
    line-height:24px;
    border-radius: 2px;
    margin: 8px;
    color: #2494fe;
    font-size: 14px;
    cursor: pointer;
}

.mugedaarticleroot .revisionreview .reviewactions .reviewaction.reviewactionmore:hover {
    background-color: #bcd7f4;
}

.mugedaarticleroot .reviewholder .reviewmorewrapper {
    border-top: 1px solid #00000000;
    margin-top: 8px;
    height: 0px;
    overflow: hidden;
    transition: border-top-color 0.5s ease-in-out, height 0.5s ease-in-out;

}

.mugedaarticleroot .reviewholder.more .reviewmorewrapper {
    border-top: 1px solid #ddd;
    display: block;
    height: 128px;
}

.mugedaarticleroot .reviewholder.more .revisionreview .reviewmore:after {
    transform: translate(0, 2px) rotate(225deg);
}

.mugedaarticleroot section:focus {
    outline: none;
}

.mugedaarticleroot revision[data-color-index='0'] { color: #ff6358; text-decoration-color: #ff6358; }
.mugedaarticleroot .reviewholder[data-color-index='0'] { border-color: #ff6358; }
.mugedaarticleroot .reviewholder[data-color-index='0'] .reviewpoint { border-color: #ff6358; }
.mugedaarticleroot revision[data-color-index='1'] { color: #aa46be; text-decoration-color: #aa46be; }
.mugedaarticleroot .reviewholder[data-color-index='1'] { border-color: #aa46be; }
.mugedaarticleroot .reviewholder[data-color-index='1'] .reviewpoint { border-color: #aa46be; }
.mugedaarticleroot revision[data-color-index='2'] { color: #28b4c8; text-decoration-color: #28b4c8; }
.mugedaarticleroot .reviewholder[data-color-index='2'] { border-color: #28b4c8; }
.mugedaarticleroot .reviewholder[data-color-index='2'] .reviewpoint { border-color: #28b4c8; }
.mugedaarticleroot revision[data-color-index='3'] { color: #78d237; text-decoration-color: #78d237; }
.mugedaarticleroot .reviewholder[data-color-index='3'] { border-color: #78d237; }
.mugedaarticleroot .reviewholder[data-color-index='3'] .reviewpoint { border-color: #78d237; }
.mugedaarticleroot revision[data-color-index='4'] { color: #2d72f5; text-decoration-color: #2d72f5; }
.mugedaarticleroot .reviewholder[data-color-index='4'] { border-color: #2d72f5; }
.mugedaarticleroot .reviewholder[data-color-index='4'] .reviewpoint { border-color: #2d72f5; }
.mugedaarticleroot revision[data-color-index='5'] { color: #ffd246; text-decoration-color: #ffd246; }
.mugedaarticleroot .reviewholder[data-color-index='5'] { border-color: #ffd246; }
.mugedaarticleroot .reviewholder[data-color-index='5'] .reviewpoint { border-color: #ffd246; }

.mugedaarticleroot section.data-need-conversion:after {
    content: '!';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 0px;
    left: -16px;
    background-color:#ee0000ee;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
}

.mugedaarticleroot section.data-after-conversion:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 0px;
    left: -16px;
    background-color:#00bb00ee;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
}

.mugedaarticleroot hor > section {
    vertical-align: top;
}


.mugedaarticleroot > section.paragraph.empty {
    min-height: 22px;
}

.mugedaarticleroot.view [custom-element] {
    display: block;
    white-space: initial;
}

.mugedaarticleroot.view [custom-element]:focus {
    background: inherit;
    /* outline: yellow solid 1px; */
}
.mugedaarticleroot.view [custom-element]:hover{
    background-color: #bcd7f4;
}
