/* ===== CSS reset ===== */

* { 
	margin:0;
	padding:0;
	border:0;
	box-sizing:border-box;
}
html,body {
	height:100vh;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}

address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}

h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { 
	border:0;
}

sup {
	font-size:60%;
}

/* ===== Fonts ===== */

@font-face {
    font-family: 'Head';
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/dirtyego-webfont.woff')
	format('woff');
}

@font-face {
    font-family: 'Regular';
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/PTSans-Narrow.woff')
	format('woff');
}

@font-face {
    font-family: 'Icon';
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/4v.woff')
	format('woff');
}

body {
	color:#fff;
	font-family: 'Regular', Arial, Helvetica, sans-serif;
	overflow:hidden;
	background:#000;
	font-size: 16px;
}

a {
	color:#000;
	text-decoration:none;
}

#preview {
	position:absolute;
	top:-1000px;
	left:-1000px;
	}

.mb_content a {
color:#fff;
font-weight:bold;
text-decoration:underline;
}

.mb_content p {
width:45%;
display:inline-block;
margin-right:40px;
vertical-align:top;
font-size: 1.1rem;
white-space: initial;
}

.mb_content p:last-child {
margin-right:0;
}

.mb_content a:hover {
color:#999;
}

#work h2 span {
margin-right:1em;
opacity: .5;
cursor:pointer;
	-webkit-transition: all 0.5s ease;
	-transition: all 0.5s ease;	
}

#work h2 span:hover {
opacity: .8;
}

#work h2 span.active {
opacity: 1;
cursor:default;
}

.subhead {font-weight:bold}

.mb_overlay,
.mb_background2,
.mb_bgimage,
.mb_bgimage .middle  { 
	width:100vw;
	height:100vh;
	}

.mb_bgimage .middle {
	position:fixed;
	top:0;
	left:0;
	z-index:3;
	text-align:center;
}
.mb_bgimage img {
	height:100%;
	width:auto;
	/*transform: scale(1);*/
	-webkit-transition: all 0.5s ease;
	-transition: all 0.5s ease;		
}

.mb_bgimage .container {
	margin:0 auto;
	height:100vh;
	width:100%;
	display:inline-block;
	-webkit-transition: all 0.5s ease;
	-transition: all 0.5s ease;
	position:relative;	
}

#portfolio .mb_bgimage .container {
	width:auto;
}

#portfolio .mb_bgimage .container.zoomactive {
	width:100%;
	/* max-width:700px; */
}

.mb_bgimage img {
	-webkit-transition: all 0.5s ease;
	-transition: all 0.5s ease;	
}

.mb_bgimage img:hover {
	/*transform: scale(1.5);
	-webkit-filter: blur(0.1px);-moz-filter: blur(0.1px);filter: blur(0.1px);*/
}

.mb_bgimage img.sample:hover {
	transform: scale(1);
	width:auto;
	height:100%;
	-webkit-filter: blur(0);-moz-filter: blur(0);filter: blur(0);
}


.mb_bgimage img.sample {
	margin:0;
	position:absolute;
	right:5%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
pointer-events: none;
	
	}

body.wide .mb_bgimage img.sample {
	right:-100%;
}


.mb_loading{
	display:none;
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:4;
	}

.mb_overlay{
	position:fixed;
	top:0;
	left:0;
	background:	url('../gfx/pattern.png');
	z-index:2;
}
.mb_pattern div{
	position:absolute;
	width:50px;
	height:50px;
	background:#000;
	z-index:10;
}
header {
	position:fixed;
	top: 2rem;
	left: 1rem;
	z-index:5;
	text-transform:uppercase;
	color: #fff;
	-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none; 
	width:100%;
	cursor:default;
}

#portfolio header {
	width:auto;
	cursor:pointer;
}

header  div {
position:relative;
	display: inline-block;
	float: left;
}

header  .c3 {	
	font-family: 'Head', Arial, Helvetica, sans-serif;
	font-size:6rem;
	line-height: 1s;
    -webkit-text-stroke: 1px #000;	
    text-shadow:3px 3px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px  1px 0 #000,1px  1px 0 #000;	
	width: auto;
	
}

#portfolio header .c3 {
	/* width:100%; */
}

header  .c9 {	
	width: auto;
	float:left;
	top: 4rem;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;	
}

#portfolio header  .c9 {
	opacity:0;
	top: -100em;
	width: 0;
}

header  .c9 strong {
	font-size: 1rem;
	font-weight:normal;
	display:inline;
	background:#000;
	padding: .2rem 1rem .3rem 1rem;
	line-height: 1.2rem;
	margin: 0 0 0 1rem;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;		
}

#portfolio header  .c9  strong{
	font-size: 0;
}

.mb_menu {
	position:fixed;
	/* top:170px; */
	top: 50vh;
	transform: translateY(-50%);
	left:0;
	z-index:11;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
	color:#fff;
}

.mb_menu.off {
	left:-55px;
	color:#000;
}

.mb_menu div {
	background:#000;
	border:1px solid #fff;
	border-width:0 1px 1px 0;
	width:98px;
	/* height:98px; */
	/* line-height:98px; */
	height: calc(15vh + 1px);
	line-height: 15vh;	
	text-align:center;
	text-transform:uppercase;
	outline:none;
	cursor:pointer;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none; 
	/* position:relative; */
}

	.mb_menu div:first-of-type {
		border-top:1px solid #fff;
	}

#portfolio .mb_menu div {
	background:rgba(0,0,0,.5);
}

#portfolio .mb_menu div:nth-child(1) {
	background:rgba(0,0,0,1);
}

.mb_menu.off div {
	background:rgba(0,0,0,0);
	color:rgba(0,0,0,0);
	color:#fff;
	position:relative;
}

.mb_menu.off div.active {
	color:rgba(0,0,0,0);
	background:#000;
}

.mb_menu.off div.active::after {
	font-family:'Icon';
	content: "\e900";
	color:#fff;
	text-align:right;
	position:absolute;
	right:.9em;
}

.mb_menu div:hover{
	color:#000;
	background:#fff;
	/* left:98px; */
}

.mb_menu.off span {
display:block;
	-webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  position:absolute;
  bottom:0;
  right:.2rem;
	opacity:1;
}

.mb_content_wrapper {
	background:rgba(0,0,0,.9);
	/* height:293px; */
	height: calc(3*15vh + 2px);
	width:70%;
	position:absolute;
	/* top:170px; */
	top: 50vh;
	transform: translateY(-50%);
	left:-100%;
	z-index:5;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;	
}



body.wide .mb_content_wrapper { 
	width:100%;
}

.mb_content_wrapper.on {
	left:0;
}

span.mb_close{
	position:absolute;
	font-family: 'Regular', Arial, Helvetica, sans-serif;
	text-align:right;
	line-height:28px;
	cursor:pointer;
	right:0;
}

span.mb_close span::before {
	font-family: 'Icon';
	display:block;
	content: "\e901";
	color:#fff;
	font-size:2em;
	padding:.7em 1em;
}

span.mb_close:hover{
	opacity:1.0;
}

.mb_content {
	padding:20px 30px 10px 90px;
	display:none;
	height:100%;
	overflow:hidden;
	white-space:nowrap;
}

.mb_content#about p,
.mb_content#legal p{
	white-space: normal;
}

.mb_content h2{
	font-family: 'Head', Arial, Helvetica, sans-serif;
	font-size:2.5rem;
	background:transparent url(../gfx/line.png) repeat-x bottom left;
	padding: 0 0 .5rem 0;
	margin-bottom: 1rem;
	letter-spacing: .1rem;
}

.networks a {
	font-family:'Icon';
	font-size:2em;
	text-decoration: none !important;
	margin:0 1em 0 0;
	font-weight:300;
}

.scroll-pane {
	width: 100%;
	height: 80%;
	overflow: hidden;
	overflow-x: auto;
}

.mb_imagelist {
	height: 94%;
}

.mb_imagelist li {
	display:inline-block;
	cursor:pointer;
	position:relative;
	height:100%;
	width: calc(100vw / 8 - 1.65rem);
	overflow:hidden;
	margin-right: .5em;
}
.mb_imagelist li img{
	opacity:1;
	-webkit-transition: opacity 0.5s ease;
	-transition: opacity 0.5s ease;
	width:100%;
}

.mb_imagelist li img:hover{
	opacity:0.5;
}

.mb_imagelist li div {
	position:absolute;
	font-size: 2em;
	font-family:'Head', Arial, Helvetica, sans-serif;
	text-align:center;
	top: 50%;
	left: 0;	
	transform: translateY(-50%);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1;	
	width:100%;
	max-width:100%;
	box-sizing:border-box;
	white-space: normal;	
	opacity:0;
	-webkit-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;	
	touch-action: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	pointer-events: none;
}

.mb_imagelist li img:hover + div{
	opacity:1;
}

#print,
#merch {
    position: absolute;
    top: -5em;
    margin-left: .54em;
    background: #000;
    padding: .2em .5em;
    color: #fff;
    font-family: 'Head';
    font-size: 2em;
    border-radius: .2em;
	border:2px solid #fff;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;	
	z-index:2;
}

#print.on,
#merch.on {
    top: .5em;
}

#print:hover ,
#merch:hover  {
	background: #fff;
	color: #000;
}

#zoom  {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;	
	/* margin:0 auto; */
	position:absolute;
	width:100%;
	height:100vh;
	left:0;
	opacity:0;
	overflow:hidden;
	background:rgba(0,0,0, 0);
}

#zoom.on {
	opacity:1;
}

#zoom.active  {
	background:rgba(0,0,0, .8);
}

#zoom span {
	display:inline-block;
	/* xxx */
	background:rgba(0,0,0,.8);
	border-radius:.4em;
	cursor:pointer;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	position:absolute;
	right:1em;
	top:1em;
	z-index:10;
	padding: .5em .7em;
}

#zoom .active span {
	background:rgba(0,0,0,0);
}

#zoom span::before {
	font-family: 'Icon';
	display:block;
	content: "\e902";
	color:#fff;
	font-size:2em;
}

#zoom.active span::before {
	content: "\e901";
}

#detail {
	position:absolute;
	top:100vh;
	width:100%;
	height: 100vh;
	/* background:rgba(0,0,0, .8); */
	-webkit-transition: all 1s ease;
	transition: all 1s ease;	
}

#zoom.active #detail {
	top:0;
}

#zoom.active #detail div {
	position:absolute;
	top:50%;
	transform: translateY(-50%);
	width: 100%;
}

#detail img{
	width:initial;
	max-width:100%;
	margin:0;
	height:auto;
	/* margin-top: 130px; */
	border: 0 solid #fff;
	border-width: 3px;
}
/*
#zoom span:hover + #detail {
	display:block;
}
*/

.browse {
	position:fixed;
	bottom:0;
	background:#000;
	color:#fff;
	text-align:center;
	z-index:6;
	cursor:pointer;
	border:1px solid #fff;
	border-width: 1px 1px 0 0;
	padding-bottom:1em;
	line-height: 0;	
	-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none; 	
	text-transform:uppercase;
	color:#000;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;		
}

.browse.inactive {
	bottom:-100vh;
	opacity:0;
	}
	
.browse:hover {
	color:#fff;
}

.browse span::before {
	display:block;
	content: "\e900";
	color:#fff;
	font-family: 'Icon';
	padding: 1.4em 1em 1em 1.1em;
	font-size: 2em;	
}

.browse.next {
	right:0;
	border-width: 1px 0 0 1px;	
}
.browse.prev span::before {
 	-webkit-transform: scaleX(-1);
	filter: FlipH;
	transform: scaleX(-1);		
}

.browse.inactive {
	cursor:default;
}


#imprint {
position:absolute;
right:0;
top:40vh;
background:rgba(0,0,0, .8);
color:#fff;
padding:.4em .5em .2em 1.5em;
z-index:11;
font-size:80%;
transform: rotate(-90deg) translate(0, -100%);
transform-origin: 100% 0;
text-transform:uppercase;
line-height:1.5;
}

#imprint  span {
display:inline-block;
margin-right:1em;
cursor:pointer;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}

#imprint  span:hover {
opacity:.5;
}


.legal {
	position:absolute;
	right:-100vw;
	top:0;
	background:rgba(0,0,0, .8);
	color:#fff;
	padding:.4em 3em 2.5em 1.5em;
	z-index:10;
	font-size:80%;
	line-height:1.5;
	cursor:default;

    margin: 0;
	height:100vh;
	overflow:auto;
	overflow-x:hidden;
	width:19%;
	min-width:300px;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}

.legal.active {
right:5%;
}

.legal .head {
font-weight:900;
margin:0 0 .5em 0;
letter-spacing:2px;
}

.legal b {
letter-spacing:2px;
font-weight:700;
}

.legal i {
font-style:normal;
}

.legal li:before {
content:'- '
}

.legal ul {
	margin-top:-1em;
}

.legal p {
margin:0 0 1em 0;
}

.legal * {
touch-action: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
pointer-events: none;
}

.legal i span { display:none; }


.mb_footer{
	position:fixed;
	bottom:-100vh;
	font-size:0.8em;	
	text-transform:uppercase;
	z-index:5;
	text-align:center;
	letter-spacing:1px;
	width:100%;
	text-align:center;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;	
}

#portfolio .mb_footer {
	bottom:0;
}

.mb_footer p {
	display:inline-block;
	width:auto;
	color:rgba(255,255,255,0.5);
	background:rgba(0,0,0,0.3);
	padding:4px;
}

.mb_footer a {color:#fff}