/* WYSIWYG / TinyMCE rendered content — wrap output in .editor-content */

.editor-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #222f3e;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    font-family: inherit;
    text-transform: none;
    font-weight: bold;
    color: inherit;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.editor-content h1 { font-size: 2em; line-height: 1.2; }
.editor-content h2 { font-size: 1.5em; line-height: 1.3; }
.editor-content h3 { font-size: 1.17em; line-height: 1.4; }
.editor-content h4 { font-size: 1em; line-height: 1.4; }

.editor-content p {
    margin-bottom: 1rem;
}

.editor-content ul,
.editor-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.editor-content ul { list-style-type: disc; }
.editor-content ol { list-style-type: decimal; }

.editor-content li {
    margin-bottom: 0.25rem;
}

.editor-content a {
    display: inline;
    color: #0066cc;
}

.editor-content a:hover {
    color: #004499;
    text-decoration: underline;
}

.editor-content img {
    max-width: 100%;
    height: auto;
}

.editor-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
}

.editor-content table:not([cellpadding]) td,
.editor-content table:not([cellpadding]) th {
    padding: .4rem;
}

.editor-content table[border]:not([border="0"]):not([style*=border-width]) td,
.editor-content table[border]:not([border="0"]):not([style*=border-width]) th {
    border-width: 1px;
}

.editor-content table[border]:not([border="0"]):not([style*=border-style]) td,
.editor-content table[border]:not([border="0"]):not([style*=border-style]) th {
    border-style: solid;
}

.editor-content table[border]:not([border="0"]):not([style*=border-color]) td,
.editor-content table[border]:not([border="0"]):not([style*=border-color]) th {
    border-color: #ccc;
}

.editor-content figure {
    display: table;
    margin: 1rem auto;
}

.editor-content figure figcaption {
    color: #999;
    display: block;
    margin-top: .25rem;
    text-align: center;
}

.editor-content hr {
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 0 0 0;
}

.editor-content code {
    background-color: #e8e8e8;
    border-radius: 3px;
    padding: .1rem .2rem;
}

.editor-content:not([dir=rtl]) blockquote {
    border-left: 2px solid #ccc;
    margin-left: 1.5rem;
    padding-left: 1rem;
}

.editor-content[dir=rtl] blockquote {
    border-right: 2px solid #ccc;
    margin-right: 1.5rem;
    padding-right: 1rem;
}

.editor-content [data-custom-class='body'],
.editor-content [data-custom-class='body'] * {
    background: transparent !important;
}

.editor-content [data-custom-class='title'],
.editor-content [data-custom-class='title'] * {
    font-family: Arial !important;
    font-size: 26px !important;
    color: #000000 !important;
}

.editor-content [data-custom-class='subtitle'],
.editor-content [data-custom-class='subtitle'] * {
    font-family: Arial !important;
    color: #595959 !important;
    font-size: 14px !important;
}

.editor-content [data-custom-class='heading_1'],
.editor-content [data-custom-class='heading_1'] * {
    font-family: Arial !important;
    font-size: 19px !important;
    color: #000000 !important;
}

.editor-content [data-custom-class='heading_2'],
.editor-content [data-custom-class='heading_2'] * {
    font-family: Arial !important;
    font-size: 17px !important;
    color: #000000 !important;
}

.editor-content [data-custom-class='body_text'],
.editor-content [data-custom-class='body_text'] * {
    color: #595959 !important;
    font-size: 14px !important;
    font-family: Arial !important;
}

.editor-content [data-custom-class='link'],
.editor-content [data-custom-class='link'] * {
    color: #3030F1 !important;
    font-size: 14px !important;
    font-family: Arial !important;
    word-break: break-word !important;
}
