[data-edition="w-b-yeats_poetry"] .v-edition-body{
}

[data-edition="w-b-yeats_poetry"] p{
	margin: 0;
	text-indent: 1em;
}

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

[data-edition="w-b-yeats_poetry"] q::before,
[data-edition="w-b-yeats_poetry"] q::after{
	content: "";
}

[data-edition="w-b-yeats_poetry"] blockquote{
	margin: 1em 2.5em;
}

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

[data-edition="w-b-yeats_poetry"] hgroup:has(h1){
	margin: 6em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup:has(h2){
	margin: 4.5em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup:has(h3){
	margin: 3.51em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup:has(h4){
	margin: 3em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup:has(h5){
	margin: 2.49em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup:has(h6){
	margin: 2.01em 0;
}

[data-edition="w-b-yeats_poetry"] hgroup > *{
	margin: 0;
}

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

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

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

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

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

[data-edition="w-b-yeats_poetry"] hgroup > p:first-child{
	font-weight: bold;
}

[data-edition="w-b-yeats_poetry"] hgroup > p{
	text-indent: 0;
}

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

[data-edition="w-b-yeats_poetry"] cite{
	font-style: normal;
}

[data-edition="w-b-yeats_poetry"] abbr{
	border: none;
	white-space: nowrap;
}

[data-edition="w-b-yeats_poetry"] blockquote cite{
	display: block;
	font-style: italic;
	text-align: right;
}

[data-edition="w-b-yeats_poetry"] blockquote cite i{
	font-style: normal;
}

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

[data-edition="w-b-yeats_poetry"] i > i,
[data-edition="w-b-yeats_poetry"] em > i,
[data-edition="w-b-yeats_poetry"] i > em{
	font-style: normal;
}

[data-edition="w-b-yeats_poetry"] ol,
[data-edition="w-b-yeats_poetry"] ul{
	margin-bottom: 1em;
	margin-top: 1em;
}

[data-edition="w-b-yeats_poetry"] header{
	break-after: avoid;
	break-inside: avoid;
	text-align: center;
}

[data-edition="w-b-yeats_poetry"] header > * + p{
	text-indent: 0;
}

[data-edition="w-b-yeats_poetry"] article > header + *,
[data-edition="w-b-yeats_poetry"] section > header + *{
	margin-top: 3em;
}

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

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

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

/* Collection page breaks */
[data-edition="w-b-yeats_poetry"] article,
[data-edition="w-b-yeats_poetry"] section{
	break-after: page;
}

/* Stanza, spans, and breaks */
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:poem"],
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:song"],
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:verse"] p{
	text-align: initial;
	text-indent: 0;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:poem"] p + p,
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:verse"] p + p{
	margin-top: 1em;
}

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

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

/* Line indentation */
[data-edition="w-b-yeats_poetry"] p span.i1{
	padding-left: 2em;
	text-indent: -1em;
}

[data-edition="w-b-yeats_poetry"] p span.i2{
	padding-left: 3em;
	text-indent: -1em;
}

/* Poetry hgroup */
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:poem"] hgroup p{
	text-align: center;
}

/* Double dropped line */
[data-edition="w-b-yeats_poetry"] .dl2 span:first-child{
	vertical-align: 100%;
}

/* Dialogue table */
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:drama"] table,
[data-edition="w-b-yeats_poetry"] table[data-epub-type~="z3998:drama"]{
	border-collapse: collapse;
	margin: 1em auto;
	width: 100%;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:drama"] tr:first-child td{
	padding-top: 0;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:drama"] tr:last-child td{
	padding-bottom: 0;
}

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

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:drama"] td:last-child{
	padding-right: 0;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:drama"] td:first-child{
	padding-left: 0;
}

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

/* Stage directions and personas */
[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:stage-direction"]{
	font-style: italic;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:stage-direction"] [data-epub-type~="z3998:persona"],
[data-edition="w-b-yeats_poetry"] i [data-epub-type~="z3998:persona"]{
	font-style: normal;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:stage-direction"]::before{
	content: "(";
	font-style: normal;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:stage-direction"]::after{
	content: ")";
	font-style: normal;
}

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:persona"]{
	font-variant: all-small-caps;
}

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="z3998:scene"] > p,
[data-edition="w-b-yeats_poetry"] article[data-epub-type~="z3998:scene"] > p{
	margin: 1em auto;
	width: 75%;
}

/* non-TOC headers */
[data-edition="w-b-yeats_poetry"] header{
	margin: 1em;
	text-align: center;
}

/* Footers on prefaces and datelines on poems */
[data-edition="w-b-yeats_poetry"] footer{
	font-variant: small-caps;
	margin-top: 1em;
	text-align: right;
}

/* All epigraphs */
[data-edition="w-b-yeats_poetry"] [data-epub-type~="epigraph"]{
	font-style: italic;
}

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

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

[data-edition="w-b-yeats_poetry"] [data-epub-type~="z3998:poem"] [data-epub-type~="se:bridgehead"]{
	text-align: justify;
}

/* Figures */
[data-edition="w-b-yeats_poetry"] figure{
	break-inside: avoid;
	margin: 1em 2.5em;
}

[data-edition="w-b-yeats_poetry"] figure img{
	display: block;
	margin: auto;
	max-height: 100vh;
	max-width: 100%;
}

[data-edition="w-b-yeats_poetry"] article[data-epub-type~="z3998:drama"] > p{
	margin: 1em auto;
	width: 75%;
}

/* Epigraphs in section headers */
[data-edition="w-b-yeats_poetry"] article > header [data-epub-type~="epigraph"],
[data-edition="w-b-yeats_poetry"] section > header [data-epub-type~="epigraph"]{
	display: inline-block;
	margin: auto;
	max-width: 80%;
	text-align: initial;
}

[data-edition="w-b-yeats_poetry"] article > header [data-epub-type~="epigraph"] + *,
[data-edition="w-b-yeats_poetry"] section > header [data-epub-type~="epigraph"] + *{
	margin-top: 3em;
}

@supports(display: table){
	[data-edition="w-b-yeats_poetry"] article > header [data-epub-type~="epigraph"],
	[data-edition="w-b-yeats_poetry"] section > header [data-epub-type~="epigraph"]{
		display: table;
	}
}
/* End epigraphs in section headers */

/* *********************** */
/* Poem-specific styling */
/* *********************** */
/* Italicised stanzas */
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities"] > article:first-of-type > p,
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities"] > article:last-of-type > p,
[data-edition="w-b-yeats_poetry"] [data-source-id="how-ferencz-renyi-kept-silent"] > p:first-of-type,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-rose-to-ireland-in-the-coming-times"] > p,
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways-anashuya-and-vijaya"] [data-epub-type~="z3998:song"],
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways-anashuya-and-vijaya"] tr:nth-of-type(12) > td:nth-of-type(2) > p:nth-of-type(1),
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways-anashuya-and-vijaya"] tr:nth-of-type(23) > td:nth-of-type(2) > p:nth-of-type(1),
[data-edition="w-b-yeats_poetry"] [data-source-id="baile-and-aillinn"] > p:nth-of-type(1),
[data-edition="w-b-yeats_poetry"] [data-source-id="baile-and-aillinn"] > p:nth-of-type(4),
[data-edition="w-b-yeats_poetry"] [data-source-id="baile-and-aillinn"] > p:nth-of-type(7),
[data-edition="w-b-yeats_poetry"] [data-source-id="baile-and-aillinn"] > p:nth-of-type(17),
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-grey-rock"] > p:nth-of-type(1),
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-grey-rock"] > p:nth-of-type(4),
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-grey-rock"] > p:nth-of-type(5),
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-grey-rock"] > p:nth-of-type(8),
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-three-beggars"] > p:first-of-type,
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities-the-three-beggars"] > p:last-of-type,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wild-swans-at-coole-the-phases-of-the-moon"] tbody > tr:first-of-type,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wild-swans-at-coole-the-phases-of-the-moon"] tbody > tr:nth-of-type(16),
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wild-swans-at-coole-the-phases-of-the-moon"] tbody > tr:last-of-type{
	font-style: italic;
}

/* Italicised lines */
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways-the-madness-of-king-goll"] > p > span:last-of-type,
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways-the-meditation-of-the-old-fisherman"] > p > span:last-of-type{
	font-style: italic;
}

/* Title pages for collections and multi-part poems */
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wanderings-of-usheen"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-rose"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wind-among-the-reeds"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="in-the-seven-woods"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="introductory-poems-from-the-shadowy-waters"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="from-the-green-helmet-and-other-poems"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wild-swans-at-coole"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="michael-robartes-and-the-dancer"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-tower"] > h2{
	margin-top: 3em;
}

/* Section breaks for multi-part poems */
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wanderings-of-usheen"] > section,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wanderings-of-usheen"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-rose"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="crossways"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wind-among-the-reeds"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="in-the-seven-woods"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="introductory-poems-from-the-shadowy-waters"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="from-the-green-helmet-and-other-poems"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="responsibilities"] > header,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-wild-swans-at-coole"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="michael-robartes-and-the-dancer"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-tower"] > h2,
[data-edition="w-b-yeats_poetry"] [data-source-id="the-tower-a-man-young-and-old"] > section{
	break-after: page;
}

/* Italics in Baile and Ailinn */
[data-edition="w-b-yeats_poetry"] [data-source-id="baile-and-aillinn"] [data-epub-type~="se:bridgehead"] i{
	font-style: normal;
}

/* Chorus header in Colonus' Praise */
[data-edition="w-b-yeats_poetry"] [data-source-id="the-tower-colonus-praise"] > header > p{
	font-variant: small-caps;
}

/* Poem ("The Dying Swan") in endnotes */
[data-edition="w-b-yeats_poetry"] [data-source-id="note-27"] header{
	font-variant: small-caps;
}

/* Quotation styling for italicised quotations within poems */
[data-edition="w-b-yeats_poetry"] q{
	font-style: italic;
}

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

	[data-edition="w-b-yeats_poetry"] [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="w-b-yeats_poetry"] [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="w-b-yeats_poetry"] abbr[data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="titlepage"] h1,
[data-edition="w-b-yeats_poetry"] section[data-epub-type~="titlepage"] p,
[data-edition="w-b-yeats_poetry"] section[data-epub-type~="colophon"] h2,
[data-edition="w-b-yeats_poetry"] section[data-epub-type~="imprint"] h2{
}

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

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="colophon"],
[data-edition="w-b-yeats_poetry"] section[data-epub-type~="imprint"]{
	text-align: center;
}

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

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

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

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

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

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

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="colophon"] a{
	font-variant: small-caps;
}

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="imprint"] a,
[data-edition="w-b-yeats_poetry"] section[data-epub-type~="colophon"] a{
}

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

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

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

[data-edition="w-b-yeats_poetry"] section[data-epub-type~="copyright-page"] blockquote br{
	display: none;
}
