@import url(reset.css);
@import url(fonts.css);

body, html {
	height: 100%;
	min-height: 100%;
	width: 100%;
	position: relative;
}

*{
	margin:0;
	padding:0;
	font-family: 'Univers-Regular', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 100%;
	border:none;
	outline:0;
	-webkit-appearance: none;
	-moz-appearance:none;
	appearance:none;
}

header a, .MarkupPagerNav li a, h2 {
	font-family: 'Univers-Bold', Helvetica, Arial, sans-serif;
}

.scrollover h2 {
	font-family: 'Univers-Regular', Helvetica, Arial, sans-serif;
}

a {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

p a, p em a {
	font-family: 'Univers-Italic', Helvetica, Arial, sans-serif;
}

#details p{

}

body, article {
	font-size: 19px;
	line-height: 1.4em;
	letter-spacing: 0.02em;
}

.Single h2, p, ul {
	padding: 0 0 15px 0;
}

#secondnav h2 {
	padding: 0;
}

h3 {
	text-transform: uppercase;
}


/*
HELPER
*/

.padding-top {
	padding-top: 20px;
}

.ie8-fix, .responsive-fix {
	display: none;
}


/*
links
*/

a {
	color: black;
}



a:hover {
	color: blue;
}

#slideshow a:hover {
	text-decoration: none;
}

.scrollover:hover {
	color: black;
}

/*
header
*/

header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1337;
	width: 100%;
}

	hgroup {
		width: 90%;
		max-width: 1400px;
		margin: 0 auto;
		padding: 45px 0 9px 0;
		height: auto;
		height: 1em;
		background-color: white;
	/*	border-bottom: 2px solid black; */
	}

	header h1 {
		float: left;
	}

	header nav {
		float: right;
	}

	header #firstnav ul {
		padding-bottom: 0px;
	}

	#firstnav {
		margin-right: 0px;
	}

	.Work #secondnav {
		display: none;
	}

	.Information h1 {
		width: 31.33%;
		width: calc(((100% / 3) * 1) - 20px);
	}
	.Information #firstnav {
		display: none;
	}

	.Information #secondnav {
		margin-left: 2%;
		margin-left: calc(40px);
		width: 62.66%;
		width: calc(((100% / 3) * 2) - 40px);
		float: left;
		display: block;
	}

	.Information h2:first-child {
		width: 50%;
		margin-right: 20px;
	}

	#secondnav {
	width 31.33%;
	width: calc(((100% / 3) * 1) - 20px);
	float: right;
	margin-left: 2%;
	margin-left: calc(20px);
	display: none;
	}

	#secondnav h2 {
		float: left;
	}

	#secondnav .cycle-pager {
		float: right;
		margin-right: 00px;
	}

	#secondnav .page-pager {
		text-align: right;
	}

	header nav ul li{
		display: inline-block;
		margin-left: 20px;
	}

	.border-bottom {
		border-bottom: 2px solid black;
	}


html, body , header, hgroup, .Work article .scrollover {
	background-color: #eee;
}

	/*
	HELPER
	*/

	.img-wrap {
		width: 100%;
		display: inline-block;
	}

/*
basic & articles
*/

main {
	width: 100%;
}

	#main-wrapper {
		width: 94%;
		width: calc(90% + 40px);
		max-width: 1440px;
		margin: 90px auto 0 auto;
		line-height: 0;
		font-size: 0;
	}


	.Work article {
		display: inline-block;
		margin: 2.1% 2%;
		margin: calc(21px) calc(20px);
		width: 29.3%;
		width: calc(33.3% - 40px);
		position: relative;
	}

	.Work article .helper {
		height: 100%;
		vertical-align: middle;
		display: inline-block;
	}

	.Work article .scrollover {
		position: absolute;
		height: 100%;
		width: 100%;
		color: black;
		text-align: center;
		top: 0;
		left: 0;
		display: none;
			-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;
		opacity: 1;

	}

	.Work article:hover .scrollover{
		display: block;
	}

	.Work article h2 {
		display: inline-block;
		vertical-align: middle;
		opacity: 1;
		color: black;
		max-width: 90%;
	}

	.Work article h2:hover{

	}

	.Single article, .Information article, .Colophon article {
		display: inline-block;
		margin: 2%;
		margin: calc(20px);
		width: 96%;
		width: calc(100% - 40px);
	}

	main article img {
		width: 100%;
		display: block;
	}



/*
slideshow
*/

#slideshow {
	position: relative;
	display: inline-block;
	width: 100%;
	background-color: black;
}

.cycle-controls {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1336;
	width: 100%;
	height: 100%;

}

#next, #prev {
	margin: 0 2%;
	margin: 0 calc(20px);
	height: 100%;
	width: 46%;
	width: calc(50% - 40px);
	position: relative;
	display: block;
	z-index: 1337;
}

.cycle-controls a {
	opacity: 0.5;
}

.cycle-controls a:hover {
	opacity: 1;
}

.cycle-pager {
}

.cycle-pager a {
	margin-right: 0.5em;
}

.cycle-pager-active {
	color: blue;
}

#next {
	float:right;
}

#prev {
	float: left;
}

#next:hover {
	cursor: url(../images/arrow-right.png),e-resize;
}
#prev:hover {
	cursor: url(../images/arrow-left.png),w-resize;
}

/*
title & details & description
*/

#title {
	padding: 20px 0 0 0;
	width: 100%;
	display: block;
}

	#title h2 {
		float: left;
	}

	#title .cycle-pager {
		float: right;
		margin-right: 00px;
	}

#details {
	padding: 0 0 0 0;
	width: 100%;
}

#description {
	padding: 0;
	width: 100%;
}


/*
project details & description
*/

.Single #details {
	float: left;
}

.Single #description {
	float: left;
}

/*
information details & description
*/

.Information #details {
	float: left;
}

.Information #description {
	float: left;
}

.Information #info{
	width: 29.3%;
	width: calc(((100% / 3) * 1) - 20px);
	margin: 0 2% 2% 0;
	margin: 0 calc(20px) calc(20px) 0;
	float: left;
}

.Information #details  {
	float: left;
	margin-left: 2%;
	margin-left: calc(20px);
	width: 31.33%;
	width: calc(((100% / 3) * 1) - 20px);
}

.Information #contact {
	float: left;
	margin: 0 2%;
	margin: 0 calc(20px);
	width: 29.33%;
	width: calc(((100% / 3) * 1) - 40px);
}

.Information #description {}

.Information #info img {
	width: 100%;
}

/*
overlay
*/

#overlay {
	display: none;

	width: 100%;
	height: 100%;

	position: fixed;
	z-index: 2674;
	top: 0;
	left: 0;
	background-color: black;

	cursor: pointer;
}

#overlay-typo {
	text-align: center;
	height: 100%;
	width: 100%;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#overlay-typo img {
	vertical-align: middle;
}

/*
AJAX STUFF
*/

#main-wrapper {
	overflow: hidden;
}

#main-wrapper section{
	width: 100%;
}

.MarkupPagerNav{
	display: block;
}

/*
PAGER WORK PAGE
*/

.MarkupPagerNav {
        clear: both;
        margin: 4% 2%;
		margin: calc(40px) calc(20px);
		width: 96%;
		width: calc(100% - 40px);
}


.MarkupPagerNav li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.MarkupPagerNav li a,
.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: block;
	float: left;
	color: #000;
	font-size: 19px;
	display: inline-block;
	line-height: 1em;
}

.MarkupPagerNav li.MarkupPagerNavOn a,
.MarkupPagerNav li a:hover{
	color: blue;
}

.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: inline;
	color: #777;
	background: #d2e4ea;
	padding-left: 3px;
	padding-right: 3px;
}

.previous-page {
	float: left;
}

.next-page {
	float: right;
}
