/*
//	IE10 viewport hack for Surface/desktop Windows 8 bug
*/

@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }


/*
//	Font-faces
*/

@font-face {
    font-family: 'Tiempos Headline';
    src: url('../fonts/tiemposheadline-medium.eot');
    src: url('../fonts/tiemposheadline-medium.eot') format('embedded-opentype'),
         url('../fonts/tiemposheadline-medium.woff2') format('woff2'),
         url('../fonts/tiemposheadline-medium.woff') format('woff'),
         url('../fonts/tiemposheadline-medium.ttf') format('truetype'),
         url('../fonts/tiemposheadline-medium.svg#TiemposHeadlineMediumRegular') format('svg');
}

@font-face {
    font-family: 'Tiempos Text';
    src: url('../fonts/tiempostext-regular.eot');
    src: url('../fonts/tiempostext-regular.eot') format('embedded-opentype'),
         url('../fonts/tiempostext-regular.woff2') format('woff2'),
         url('../fonts/tiempostext-regular.woff') format('woff'),
         url('../fonts/tiempostext-regular.ttf') format('truetype'),
         url('../fonts/tiempostext-regular.svg#TiemposTextRegular') format('svg');
}


/*
//	Global
*/

html,
body
{
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
	background-color: rgb(255, 255, 255);
}

body
{
	font-size: 100%;
	font-family: 'Tiempos Text', Georgia, Times, serif;
}


/*
//	Text
*/

h1
{
	height: 50px;
	color: #ff585f;
	font-size: 4.9em;
	font-family: 'Tiempos Headline', Georgia, Times, serif;
	font-weight: normal;
	line-height: 1.3em;
	text-indent: -9999px;
	background: url('../img/design/logo-big.png') left bottom no-repeat;
	background-size: auto 50px;
	padding: 0;
	margin: 0 0 1em 0;
}

h2
{
	color: #ff585f;
	font-size: 4.85em;
	font-family: 'Tiempos Text', Georgia, Times, serif;
	font-weight: normal;
	line-height: 1.3em;
	padding: 0;
	margin: 0 0 0.65em 0;
}

p
{
	font-size: 1.6em;
	line-height: 1.6em;
	padding: 0;
	margin: 0 0 3.2em 0;
}

address
{
	font-size: 1.6em;
	font-style: normal;
	line-height: 1.6em;
	margin-bottom: 3.2em;
}

a,
a:link,
a:visited
{
	color: #ff585f;
}

a:hover
{
	color: #b7b09c;
	text-decoration: none;
}


/*
//	Navigation
*/

nav .logo a
{
	width: 92px;
	height: 22px;
	display: inline-block;
	color: #ff585f;
	font-size: 1.1em;
	font-family: 'Tiempos Headline', Georgia, Times, serif;
	text-indent: -9999px;
	margin-top: -2px;
	background: url('../img/design/logo-small.png') left center no-repeat;
	background-size: auto 22px;
}

nav ul
{
	list-style: none inside;
	font-weight: normal;
	padding: 0;
	margin: 0;
}

nav ul li
{
	float: left;
	margin-right: 1.6em;;
}

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

nav ul li.current a
{
	color: #b7b09c !important;
}


/* menu */

.menu
{
	width: 100%;
	padding-top: 3.2em;
	padding-bottom: 3.2em;
	background-color: rgb(250, 250, 250);
}

.menu nav
{
	width: 100%;
	font-size: 1.6em;
	line-height: 1em;
}

.menu nav ul
{
	float: right;
}


/*
//	Start
*/

#start
{
	background-color: rgb(224, 222, 216);
}

#start.page .menu
{
	position: fixed;
	z-index: 1;
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
	    -ms-transition: all .2s ease-in-out;
	     -o-transition: all .2s ease-in-out;
	        transition: all .2s ease-in-out;
	-webkit-transform: translateY(-100%);
	   -moz-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	     -o-transform: translateY(-100%);
	        transform: translateY(-100%);
}

#start.page .menu.show
{
	-webkit-transform: translateY(0%);
	   -moz-transform: translateY(0%);
	    -ms-transform: translateY(0%);
	     -o-transform: translateY(0%);
	        transform: translateY(0%);
}


/* intro */

#intro
{
	width: 100%;
	padding-top: 5%;
	padding-bottom: 10%;
}

#intro p
{
	color: #ff585f;
}

#intro nav
{
	font-size: 1.6em;
	font-family: 'Tiempos Text', Georgia, Times, serif;
}


/* projects */

#projects
{
	font-size: 1.3em;
	padding-bottom: 5%;
}

#projects .col
{
	margin-bottom: 14px;
}

#projects .project .info
{
	position: absolute;
	bottom: 0;
	padding: 1.6em 2em 1.6em 2em;
	background-color: rgba(224, 222, 216, 0.9);
}

#projects .project .info span
{
	display: block;
}

#projects .project .info span.type
{
	color: #ff585f;
}

#projects .project .info span.client
{
	color: #918b7c;
}


/*
//	About
*/

#about
{
	display: none;
	padding-bottom: 5%;
	background-color: rgb(255, 255, 255);
	overflow-y: scroll;
}

#about .content
{
	color: #ff585f;
	padding-top: 5%;
}

#about .content .crew
{
	max-width: 100%;
	margin-bottom: 3.2em;
}

#about .content ul
{
	font-size: 1.6em;
	line-height: 1.6em;
	list-style: none outside;
	padding: 0;
	margin: 0 0 3.2em 0;
}


/*
//	Hiring
*/

#hiring
{
	padding-bottom: 5%;
	background-color: rgb(255, 255, 255);
	overflow-y: scroll;
}

#hiring .content
{
	color: #ff585f;
	padding-top: 5%;
}

#hiring .content .crew
{
	max-width: 100%;
	margin-bottom: 3.2em;
}

#hiring .content ul
{
	font-size: 1.6em;
	line-height: 1.6em;
	list-style: none outside;
	padding: 0;
	margin: 0 0 3.2em 0;
}



/*
//	Footer
*/

footer
{
	color: #ff585f;
	font-size: 1.6em;
	font-weight: normal;
	line-height: 1.3em;
	padding: 0 0 120px 0;
}

footer .col-left
{
	font-family: 'Tiempos Headline', Georgia, Times, serif;
	text-align: left;
}

footer .col-right
{
	font-family: 'Tiempos Text', Georgia, Times, serif;
	text-align: right;
}


/*
//	Classes
*/

.section
{
	padding-left: 5%;
	padding-right: 5%;
}


/*
//	Lightbox
*/

.lightbox-overlay
{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99998;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: rgb(250, 250, 250);
}

.lightbox-overlay.lightbox-open
{
	visibility: visible;
	opacity: 1;
}

.lightbox
{
	position: absolute;
	top: 10%;
	bottom: 10%;
	left: 10%;
	right: 10%;
}

.lightbox-content
{
	width: 100%;
	height: 100%;
	padding: 6%;
}

.lightbox-caption
{
	position: absolute;
	z-index: 99999;
	top: 3%;
	left: 2%;
	font-size: 1.3em;
	padding: 23px;
}

.lightbox-caption span
{
	display: block;
}

.lightbox-caption span.type
{
	color: #ff585f;
}

.lightbox-caption span.client
{
	color: #918b7c;
}

.lightbox-nav
{
	display: none;
	width: 84px;
	height: 84px;
	position: absolute;
	top: 50%;
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
	    -ms-transition: all .1s ease-in-out;
	     -o-transition: all .1s ease-in-out;
	        transition: all .1s ease-in-out;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	     -o-transform: translateY(-50%);
	        transform: translateY(-50%);
}

.lightbox-prev
{
	left: 2%;
	background: url('../img/design/lightbox-nav-left.png') 45% center no-repeat;
	background-size: auto 25%;
}

html.desktop .lightbox-prev:hover
{
	background-position: 25% center;
}

.lightbox-next
{
	right: 2%;
	background: url('../img/design/lightbox-nav-right.png') 55% center no-repeat;
	background-size: auto 25%;
}

html.desktop .lightbox-next:hover
{
	background-position: 75% center;
}

.lightbox-close
{
	width: 64px;
	height: 64px;
	position: absolute;
	top: 3%;
	right: 2%;
	background: url('../img/design/lightbox-close.png') center center no-repeat;
	background-size: auto 25%;
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
	    -ms-transition: all .1s ease-in-out;
	     -o-transition: all .1s ease-in-out;
	        transition: all .1s ease-in-out;
}

html.desktop .lightbox-close:hover
{
	-webkit-transform: scale(1.2);
	   -moz-transform: scale(1.2);
	    -ms-transform: scale(1.2);
	     -o-transform: scale(1.2);
	        transform: scale(1.2);
}

.lightbox-image
{
	text-align: center;
}

.lightbox-image img
{
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

.lightbox-content iframe
{
	width: 100%;
	height: 100%;
}

.lightbox-inline,
.lightbox-ajax
{
	max-height: 100%;
	overflow: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.lightbox-error
{
	width: 100%;
	height: 100%;
	display: table;
	text-align: center;
}

.lightbox-error p
{
	display: table-cell;
	vertical-align: middle;
}

.lightbox-notouch .lightbox-effect-fadeScale
{
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
	    -ms-transition: all .2s ease-in-out;
	     -o-transition: all .2s ease-in-out;
	        transition: all .2s ease-in-out;
}
.lightbox-effect-fadeScale .lightbox
{
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	     -o-transition: all 0.3s;
	        transition: all 0.3s;
	-webkit-transform: scale(0.7);
	   -moz-transform: scale(0.7);
	    -ms-transform: scale(0.7);
	        transform: scale(0.7);
}
.lightbox-effect-fadeScale.lightbox-open .lightbox
{
	-webkit-transform: scale(1);
	   -moz-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}


/*
//	Responsiveness
*/

/* Handheld */

html.mobile #start,
html.tablet #start
{
	background-color: rgb(245, 245, 245);
}

html.mobile #projects .project .lazy,
html.tablet #projects .project .lazy
{
	background-color: rgb(255, 255, 255);
}

html.mobile #projects .project .info,
html.tablet #projects .project .info
{
	position: static;
	background-color: rgb(255, 255, 255);
}

html.mobile #projects .project .info span.client,
html.tablet #projects .project .info span.client
{
	color: #b7b09c;
}

html.mobile .lightbox-next,
html.tablet .lightbox-next
{
	background-position: right center;
}

html.mobile .lightbox-prev,
html.tablet .lightbox-prev
{
	background-position: left center;
}

html.mobile .lightbox-close,
html.tablet .lightbox-close
{
	background-position: right top;
}

html.mobile .lightbox-caption,
html.tablet .lightbox-caption
{
	padding: 0 23px 23px 0;
}

/* Width less than 768 */

@media (max-width: 768px)
{
	/* Text */

	h1
	{
		height: 33px;
		background-size: auto 33px;
		margin: .3em 0 .6em 0;
	}

	h2
	{
		font-size: 3em;
	}

	p, address, .menu nav, #intro nav, #about .content ul, #hiring .content ul
	{
		font-size: 1.4em;
		line-height: 1.6em;
	}

	p
	{
		margin-bottom: 1.6em;
	}

	/* Navigation */

	nav ul li
	{
		float: none;
	}

	#about .content address,
	#about .content ul
	{
		margin-bottom: 1.6em;
	}
}