/*-----------------------------------------------------------------------------------*/
/*--RESET--*/
/*-----------------------------------------------------------------------------------*/
 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, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border:0;
	outline:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	font-family:inherit;
	vertical-align:baseline;
	margin:0;
	padding:0;
}

/*-----------------------------------------------------------------------------------*/
/*	GENERAL & GLOBAL STYLES
/*-----------------------------------------------------------------------------------*/

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; }

/*::-webkit-scrollbar {
  display: none;
}

::-moz-scrollbars {
  display: none;
}
*/
html{
	height: 100%;
}

body {
	background: #f7f7f9;
	font-family: cronos-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 23px;
	line-height: 23px;
	color: #000;
	height: 100%;
	overflow-x: hidden;
	transition: transform 0.5s;
}

ol, ul {
	list-style:none;
}

h1 {
	font-size: 21px;
	line-height: 27px;
}

h3 {
	font-family: rift, sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 35px;
	line-height: 35px;
	color: #000;
	text-align: center;
	padding-bottom: 25px;
}

em {
	font-style: italic;
	font-size: 17px;

}

a {
	font-size: 18px;
	font-family: rift, sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 1px; 
	color: #444;
	text-decoration: none;
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	transition: all 300ms linear;
}

p {
	color: #000;
}

img {
	display: block;
	max-width: 100%;
}

/*-----------------------------------------------------------------------------------*/
/*	HEADER & NAV STYLES
/*-----------------------------------------------------------------------------------*/

#logo, #logom nav a, header, #mobile-nav {
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

#logo {
	position: static; display: block; bottom: 0; left: 0; width: 200px; margin: 8px 20px; z-index: 99; 
}

#logo:hover {
	background: #f7f7f9;
}

header {
	position: fixed;
	top: 12px;
	right: 0px;
	display: block;
	height: 36px;
	width: auto;
	z-index: 99;
}

nav {
	position: relative;
}

nav li {
	position: relative; 
	float: left;
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 45px;
	background-color: #000;
	text-align: center;
	padding: 10px;
}

footer a {
	color: #f7f7f9;
	font-family: cronos-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	padding: 10px;
}

.flip, .flop {
	display: block;
	height: 36px;
	text-align:center;
	padding: 7px 13px;
	text-transform: uppercase;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;	
	transition: all 300ms ease-in-out;
}

.flip {
	background-color: #000;
	color: #fcfcfe;
	-webkit-transform: rotateX(0deg) translateZ(20px);
	transform: rotateX(0deg) translateZ(20px);
}

.flop {
	background-color: #fcfcfe;
	color: #000;
	font-weight:600;
	-webkit-transform: rotateX(90deg) translateZ(20px);
	transform: rotateX(90deg) translateZ(20px);
	position: absolute;
	top: 0px;
}

/* Rotate the cube */

nav li:hover .flip {
	-webkit-transform: rotateX(-90deg) translateZ(20px);
	transform: rotateX(-90deg) translateZ(20px);
}

nav li:hover .flop {
	-webkit-transform: rotateX(0deg) translateZ(20px);
	transform: rotateX(0deg) translateZ(20px);
	background-color: #f7f7f9;
}

.social a {
	font-size: 18px;
}

.prev, .next {
	background-color: black;
	height: 56px;
	width: 36px;
	top: 48%;
	position: fixed;
	display: block;
	z-index: 98;
	font-size: 18px;
	font-family: rift, sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 1px; 
	writing-mode: vertical-rl;
	text-orientation: mixed;
	padding: 10px 7px;
	cursor: pointer;	
	color: #fcfcff;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;	
	transition: all 200ms ease-in-out;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.prev { 
	left: -6px;
}

.next { 
	right: -6px; 
}

.prev:hover {
	left: 0px;
}

.next:hover {
	right: 0px;
}

.mobile {
	height: 36px;
	width: 36px;
	z-index: 99; 
	display: none; 
	cursor: pointer; 
	text-align: center;
	background-color: #000;
	border-right: solid thin #777777;

}

.mobile i {
	display: block;
	height: 36px;
	width: 36px;
	line-height: 34px;
	font-size: 18px;
	position: absolute;
	top: 0;
	right: 0;
	color: #fcfcff;
}


/*-----------------------------------------------------------------------------------*/
/*	HOMEPAGE STYLES
/*-----------------------------------------------------------------------------------*/

.content {
	min-height: 100vh;
	position: relative;
	top: 0;
	left: 0;
}

.project {
	padding: 5px 0 75px 0;
	width: 80%;
	max-width: 1081px;
	height: 100%;
	margin: 0 auto;
}

.project p {
	width: 100%;
	padding-bottom: 23px;
}

.project p.center {
	text-align: center;
}

.project iframe {
	display: block;
	min-width: 100%;
	height: calc(100vw* 1/2);
	max-height: 670px;
	margin: 0 auto;
	padding-bottom: 31px;
}

.project img {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	padding-bottom: 31px;
}

#viewer {
	position: relative;
	width: 100%;
	height: 100%;
	top: 75px;
	left: 0px;

}
	
#container {
	position: relative;
	width: 100%;
	height: 100%;
	top: 75px;
	left: 0px;
	padding: 16px 24px 75px 36px;
}

.loaded {
	transform: scale(1);
	opacity: 1;
}

.slidedown {
	transform: translateY(50px);
	opacity: 0;
    transition: 0.7s;
}

.slideup{
	transform: translateY(-75px);
	opacity: 1;
    transition: 0.7s;
}

.noscroll {
	overflow: hidden;
}

#info {
	position: relative;

	top: 75px;
	left: 0px;
	padding: 40px 143px 75px 143px;
}

#info li {
	padding-bottom: 8px;
}

#info i {
	font-size: 17px;
}

.grid {
	width: 93%;
	max-width: 1700px;
	margin: auto;
}

.grid-item,
.grid-col-sizer {
  	width: 31.75%;
	overflow-y: hidden;
}

.grid-gutter-sizer {
	width: 2%;
}

/* hide by default */
.grid.images-unloaded .grid-item {
  	opacity: 0;
}

.grid-item {
  	margin-top: 2%;
  	float: left;
}

.grid-image {
 	display: block;
 	max-width: 100%;
}

.title {
	display: block;
	height: 28px;
	width: 100%;
	background: #000;
	position: absolute;
	bottom: -28px;
	color: #f7f7f9;
	text-align: center;
	padding-top: 4px;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;	
	transition: all 300ms ease-in-out;
}

.grid-item:hover .title {
	bottom: 0px;
}

/*-----------------------------------------------------------------------------------*/
/*	RESPONSIVE STYLES
/*-----------------------------------------------------------------------------------*/


@media only screen and (min-width: 1240px) {

	.grid-item,
	.grid-col-sizer {
		width: 23.75%;
	}
	
	.grid-gutter-sizer {
		width: 1.3%;
	}

	.grid-item {
		margin-top: 1.3%;
	}
}

@media only screen and (min-width: 1720px) {

	.grid-item,
	.grid-col-sizer {
		width: 18.75%;
	}
	
	#info {
		width: 1280px;
		padding-top: 4%;
		margin: auto;
	}
	
}

@media only screen and (max-width: 768px) {
	
	.mobile {
		display: block;
	}
	
	header {
		right: -165px;
	}
	
	header.full {
		right: -1px;
	}
	
	header .flop {
		display: none;
	}
	
	nav li:hover .flip {
		-webkit-transform: none;
		transform: none;
		color: #000;
		background-color: #f7f7f9;
	}
	
	.container {
		position: relative;
		padding: 5px 8px 90px 8px;
	}
	
	footer {
		height: auto;
	}
	
	#info {
		padding: 27px 19px 90px 19px;
	}
	
	h1, h3 {
		font-size: 29px;
	}
	
	p {
		font-size: 20px;		
	}
	
	#viewer {
		height: 100%;
		top: 70px;

	}

	#logo {
		width: 130px;
		
	}
	
	.grid {
		width: 99%;
	}
}

@media only screen and (max-width: 768px) and (orientation: landscape) {

	#info {
		padding: 27px 23px 90px 23px;
	}
}
	

@media only screen and (max-width: 600px) {
	
	.grid-item,
	.grid-col-sizer {
		width: 49%;
	}
	
}
