@import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,700');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
background:#2a292a;
}

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-family: 'Montserrat', sans-serif;
	vertical-align: baseline;
	color: #f0f0f0;
	box-sizing:border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	text-transform: uppercase;
}

p {
	font-weight: 200;
	font-size:14px;
}

a {
	text-decoration: none;
}
nav ul {
	list-style-type: none;
	display:table;
}
nav li {
	display:table-cell;
}
.upper {
	text-transform: uppercase;
}
.lower {
	text-transform: lowercase;
}
.caplz {
	text-transform: capitalize;
}
.weak {
	font-weight:200;
}

.clearfix {
	content:'';
	display:table;
	clear:both;
}

.bound {
	width:80%;
	margin:auto;
	padding: 2.34em 0;
}

@media(min-width:900px) {
	.bound {
		width:60%;
	}
}

.bound p {
	margin-bottom:1.3em;
}

#header h1 {
	text-align:center;
	margin: 0 0.34em;
	line-height: 50px;
	font-size:1em;
}

@media(min-width:500px) {
	#header h1 {
		font-size:1.34em;
		text-align: right;
	}
}

@media(min-width:780px) {
	#header h1 {
		font-size:2em;
		text-align: right;
	}
}

#mainnav ul {
	width:100%;
	text-align: center;
}

#mainnav ul li {
	height:50px;
	line-height:52px;
	font-weight:200;
	width:100%;
	display:table-row;
}

@media(min-width:440px) {
	#mainnav ul li {
		width:20%;
		display:table-cell;
	}
}

#mainnav ul li.active:not(.logo) {
	background: #f0f0f0;
}

#mainnav ul li.active:not(.logo) a {
	color: #2a292a;
	font-weight:bold;
}

#mainnav ul li.logo.mobile {
	display: table-cell;
}

@media(min-width:440px) {
	#mainnav ul li.logo.mobile {
		display: none;
	}
}

#mainnav ul li.logo.main {
	display:none;
}

@media(min-width:440px) {
	#mainnav ul li.logo.main {
		display: table-cell;
	}
}

#mainnav ul li.logo a {
	padding: 0.3em;
	box-sizing: border-box;
}

#mainnav ul li.logo a svg {
	width:60%;
	display: inline-block;
	vertical-align: middle;
	max-height:32px;
}

@media(min-width:440px) {
	#mainnav ul li.logo a svg {
		width: calc(100% - 0.6em);
		display: inline-block;
		vertical-align: middle;
	}
}

#pjax-wrap {
	position:relative;
}

#content {
	/*(height:calc(100vh - 103px);*/
	width:100%;
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	/* filter: grayscale(100%); */
}

#content .bound p img {
	max-width:100%;
}

#content .bound p {
	line-height:24px;
        max-width:100%;
        overflow-x:hidden;
}

#content .bound h1,
#content .bound h2,
#content .bound h3,
#content .bound h4 {
	margin-bottom:10px;
}

/*#content.project,*/
#content.about,
#content.press {
	filter:none;
}

#content.viewheight {
	height:calc(100vh - 52px);
}

#content * {
	background-color: transparent;
}

#content::after{
	content:'';
	width:100%;
	height:100%;
	background: rgba(0, 0, 0, 0.5);
	display:block;
	position:absolute;
	top:0;
	z-index: -1;
}

footer{
	height:200px;
	padding:1.34em;
}

.article {
	width:100%;
	-webkit-/* filter: grayscale(100%); */
	/* filter: grayscale(100%); */
	position:relative;
}

@media(min-width:1280px) {
	.article:not(.home-article) {
		width:50%;
		float:left;
	}
}

.article::after{
	content:'';
	width:100%;
	height:100%;
	background: rgba(0, 0, 0, 0.5);
	display:block;
	position:absolute;
	top:0;
	z-index: -1;
}

.article * {
	background-color:transparent;
}
.article a {
	display:block;
	line-height:50px;
	padding:30px 30px;
}

.article.home-article h1::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 4px;
	bottom: -12px;
	left: 0;
	background-color: #f0f0f0;
	visibility: hidden;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.article.home-article a:hover h1:before {
	visibility: visible;
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

.article.project-article {
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.article.project-article br {
	line-height:0px;
}

.article.project-article:hover {
	background-size:107% auto !important;
}

.article h1 {
	font-size:42px;
}

.article.home-article {
	height:calc(100vh - 52px);
	width:100%;
}

.article.home-article a {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.article.home-article a h1 {
	font-size:36px;
	display: inline-block;
	position: absolute;
	bottom: 10%;
	left: 5%;
	padding: 0;
	line-height: initial;
}

@media(min-width:980px){
	.article.home-article a h1 {
		font-size:72px;
	}
}

/**
Person Page
**/

.people::after {
	content:'';
	clear:both;
	margin:auto;
	display:table;
}

.person,
.person * {
	background:transparent;
}

.person {
	float:left;
	padding:0.67em;
	padding-bottom:2em;
	width:100%;
	text-align:center;
	height:400px;
	font-weight:300;
}

@media(min-width:650px) {
	.person {
		width:calc(50%);
	}
}

@media(min-width:980px) {
	.person {
		width:calc(33.33%);
	}
}

@media(min-width:1600px) {
	.person {
		width:calc(25%);
	}
}

.person .profile-image {
	width:180px;
	height:180px;
	margin:auto;
	border-radius:200px;
	border:2px solid #00a3cf;
	background-size: cover;
	background-position: center center;
	margin-bottom:1.34em;
}

.person h3 {
	margin-bottom:1em;
}

.person p {
	font-size:12px;
	font-weight:200;
}

/*
* Press
*/

.press li {
	width:100%;
	margin-bottom:2.67em;
}

.press li h2 {
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0.34em;
	text-decoration: underline;
}

.press li p {
	font-weight:200;
}

h1.project-name {
	position:absolute;
	top:32px;
	right:32px;
	z-index: 2;
	text-transform: uppercase;
	font-weight: 600;
	font-size:14px;
}

h1.project-name.gallery {
	position: relative !important;
	top:initial;
	right:initial;
	padding:1.5rem;
	background: #f0f0f0 !important;
	color:#00a3cf;
}

@media(min-width:440px) {
	h1.project-name {
		position:absolute;
		top:32px;
		right:32px;
		z-index: 2;
		text-transform: uppercase;
		font-weight: 600;
		font-size:32px;
	}
}

div.cta {
	height:140px;
	background-color:#f0f0f0 !important;
}

div.cta h1,
div.cta span {
	color: #2a292a !important;
	font-size:24px;
}

@media(min-width:440px) {
	div.cta h1 span {
		display:inline;
	}
}

@media(min-width:700px) {
	div.cta h1,
	div.cta span {
		font-size:32px;
	}
}

div.cta h1 {
	text-transform: uppercase;
	font-weight: 600;
	line-height:140px;
	vertical-align: middle;
	text-align: center;
}

/* Gallery */

.gallery-lb {
	margin: 0 auto;
	max-width:2100px;
	padding 0 1rem;
	background-color:#222 !important;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/*justify-content: center;*/
	flex-direction: row;
}

.gallery-lb-tile {
	width:100%;
	height:300px;
	background-position:center center;
	background-size:cover;
	background-repeat: no-repeat;
	cursor:pointer;
	overflow: hidden;
	transition:0.2s all ease;
}

@media(min-width:450px) {
	.gallery-lb-tile {
		width:calc(100% / 2);
	}	
}

@media(min-width:760px) {
	.gallery-lb-tile {
		width:calc(100% / 3);
	}	
}

@media(min-width:1200px) {
	.gallery-lb-tile {
		width:calc(100% / 4);
	}	
}


.gallery-lb-tile:hover {
	transform:scale(1.1);
	z-index:0;
}

.gallery-lb-tile img {
	display:block;
}

.gallery-lb-overlay {
	background-color:rgba(0,0,0,0.5) !important;
	display:none;
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:2;
	text-align: center
}

.gallery-lb-overlay.visible {
	display:block;
}

.img-responsive {
	max-width:100%;
	max-height:100%;
}

.gallery-lb-overlay span{
	position:absolute;
	top:24px;
	left:24px;
	cursor:pointer;
	font-size:62px;
	color:#00a3cf;
	transition:0.2s color;
}

.gallery-lb-overlay span:hover {
	color:#f0f0f0;
}

.wysiwyg .button {
	min-width:200px;
    border:2px solid white;
    font-weight:600;
    text-transform: uppercase;
    padding:8px;
    transition:0.4s all ease;
    background:linear-gradient(45deg, #333 50%, #fff 50%);;
    background-size:240%;
    background-position:0%;
    display:inline-block;
    margin-bottom:12px;
}

.wysiwyg .button:hover {
    background-position:100%;
    color:#00a3cf;
    cursor:pointer;
}
