html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd,
q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt,
dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot,
thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption,
footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time,
mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

address, article, aside, div, footer, header, hgroup, layer, main, nav, section {
	display: block;
}

ul, ol {
	list-style: none;
}

*, body {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body {
	font-family: "Helvetica Neue", "Helvetica", "Arial", "Verdana", "sans-serif";
}

a, a:active, a:visited {
	color: #2FB1FF;
	text-decoration: none;
}

a:hover {
	color: #009dfd;
}

.wrapper {
	display: flex;
	flex: 1 1 auto;
	flex-direction: row;
	width: 100%;
	height: 100vh;
}

.sidebar > .title {
	text-align: center;
	flex: 0 0 auto;
	padding: 20px 0 16px 12px;
	color: #2FB1FF;
	position: relative;
}

.sidebar > .title a {
	display: inline-block;
}

.sidebar > .title img {
	margin-right: 10px;
}

.sidebar > .title > h2 {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.9em;
	margin-top: 0.8em;
	margin-bottom: 0.4em;
}

.sidebar > .title > a.works-home-link {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2em;
	color: #2FB1FF;
	text-decoration: none;
}

.sidebar > .navigation-wrapper {
	flex: 1 1 0px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.sidebar .navigation {
	flex: 1 0 auto;
	padding-top: 16px;
}

.sidebar .navigation ul.work {
	border-top: 1px solid #e5e5e5;
	margin-bottom: 32px;
}

.navigation ul.work > li {
	padding: 6px 0;
}

.sidebar .company-name {
	font-size: 12px;
	color: #9f9f9f;
	text-transform: uppercase;
}

.sidebar a.work-link {
	text-decoration: none;
	color: #1c1c1c;
}

.sidebar a.work-link:hover {
	color: #797979;
}

.sidebar a.work-link.active {
	color: #2FB1FF;
}

.sidebar .work-title {
	font-size: 17px;
}

.sidebar .work-year {
	font-size: 10px;
	color: #606060;
	display: block;
}

.content h1 {
	color: #686868;
	font-weight: lighter;
	text-align: center;
	margin: 8px 0 16px 0;
}

.content .info-wrapper {
	color: #606060;
	text-align: right;
	margin-bottom: 16px;
}

.content .company-name, .content .work-year {
	display: block;
	padding: 4px 0;
}

.content .company-name {
	font-size: 16px;
}

.content .work-year {
	font-size: 12px;
}

.content p {
	color: #1b1b1b;
	line-height: 1.4em;
	padding: 16px 0;
}

.content p strong {
	font-weight: bold;
}

.content p em {
	font-style: italic;
}

.content figure {
	text-align: center;
	margin: 16px 0 48px 0;
	cursor: pointer;
}

.content figure.no-click {
	cursor: default;
}

.content figure img {
	max-width: 100%;
	height: auto;
}

.content figure img.border {
	border: 1px solid #dddddd;
}

.content figcaption {
	max-width: 500px;
	font-size: 14px;
	color: #656565;
	margin: 4px auto 0 auto;
}

/* Image Gallery */

.image-gallery-wrapper {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	min-width: 800px;
	z-index: 1;
	text-align: center;
}

.image-gallery-inside-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
}

.image-gallery-wrapper .image-gallery-background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	z-index: 0;
}

.image-gallery-wrapper .image-gallery-content {
	z-index: 10;
	flex: 0 0 auto;
	align-self: center;
}

.image-gallery-wrapper .image-gallery-content figure {
	z-index: 10;
	text-align: center;
	color: white;
	max-width: 1024px;
	margin: auto;
}

.image-gallery-content figure img {
	max-width: 1024px;
	height: auto;
}

.image-gallery-content figcaption {
	margin-top: 12px;
}

.image-gallery-wrapper .arrow-wrapper {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.image-gallery-wrapper .gallery-arrow {
	flex: 0 0 68px;
	padding: 20px;
	cursor: pointer;
}

.image-gallery-wrapper .gallery-arrow img {
	width: 28px;
	height: 58px;
}

.image-gallery-wrapper .gallery-spacer {
	flex: 1 1 auto;
	height: 100vh;
}

.image-gallery-wrapper .close-button {
	width: 64px;
	height: 64px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	z-index: 11;
}

.image-gallery-wrapper .close-button img {
	width: 24px;
	height: 24px;
	margin: 20px;
}

/* Image Gallery */

.image-grid {
  margin: 16px 0;
}

.image-grid > li {
  display: inline-block;
}

.image-grid > li img {
  cursor: pointer;
}

.viewer-container {
  background-color: rgba(0,0,0,.8) !important;
}

.viewer-title {
  font-size: 16px !important;
  line-height: 1.4em !important;
}

.contribution-label {
	display: block;
	font-size: 13px;
	color: #a2a2a2;
	margin-top: 16px;
	text-align: center;
	text-transform: uppercase;
}

.contribution .percent-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.contribution .cont-title {
	color: #3c3c3c;
	font-size: 14px;
}

.contribution .cont-percent {
	width: 100%;
	background-color: #ececec;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	flex: 1 1 auto;
	float: left;
	height: 8px;
}

.contribution .cont-percent-bar {
	background-color: #2FB1FF;
	height: 100%;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	float: left;
	display: inline-block;
}

.contribution .percent-text {
	color: #3c3c3c;
	font-size: 14px;
	padding-left: 8px;
	flex: 0 0 48px;
}

/* Desktop */
@media (min-width: 780px) {
	html, body {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}

	body {
		overflow-y: hidden;
		min-width: 880px;
	}

	.sidebar {
		flex: 0 0 250px;
		display: flex;
		flex-direction: column;
		border-right: 1px solid #e5e5e5;
		position: relative;
	}

	.sidebar-button {
		display: none;
	}

	.sidebar .company-name {
		padding-left: 16px;
	}

	.sidebar .navigation ul.work {
		padding: 8px 16px 16px 16px;
	}

	.main {
		flex: 1 1 0;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
	}

	.main > .content-wrapper {
		flex: 1 0 auto;
		display: flex;
		flex-direction: row;
		justify-content: center;
		padding: 32px;
	}

	.main > .content-wrapper > .content {
		flex: 1 1 auto;
		padding: 0 32px;
		max-width: 680px;
	}

	.content h1 {
		font-size: 64px;
	}

	.content p {
		font-size: 18px;
	}

	.contribution {
		padding-top: 8px;
		margin: 2px 0 30px 0;
	}

	.contribution li {
		display: flex;
		flex-direction: row;
		vertical-align: middle;
		justify-content: center;
		align-items: center;
	}

	.contribution .percent-wrapper {
		border-left: 1px solid #c2c2c2;
		padding: 12px 0;
		flex: 1 1 auto;
	}

	.contribution .cont-title {
		width: 240px;
		text-align: right;
		margin-right: 8px;
		flex: 0 0 240px;
	}
}

/* Mobile */
@media (max-width: 781px) {
	html, body {
		display: block;
		min-height: inherit;
	}

	body {
		overflow-y: visible;
		min-width: inherit;
		-webkit-text-size-adjust: 100%;
	}

	.sidebar {
		display: none;
		border-right: none;
		position: absolute;
		background-color: white;
		position: absolute;
		top: 48px;
		left: 0;
		border: 1px solid #e5e5e5;
		max-width: 280px;
	}

	.sidebar > .title a.logo > img {
		width: 54px;
		height: 30px;
	}

	.sidebar-button {
		display: blocks;
		position: absolute;
		top: 16px;
		left: 16px;
		width: 28px;
		height: 28px;
		background-image: url('../images/icon_menu.svg');
	}

	.sidebar .company-name {
		padding-left: 8px;
	}

	.sidebar .navigation ul.work {
		padding: 8px 8px 16px 8px;
	}

	.main {
		display: block;
		overflow-y: visible;
	}

	.main > .content-wrapper {
		display: block;
		padding: 42px 16px 16px 16px;
	}

	.main > .content-wrapper > .content {
		padding: 0;
		max-width: 100vw;
	}

	.content h1 {
		font-size: 50px;
	}

	.content p {
		font-size: 16px;
	}

	iframe {
		max-width: 90vw;
		height: auto;
	}

	.contribution {
		margin: 2px 8px 20px 8px;
	}

	.contribution li {
		border-left: 1px solid #c2c2c2;
		padding: 4px 0 8px 0;
	}

	.contribution span {
		display: block;
	}

	.contribution .cont-title {
		padding-left: 8px;
	}
}
