﻿/*
==============================
paragraphs
==============================
*/
.rich-text p {
	margin: 1em 0;
}
/*
==============================
contain floating elements
==============================
*/
.rich-text {
	display: flow-root;
}
/*
==============================
nested lists
==============================
*/
.rich-text ol {
	list-style-type: decimal;
}

.rich-text ol ol {
	list-style-type: lower-latin;
}

.rich-text ol ol ol {
	list-style-type: lower-roman;
}

.rich-text ol ol ol ol {
	list-style-type: upper-latin;
}

.rich-text ol ol ol ol ol {
	list-style-type: upper-roman;
}
/*
==============================
images
==============================
*/
.rich-text figure.scholarrx-media {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.rich-text figure.scholarrx-media figcaption {
	font-size: 12px;
	font-style: italic;
	text-align: center;
	margin: 12px 0;
	text-wrap: balance;
}
/*
==============================
tables
==============================
*/
.rich-text table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
}

.rich-text table,
.rich-text table th,
.rich-text table td {
	border: 1px solid #000000;
}

.rich-text table th,
.rich-text table td {
	padding: 10px;
}

.rich-text table th {
	font-weight: bold;
	text-align: center;
}

.rich-text table td {
	vertical-align: top;
	text-align: left;
}
/*
==============================
table captions
==============================
*/
.rich-text .table > figcaption {
    padding: 0.6em;
    font-size: 0.75em;
    text-align: center;
}
/*
==============================
tables within ckeditor
==============================
*/
.rich-text .ck-content .table {
	display: table; /* reset to ckeditor standard, overriding inline-table specified elsewhere */
}

.rich-text .ck-content .table table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
}

.rich-text .ck-content .table table,
.rich-text .ck-content .table table th,
.rich-text .ck-content .table table td {
	border: 1px solid #000000;
}

.rich-text .ck-content .table table th,
.rich-text .ck-content .table table td {
	padding: 10px;
}

.rich-text .ck-content .table table th {
	font-weight: bold;
	text-align: center;
}

.rich-text .ck-content .table table td {
	vertical-align: top;
	text-align: left;
}
/*
==============================
tables within mudblazor tables
==============================
*/
.mud-simple-table.mud-table-bordered .mud-table-container .rich-text table,
.mud-simple-table.mud-table-bordered .mud-table-container .rich-text table thead tr th,
.mud-simple-table.mud-table-bordered .mud-table-container .rich-text table tbody tr td {
	border: 1px solid #000000;
}
