@font-face {
	font-family: Libertine;
	src: url("LinLibertine_DR.ttf");
}
@font-face {
	font-family: Binolinum;
	src: url("LinBiolinum_R.ttf");
}
body {
	background: #233533;
	font-family: Binolinum;
}

p.gi {
	font-weight: bold;
	font-style: italic;
	font-family: Libertine;
}
p.cp {
	font-style: italic;
	font-size: 14pt;
}
p.cond {
	font-style: italic;
	font-size: 14pt;
	text-align: right;
}

p.credit {
	font-size: 14pt;
}

img {
	float: left;
	height: 4cm;
	width: 4cm;
	margin-top: 1em;
	margin-right: 1em;
	border: 0.5em solid #0000;
	background: #72c0bb;
}

img.full {
	float: unset;
	height: unset;
	width: unset;
	margin-top: unset;
	margin-left: -0.5em;
	margin-right: -0.5em;
}

img.wide {
	width: 100%;
	height: auto;
	border: none;
	background: none;
	margin-top: 0;
}

img.inline-icon {
	float: unset;
	height: 1em;
	width: unset;
	margin-top: unset;
	margin-right: unset;
	border: unset;
	background: unset;
}

a {
	display: block;
	margin-left: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: right;
}

a.inline {
	display: inline;
	margin: 0;
	text-align: unset;
}

u {
	text-decoration-style: dashed;
}

div.blockcontainer {
	min-height: calc(4cm + 1em);
	margin-top: 1em;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	flex-direction: row;
	p, blockquote {
		flex-grow: 1;
		margin-top: 0;
		margin-bottom: 0;
	}
}
blockquote {
	text-align: center;
	font-style: italic;
	flex-grow: 1;
}

title {
	font-family: Libertine;
}

storylet, result, branch {
	display: block;
	border: 1px solid #206661;
	background: #206661;
	padding-left: 1em;
	padding-right: 1em;
	margin-top: 1em;
	margin-bottom: 1em;

	min-height: calc(4cm + 3em + (-2px));

	title {
		margin-top: 0.5em;
		display: block;
		font-size: 28pt;
		font-weight: bold;
	}

	a {
		margin-right: 0.5em;
	}
}

branch {
	margin-left: 2em;

	title {
		font-size: 22pt;
	}
}

branch.impossible {
	opacity: 0.6;

	a {
		display: none;
	}
}
