.editor-preview {
    padding: 1.2em !important;
    font-size:18px;
    line-height:1.6;
}

.editor-preview>*:first-child{
    margin-top:0!important;
}

.editor-preview>*:last-child{
    margin-bottom:0!important;
}

.editor-preview a{
    color:#4183C4;
    text-decoration:none;
}

.editor-preview a:hover{
    text-decoration:underline;
}

.editor-preview h1,
.editor-preview h2,
.editor-preview h3,
.editor-preview h4,
.editor-preview h5,
.editor-preview h6{
    margin:20px 0 10px;
    padding:0;
    font-weight:bold;
    -webkit-font-smoothing:antialiased;
}

.editor-preview h1 tt,
.editor-preview h1 code,
.editor-preview h2 tt,
.editor-preview h2 code,
.editor-preview h3 tt,
.editor-preview h3 code,
.editor-preview h4 tt,
.editor-preview h4 code,
.editor-preview h5 tt,
.editor-preview h5 code,
.editor-preview h6 tt,
.editor-preview h6 code{
    font-size:inherit;
}

.editor-preview h1{
    font-size:28px;
    color:#000;
}

.editor-preview h2{
    font-size:24px;
    border-bottom:1px solid #ccc;
    color:#000;
}

.editor-preview h3{
    font-size:18px;
}

.editor-preview h4{
    font-size:16px;
}

.editor-preview h5{
    font-size:14px;
}

.editor-preview h6{
    color:#777;
    font-size:14px;
}

.editor-preview p,
.editor-preview blockquote,
.editor-preview ul,
.editor-preview ol,
.editor-preview dl,
.editor-preview table,
.editor-preview pre{
    margin:15px 0;
}

.editor-preview hr{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
    padding: 0;
}

.editor-preview>h2:first-child,
.editor-preview>h1:first-child,
.editor-preview>h1:first-child+h2,
.editor-preview>h3:first-child,
.editor-preview>h4:first-child,
.editor-preview>h5:first-child,
.editor-preview>h6:first-child{
    margin-top:0;
    padding-top:0;
}

.editor-preview h1+p,
.editor-preview h2+p,
.editor-preview h3+p,
.editor-preview h4+p,
.editor-preview h5+p,
.editor-preview h6+p{
    margin-top:0;
}

.editor-preview li p.first{
    display:inline-block;
}

.editor-preview ul,
.editor-preview ol{
    padding-left:30px;
}

.editor-preview ul li>:first-child,
.editor-preview ol li>:first-child{
    margin-top:0;
}

.editor-preview ul li>:last-child,
.editor-preview ol li>:last-child{
    margin-bottom:0;
}

.editor-preview dl{
    padding:0;
}

.editor-preview dl dt{
    font-size:14px;
    font-weight:bold;
    font-style:italic;
    padding:0;
    margin:15px 0 5px;
}

.editor-preview dl dt:first-child{
    padding:0;
}

.editor-preview dl dt>:first-child{
    margin-top:0;
}

.editor-preview dl dt>:last-child{
    margin-bottom:0;
}

.editor-preview dl dd{
    margin:0 0 15px;
    padding:0 15px;
}

.editor-preview dl dd>:first-child{
    margin-top:0;
}

.editor-preview dl dd>:last-child{
    margin-bottom:0;
}

.editor-preview blockquote{
    border-left:4px solid #DDD;
    padding:0 15px;
    color:#777;
}

.editor-preview blockquote>:first-child{
    margin-top:0;
}

.editor-preview blockquote>:last-child{
    margin-bottom:0;
}

.editor-preview table{
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 100%;
    font: inherit;
}

.editor-preview table tr{
    border-top:1px solid #ccc;
    background-color:#fff;
    margin:0;
    padding:0;
}

.editor-preview table tr:nth-child(2n){
    background-color:#f8f8f8;
}

.editor-preview table tr th{
    font-weight:bold;
}

.editor-preview table tr th,
.editor-preview table tr td{
    border:1px solid #ccc;
    text-align:left;
    margin:0;
    padding:6px 13px;
}

.editor-preview table tr th>:first-child,
.editor-preview table tr td>:first-child{
    margin-top:0;
}

.editor-preview table tr th>:last-child,
.editor-preview table tr td>:last-child{
    margin-bottom:0;
}

.editor-preview img{
    max-width:100%;
}

.editor-preview span.frame{
    display:block;
    overflow:hidden;
}

.editor-preview span.frame>span{
    border:1px solid #ddd;
    display:block;
    float:left;
    overflow:hidden;
    margin:13px 0 0;
    padding:7px;
    width:auto;
}

.editor-preview span.frame span img{
    display:block;
    float:left;
}

.editor-preview span.frame span span{
    clear:both;
    color:#333;
    display:block;
    padding:5px 0 0;
}

.editor-preview span.align-center{
    display:block;
    overflow:hidden;
    clear:both;
}

.editor-preview span.align-center>span{
    display:block;
    overflow:hidden;
    margin:13px auto 0;
    text-align:center;
}

.editor-preview span.align-center span img{
    margin:0 auto;
    text-align:center;
}

.editor-preview span.align-right{
    display:block;
    overflow:hidden;
    clear:both;
}

.editor-preview span.align-right>span{
    display:block;
    overflow:hidden;
    margin:13px 0 0;
    text-align:right;
}

.editor-preview span.align-right span img{
    margin:0;
    text-align:right;
}

.editor-preview span.float-left{
    display:block;
    margin-right:13px;
    overflow:hidden;
    float:left;
}

.editor-preview span.float-left span{
    margin:13px 0 0;
}

.editor-preview span.float-right{
    display:block;
    margin-left:13px;
    overflow:hidden;
    float:right;
}

.editor-preview span.float-right>span{
    display:block;
    overflow:hidden;
    margin:13px auto 0;
    text-align:right;
}

.editor-preview code,
.editor-preview tt{
    margin:0 2px;
    padding:0 5px;
    white-space:nowrap;
    border:1px solid #eaeaea;
    background-color:#f8f8f8;
    border-radius:3px;
}

.editor-preview pre>code{
    margin:0;
    padding:0;
    white-space:pre;
    border:none;
    background:transparent;
}

.editor-preview .highlight pre,
.editor-preview pre{
    background-color:#f8f8f8;
    border:1px solid #ccc;
    font-size:13px;
    line-height:19px;
    overflow:auto;
    padding:6px 10px;
    border-radius:3px;
}

.editor-preview pre code,
.editor-preview pre tt{
    background-color:transparent;
    border:none;
}
