[data-edition="george-bernard-shaw_short-plays"] .v-edition-body{
}

[data-edition="george-bernard-shaw_short-plays"] p{
	margin: 0;
	text-indent: 1em;
}

[data-edition="george-bernard-shaw_short-plays"] hr{
	border: none;
	border-top: 1px solid;
	height: 0;
	margin: 1.5em auto;
	width: 25%;
}

[data-edition="george-bernard-shaw_short-plays"] q::before,
[data-edition="george-bernard-shaw_short-plays"] q::after{
	content: "";
}

[data-edition="george-bernard-shaw_short-plays"] blockquote{
	margin: 1em 2.5em;
}

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

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h1){
	margin: 6em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h2){
	margin: 4.5em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h3){
	margin: 3.51em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h4){
	margin: 3em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h5){
	margin: 2.49em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup:has(h6){
	margin: 2.01em 0;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup > *{
	margin: 0;
}

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

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

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

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

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

[data-edition="george-bernard-shaw_short-plays"] hgroup > p:first-child{
	font-weight: bold;
}

[data-edition="george-bernard-shaw_short-plays"] hgroup > p{
	text-indent: 0;
}

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

[data-edition="george-bernard-shaw_short-plays"] cite{
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] abbr{
	border: none;
	white-space: nowrap;
}

[data-edition="george-bernard-shaw_short-plays"] blockquote cite{
	display: block;
	font-style: italic;
	text-align: right;
}

[data-edition="george-bernard-shaw_short-plays"] blockquote cite i{
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] b,
[data-edition="george-bernard-shaw_short-plays"] strong{
	font-variant: small-caps;
	font-weight: normal;
}

[data-edition="george-bernard-shaw_short-plays"] i > i,
[data-edition="george-bernard-shaw_short-plays"] em > i,
[data-edition="george-bernard-shaw_short-plays"] i > em{
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] ol,
[data-edition="george-bernard-shaw_short-plays"] ul{
	margin-bottom: 1em;
	margin-top: 1em;
}

[data-edition="george-bernard-shaw_short-plays"] header{
	break-after: avoid;
	break-inside: avoid;
	text-align: center;
}

[data-edition="george-bernard-shaw_short-plays"] header > * + p{
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] article > header + *,
[data-edition="george-bernard-shaw_short-plays"] section > header + *{
	margin-top: 3em;
}

[data-edition="george-bernard-shaw_short-plays"] a[data-epub-type~="noteref"]{
	font-size: smaller;
	font-style: normal !important;
	vertical-align: super;
}

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

	[data-edition="george-bernard-shaw_short-plays"] img[data-epub-type~="se:image.color-depth.black-on-transparent"][data-epub-type~="se:image.style.realistic"]{
	}
}

/* Verse */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:song"] p{
	text-align: initial;
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:verse"] p > span{
	display: block;
	padding-left: 1em;
	text-indent: -1em;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:verse"] p > span + br{
	display: none;
}

/* Indented verse */
[data-edition="george-bernard-shaw_short-plays"] p span.i1{
	padding-left: 2em;
	text-indent: -1em;
}

/* Page break CSS for play compilations only */
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="preface"],
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="z3998:dramatis-personae"],
[data-edition="george-bernard-shaw_short-plays"] article > hgroup,
[data-edition="george-bernard-shaw_short-plays"] article > h2,
[data-edition="george-bernard-shaw_short-plays"] article > header{
	break-after: page;
}

/* Preface headers */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="preface"] header{
	break-after: avoid;
	font-variant: small-caps;
	margin-bottom: 1em;
	margin-top: 3em;
	text-align: center;
}

/* Dialogue table */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] table{
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] tr:first-child td{
	padding-top: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] tr:last-child td{
	padding-bottom: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] td{
	padding: .5em;
	vertical-align: top;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] td:last-child{
	padding-right: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] td:first-child{
	padding-left: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] td[data-epub-type~="z3998:persona"]{
	text-align: right;
	width: 20%;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="z3998:scene"] > p{
	margin: 1em auto;
	width: 75%;
}

/* Dramatis Personae */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:dramatis-personae"]{
	text-align: center;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:dramatis-personae"] p{
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:dramatis-personae"] ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:dramatis-personae"] ul li{
	font-style: italic;
	margin: 1em;
}

/* Stage directions and personas */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:stage-direction"]{
	font-style: italic;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:stage-direction"] [data-epub-type~="z3998:persona"],
[data-edition="george-bernard-shaw_short-plays"] i [data-epub-type~="z3998:persona"]{
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:stage-direction"]::before{
	content: "(";
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:stage-direction"]::after{
	content: ")";
	font-style: normal;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:persona"]{
	font-variant: all-small-caps;
}

/* Together CSS (for multiple speakers speaking together) */
[data-edition="george-bernard-shaw_short-plays"] tr.together{
	break-inside: avoid;
}

[data-edition="george-bernard-shaw_short-plays"] tr.together td{
	padding: 0 .5em 0 0;
	vertical-align: middle;
}

[data-edition="george-bernard-shaw_short-plays"] tr.together td + td{
	border-left: 1px solid;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] .together td:last-child{
	padding-left: .5em;
}

/* Epigraphs */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="epigraph"]{
	font-style: italic;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="epigraph"] cite{
	font-style: normal;
	font-variant: small-caps;
	margin-top: 1em;
}

/* Bridgeheads */
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="se:bridgehead"]{
	display: inline-block;
	font-style: italic;
	max-width: 60%;
	text-align: justify;
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:poem"],
[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:verse"]{
	text-align: justify;
}

/* Play-specific CSS */
/* The Admirable Bashville */
/* Inca of Perusalem */
[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-admirable-bashville"] [data-epub-type~="bodymatter"],
[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-inca-of-perusalem-prologue"]{
	break-after: page;
}

/* Blanco Posnet */
/* How He Lied to Her Husband */
[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-showing-up-of-blanco-posnet-preface-5-postscript"],
[data-edition="george-bernard-shaw_short-plays"] [data-source-id="how-he-lied-to-her-husband-preface-postscript"]{
	margin-top: 1em;
	text-align: initial;
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-showing-up-of-blanco-posnet-preface-4"] ol{
	list-style-type: decimal;
	margin-bottom: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-showing-up-of-blanco-posnet-preface-4"] ol li ol{
	list-style-type: upper-alpha;
	margin-top: 0;
}

[data-edition="george-bernard-shaw_short-plays"] [data-source-id="the-showing-up-of-blanco-posnet-preface-5"] ol{
	list-style-type: lower-alpha;
}

/* Miscellaneous */
[data-edition="george-bernard-shaw_short-plays"] abbr[data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

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

	[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] td[data-epub-type~="z3998:persona"]{
		break-after: avoid;
		margin-top: 1.5em;
	}

	/* `together` rows get a pseudo-stage-direction. */
	[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] tr.together td[data-epub-type~="z3998:persona"]::after{
		font-style: italic;
		font-variant: normal;
	}

	[data-edition="george-bernard-shaw_short-plays"] [data-epub-type~="z3998:drama"] .together td:last-child{
		border: none;
		padding: 0;
	}

	/* Rows that are only stage direction get a top margin. */
	[data-edition="george-bernard-shaw_short-plays"] [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="george-bernard-shaw_short-plays"] abbr[data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="titlepage"] h1,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="titlepage"] p,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"] h2,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"] h2{
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="titlepage"] img{
	display: block;
	margin: 3em auto auto auto;
	width: 100%;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"],
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"]{
	text-align: center;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"] header,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"] header{
	line-height: 0;
	margin-top: 3em;
}

[data-edition="george-bernard-shaw_short-plays"] img[data-epub-type~="z3998:publisher-logo"]{
	max-width: 25%;
	width: 220px;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"] p,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"] p{
	margin: 1em auto 0 auto;
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"] p{
	font-size: smaller;
	text-align: justify;
	width: 75%;
}

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

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

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"] a{
	font-variant: small-caps;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="imprint"] a,
[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="colophon"] a{
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="copyright-page"] p{
	margin: 1em auto;
	text-indent: 0;
}

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="copyright-page"] blockquote p{
	font-style: italic;
	text-align: initial;
	text-indent: 0;
}

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

[data-edition="george-bernard-shaw_short-plays"] section[data-epub-type~="copyright-page"] blockquote br{
	display: none;
}
