[data-edition="theodore-dreiser_an-american-tragedy"] .v-edition-body{
}

[data-edition="theodore-dreiser_an-american-tragedy"] p{
	margin: 0;
	text-indent: 1em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hr{
	border: none;
	border-top: 1px solid;
	height: 0;
	margin: 1.5em auto;
	width: 25%;
}

[data-edition="theodore-dreiser_an-american-tragedy"] q::before,
[data-edition="theodore-dreiser_an-american-tragedy"] q::after{
	content: "";
}

[data-edition="theodore-dreiser_an-american-tragedy"] blockquote{
	margin: 1em 2.5em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] h1,
[data-edition="theodore-dreiser_an-american-tragedy"] h2,
[data-edition="theodore-dreiser_an-american-tragedy"] h3,
[data-edition="theodore-dreiser_an-american-tragedy"] h4,
[data-edition="theodore-dreiser_an-american-tragedy"] h5,
[data-edition="theodore-dreiser_an-american-tragedy"] h6,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup{
	break-after: avoid;
	break-inside: avoid;
	font-variant: small-caps;
	margin: 3em 0;
	text-align: center;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h1){
	margin: 6em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h2){
	margin: 4.5em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h3){
	margin: 3.51em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h4){
	margin: 3em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h5){
	margin: 2.49em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup:has(h6){
	margin: 2.01em 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > *{
	margin: 0;
}

/* Simulate `<h2>` in an `<hgroup>`. */
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h1 + p{
	font-size: 1.5em;
}

/* Simulate `<h3>` in an `<hgroup>`. */
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h2 + p{
	font-size: 1.17em;
}

/* Simulate `<h4>` in an `<hgroup>`. */
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h2 + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h3 + p{
	font-size: 1em;
}

/* Simulate `<h5>` in an `<hgroup>`. */
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h2 + p + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h3 + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h4 + p{
	font-size: .83em;
}

/* Simulate `<h6>` in an `<hgroup>`. */
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h2 + p + p + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h3 + p + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h4 + p + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > h5 + p{
	font-size: .67em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > p:first-child{
	font-weight: bold;
}

[data-edition="theodore-dreiser_an-american-tragedy"] hgroup > p{
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] p.continued,
[data-edition="theodore-dreiser_an-american-tragedy"] h2 + p,
[data-edition="theodore-dreiser_an-american-tragedy"] h3 + p,
[data-edition="theodore-dreiser_an-american-tragedy"] h4 + p,
[data-edition="theodore-dreiser_an-american-tragedy"] h5 + p,
[data-edition="theodore-dreiser_an-american-tragedy"] h6 + p,
[data-edition="theodore-dreiser_an-american-tragedy"] header + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hr + p,
[data-edition="theodore-dreiser_an-american-tragedy"] hgroup + p,
[data-edition="theodore-dreiser_an-american-tragedy"] p:first-child{
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] cite{
	font-style: normal;
}

[data-edition="theodore-dreiser_an-american-tragedy"] abbr{
	border: none;
	white-space: nowrap;
}

[data-edition="theodore-dreiser_an-american-tragedy"] blockquote cite{
	display: block;
	font-style: italic;
	text-align: right;
}

[data-edition="theodore-dreiser_an-american-tragedy"] blockquote cite i{
	font-style: normal;
}

[data-edition="theodore-dreiser_an-american-tragedy"] b,
[data-edition="theodore-dreiser_an-american-tragedy"] strong{
	font-variant: small-caps;
	font-weight: normal;
}

[data-edition="theodore-dreiser_an-american-tragedy"] i > i,
[data-edition="theodore-dreiser_an-american-tragedy"] em > i,
[data-edition="theodore-dreiser_an-american-tragedy"] i > em{
	font-style: normal;
}

[data-edition="theodore-dreiser_an-american-tragedy"] ol,
[data-edition="theodore-dreiser_an-american-tragedy"] ul{
	margin-bottom: 1em;
	margin-top: 1em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] header{
	break-after: avoid;
	break-inside: avoid;
	text-align: center;
}

[data-edition="theodore-dreiser_an-american-tragedy"] header > * + p{
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] article > header + *,
[data-edition="theodore-dreiser_an-american-tragedy"] section > header + *{
	margin-top: 3em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] a[data-epub-type~="noteref"]{
	font-size: smaller;
	font-style: normal !important;
	vertical-align: super;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="endnotes"] > ol > li{
	margin: 1em 0;
}

/* Invert images in dark mode. RMSDK requires a target media as well as a state. */
@media all and (prefers-color-scheme: dark){
	[data-edition="theodore-dreiser_an-american-tragedy"] img[data-epub-type~="se:image.color-depth.black-on-transparent"]{
	}

	[data-edition="theodore-dreiser_an-american-tragedy"] img[data-epub-type~="se:image.color-depth.black-on-transparent"][data-epub-type~="se:image.style.realistic"]{
	}
}

[data-edition="theodore-dreiser_an-american-tragedy"] q,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-24"] blockquote{
	font-style: italic;
}

[data-edition="theodore-dreiser_an-american-tragedy"] p.thoughts{
	margin: 1em 0;
}

/* location-specific */
/* Bible verses */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-1-2"] blockquote p{
	font-variant: small-caps;
	margin-bottom: .5em;
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-1-2"] blockquote p > em{
	font-style: italic;
	font-variant: initial;
}

/* line in letter instead of real name (mentioned in text) */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-3"] p[data-epub-type~="z3998:signature"]{
	border-bottom: 2px black solid;
	margin-left: 60vw;
	padding-bottom: .5em;
}

/* invitation, newspaper headlines */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-24"] blockquote,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-42"] blockquote:nth-of-type(5),
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-3-8"] blockquote:first-of-type{
	text-align: center;
}

/* bird-sounds */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-47"] hr:first-of-type + p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-47"] hr:nth-of-type(3) + p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-2-47"] hr:nth-of-type(9) + p{
	text-indent: 1em;
}

/* newspaper headline */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-3-17"] blockquote > header{
	font-variant: small-caps;
	margin-bottom: 1em;
	text-align: center;
}

/* more headlines */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-3-17"] blockquote:nth-of-type(2) p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-3-17"] blockquote:nth-of-type(3) p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-source-id="chapter-3-23"] blockquote p{
	font-variant: small-caps;
	margin-bottom: .5em;
	text-align: center;
	text-indent: 0;
}
/* end of location-specific */

/* letters */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:letter"] header{
	text-align: right;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:salutation"]{
	text-align: initial;
}

[data-edition="theodore-dreiser_an-american-tragedy"] footer{
	margin-top: 1em;
	text-align: right;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:salutation"] + p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:letter"] header + p{
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:sender"],
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:salutation"],
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:signature"]{
	font-variant: small-caps;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:postscript"]{
	margin-top: 1em;
	text-align: initial;
	text-indent: 0;
}
/* end of letters */

/* poem/verse/song */
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:hymn"] p,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:song"] p{
	text-align: initial;
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:hymn"] p > span,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:song"] p > span{
	display: block;
	padding-left: 1em;
	text-indent: -1em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:hymn"] p > span + br,
[data-edition="theodore-dreiser_an-american-tragedy"] [data-epub-type~="z3998:song"] p > span + br{
	display: none;
}

[data-edition="theodore-dreiser_an-american-tragedy"] p span.i4{
	padding-left: 3em;
	text-indent: -1em;
}
/* end of poem/verse/song */

/* This may appear in the colophon. */
[data-edition="theodore-dreiser_an-american-tragedy"] abbr[data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="titlepage"] h1,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="titlepage"] p,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] h2,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"] h2{
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="titlepage"] img{
	display: block;
	margin: 3em auto auto auto;
	width: 100%;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"],
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"]{
	text-align: center;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] header,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"] header{
	line-height: 0;
	margin-top: 3em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] img[data-epub-type~="z3998:publisher-logo"]{
	max-width: 25%;
	width: 220px;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] p,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"] p{
	margin: 1em auto 0 auto;
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"] p{
	font-size: smaller;
	text-align: justify;
	width: 75%;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] p + p::before{
	border-top: 1px solid;
	display: block;
	margin: auto auto 1em auto;
	width: 25%;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] p:nth-last-child(2) time{
	font-variant: small-caps;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] a{
	font-variant: small-caps;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="imprint"] a,
[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="colophon"] a{
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="copyright-page"] p{
	margin: 1em auto;
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="copyright-page"] blockquote p{
	font-style: italic;
	text-align: initial;
	text-indent: 0;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="copyright-page"] blockquote p span{
	display: block;
	padding-left: 1em;
	text-indent: -1em;
}

[data-edition="theodore-dreiser_an-american-tragedy"] section[data-epub-type~="copyright-page"] blockquote br{
	display: none;
}
