/*** medium.css ***/

body {
	font-size: .95em;
}

#page > header {
	height: 119px;
}

#page > header h1 {
	margin-top: 1em;
}

.tagline {
	display: block;
	margin-top: 0;
}

#gallery, #port {
	display: flex;
}

#port {
	flex-flow: row nowrap;
}

#gallery {
	flex-flow: row wrap;
}

#port figure {
	padding: 0;
	margin: 0;
	flex-basis: 20%;
}

#port figure img {
	width: 100% !important;
	max-width: 100% !important;
}

figure.image, #port figure {
	text-align: center;
	border: thin solid whitesmoke;
	flex: 1;
	flex-basis: 20%;
}

figure.image img {
	max-width: 100%;
}

figure.image figcaption {
	margin: 1em;
}

#gallery figure.image {
}

/** portfolio **/

/** published-books **/

#published-books main img {
	margin-bottom: 1em;
	float: left;
	clear: both;
}

#published-books article {
	margin-bottom: 1em;
	clear: both;
}

/** file-list, contact **/

#file-list main > div,
#container {
	display: flex;
	justify-content: space-between;
	align-content: stretch;
}

#file-list main > div {
	align-items: flex-start;
}

#file-list article,
#container > div {
	flex-basis: 50%;
}

#contact article { flex-basis: 70%; }

#success { padding-top: 1.25em; }

div#image {
	margin-right: 1em;
	max-width: 30%;
}

div#image img {
	width: 100%;
	max-width: 100%;
}

#contact > div, #contact > article {
	flex: 1;
}

#container {
	margin: 0 0 1em;
}