/* GLOBAL LAYOUT BEHAVIOUR */
body, html {
	width:100%;
	height:100%;
	font-family:'OpenSans';
	//background-color:#c09949;
	//background-color:#101010;
	font-family: 'Open Sans', sans-serif;
	overflow: hidden;
	position:relative;
}
#layoutWrapper{
	//position:relative;
	width:1000px;
	height:100%;
	margin:0 auto;
}
#contentWrapper {
	position:absolute;
	z-index:1;
	height:100%;
	width:100%;
	top:0;
	left:0;
}
* {
	margin:0;
	padding:0;
}
.portraitMode #about {
	font-size:1.6vw !important;
	line-height:auto !important;
}
a {
	cursor:pointer;
	text-decoration:none;
}
h1 {
	font-family: 'Fjalla One', sans-serif;
}
a, a:hover, a:focus, a:visited {
	color:#c09949;
}
.bold {
	font-weight:600;
}
.leftFloater {
	float:left;
}
.clearer {
	clear:both;
}
/* LOGO BEHAVIOUR */
/* regular layout (landscape) */
#logoWrapper {
	position: relative;
    top: 0;
    width: 60%;
    margin: 0 auto;
    height: 100%;
    //transition: width 1s;
}
#logo {
	display:block;
	position:relative;
	z-index:999;
	height:auto;
	//width:50%;
	//min-height:200px;
	width:300px;
	//max-height:300px;
	//background:url("../img/logo.png") center center no-repeat;
	//background:cyan;
	background-size:contain;
	top:17%;
	transition: top 1s, margin-left 1s;
	-webkit-transition: top 1s, margin-left 1s;
	-moz-transition: top 1s, margin-left 1s;
	padding:0 4px;
	left:50%;
	margin-left:-400px;
}
.contentActive #logo{
	margin-left:-150px;
}
/* regular layout (portrait) */
.portraitMode #logo {
	margin-left:-150px;
	left:50%;
	top:3%;
	//min-width:200px;
}
/* animation parameters */
#logo .coward {
	opacity:1.0;
	transition: opacity 1s;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
}
#logo #signet{
	transition:margin-top 1s, opacity 1s;
	-webkit-transition:margin-top 1s, opacity 1s;
	-moz-transition:margin-top 1s, opacity 1s;
}
/* 'hide all but logo' conditions */
.contentActive #logo {
	margin-left:-150px;
	left:50%;
	top:0;
}
.contentActive #logoWrapper {
	//width:964px;
}
#logo svg#brand {
	fill:rgb(255,255,255);
	-webkit-fill:rgb(255,255,255);
	-moz-fill:rgb(255,255,255);
	transition: fill 1s;
	-webkit-transition: fill 1s;
	-moz-transition: fill 1s;
	cursor:pointer;
}
.contentActive #logo svg#brand {
	fill:rgb(0,0,0);
	-webkit-fill:rgb(0,0,0);
	-moz-fill:rgb(0,0,0);
}
.contentActive #logo #signet {
	margin-top:-50%;
}
.contentActive #logo .coward {
	opacity:0.0;
}
#homeScreen {
	transition:height 1s;
	-webkit-transition:height 1s;
	-moz-transition:height 1s;
}
.contentActive content#main-slider {
	top:-100%;
}
#logo p#logoFallback {
	display:none;
}
/* NAVIGATION ICON BEHAVIOUR */
nav#mainNav {
	position:fixed;
	z-index:999;
	bottom:0;
	left:0;
	width:100%;
	text-align:center;
	background-color:rgba(0,0,0,0.0);
	transition:background-color 1s;
	-webkit-transition:background-color 1s;
	-moz-transition:background-color 1s;
}
.contentActive nav#mainNav {
	background-color:rgba(0,0,0,1.0);
}
#mainNav li {
	display:inline-block;
	margin:1% 7%;
	height:40px;
	width:40px;
	border:2px solid #fff;
	cursor:pointer;
	border-radius:50%;
	background-size:80%;
	background-repeat:no-repeat;
	background-position:center center;
}
.portraitMode #mainNav li {
	height:100px;
	width:100px;
	margin:3% 5%;
}
.navItem a{
	display:block;
	height:100%;
	width:100%;
}
.navItem:hover {
	border: 2px solid #c09949;
}
li#pos1 {
	background-image:url("../img/ICOdesignbench.png");
}
li#pos2 {
	background-image:url("../img/ICOinsta.png");
}
li#pos3 {
	background-image:url("../img/ICOfacebook.png");
}
li#pos4 {
	background-image:url("../img/ICOyoutube.png");
}
section#homeScreen {
	width:100%;
	height:100%;
	background:url("../img/title.jpg") right center no-repeat;
	background-size:cover;
}




/*===== CONTENT =====*/
content {
	width:100%;
	height:100%;
	display:block;
	//overflow:hidden;
	position:relative;
	background-color:#fff;
	top:0%;
	transition: top .8s;
	-webkit-transition: top .8s;
	-moz-transition: top 1s;
}
content #sectionWrapper {
	margin-top:100px;
	position:absolute;
	width:400%;
	left:0%;
	transition: left .5s;
	-moz-transition: left .5s;
	-webkit-transition: left .5s;
	-o-transition: left .5s;
	height:100%;
}
section#about {
	background-color:#fff;
}
.portraitMode section#about {
	//font-size: 24px;
}
div#aboutWrapper {
	min-width:936px;
	max-width:1280px;
	margin:50px auto;
	width:70%;
	position:relative;
}
#aboutIntro{
	text-align:center;
	margin:0 auto;
}
.portraitMode #aboutIntro{
	margin-top:-70px;
}
.portraitMode #aboutWrapper {
	width:80%;
	padding:10%;
	min-width:80%;
}
.workbenchHead{
	font-family: 'Prata', serif;
	position:absolute;
	top:130px;
	left:0;
	//width:300px;
	text-align:left;
	font-weight: 600;
}
.portraitMode .workbenchHead{
	position:relative;
	//width:50%;
	margin-bottom:20px;
	//font-size:40px;
	margin-top:100px;
	text-align:center;
	padding-top:30px;
	padding-bottom:10px;
	top:0;
}
.workbenchImg {
	width:30%;
	min-width:300px;
	padding-bottom:50px;
}
.portraitMode .workbenchImg {
	float:right;
	display:block;
	width:50%;
	position:relative;
	margin-top:-75px;
}
.workbenchDesc {
	position:absolute;
	top:130px;
	right:0;
	//max-width:300px;
}
.portraitMode .workbenchDesc {
	position:relative;
	//width:50%;
	text-align:left;
	text-align:center;
	//font-size:1em;
	max-width:100%;
	top:0;
}
span.quoteSource {
	//font-size:20px;
	font-style:italic;
}
.portraitMode span.quoteSource {
	//font-size:11px;
}
#aboutText p {
	//column-count: 2;
    //column-gap: 30px;
    text-align: center;
}
.portraitMode #aboutText p {
	column-count:1;
	//font-size:20px;
	//line-height:40px;
}
#aboutText h1{
	font-family: 'Prata', serif;
	text-align:center;
	text-transform:uppercase;
	//font-size:42px;
	//letter-spacing:1px;
	margin-top:50px;
	clear:both;
	margin-bottom:40px;
	font-weight: 600;
}
.portraitMode #aboutText {
    margin: 0 auto;
}
.portraitMode #aboutText h1 {
	padding-top:50px;
	//font-size:42px;
    //line-height: 65px;
	margin-bottom:30px;
}
.portraitMode p {
}
.staffRight, .staffLeft {
	position:relative;
	font-size:1.5em;
}
.staffRight{
	text-align:right;
}
.staffLeft{
	text-align:left;
}
#aboutTeam > div{
	margin-bottom:50px;
}
#aboutTeam div:last-child{
	margin-bottom:0;
}
.staffQuote {
	position: absolute;
    width: 24%;
    font-family: 'Prata', serif;
    padding-top: 10px;
    //border-top: 1px solid black;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
}
.portraitMode .staffQuote {
	position:relative;
	width:100%;
	border-top:none;
	border-bottom:none;
	margin-bottom:30px;
	//font-size:28px;
	font-style:italic;
	text-align:center;
}
.staffRight .staffQuote {
    bottom: 0;
    right: 0;
}
.staffLeft .staffQuote {
    bottom: 0;
    left: 0;
}
.staffDesc {
	margin-bottom:50px;
}
.portraitMode .staffDesc {
	//font-size:15px;
	//line-height:40px;
	text-align:justify;
}
#aboutTeam img {
	width:100%;
	display:block;
	margin-bottom:50px;
}

#aboutTeam, #aboutWork {
	border-top:8px dotted black;
	width:100%;
	position:relative;
	padding:100px 0 0;
	margin-top:100px;
	margin-bottom:50px;
	//min-width:936px;
}

#aboutWork p{
	margin-bottom:50px;
	text-align:center;
}
#aboutWork h2{
	margin-bottom:20px;
	font-family: 'Prata', serif;
	text-align:center;
}
#aboutWork img {
	width:94%;
	border:1px solid #000;
	padding:3%;
}



/* ===== CONTACT FORM ===== */
div#contactForm, div#imprint{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	background-color:#fff;
	border-top:1px solid #000;
	height:0%;	
	overflow:hidden;
	transition:height 0.5s ease-in-out;
	-webkit-transition:height 0.5s ease-in-out;
	-moz-transition:height 0.5s ease-in-out;
	-o-transition:height 0.5s ease-in-out;
	z-index:10;
}
.closeBtn{
	position:absolute;
	right:30px;
	top:200px;
	cursor:pointer;
}
div#aboutFooter{
	clear:both;
	padding-top:100px;
	margin-bottom:200px;
	text-align:center;
}
div#aboutFooter li{
	list-style-type:none;
	display:inline-block;
	padding:0 30px;
    width:30%;
    //font-size: 30px;
}
.portraitMode #aboutFooter li {
    font-size: 1.8em;
}
div#aboutFooter li:first-child{
	border-right:1px solid #000;
}
#contactForm form{
	padding: 200px 200px;
	margin:0 auto;
}
#contactForm table,#contactForm tbody,#contactForm tr{
	display:block;
	width:100%;
}
#contactForm td{
	display:block;
	margin-bottom:10px;
	font-size:2vw;
}
#contactForm label{
	font-size:2vw;
}
#contactForm input,#contactForm textarea{
	display:block;
	padding:5px;
	border:1px solid #000;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	-0-border-radius:0;
	width:98%;
	font-size:2vw;
}
.landscapeMode #contactForm input, .landscapeMode #contactForm label{
	font-size:1vw;
}
.landscapeMode #contactForm{
	overflow-y:scroll;
}
#contactForm textarea{
	height:200px;
}
#contactForm input#sendBtn {
	height: 70px;
    margin: 50px auto;
    width: 50%;
    background-color:#c09949;
    border: none;
	color:#fff;
}



/* ===== IMPRINT IFRAME ===== */
iframe{
	width:80%;
	height:80%;
	padding:10%;
	border:none;
}
body#imprint{
	overflow-y:scroll;
	//padding:30px;
	width:auto;
}
body#imprint h2{
	font-family: "Prata",serif;
}
body#imprint h2, body#imprint p{
	margin-bottom:20px;
}
#imprint ol li, #imprint ul li{
	margin:10px 0 10px;
}
ol.numList{
	list-style-type:decimal;
}
ol.alphList{
	list-style-type:lower-latin;
}
#imprint ul{
	list-style-type:disc;
}
#imprint ol.numList{
	padding-left:60px;
}
#imprint h2{
	margin-top:50px;
}




/* ===== LIVE FEED PAGES ===== */
section#instagram{
	//background-color:magenta;
	//background:url("../img/instaShot.jpg") center top no-repeat;
	//background-size:121%;
}
section#twitter {
	background-color:silver;
}
section#youtube{
	background-color:red;
}
section.mediaSlider {
	width:25%;
	min-height:200px;
	float:left;
	margin-bottom:500px;
	height:100%;
	position:relative;
	overflow-y:scroll;
	-webkit-overflow-scrolling: touch;
}




/* ===== INSTAGRAM LIVE FEED ===== */
#instaHeader h2 {
	font-family: 'Open Sans';
    font-weight: 300;
    font-size: 2em;
    margin-right: 64px;
}
.portraitMode #instaHeader {
	height:200px;
}
.landscapeMode #instaHeader {
	width: 936px;
    margin: 0 auto;
    height: 190px;
	padding-top:60px;
}
#instaProfPic {    
	background:url(../img/instaProfPic.jpg) center center no-repeat;
	display: block;
    height: 150px;
    width: 150px;
    margin-left:75px;
    border-radius: 50%;
    background-color:#c09949;
	background-size:cover;
	margin-right:100px;
}
.portraitMode #instaProfPic {
	position:absolute;
}
.portraitMode #instaHeader h2, .portraitMode #instaHeader button {
	float: none;
    width: 50%;
    min-width: 200px;
    max-width: 300px;
    margin: 20px auto;
    float: none;
    position: relative;
    display: block;
	font-size:2em;
	font-weight:300;
}
.portraitMode #instaHeader button {
	border-radius:6px;
}
#instaHeader button {
	font-size: 1em;
    font-family: 'Open Sans';
	color:#fff;
    padding: 3px 20px;
    border-radius: 3px;
	border:none;
    background-color: #c09949;
    margin-top: 6px;
	cursor:pointer;
}
.landscapeMode #instaViewSwitch {
	width: 936px;
}
#instaViewSwitch {
	height:47px;
	margin: 0 auto -14px;
	padding-top:30px;
	padding-bottom:20px;
	border-top:1px solid silver;
	position:sticky;
	position:-webkit-sticky;
	top:0;
	z-index:5;
	background:#fff;
}
.instaSwitch {
	height: 30px;
    width: 30px;
    display: inline-block;
    text-align: center;
    margin: 0 0 0 30%;
	fill:silver;
	cursor:pointer;
}
#instaViewSwitch .active {
	fill:#c09949;
}
.landscapeMode div#instafeed {
    margin: 0 auto 30px;
    max-width: 964px;
}
.landscapeMode #instagram .tile {
	height:293px;
	width:293px;
	margin:14px;
	padding:0;
	outline:none;
}
#instagram .tile {
	width:33.3%;
	height:0;
	outline:2px solid white;
	outline-offset:-2px;
	padding-top:33.3%;
	position:relative;
	float:left;
	background-color:#000;
	overflow:hidden;
}
#instagram .tile .itemLink {
	height:612px;
	width:612px;
	display:block;
	margin-top:-100%;
}
#instafeed .itemDescription {
	display:none;
}
#instagram .list .itemDescription {
	display:block;
}
.landscapeMode #instagram .list {
	padding:14px 14px 14px 176px;
	width:774px;
}
.landscapeMode #instagram .list .tile {
	width:612px;
	padding:0px;
	margin:0;
	height:612px;
	float:none;
}
.landscapeMode #instagram p {
	width: 936px;
    margin: 10px auto 20px;
}
#instagram .list .tile {
	width:100%;
	height:0;
	padding-top:100%;
}
#mainNav .active {
	border:2px solid #c09949;
}
.portraitMode #instagram p {
	padding: 10px 40px;
}
.landscapeMode #instagram p.centeredFooter {
	margin-bottom:200px;
}
.portraitMode #instagram p.centeredFooter {
	padding:0 20%;
	text-align: center;
	margin-top:30px;
	margin-bottom:500px;
}
.portraitMode #instafeed {
	margin-bottom:30px;
}
.portraitMode .instaSwitch {
	height:40px;
	width:40px;
}
.portraitMode #instagram .list .tile {
	margin:30px 0;
}



/* ===== FACEBOOK LIVE FEED ===== */
._2zfs {
	background:none !important;
}