.freedImg {
	max-width: 100%;
	text-align: center;
	
	margin-top: 0.40em !important;
	margin-right: auto;
	margin-bottom: 0.50em !important;
	margin-left: auto;
    /* avoid splitting image and caption across page breaks */
    page-break-inside: avoid;
    break-inside: avoid;
}

.freedImg img[src*="wikipedia"], .freedImg img[src*="wikisource"], .freedImg img[src*="score"], .freedImg img[src*="math"] {
	width: 100%;
	height: auto;
}

.freedImg .imgCaption {
	display: block;
	font-size: 94%;
	line-height: normal;
	padding: 0.25em 1px 0.75px 1px; /* was padding-top: 0.75px; */
	text-indent: 0;
}

.wst-freedimg-missing { 
	display: block;
	border: 1px solid grey;
	font-size: 83%;
	font-style: italic;
}

/**
 * The following rules are for rotation testing only.
 */
.rotp90, .rot90 {
	transform: rotate(90deg);
}
.rot180 {
	transform: rotate(180deg);
}
.rotn90, .rot270 {
	transform: rotate(-90deg);
}
/* @end */