.noprint {
	display: none;
}

@page {
	size: 6in 9in;
	margin: 0.65in 0.75in 0.75in;
	prince-pdf-page-label: counter(page);
}
@page cover {
	background: #000000;
	prince-pdf-page-label: 'cover';
}
@page cover:first {
	background-image: url('../resources/cover.png');
	background-size: cover;
}
@page chapter {
	@bottom {
		content: counter(page);
		text-align: center;
		font-family: 'Nunito Black';
		font-weight: 900;		
		font-size: 120%;
	}
}

body {
	--font-size: 10pt;
}

#cover-page {
	page: cover;
	break-after: right;
}

p, li { 
	prince-line-break-choices: body-lookahead;
	break-inside: avoid;
}

a {
	color: #3333bb;
	text-decoration: none;
}

a.pageref::after {
	content: "\00a0(p.\00a0" target-counter(attr(href), page) ")";
}

nav.table-of-contents a::after {
	content: leader('.') target-counter(attr(href), page);
}

nav.table-of-contents ol { prince-pdf-tag-type: TOC; }
nav.table-of-contents li { prince-pdf-tag-type: TOCI; }


section.preface, section.index, section.chapter {
	page: chapter;
}

#title-page {
	height: 7.6in;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	counter-reset: page 1;	
}

section.preface, section.index, section.chapter {
	break-before: page;
	prince-pdf-tag-type: Part;
}

section.section {
	break-inside: avoid;
}

h1, h2 {
	margin-top: 0;
}

ul li::marker {
	content: url('../../fontawesome/svgs/solid/fish.svg');
	width: 0.8em;
}

table {
	width: 100%;
	break-inside: avoid;
}
th, td {
	padding: 0.2em 0.5em;
}

figure.illustration.bottom {
	float: bottom;
	margin-bottom: 0.7em;
}

figure.illustration.top {
	float: top;
	margin-top: 0;
}

aside.sidebar {
	page-break-inside: avoid;
}
aside.sidebar.bottom {
	float: bottom;
	margin-bottom: 0.7em;
}
aside.sidebar.top {
	float: top;
	margin-top: 0;
}

span.dice {
	prince-expansion-text: attr(title);
}

span.footnote { float: footnote; text-align: left; }
span.footnote::before { display: none; }
span.footnote::after { display: none; }

figure.penguin-king-logo {
	float: bottom;
	margin: 0;
}

figure#illustration-hat {

}

figure#illustration-painting {

}