/*
 * Public full-text article display styles.
 * Edit this file to change heading, paragraph, image, table, and blockquote
 * formatting for the Article Full Text HTML plugin.
 */

body.pkp_page_article .article-full-text-html-content {
	--article-full-text-collapsed-height: 36rem;
	--article-full-text-image-border-color: #0000ff;
}

body.pkp_page_article .article-full-text-html-content {
	font-size: 1rem;
	line-height: 1.65;
}

body.pkp_page_article .article-full-text-html-is-collapsed .article-full-text-html-content {
	max-height: var(--article-full-text-collapsed-height);
	overflow: hidden;
	position: relative;
}

body.pkp_page_article .article-full-text-html-is-collapsed .article-full-text-html-content::after {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	bottom: 0;
	content: "";
	height: 4rem;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
}

body.pkp_page_article .article-full-text-html-is-expanded .article-full-text-html-content {
	max-height: none;
	overflow: visible;
}

body.pkp_page_article .article-full-text-html-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0.75rem 0 0;
}

body.pkp_page_article .article-full-text-html-toggle {
	background: transparent;
	border: 0;
	color: #006798;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

body.pkp_page_article .article-full-text-html-toggle[hidden] {
	display: none !important;
}

body.pkp_page_article .article-full-text-html-toggle:hover,
body.pkp_page_article .article-full-text-html-toggle:focus {
	color: #004d71;
	text-decoration: none;
}

body.pkp_page_article .article-full-text-html-content .article-h1 {
	font-size: 1.65rem;
	line-height: 1.25;
	margin: 1.7rem 0 0.75rem;
}

body.pkp_page_article .article-full-text-html-content .article-h2 {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 1.5rem 0 0.65rem;
}

body.pkp_page_article .article-full-text-html-content .article-h3,
body.pkp_page_article .article-full-text-html-content .article-h4,
body.pkp_page_article .article-full-text-html-content .article-h5,
body.pkp_page_article .article-full-text-html-content .article-h6 {
	font-size: 1.1rem;
	line-height: 1.35;
	margin: 1.25rem 0 0.5rem;
}

body.pkp_page_article .article-full-text-html-content .article-h3 {
	font-style: italic;
}

body.pkp_page_article .article-full-text-html-content .article-p {
	margin: 0 0 1rem;
}

body.pkp_page_article .article-full-text-html-content .article-blockquote {
	border-left: 4px solid #d8d8d8;
	margin: 1rem 0;
	padding-left: 1rem;
}

body.pkp_page_article .article-full-text-html-content .article-figure {
	margin: 1.25rem 0;
	text-align: left;
}

body.pkp_page_article .article-full-text-html-content .article-figcaption {
	font-weight: 400;
	margin: 0 0 0.5rem;
	text-align: left;
}

body.pkp_page_article .article-full-text-html-content .article-figcaption strong {
	font-weight: 700;
}

body.pkp_page_article .article-full-text-html-content .article-figcaption em {
	font-style: italic;
	font-weight: 400;
}

body.pkp_page_article .article-full-text-html-content .article-figure-placeholder {
	border: 1px dashed #9a9a9a;
	color: #c00000;
	display: inline-block;
	font-style: italic;
	padding: 0.35rem 0.6rem;
}

body.pkp_page_article .article-full-text-html-content .article-media-notes {
	font-size: 0.95em;
	font-style: italic;
	margin-top: -0.6rem;
}

body.pkp_page_article .article-full-text-html-content .article-media-note {
	margin: 0 0 0.25rem !important;
	padding: 0 !important;
}

body.pkp_page_article .article-full-text-html-content .article-table-wrapper {
	margin: 1rem 0;
}

body.pkp_page_article .article-full-text-html-content .article-table-caption {
	font-weight: 400;
	margin: 0 0 0.5rem;
	text-align: left;
}

body.pkp_page_article .article-full-text-html-content .article-table-caption .article-p {
	display: inline;
	margin: 0;
}

body.pkp_page_article .article-full-text-html-content .article-table-caption strong {
	font-weight: 700;
}

body.pkp_page_article .article-full-text-html-content .article-table-caption em {
	font-style: italic;
	font-weight: 400;
}

body.pkp_page_article .article-full-text-html-content .article-caption-ref {
	text-decoration: none;
}

body.pkp_page_article .article-full-text-html-content .article-caption-ref:hover,
body.pkp_page_article .article-full-text-html-content .article-caption-ref:focus {
	font-weight: 700;
	text-decoration: none;
}

body.pkp_page_article .article-full-text-html-content .article-img {
	border: 1px solid var(--article-full-text-image-border-color);
	height: auto;
	max-width: 100%;
}

body.pkp_page_article .article-full-text-html-content .article-table {
	border-collapse: collapse;
	margin: 1rem 0;
	max-width: 100%;
	width: 100%;
}

body.pkp_page_article .article-full-text-html-content .article-th,
body.pkp_page_article .article-full-text-html-content .article-td {
	border: 1px solid #d6d6d6;
	padding: 0.45rem 0.6rem;
	vertical-align: middle !important;
}

body.pkp_page_article .article-full-text-html-content .article-th .article-p,
body.pkp_page_article .article-full-text-html-content .article-td .article-p,
body.pkp_page_article .article-full-text-html-content .article-table th p,
body.pkp_page_article .article-full-text-html-content .article-table td p {
	margin: 0 !important;
	padding: 0 !important;
}

body.pkp_page_article .article-full-text-html-content .article-table th,
body.pkp_page_article .article-full-text-html-content .article-table td {
	vertical-align: middle !important;
}

body.pkp_page_article .article-full-text-html-content .article-table .article-cell-vertical {
	text-align: center !important;
	vertical-align: middle !important;
}

body.pkp_page_article .article-full-text-html-content .article-table .article-cell-vertical-btlr {
	writing-mode: sideways-lr;
}

body.pkp_page_article .article-full-text-html-content .article-table .article-cell-vertical-tbrl {
	writing-mode: vertical-rl;
}

body.pkp_page_article .article-full-text-html-content .article-table .article-cell-vertical-lrtb {
	writing-mode: vertical-lr;
}
