/* GENERAL ========================================= */

/* Zero default margin & padding around common elements */
article, blockquote, body, dd, dl, dt, fieldset, figure, form, h1, h2, h3, h4, h5, h6, header, li, menu, nav, ol, p, section, ul {
	margin: 0;
	border: 0 none #FFFFFF;
	padding: 0;
}

html {
	height: 100%;
}

body {
	height: 100%;
	background-color: #ffffff;
	color: #000000;
	line-height: 1.7;
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	font-size: 110%;
	text-align: left;
}

a {
	color: #1EA8E3;
	text-decoration: none;
}

a:visited {
	color: #7a33a6;
}

a:hover {
	text-decoration: underline;
}

img {
	border: 0 none transparent;
}

input, select, table, textarea, a.button {
	color: #464749;
	font-size: 100%;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}




/* CONTENT ========================================= */

header {
	position: relative;
	overflow: hidden;
	padding: 2rem 4rem;
	background-color: #1EA8E3;
	background-image: url(../images/temp_contour.png);
	background-size: cover;
	color: #ffffff;
	font-family: 'font1', sans-serif;
	font-stretch: condensed;
	text-transform: uppercase;
	vertical-align: bottom;
}

header h1 {
	position: relative;
	float: left;
	width: 4.5em;
	height: 4.5em;
	overflow: hidden;
	font-size: 180%;
	line-height: 0.85;
	text-indent: -9999px;
	transition: all 0.3s ease;
}

header h1 a {
	position: absolute;
	left: 0;
	top: 0;
	width: 4.5em;
	height: 4.5em;
	background-image: url(../images/logotype_the_man_in_blue.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

#overflowLink {
	display: none;
	position: absolute;
	right: 1.4rem;
	top: 2rem;
	padding-right: 0.4em;
	color: #2D5276;
	font-size: 235%;
	transition: all 0.3s ease;
}

#overflowLink .tripleHamburger {
	position: absolute;
	top: 0.5em;
	right: 0;
	width: 5px;
	height: 5px;
	border-radius: 100%;
	background-color: #2D5276;
}

#overflowLink .tripleHamburger:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	background-color: #2D5276;
}

#overflowLink .tripleHamburger:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	background-color: #2D5276;
}

header nav {
	position: absolute;
	right: 4rem;
	bottom: 2rem;
	line-height: 0.7;
	vertical-align: bottom;
}

header nav li {
	display: inline-block;
	margin-right: 4rem;
}

header nav li:last-child {
	margin-right: 0;
}

header nav a,
header nav a:visited {
	color: #2D5276;
	font-size: 235%;
	text-decoration: none;
/*	letter-spacing: 0.03em;
*/}

header nav li.on a {
	color: #ffffff;
}



/* CONTENT ========================================= */

#page {
	padding: 3rem 4rem 5rem 4rem;
}

#page a {
	font-style: italic;
}

.sidebar {
	width: 13em;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding-bottom: 1.4em;
	color: rgba(0,0,0,0.5);
	font-size: 80%;
}

#otherPosts {
	position: sticky;
	top: 2.2em;
	float: left;
}

#publishedDate {
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 1.4em;
}

#otherPosts nav {
	list-style: none;
}

#otherPosts nav li {
	margin-top: 1.4em;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 1.4em;
}

#bio {
	float: right;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 1.4em;
}

#content {
	margin: 0 16em;
}

#content h1 {
	margin-top: 0.2em;
	margin-bottom: -0.2em;
	color: rgba(0,0,0,0.5);
	font-size: 200%;
	font-weight: 200;
	line-height: 1.15;
}

h2 {
	margin-top: 1.4em;
	font-size: 140%;
	font-weight: bold;
	line-height: 1.2;
}

#content > ul,
#content > ol {
	margin-top: 1.7em;
	margin-left: 1em;
}

#content p,
#content figure {
	margin-top: 1.7em;
}

#content h2 + p {
	margin-top: 0.7em;
}

blockquote {
	border-left: 3px solid rgba(0,0,0,0.1);
	padding-left: 1.4em;
	color: rgba(0,0,0,0.4);
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
}

blockquote cite {
	display: block;
	margin-top: -1em;
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	font-style: normal;
	font-weight: bold;
}

blockquote cite a,
blockquote cite a:visited {
	color: rgba(0,0,0,0.4);
	font-style: normal !important;
}

figure img {
	display: block;
	width: 100%;
}

figcaption {
	margin-top: 0.7em;
	color: rgba(0,0,0,0.5);
	font-size: 80%;
	text-align: center;
}

#content pre {
	margin-top: 1.7em;
	border-radius: 4px;
	padding: 1em 1.3em;
	background-color: rgba(0,0,0,0.05);
	white-space: pre-wrap;
}

#content code {
	font-size: 110%;
}

#postBio {
	overflow: hidden;
	margin-top: 1.7em;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 1.7em;
	color: rgba(0,0,0,0.5);
	font-style: italic;
}

#postBio img {
	float: left;
	height: 4.3em;
	margin: 0.4em 1em 1em 0;
	border-radius: 4px;
}




/* FOOTER ========================================= */

footer {
	position: relative;
	overflow: hidden;
	padding: 2rem 4rem 4rem 4rem;
	background-color: #2D5276;
	background-size: cover;
	color: #ffffff;
}

#footerLogo {
	position: absolute;
	left: 4rem;
	bottom: 0;
	top: 8rem;
	width: 15%;
	background-image: url(../images/logo_the_man_in_blue.svg), url(../images/logo_the_man_in_blue_blue.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 0 100%;
	font-size: 180%;
	transition: background-image 0.1s linear;
}

#footerLogo:hover {
	background-image: url(../images/logo_the_man_in_blue_blue.svg);
}

footer nav {
	display: flex;
	justify-content: space-between;
	list-style-type: none;
}

footer nav > li {
	width: 15%;
}

footer nav > li:nth-child(4) {
	text-align: center;
}

footer nav > li:last-child {
	text-align: right;
}

footer nav > li > a,
footer nav > li > a:visited {
	color: #ffffff;
	font-size: 235%;
	font-family: 'font1', sans-serif;
	font-stretch: condensed;
	text-transform: uppercase;
	text-decoration: none;
	/*letter-spacing: 0.03em;*/
}

footer nav > li.on > a,
footer nav > li.on > a:visited {
	color: #1EA8E3;
}

footer nav ul {
	list-style-type: none;
}

footer nav ul li + li {
	margin-top: 0.5em;
	padding-top: 0.4em;
	border-top: 1px solid rgba(255,255,255,0.25);
}

footer nav li.on ul li + li {
	border-top-color: rgba(30,168,227,0.4);
}

footer nav ul a,
footer nav ul a:visited {
	color: #ffffff;
}

footer nav li.on ul a,
footer nav li.on ul a:visited {
	color: #1EA8E3;
}

#archiveLink,
#archiveLink:visited {
	position: absolute;
	right: 4rem;
	bottom: 4rem;
	color: #ffffff;
	font-size: 80%;
	opacity: 0.67;
}
