[data-edition="george-grey_polynesian-mythology"] .v-edition-body{
}

[data-edition="george-grey_polynesian-mythology"] p{
	margin: 0;
	text-indent: 1em;
}

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

[data-edition="george-grey_polynesian-mythology"] q::before,
[data-edition="george-grey_polynesian-mythology"] q::after{
	content: "";
}

[data-edition="george-grey_polynesian-mythology"] blockquote{
	margin: 1em 2.5em;
}

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

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

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

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

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

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

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

[data-edition="george-grey_polynesian-mythology"] hgroup > *{
	margin: 0;
}

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

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

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

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

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

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

[data-edition="george-grey_polynesian-mythology"] hgroup > p{
	text-indent: 0;
}

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

[data-edition="george-grey_polynesian-mythology"] cite{
	font-style: normal;
}

[data-edition="george-grey_polynesian-mythology"] abbr{
	border: none;
	white-space: nowrap;
}

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

[data-edition="george-grey_polynesian-mythology"] blockquote cite i{
	font-style: normal;
}

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

[data-edition="george-grey_polynesian-mythology"] i > i,
[data-edition="george-grey_polynesian-mythology"] em > i,
[data-edition="george-grey_polynesian-mythology"] i > em{
	font-style: normal;
}

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

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

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

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

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

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

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

[data-edition="george-grey_polynesian-mythology"] abbr[data-epub-type~="se:era"]{
	font-variant: all-small-caps;
}

/* Preface 2 table formatting */
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table{
	border-collapse: collapse;
	margin: 1em auto;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] tbody tr:last-child,
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] tfoot{
	line-height: 2;
	text-indent: 1em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table td:last-child,
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table td:nth-last-child(2){
	text-align: right;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tbody td:nth-last-child(2),
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tbody th:nth-last-child(2),
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tfoot td:nth-last-child(2){
	border-left: 1px solid;
	border-right: 1px solid;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tbody tr:first-child th,
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tbody tr:last-child td:last-child,
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table tbody tr:last-child td:nth-last-child(2){
	border-bottom: 1px solid;
	border-top: 1px solid;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] table th{
	font-variant: small-caps;
	padding: .5em 1em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] td{
	padding-right: 1em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] tbody tr:nth-child(2) td{
	padding-top: .5em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] tbody tr:nth-last-child(2) td{
	padding-bottom: .5em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] thead,
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] tfoot{
	border-bottom: 3px double;
}
/* End preface 2 table formatting */

/* Preface 2 ul */
[data-edition="george-grey_polynesian-mythology"] [data-source-id="preface-2"] ul{
	list-style-type: none;
}
/* End preface 2 ul */

/* Preface 2 footer */
[data-edition="george-grey_polynesian-mythology"] footer{
	margin-top: 1em;
	text-align: right;
}

[data-edition="george-grey_polynesian-mythology"] [data-epub-type~="z3998:signature"]{
	font-variant: small-caps;
}
/* End preface 2 footer */

/* Figures */
[data-edition="george-grey_polynesian-mythology"] figure{
	break-inside: avoid;
	margin: 1em 2.5em;
}

[data-edition="george-grey_polynesian-mythology"] figure img{
	display: block;
	margin: auto;
	max-height: 100vh;
	max-width: 100%;
}

[data-edition="george-grey_polynesian-mythology"] figure.full-page{
	break-after: page;
	break-before: page;
}

[data-edition="george-grey_polynesian-mythology"] p img{
	height: 1em;
}
/* End figures */

/* Appendix headers */
[data-edition="george-grey_polynesian-mythology"] header p:not([data-epub-type~="se:bridgehead"]){
	font-variant: small-caps;
	margin: 1em;
}

[data-edition="george-grey_polynesian-mythology"] header i[lang~="el"]{
	font-variant: normal;
}

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

[data-edition="george-grey_polynesian-mythology"] [data-epub-type~="se:bridgehead"] i{
	font-style: normal;
}
/* End appendix headers */

/* Appendix siganture div */
[data-edition="george-grey_polynesian-mythology"] [data-source-id="appendix-1"] footer{
	text-align: center;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="appendix-1"] > section + section{
	break-before: always;
	margin-top: 3em;
}

[data-edition="george-grey_polynesian-mythology"] [data-source-id="appendix-1"] section header{
	margin-top: 3em;
}
/* End appendix siganture div */

/* Verse */
[data-edition="george-grey_polynesian-mythology"] [data-epub-type~="z3998:verse"] p{
	text-align: initial;
	text-indent: 0;
}

[data-edition="george-grey_polynesian-mythology"] [data-epub-type~="z3998:verse"] p + p{
	margin-top: 1em;
}

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

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

[data-edition="george-grey_polynesian-mythology"] p span.i1{
	padding-left: 2em;
	text-indent: -1em;
}
/* End verse */

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

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

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

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

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

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

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

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

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

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

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

[data-edition="george-grey_polynesian-mythology"] section[data-epub-type~="imprint"] a,
[data-edition="george-grey_polynesian-mythology"] section[data-epub-type~="colophon"] a{
}

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

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

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

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