/*
Global
*/
body {
	width: 100%;
}
body:before, body:after {
	content: "";
	display: table;
}
body:after {
	clear: both;
}
html, body {
	height: 100%;
}
body {
	font-family: 'freight-text-pro', serif;
	color: #5292B3; /* was #6a6a6d */
}
body.front {
	max-height: 1000px;
	position: relative;
}
body.projects-landing {
	overflow-x: hidden;
}
.wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 10px;
}
.front .wrapper:before {
    background-color: white;
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1000;
}
article {
	position:relative;
	margin: 150px 90px 10px 330px;
	padding-bottom: 40px;
	font-size: 1.225em;
	line-height: 1.4em;
	clear: both;
}
.front article {
	position:static;
}
article p {
	margin-bottom: .85em;
	font-size: 1.15em;
	line-height: 1.35;
}
.section {
	position: relative;
	min-height: 140px;
	padding-bottom: 30px;
	padding-right: 65px;
}
.site-logo {
	position: absolute;
	top: 35px;
	z-index: 100;
	background-image: url(../images/ocean10_logo.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
	margin-left: 157px;
}
.front .site-logo {
	bottom: 67px;
	top: auto;
}
.site-logo a {
	display: block;
	width: 83px;
	height: 52px;
}
.image {
	position: absolute;
	top: 0;
	bottom: auto;
	z-index: 100;
	margin-left: -530px;
	width: 440px;
}
@media screen and (max-width: 1450px) {
	.image {
		width: 370px;
		margin-left: -460px;
	}
}
@media screen and (max-width: 1300px) {
	.image {
		width: 290px;
		margin-left: -380px;
	}
}
@media screen and (max-width: 1150px) {
	.image {
		width: 220px;
		margin-left: -250px;
	}
}
.front .image {
	bottom: 180px;
	top: auto;
}
/*
Navigation
*/
nav {
	margin-left: 330px;
	position: absolute;
	top: 35px;
	bottom: auto;
	z-index: 100;
	font-size: 1.1em;
	font-family: Miso, Arial, san-serif;
	font-weight: 700;
}
.front nav {
	bottom: 100px;
	top: auto;
}
nav ul li {
	display: inline-block;
	margin-right: 60px;
}
nav ul li:last-child {
	margin-right: 0px;
}
nav a {
	color: #5292B3;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 0.0325em;
	text-decoration: none;
}
.active {
	padding-bottom: 1px;
	border-bottom: 2px solid #5292B3;
}
nav a:hover {
	padding-bottom: 1px;
	border-bottom: 2px solid #5292B3;
}
.about nav a.about, .projects nav a.projects, .press nav a.press, .collaboration nav a.collaboration, .contact nav a.contact {
	padding-bottom: 1px;
	border-bottom: 2px solid #5292B3;
}
nav .language {
	text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
	color: #ccc;
}
nav .language:hover {
	border-bottom-color: #ccc;
}
/* Typography */
.content h1 {
	font-family: freight-sans-pro, Arial, san-serif;
	font-size: 1.4em;
	margin-bottom: 0.5em;
	font-weight: 600;
	text-transform: uppercase;
	color:#5292B3;
}
.content h2 {
	font-family: freight-sans-pro, Arial, san-serif;
	font-weight: 700;
	font-size: 1.4em;
	text-transform: uppercase;
	margin-bottom: 5px;
	color: #EAACD4;
}
.content ol {
	list-style: decimal inside;
}
.content a {
    border-bottom: 1px dotted;
    color: #5292B3;
    line-height: 1.05;
	text-decoration: none;
}
.content a:hover {
    border-bottom: 2px solid;
}
.content small {
	font-size: .7em;
}
.ocean10 {
	font-family: Miso, Arial, san-serif;
	font-size: 1.05em;
}
.home-intro .ocean10 {
	font-weight: 400;
}
/*
Home
*/
.content .home-intro {
    bottom: 230px;
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.25;
    max-width: 20em;
    position: absolute;
    text-transform: none;
	margin: 0;
	font-family: freight-text-pro, serif;
	font-weight: 400;
	margin-right: 2em;
}
.content .home-intro strong {
    color: #eaacd4;
    font-weight: bold;	
}

/*
About */
.about .content h3 {
    border-bottom: 3px solid #5292B3;
    color: #5292B3;
    display: inline-block;
    font-family: freight-sans-pro, sans-serif;
	font-weight: 600;
    font-size: 0.75em;
    line-height: 1;
    text-transform: uppercase;
}
.about .content h3 + p {
	margin-left: 2.5em;
}

.de.about .content h3 + p {
    margin-left: 4em; /* German needs more space */
}
/*
Projects
*/
.map {
	display: inline-block;
	text-decoration: none;
	margin-left: 8px;
	position: relative;
	top: -5px;
	padding-right: 30px;
	color: #eaacd4 !important;
	text-decoration: none !important;
}
.map:before {
	content: "? ";
	font-family: WebSymbolsRegular;
}
.project-thumb {
	position: absolute;
	width: 100px;
	height: 100px;
	left: -115px;
	top: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.project-thumb-slideshow_only {
	z-index: -1;
	background-color: #fff;
	border: 1px solid #fff;
}
.project-thumb-inline {
	position: static!important;
	display: inline-block;
}
.project-thumb-slideshow_only img {
	display: none;
}
.section .project-thumb-slideshow_only:nth-child(2) {
	left: -119px;
	top: 6px;
	z-index: -1;
}
.section .project-thumb-slideshow_only:nth-child(3) {
	left: -123px;
	top: 2px;
	z-index: -2;
}


/* Project Landing */
.projects-landing article {
	position:static;
}

.projects-landing-map {
	left: 0;
	position: absolute;
	right: 0;
}
.projects-landing-map--big {
	display: none;
}

@media screen and (min-width: 900px) {

	.projects-landing-map {
		left: 7vw;
		width: 90vw;
	}
	.projects-landing-map--big {
		display: block;
	}
	.projects-landing-map--small {
		display: none;
	}		
}

/* Project details */
.breadcrumb a {
    border: 0 none;
    color: #ccc;
    display: inline-block;
    font-family: freight-sans-pro, sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 0.5em;
    text-transform: uppercase;
	line-height: 1;
}
.breadcrumb a:hover {
	border: 0;
	line-height: 1;
}
.projects .content h1 {
	margin-bottom: 0;
}
.projects .content h3 {
	font-style: italic;
	font-size: .9em;
	margin-top: .5em;
	margin-bottom: 2em;
    color: #5292B3;
}
.content .project-detail-poster {
	display: block;
	border: 0;
}
.content .project-detail-poster:hover {
	border: 0;
}
.content .project-detail-poster img {
    display: block;
    margin-bottom: 2em;
    max-width: 100%;
}
.location-meta {
	margin-top: 2em;
	margin-bottom: 2em;
}
.map-frame {
    border: 0 none;
    height: 400px;
    margin-left: -170px;
    width: calc(100% + 170px);
}
.address {
	font-size: .8em;
}
@media screen and (max-width: 600px) {
	.map-frame {
		margin-left: 0;
		width: 100%;
	}
}
.pr-note {
    /* background-color: rgba(234, 172, 212, 0.6); */
	color: #444;
    /* box-shadow: 5px 5px 0 #ddd; */
    font-size: 0.85em;
    margin: 2em 0 4em;
    padding: 1.5em;
}
.image-thumbs {
    margin: 2em 0;
    overflow: hidden;
}
.image-thumbs a {
    display: block;
    float: left;
    height: auto;
    width: 33.33%;
    border: 5px solid white;
    box-sizing: border-box;
	transition:border-color .3s ease;
}
.image-thumbs a:hover {
    border: 5px solid #eaf4f4;
	transition:border-color .8s ease;
}
.image-thumbs img {
    display: block;
    width: 100%;
	height: auto;
}
.press-item::before {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #eee 51%, #f9f9f9 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 3em;
    left: 0;
    position: absolute;
    top: 0;
    width: 3em;
}
.press-item {
    background-color: #f9f9f9;
    padding: 2em 1.5em 2em 4em;
    position: relative;
	margin-bottom: 2em;
}


.projects article {
	margin-right: 0;
}
.projects .content h2 {
    color: #5292B3;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: -290px;
    text-align: right;
    width: 200px;
}
.projects .content h2.realized-projects-header {
    color: #eaacd4;
}
.projects-wrapper {
	margin-top: -1.4em;
	overflow: hidden;
}
.project-wrapper {	
    border: 1px solid #eaf4f4;
    display: inline-block;
	vertical-align: top;
    margin-right: 2%;
    width: 47%;
	margin-bottom: 1.5em;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	-webkit-transition: background-color 0.3s ease 0s;
	        transition: background-color 0.3s ease 0s;
}
.realized-projects .project-wrapper {
	background-color: rgba(234, 172, 212, 0.1);
}
.project-wrapper:hover {
    background-color: #eaf4f4;
}
.realized-projects .project-wrapper:hover {
	background-color: rgba(234, 172, 212, 0.35);
}
.content .project-wrapper .project-title {
    color: #5292B3;
    font-family: freight-text-pro;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    padding: 0 10px 10px;
}
.content .realized-projects .project-wrapper .project-title {
	color: #333;
}
.content .project-wrapper .project-info {
    padding: 0 10px 10px;
}
.content .project-wrapper .project-info p {
    font-family: freight-sans-pro;
	font-size: .7em;
	margin-bottom: .5em;
	line-height: 1.2;
	color: #888;
}
.content .project-wrapper a {
	border-bottom: 0;
	display: block;
}
.content .project-wrapper a:hover {
	border-bottom: 0;
}
.image-wrapper {
	overflow: hidden;
	padding: 0.5em;
}
.image-wrapper img {
	width: 100%;
}
@media screen and (max-width: 1100px) {
	.projects .content h2 {
		margin-left: -230px;
	}
}
@media screen and (max-width: 767px) {
	.projects .content h2 {
	    margin-left: -180px;
	    text-align: left;
	    width: 100%;
	}
}
@media screen and (max-width: 600px) {
	.projects .content h2 {
	    margin-left: 0;
	}
	.projects .content .projects-wrapper {
    	margin-top: 0;
	}
}
@media screen and (max-width: 450px) {
	.project-wrapper {
		margin-right: 0;
		width: 100%;
	}
}




/* Credits Page */
.credits .content h2 {
	margin-top: 15px;
	border-top: 1px solid #5292B3;
	padding-top: 15px;
}





/*
High resolution displays
***************************************
*/
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	.site-logo {
		background-image: url(../images/ocean10_logo_highres.png);
		background-size: contain;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	.site-logo {
		background-image: url(../images/ocean10_logo_highres.png);
		background-size: contain;
	}
}

/*
Small Height 
***************************************
*/
@media screen and (max-height: 580px) {
	.front .coverup {
		display: none;
	}
	.front nav {
		position: absolute;
		top: 35px;
		bottom: auto;
	}
	.front .site-logo {
		position: absolute;
		top: 35px;
		bottom: auto;
	}
	.front .image {
		bottom: auto;
		position: absolute;
	}
	.content .home-intro {
		position:static;
		padding-top: 1em;
	}
}
@media screen and (max-height: 580px) and (min-width: 1000px){
	.front .image {
		margin-left: -330px;
		width: 240px;
	}
}

/*
Large screens
***************************************
*/
@media screen and (min-width: 1500px) {
	article {
		font-size: 1.35em;
	}
}

/*
Slightly smaller screens
***************************************
*/
@media screen and (max-width: 1100px) {
	.wrapper {
		width: 720px;
	}
	article {
		margin: 120px 10px 0 250px;
	}
	nav {
		font-size: 1em;
		margin-left: 250px;
	}
	.site-logo {
		margin-left: 137px;
	}
	.image {
		margin-left: -250px;
		width: 220px;
	}
	nav ul li {
		margin-right: 20px;
	}
	/*
	.touch .site-logo {
		position: static!important;
		margin: 0;
		float: left;
		margin-right: 97px;
		margin-bottom: 20px;
	}
	.touch .image {
		position: absolute;
		top: 180px;
		bottom: auto;
	}
	*/
	.project-thumb {
		left: project-thumb_left;
	}
	.section .project-thumb-slideshow_only:nth-child(2) {
		left: -119px;
	}
	.section .project-thumb-slideshow_only:nth-child(3) {
		left: -123px;
	}
}

/*
Medium screens
***************************************
*/
@media screen and (max-width: 767px) {
	.wrapper {
		width: auto;
		margin: 20px;
	}
	article {
		width: auto;
		margin: 0;
		font-size: 1.1em;
		line-height: 1.45em;
	}
	nav,
	.front nav {
		position: static;
		margin-left: 0;
		margin-bottom: 20px;
		font-size: 0.9em;
	}
	nav ul li {
		margin-right: 10px;
	}
	.site-logo {
		position: static!important;
		margin: 0;
		float: left;
		margin-right: 97px;
		margin-bottom: 20px;
	}
	.image {
		position: static!important;
		margin: 0;
		width: 160px;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
	}
	.content {
		margin-left: 180px;
	}
	.content .home-intro {
		position: static;
		max-width: none;
		font-size: 1.4em;
	}
	.about .content h3 + p {
		margin-left: 0!important;
		margin-top: .25em;
	}
	.project-thumb {
		left: -115px;
	}
	h4.press {
		float: none;
		margin-bottom: 0;
	}
	h4.press + p {
		margin-left: 0;
	}
	.map {
		display: block;
		margin-left: 0px;
		margin-top: 2px;
	}
}

/*
Smallest screens
***************************************
*/
@media screen and (max-width: 600px) {
	.wrapper {
		margin: 20px 0;
	}
	.site-logo {
		margin-right: 0;
	}
	nav {
		text-align: right;
		margin-right: 20px;
	}
	.image {
		margin: 0;
		float: none;
		margin-bottom: 10px;
	}
	.content {
		margin-left: 0;
	}
	.project-thumb {
		position: static;
		display: block;
		margin-top: 10px;
		margin-bottom: 5px;
	}
	.project-thumb-slideshow_only img {
		display: block;
	}
	.section {
		padding-bottom: 10px;
		background-image: none;
		padding-right: 0px;
	}
}
@media screen and (max-width: 400px) {
	.site-logo {
		float: none!important;
	}
	nav {
		text-align: left;
		margin-right: 0;
	}
	nav ul li {
		float: none;
		margin-bottom: 5px;
	}
	article {
		font-size: 1em;
		line-height: 1.5em;
	}
	.content .home-intro {
		font-size: 1.2em;
		line-height: 1.2;
	}
}