[data-edition="o-henry_short-fiction"] .v-edition-body{
}

[data-edition="o-henry_short-fiction"] p{
	margin: 0;
	text-indent: 1em;
}

[data-edition="o-henry_short-fiction"] hr{
	border: none;
	border-top: 1px solid;
	height: 0;
	margin: 1.5em auto;
	width: 25%;
}

[data-edition="o-henry_short-fiction"] q::before,
[data-edition="o-henry_short-fiction"] q::after{
	content: "";
}

[data-edition="o-henry_short-fiction"] blockquote{
	margin: 1em 2.5em;
}

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

[data-edition="o-henry_short-fiction"] hgroup:has(h1){
	margin: 6em 0;
}

[data-edition="o-henry_short-fiction"] hgroup:has(h2){
	margin: 4.5em 0;
}

[data-edition="o-henry_short-fiction"] hgroup:has(h3){
	margin: 3.51em 0;
}

[data-edition="o-henry_short-fiction"] hgroup:has(h4){
	margin: 3em 0;
}

[data-edition="o-henry_short-fiction"] hgroup:has(h5){
	margin: 2.49em 0;
}

[data-edition="o-henry_short-fiction"] hgroup:has(h6){
	margin: 2.01em 0;
}

[data-edition="o-henry_short-fiction"] hgroup > *{
	margin: 0;
}

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

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

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

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

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

[data-edition="o-henry_short-fiction"] hgroup > p:first-child{
	font-weight: bold;
}

[data-edition="o-henry_short-fiction"] hgroup > p{
	text-indent: 0;
}

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

[data-edition="o-henry_short-fiction"] cite{
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] abbr{
	border: none;
	white-space: nowrap;
}

[data-edition="o-henry_short-fiction"] blockquote cite{
	display: block;
	font-style: italic;
	text-align: right;
}

[data-edition="o-henry_short-fiction"] blockquote cite i{
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] b,
[data-edition="o-henry_short-fiction"] strong{
	font-variant: small-caps;
	font-weight: normal;
}

[data-edition="o-henry_short-fiction"] i > i,
[data-edition="o-henry_short-fiction"] em > i,
[data-edition="o-henry_short-fiction"] i > em{
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] ol,
[data-edition="o-henry_short-fiction"] ul{
	margin-bottom: 1em;
	margin-top: 1em;
}

[data-edition="o-henry_short-fiction"] header{
	break-after: avoid;
	break-inside: avoid;
	text-align: center;
}

[data-edition="o-henry_short-fiction"] header > * + p{
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] article > header + *,
[data-edition="o-henry_short-fiction"] section > header + *{
	margin-top: 3em;
}

[data-edition="o-henry_short-fiction"] a[data-epub-type~="noteref"]{
	font-size: smaller;
	font-style: normal !important;
	vertical-align: super;
}

[data-edition="o-henry_short-fiction"] 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="o-henry_short-fiction"] img[data-epub-type~="se:image.color-depth.black-on-transparent"]{
	}

	[data-edition="o-henry_short-fiction"] img[data-epub-type~="se:image.color-depth.black-on-transparent"][data-epub-type~="se:image.style.realistic"]{
	}
}

[data-edition="o-henry_short-fiction"] blockquote[lang]{
	font-style: italic;
}

/* business cards, personal cards, etc. */
[data-edition="o-henry_short-fiction"] .card > p{
	font-variant: small-caps;
	text-align: center;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:acronym"],
[data-edition="o-henry_short-fiction"] [data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

/* epigraph */
[data-edition="o-henry_short-fiction"] [data-epub-type~="epigraph"]{
	font-style: italic;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="epigraph"] i{
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="epigraph"] cite{
	font-style: normal;
	font-variant: small-caps;
	margin-top: 1em;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="epigraph"] cite i{
	font-style: italic;
}

[data-edition="o-henry_short-fiction"] article > header [data-epub-type~="epigraph"]{
	display: inline-block;
	margin: auto;
	max-width: 80%;
	text-align: initial;
}

@supports(display: table){
	[data-edition="o-henry_short-fiction"] article > header [data-epub-type~="epigraph"]{
		display: table;
	}
}
/* end of epigraph */

[data-edition="o-henry_short-fiction"] [data-epub-type~="se:bridgehead"]{
	display: inline-block;
	font-style: italic;
	max-width: 60%;
	text-align: justify;
	text-indent: 0;
}

/* poetry, songs */
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:poem"] header{
	font-variant: small-caps;
	margin: 1em;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:poem"] p,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:song"] p,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:verse"] p{
	text-align: initial;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:poem"] p > span,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:song"] p > span,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:verse"] p > span{
	display: block;
	padding-left: 1em;
	text-indent: -1em;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:poem"] p > span + br,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:song"] p > span + br,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:verse"] p > span + br{
	display: none;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:poem"] p + p{
	margin-top: 1em;
}

[data-edition="o-henry_short-fiction"] p span.i1{
	padding-left: 2em;
	text-indent: -1em;
}

[data-edition="o-henry_short-fiction"] p span.i2{
	padding-left: 3em;
	text-indent: -1em;
}

[data-edition="o-henry_short-fiction"] p span.i3{
	padding-left: 4em;
	text-indent: -1em;
}
/* end of poetry, songs */

/* letters */
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:letter"] header{
	text-align: right;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:salutation"]{
	text-align: initial;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:salutation"] + p,
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:letter"] header + p{
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:recipient"],
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:salutation"],
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:sender"]{
	font-variant: small-caps;
}

[data-edition="o-henry_short-fiction"] footer{
	margin-top: 1em;
	text-align: right;
}

[data-edition="o-henry_short-fiction"] [data-source-id="queries-and-answers"] p[data-epub-type~="z3998:signature"]{
	text-align: right;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:signature"]{
	font-variant: small-caps;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:postscript"]{
	margin-top: 1em;
	text-align: initial;
	text-indent: 0;
}
/* end of letter */

/* drama */
[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:dramatis-personae"] header{
	font-weight: bold;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:dramatis-personae"]{
	text-align: center;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:dramatis-personae"] ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:dramatis-personae"] ul li{
	font-style: italic;
	margin: 1em;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:scene"]{
	margin: 1em auto;
	width: 75%;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] table{
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] tr:first-child td{
	padding-top: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] tr:last-child td{
	padding-bottom: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td{
	padding: .5em;
	vertical-align: top;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td:last-child{
	padding-right: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td:first-child{
	padding-left: 0;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td[data-epub-type~="z3998:persona"]{
	text-align: right;
	width: 20%;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:stage-direction"]{
	font-style: italic;
}

[data-edition="o-henry_short-fiction"] i [data-epub-type~="z3998:persona"]{
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:stage-direction"]::before{
	content: "(";
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:stage-direction"]::after{
	content: ")";
	font-style: normal;
}

[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:persona"]{
	font-variant: all-small-caps;
}
/* end of drama */

/* story-specific formatting */
[data-edition="o-henry_short-fiction"] [data-source-id="getting-at-the-facts"] blockquote > header > p,
[data-edition="o-henry_short-fiction"] [data-source-id="a-bird-of-bagdad"] header{
	font-variant: small-caps;
	margin: 1em;
	text-align: center;
}

/* override core's formatting of a 3em top margin for paragraph following a header */
[data-edition="o-henry_short-fiction"] [data-source-id="a-bird-of-bagdad"] header + p{
	margin-top: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="a-departmental-case"] blockquote > header{
	margin-bottom: 1em;
	text-align: center;
	text-transform: uppercase;
}

[data-edition="o-henry_short-fiction"] [data-source-id="conscience-in-art"] table{
	margin: 1em auto;
}

[data-edition="o-henry_short-fiction"] [data-source-id="conscience-in-art"] td:first-child{
	padding-right: 3em;
}

[data-edition="o-henry_short-fiction"] [data-source-id="conscience-in-art"] td:last-child{
	text-align: right;
}

[data-edition="o-henry_short-fiction"] [data-source-id="conscience-in-art"] tr:last-child td:first-child{
	text-indent: 1em;
}

[data-edition="o-henry_short-fiction"] [data-source-id="conscience-in-art"] tr:last-child td:last-child{
	border-top: 1px solid;
}

[data-edition="o-henry_short-fiction"] [data-source-id="a-night-in-new-arabia"] header{
	font-variant: small-caps;
	margin: 3em auto;
}

[data-edition="o-henry_short-fiction"] [data-source-id="in-mezzotint"] blockquote{
	border: 2px solid;
	margin-left: auto;
	margin-right: auto;
	padding: 1em 0;
	text-align: center;
	width: 9em;
}

[data-edition="o-henry_short-fiction"] [data-source-id="in-mezzotint"] blockquote > p{
	font-size: large;
	font-weight: bold;
	text-indent: 0;
	text-transform: uppercase;
}

[data-edition="o-henry_short-fiction"] [data-source-id="reconciliation"] p:last-child,
[data-edition="o-henry_short-fiction"] [data-source-id="sound-and-fury"] table + p{
	margin-top: 1em;
	text-align: center;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-proem"] blockquote{
	font-style: normal;
	font-variant: all-small-caps;
	text-align: center;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-rose-of-dixie"] blockquote{
	text-align: center;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-proem"] blockquote p,
[data-edition="o-henry_short-fiction"] [data-source-id="the-rose-of-dixie"] blockquote > p{
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-rose-of-dixie"] blockquote > p:nth-child(3n) > b{
	font-variant: normal;
	text-transform: uppercase;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-vitagraphoscope"] p:nth-child(5){
	font-style: italic;
	margin-top: 1em;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-vitagraphoscope"] section > header + *{
	margin: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-vitagraphoscope"] header{
	font-variant: small-caps;
	margin-bottom: 1em;
	margin-top: 2em;
	text-align: center;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-vitagraphoscope"] header p:nth-child(2){
	font-style: italic;
	font-variant: normal;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-vitagraphoscope-1-3"] p:last-child{
	font-variant: small-caps;
	margin-top: 1em;
	text-align: center;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="a-matter-of-mean-elevation"] blockquote{
	font-style: italic;
}

[data-edition="o-henry_short-fiction"] [data-source-id="calloways-code"] blockquote p + p{
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] [data-source-id="the-ransom-of-red-chief"] blockquote[data-epub-type~="z3998:letter"] header,
[data-edition="o-henry_short-fiction"] [data-source-id="the-lotus-and-the-cockleburrs"] blockquote[data-epub-type~="z3998:letter"] header,
[data-edition="o-henry_short-fiction"] [data-source-id="shoes"] blockquote[data-epub-type~="z3998:letter"] header,
[data-edition="o-henry_short-fiction"] [data-source-id="extradited-from-bohemia"] blockquote[data-epub-type~="z3998:letter"] header{
	text-align: initial;
}

[data-edition="o-henry_short-fiction"] .editorial{
	margin: 1em;
	text-align: center;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] .editorial + p{
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] .telegram{
	font-variant: all-small-caps;
}

@media(max-width: 400px){
	[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td,
	[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td[data-epub-type~="z3998:persona"],
	[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td:last-child{
		display: block;
		padding: 0;
		text-align: initial;
		width: 100%;
	}

	[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td[data-epub-type~="z3998:persona"]{
		break-after: avoid;
		margin-top: 1.5em;
	}

	/* Rows that are only stage direction get a top margin. */
	[data-edition="o-henry_short-fiction"] [data-epub-type~="z3998:drama"] td:first-child:not([data-epub-type]) + td{
		margin-top: 1.5em;
	}
}

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

[data-edition="o-henry_short-fiction"] section[data-epub-type~="titlepage"] h1,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="titlepage"] p,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"] h2,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"] h2{
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="titlepage"] img{
	display: block;
	margin: 3em auto auto auto;
	width: 100%;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"],
[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"]{
	text-align: center;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"] header,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"] header{
	line-height: 0;
	margin-top: 3em;
}

[data-edition="o-henry_short-fiction"] img[data-epub-type~="z3998:publisher-logo"]{
	max-width: 25%;
	width: 220px;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"] p,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"] p{
	margin: 1em auto 0 auto;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"] p{
	font-size: smaller;
	text-align: justify;
	width: 75%;
}

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

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

[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"] a{
	font-variant: small-caps;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="imprint"] a,
[data-edition="o-henry_short-fiction"] section[data-epub-type~="colophon"] a{
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="copyright-page"] p{
	margin: 1em auto;
	text-indent: 0;
}

[data-edition="o-henry_short-fiction"] section[data-epub-type~="copyright-page"] blockquote p{
	font-style: italic;
	text-align: initial;
	text-indent: 0;
}

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

[data-edition="o-henry_short-fiction"] section[data-epub-type~="copyright-page"] blockquote br{
	display: none;
}
