.mf-app-rich-content p {
    margin: 0 0 1em;
}

.mf-app-rich-content h1,
.mf-app-rich-content h2,
.mf-app-rich-content h3,
.mf-app-rich-content h4,
.mf-app-rich-content h5,
.mf-app-rich-content h6 {
    margin: 1.5em 0 0.625em;
    line-height: 1.25;
}

.mf-app-rich-content ul,
.mf-app-rich-content ol {
    margin: 0 0 1em;
    padding-inline-start: 1.75em;
}

.mf-app-rich-content ul {
    list-style: disc outside;
}

.mf-app-rich-content ul > li {
    list-style-type: disc;
}

.mf-app-rich-content ol {
    list-style: decimal outside;
}

.mf-app-rich-content ol > li {
    list-style-type: decimal;
}

.mf-app-rich-content li {
    margin: 0.125em 0;
}

.mf-app-rich-content li > ul,
.mf-app-rich-content li > ol {
    margin-top: 0.25em;
    margin-bottom: 0;
}

.mf-app-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 1em;
}

.mf-app-rich-content img[data-align='left'] {
    margin-right: auto;
}

.mf-app-rich-content img[data-align='center'] {
    margin-right: auto;
    margin-left: auto;
}

.mf-app-rich-content img[data-align='right'] {
    margin-left: auto;
}

.mf-app-rich-content img[data-width='25'] {
    width: 25%;
}

.mf-app-rich-content img[data-width='50'] {
    width: 50%;
}

.mf-app-rich-content img[data-width='75'] {
    width: 75%;
}

.mf-app-rich-content img[data-width='100'] {
    width: 100%;
}

.mf-app-rich-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1em;
    overflow-x: auto;
    border-collapse: collapse;
    table-layout: fixed;
}

.mf-app-rich-content th,
.mf-app-rich-content td {
    min-width: 6rem;
    padding: 0.625em 0.75em;
    border: 1px solid rgba(127, 127, 127, 0.35);
    text-align: left;
    vertical-align: top;
}

.mf-app-rich-content th {
    background: rgba(127, 127, 127, 0.12);
    font-weight: 600;
}

.mf-app-rich-content th > :last-child,
.mf-app-rich-content td > :last-child {
    margin-bottom: 0;
}

.mf-app-rich-content table.table:not(.table-bordered):not(.table-borderless) th,
.mf-app-rich-content table.table:not(.table-bordered):not(.table-borderless) td {
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.mf-app-rich-content table.table-borderless th,
.mf-app-rich-content table.table-borderless td {
    border: 0;
}

.mf-app-rich-content table.table-striped tbody tr:nth-of-type(odd) > * {
    background: rgba(127, 127, 127, 0.08);
}

.mf-app-rich-content table.table-sm th,
.mf-app-rich-content table.table-sm td {
    padding: 0.25em 0.5em;
}

.mf-app-rich-content > :first-child {
    margin-top: 0;
}

.mf-app-rich-content > :last-child {
    margin-bottom: 0;
}
