

/* ---------------------------------------------------------------------------------------------------------------------------
--- Globals --- */

body
{
	/*background: url(../images/office.jpg) no-repeat top fixed;*/
	background: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #707070;
	position: relative;
}

strong
{
	font-weight: 700;
}

h1
{
	font-size: 3em;
	font-weight: 100;
	text-transform: uppercase;
	text-align: center;
	color: #363636;
	margin-bottom: .5em;
}

h2
{
	font-size: 1.5em;
	font-weight: 300;
	color: #9ed0b3;
	margin-bottom: 1.2em;
}

h3
{
	font-size: 1.25em;
	font-weight: 300;
	color: #9ed0b3;
	margin-bottom: 6px;
}

p
{
	line-height: 1.5em;
}

.clear
{
	clear: both;
	height: 0;
	margin: 0;
	padding: 0;
}

.icon
{
	width: 128px;
	height: 128px;
	margin: 0 auto;
	padding-bottom: 30px;
	display: block;
}


input[type="text"],
input[type="submit"],
textarea
{
	background: rgba(255,255,255,.5);
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #fff;
	padding: 15px;
	border: none;
	box-sizing: border-box;
}


input[type="text"]
{
	height: 48px;
	line-height: 48px;
}

	input[type="text"]:focus
	{
		border: 1px solid #fff;
		padding: 14px;
		outline:0;
	}

textarea
{
	
}

	textarea:focus
	{
		border: 1px solid #fff;
		padding: 14px;
		outline:0;
	}

input[type="submit"]
{
	background: #9ed0b3;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 20px;
	height: 48px;
	padding-left: 24px;
	padding-right: 24px;
	color: #363636;
}

::-webkit-input-placeholder
{
   color: rgba(255,255,255,.6);
}

:-moz-placeholder
{ 
   color: #fff;
}

::-moz-placeholder
{
   color: #fff; 
}

:-ms-input-placeholder
{  
   color: #fff;
}



/* ---------------------------------------------------------------------------------------------------------------------------
--- nav --- */

nav
{
	background: #9ed0b3;
	text-align: center;
	color: #fff;
	width: 100%;
	height: 48px;
	position: fixed;
	top: 0px;
	z-index: 1000;
	box-shadow: 0px 1px 5px rgba(0,0,0,.2);

	transition: top 0.4s ease-out;
	-webkit-transition: top 0.4s ease-out;

	-webkit-backface-visibility: hidden; 
	-webkit-transform: translateZ(0);

	transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);

	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
}

	nav.nav-up
	{
		top: -48px;
	}

	nav .left,
	nav .right
	{
		text-align: right;
		width: 200px;
		display: inline-block;
	}

	nav .left
	{
		text-align: right;
	}

	nav .right
	{
		text-align: left;
	}

		nav a
		{
			text-decoration: none;
			text-transform: uppercase;
			color: #fff;
			line-height: 48px;
			height: 48px;
			border-bottom: 0px solid rgba(255,255,255,.5);
			margin: 0 1em;
			display: inline-block;
			box-sizing: border-box;
			transition: border-bottom .2s;
		}

			nav a:hover
			{
				border-bottom: 4px solid rgba(255,255,255,.5);
			}

			nav a.selected
			{
				border-bottom: 4px solid rgba(255,255,255,.5);
			}

	nav .logo
	{
		width: 62px;
		display: inline;
		position: relative;
		top: 0px;
		transition: top 0.4s ease-out;
		-webkit-transition: top 0.4s ease-out;
	}

	.logo.logo-up
	{
		top: -10px !important;
	}

	/* --------------------------------------------------*/
	/* --- If screen width is less than 480px --- */

	@media handheld, screen and (max-width: 480px){

	    nav .left,
		nav .right
		{
			width: 115px;
		}

		nav a
		{
			margin: 0 .6em;
			font-size: .8em;
		}
	}



/* ---------------------------------------------------------------------------------------------------------------------------
--- header --- */

.header
{
	width: 100%;
}
	
	.header img
	{
		width: 100%;
	}

	/* --------------------------------------------------*/
	/* --- If screen width is greater than 481px --- */

	@media handheld, screen and (min-width: 481px){
	    .header .header-sml,
	    .header .header-sml-grade
	    {
	    	display: none;
	    }
	    .header .header-lrg,
	    .header .header-lrg-grade
	    {
	    	display: block;
	    }
	}

	/* --------------------------------------------------*/
	/* --- If screen width is less than 480px --- */

	@media handheld, screen and (max-width: 480px){
	    .header .header-sml,
	    .header .header-sml-grade
	    {
	    	display: block;
	    }
	    .header .header-lrg,
	    .header .header-lrg-grade
	    {
	    	display: none;
	    }
	}



/* ---------------------------------------------------------------------------------------------------------------------------
--- big-m --- */

.big-m
{
	width: 100%;
	position: relative;
}

	.big-m img.background
	{
		width: 100%;
	}

	.big-m .icon-arrow
	{
		width: 48px;
		height: 48px;
		margin-left: -24px;
		position: absolute;
		top: 50px;
		left: 50%;

	}

	/* --------------------------------------------------*/
	/* --- Desktop --- */
	/* --- If screen width is greater than 981px --- */

	@media handheld, screen and (min-width: 981px){

		.topSection
		{
			background: #fff url(../images/office.jpg) no-repeat center fixed;
			background-size: cover;
		}

		/*video.bgvid
		{
			position: fixed;
			top: 50%;
			left: 50%;
			min-width: 100%;
			min-height: 100%;
			width: auto;
			height: auto;
			z-index: -100;
			-webkit-transform: translateX(-50%) translateY(-50%);
			transform: translateX(-50%) translateY(-50%);
			background: #999 url(../images/office.jpg) no-repeat;
			background-size: cover;
		}

		video
		{
			display: block;
		}*/

	}



	/* --------------------------------------------------*/
	/* --- Mobile --- */
	/* --- If screen width is less than 981px --- */

	@media handheld, screen and (max-width: 980px){

		.bg
		{
	        background: url(../images/office-blur.jpg);
	        background-size: cover;
	        -webkit-background-size: cover;
	        -moz-background-size: cover;
	        -o-background-size: cover;
	        height: 100%;
	        width: 100%;
	        position: fixed;
	        top:0;
	        left:0;
	        background-position: center center;
	        background-repeat: no-repeat;
	        z-index: -100;
	    }

		/*.bgvid { display: none; }*/

	}



/* ---------------------------------------------------------------------------------------------------------------------------
--- Work --- */

.work
{
	background: #fff;
	width: 100%;
	padding-top: 10em;
}

	.work .project
	{
		margin: 0 auto 30px auto;
		cursor: pointer;
	}
		
		.work .project.last
		{
			margin: 0 auto 0 auto;
			padding-bottom: 5em;

		}

		.work .project .copy .arrow
		{
			background: #fff;
			width: 24px;
			height: 24px;
			position: relative;
			transform: rotate(45deg);
			-ms-transform: rotate(45deg); /* IE 9 */
	    	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
		}


/* --- less than 980px --- */
@media only screen and (max-width: 980px){
 
	.work 
	{
		padding-top: 7em;
	}

		.work .project
		{
			width: 90%;
			max-width: 700px;
		}

			.work .project .copy
			{
				background: #fff;
				width: 100%;
				height: 67px;
				padding: 1em 0 0 0;
				margin-top: 0px;
				box-sizing: border-box;
				display: block;
				z-index: 100;
				transition: margin-top 0.4s ease-out;
				-webkit-transition: margin-top 0.4s ease-out;
			}

				.work .project .copy.nav-down
				{
					margin-top: 48px;
				}

				.work h2
				{
					font-size: 1em;
					font-weight: 700;
					margin-bottom: -2px;
					display: inline;
					vertical-align: text-bottom;
				}

				.work h3
				{
					font-size: .8em;
					font-weight: 300;
					margin-bottom: -2px;
					display: inline;
					vertical-align: text-bottom;
				}

				.work p
				{
					font-size: .8em;
				}

				.work .project .copy .arrow
				{
					top: 0px;
					left: 30px;
					z-index: 10;
				}

			.work .project .board
			{
				background: #999;
				width: 100%;
				height: 35.73%;
				display: block;
				position: relative;
				overflow: hidden;
			}

				.work .project .board img
				{
					width: 100%;
				}
 
}

/* --- greater than 980px --- */
@media only screen and (min-width : 981px) {
 
	.work h1
	{
		margin-bottom: 1.5em;
	}

	.work .project
	{
		width: 940px;
		position: relative;
	}

		.work .project .copy
		{
			background: #fff;
			width: 240px;
			height: 250px;
			line-height: 250px;
			box-sizing: border-box;
			display: inline-block;
			z-index: 10;
		}

			.work h2
			{
				font-weight: 700;
				margin-bottom: -2px;
			}

			.work .project .copy div
			{
				display: inline-block;
			    vertical-align: middle;
			    line-height: normal;
			    position: relative;
			}

			.work .project.left .copy
			{
				text-align: right;
				padding-right: 27px;
			}

			.work .project.right .copy
			{
				text-align: left;
				padding-left: 27px;
			}

			.work .project.left .copy .arrow
			{
				top: -45px;
				left: 39px;
				z-index: 10;
			}

			.work .project.right .copy .arrow
			{
				top: -35px;
				left: -39px;
				z-index: 10;
			}

		.work .project .board
		{
			width: 700px;
			height: 250px;
			min-height: 250px;
			display: inline-block;
			overflow: hidden;
			position: relative;
		}

			.work .project .board:hover
			{
				cursor: url(../images/cursor-open.png) 30 30, auto;
			}

			.work .project .board.opened
			{
				cursor: url(../images/cursor-close.png) 30 30, auto;
			}

			.work .project.right .board
			{
				float: left;
			}

			.work .project.left .board
			{
				float: right;
			}
 
}





/* ---------------------------------------------------------------------------------------------------------------------------
--- About Me --- */

.about-me
{
	background: #fff;
	width: 10%;
	height: 100vh;
	display: table-cell;
    vertical-align: middle;
    text-align: center;
}

	h2.quote
	{
		text-align: center;
		font-weight: 300;
		font-style: italic;
		line-height: 1.2em;
		max-width: 380px;
		width: 80%;
  		margin: 0 auto 1.2em auto;
	}

	.about-me p
	{
		text-align: center;
		max-width: 800px;
		width: 90%;
		margin: 0 auto 1.5em auto;
	}

	.about-me .icons
	{
		width: 320px;
		margin: 0 auto;
	}

	.about-me .icon
	{
		display: inline-block;
		margin: 0 10px;
	}

/* --- greater than 980px --- */
@media only screen and (min-width : 801px) {

	.about-me p
	{
		font-size: 1.25em;
	}

}

/* --- greater than 700px --- */
@media only screen and (min-height : 701px) {

	.about-me
	{
		height: 100vh;
	}

}

/* --- greater than 700px --- */
@media only screen and (max-height : 700px) {

	.about-me
	{
		height: 100%;
		padding: 100px 0;
	}

}



/* ---------------------------------------------------------------------------------------------------------------------------
--- Contact Me --- */



	/* --------------------------------------------------*/
	/* --- Desktop --- */
	/* --- If screen width is greater than 981px --- */

	@media handheld, screen and (min-width: 981px){

		.footer
		{
			background: #fff url(../images/office-blur.jpg) no-repeat center fixed;
			background-size: cover;
		}

	}

.footer-top,
.footer-top img
{
	width: 100%;
}

.contact-me
{
	width: 10%;
	height: 100vh;
	display: table-cell;
    vertical-align: middle;
    margin: 0 auto;
    text-align: center;
}

	.centerInner
	{
		display: inline-block;
	}
	
	.contact-me h1
	{
		color: #9ed0b3;
	}
	
	.contact-me h2
	{
		text-align: center;
		color: #fff;
	}

	.contact-me form
	{
		text-align: center;
	}

	.contact-me input[type="text"]
	{
		margin: 0 10px 20px 10px;
	}

	.contact-me input[type="submit"]
	{
		margin-bottom: 3em;
	}

	.contact-me textarea
	{
		width: 624px;
		height: 110px;
		margin: 0 10px 20px 10px;
	}

/* --- less than 700px --- */
@media only screen and (max-width: 700px){
	.contact-me input[type="text"]
	{
		width: 90%;
	}

	.contact-me textarea
	{
		width: 90%;
	}
}

/* --- greater than 700px --- */
@media only screen and (min-width : 701px) {

	.contact-me input[type="text"]
	{
		width: 300px;
	}

	.contact-me textarea
	{
		width: 624px;
	}
}

/* --- greater than 700px --- */
@media only screen and (min-height : 701px) {

	.contact-me
	{
		height: 100vh;
	}

}

/* --- greater than 700px --- */
@media only screen and (max-height : 700px) {

	.contact-me
	{
		height: 100%;
		padding: 100px 0;
	}

}






