body {
	background-color: #fff5ec;
	margin: 0;
}

/* --- sidebar --- */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 240px;
	height: 100vh;
	box-sizing: border-box;
	overflow-y: auto;
	padding: 20px 15px;
	background-color: #f3e6d6;
	border-right: 1px solid #e0cdb6;
}

.breadcrumb {
	font-size: small;
	color: #a4956a;
	margin-bottom: 4px;
}

.breadcrumb a {
	text-decoration: none;
	color: #6b5d00;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.crumb-sep {
	margin: 0 6px;
	color: #c9b58a;
}

.crumb-current {
	font-weight: bold;
	color: #4c4300;
}

.sidebar-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0 0;
}

.sidebar-list li {
	margin: 8px 0;
}

.sidebar-list a {
	text-decoration: none;
	color: #6b5d00;
}

.sidebar-list a:hover {
	text-decoration: underline;
}

.sidebar-list a.active {
	font-weight: bold;
	color: #4c4300;
}

.sidebar-date {
	display: block;
	font-size: small;
	color: #a4956a;
}

/* --- main content --- */
.project_text {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding: 20px;
	padding-left: 260px;
	/* clear the absolutely-positioned language selector in the top-right corner */
	padding-top: 70px;
	box-sizing: border-box;
}

.header {
	font-size: xxx-large;
	text-align: center;
}

.introduction {
	font-style: italic;
	margin: 1vw 0;
}

.project {
	font-weight: bold;
	font-size: large;
	color: #4c4300;
	text-decoration: none;
	display: block;
	text-align: center;
	margin: 6px auto;
}

.project:hover {
	text-decoration: underline;
}

.date {
	text-align: right;
	color: #8a7a4a;
}

.paragraph {
	margin: 20px 0;
	text-align: justify;
}

.project_text h1 {
	margin: 40px 0 20px 0;
	font-size: xx-large;
	text-align: center;
}

.project_text h2 {
	margin: 30px 0 15px 0;
	font-size: x-large;
	text-align: center;
	color: #6b5d00;
}

.project_text img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
}

.project_text blockquote {
	margin: 20px 40px;
	padding: 10px 20px;
	border-left: 4px solid #c9b58a;
	font-style: italic;
	color: #5a4f2a;
}

.missing-block {
	color: #b00020;
	font-style: italic;
}

.back-link {
	display: inline-block;
	margin-top: 40px;
	text-decoration: none;
	color: #4c4300;
	font-weight: bold;
}

.back-link:hover {
	text-decoration: underline;
}

/* --- narrow screens: sidebar becomes a normal top block --- */
@media (max-width: 700px) {
	.sidebar {
		position: static;
		width: 100%;
		height: auto;
		border-right: none;
		border-bottom: 1px solid #e0cdb6;
	}

	.project_text {
		padding-left: 20px;
		padding-top: 20px;
	}

	/* in stacked mode the selector overlaps the sidebar, so clear its top instead */
	.sidebar {
		padding-top: 60px;
	}
}
