/* [ DON'T COPY BUT LEARN ] MATHIJS DELVA */

/* RESET */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary{ display:block; }
audio, canvas, video{ display:inline-block; *display:inline; *zoom:1; }
audio:not([controls]){ display:none; height:0; }
html{ font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }
html, button, input, select, textarea{ font-family: Arial, sans-serif; height: 100%; }
body{ margin:0; padding:0; height: 100%;-webkit-font-smoothing: antialiased;}
a:active, a:hover, a:focus{ outline:0 }
nav ul, nav ol{list-style:none;list-style-image:none}
fieldset, ul { border: 0; margin: 0; padding: 0; }
img{ border:0; -ms-interpolation-mode:bicubic; vertical-align: middle; }
svg:not(:root){ overflow:hidden; }
figure, form{ margin:0; }
legend{ border:0;padding:0;white-space:normal; *margin-left:-7px; }
button, input, select, textarea{ font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle; }
button, input{ line-height:normal; }
button, html input[type="button"], input[type="reset"], input[type="submit"]{ -webkit-appearance:button; cursor:pointer; *overflow:visible; }
button[disabled], input[disabled]{ cursor:default; }
input[type="checkbox"], input[type="radio"]{ box-sizing:border-box; padding:0; }
input[type="search"]{ -webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration{ -webkit-appearance:none; }
button::-moz-focus-inner, input::-moz-focus-inner { border:0; padding:0; }
textarea { overflow:auto; vertical-align:top; }
table { border-collapse:collapse; border-spacing:0; }
.clearfloats { clear: both; }
.floatleft { float: left; }
.floatright { float: right; }
.disabled { pointer-events: none; opacity: 0.5; }	
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix {*zoom: 1; }
a { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
}

/* END RESET */

/* FONTS */

@font-face {
    font-family: 'ProximaNovaRegular';
    src: url('../fonts/proximanova-regular-webfont.eot');
    src: url('../fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-regular-webfont.woff') format('woff'),
         url('../fonts/proximanova-regular-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-regular-webfont.svg#ProximaNovaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNovaCondensedRegular';
    src: url('../fonts/proximanovacond-regular-webfont.eot');
    src: url('../fonts/proximanovacond-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanovacond-regular-webfont.woff') format('woff'),
         url('../fonts/proximanovacond-regular-webfont.ttf') format('truetype'),
         url('../fonts/proximanovacond-regular-webfont.svg#ProximaNovaCondensedRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNovaCondensedSemiBold';
    src: url('../fonts/proximanovacond-semibold-webfont.eot');
    src: url('../fonts/proximanovacond-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanovacond-semibold-webfont.woff') format('woff'),
         url('../fonts/proximanovacond-semibold-webfont.ttf') format('truetype'),
         url('../fonts/proximanovacond-semibold-webfont.svg#ProximaNovaCondensedSemiBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/opensans-regular-webfont.eot');
    src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-regular-webfont.woff') format('woff'),
         url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('../fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* GENERAL */

body {
	background: #f1ebe6;
	overflow-x: hidden;
}

#trigger {
	background: transparent;
	width: 1px;
	height: 1px;
	position: absolute;
	left: 0;
	top: 60%;
}

body#nopictures {
	background: #fff;
	height: auto;
}

header {
	background-color: #fff;
	padding: 27px 0 27px 0;
	height: 24px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 8000 !important;
	width: 100% !important;
}

body#nopictures header{
	border-bottom: 2px solid #f1ebe6;
}

#text {
	color: #2f2f2f;
	font-size: 12px;
	line-height: 21px;
	width: 370px;
	margin: 144px auto;
	font-family: open_sansregular, sans-serif;
}

/* HEADER */

.placeholder {
	height: 78px !important;
}

nav#mobilemenuswitch {
	position: absolute;
	z-index: 90;
	left: 40px;
	top: 50%;
	margin-top: -8px;
	width: 21px;
}

a#openmenu {
	background: url("../images/openmenu.png") no-repeat;
	background-size: 21px 16px;
	width: 21px;
	height: 16px;
}

#mobilesocial li {
	list-style: none;
	padding: 0 0 15px 0;
	font-family: ProximaNovaRegular, sans-serif;
	font-size: 12px;
	float: left;
	width: 50%;
}

#mobilesocial li.break {
	clear: left;
}

#mobilesocial li a {
	padding: 0 0 0 30px;
	color: #7e7e7e;
	text-decoration: none;
	display: inline-block;
}

#mobilesocial li a:hover {
	color: #cbcbcb;
	text-decoration: none;
}

#mobilesocial li a.email{
	background: 0 1px url("../images/email.png") no-repeat;
	background-size: 15px 10px;
	height: 12px;
}

#mobilesocial li a.flickr{
	background: 1px 3px url("../images/flr.png") no-repeat;
	background-size: 13px 6px;
	height: 10px;
}

#mobilesocial li a.twitter{
	background: 1px 1px url("../images/twitter.png") no-repeat;
	background-size: 12px 10px;
	height: 12px;
}

#mobilesocial li a.facebook{
	background: 4px 0 url("../images/facebook.png") no-repeat;
	background-size: 6px 12px;
	height: 12px;
}

#mobilesocial li a.behance{
	background: 0 2px url("../images/behance.png") no-repeat;
	background-size: 14px 9px;
	height: 11px;
}

#mobilesocial li a#location{
	background: url("../images/location.png") no-repeat;
	background-size: 11px 16px;
	height: 17px;
	padding-top: 2px;
}

#mobilemenu {
	display: none;
}

#logo {
	background: url("../images/logo_mathijsdelva.png") no-repeat;
	background-size: 47px 23px;
	margin: 0 62px 0 37px;
	display: block;
	width: 47px;
	height: 23px;
	float: left;
}

#logo:hover {
	background: url("../images/logo_mathijsdelva_hover.png") no-repeat;
}

nav#menu {
	float: left;
	width: auto;
}

nav#menu > ul {
	float: left;
	margin: 0 30px 0 0;
	border-left: 1px solid #cccccc;
	height: 24px;
	line-height: 26px;
}

nav#menu ul li {
	float: left;
	margin: 0 0 0 16px;
	text-transform: uppercase;
	font-family: ProximaNovaCondensedRegular, sans-serif;
	font-size: 13px;
}

nav#menu ul li a{
	text-decoration: none;
	color: #7e7e7e;
	-webkit-transition:color 0.2s ease-in;
	-moz-transition:color 0.2s ease-in;
	-o-transition:color 0.2s ease-in;
	transition:color 0.2s ease-in;
}

nav#menu ul li a:hover, nav#menu ul li a.active{
	text-decoration: none;
	color: #1c1c1c;
	-webkit-transition:color 0.2s ease-in;
	-moz-transition:color 0.2s ease-in;
	-o-transition:color 0.2s ease-in;
	transition:color 0.2s ease-in;
}

nav#menu ul#highlight li a {
	color: #3fc497;
}

nav#menu ul#highlight li a:hover, nav#menu ul#highlight li a.active {
	color: #1c1c1c;
}

nav#menu ul li a#contact {
	background: url("../images/contact.png") no-repeat;
	background-size: 16px 16px;
	display: block;
	width: 16px;
	height: 16px;
	margin: 4px 0 0 0;
	position: relative;
	z-index: 44;
}

nav#menu ul#social {
	position: relative;
	width: 140px;
}

nav#menu ul#social ul{
	position: absolute;
	left: -24px;
	top: 50%;
	float: none;
	width: 200px;
	display: none;
	margin-top: -5px;
}

nav#menu ul#social ul li {
	float: left;
}

nav#menu ul#social li#attention {
	float: none;
	position: absolute;
	right: 10px;
	top: 3px;
	background: url("../images/contactme.png") no-repeat;
	background-size: 85px 32px;
	width: 85px;
	height: 32px;
}

nav#menu ul li a#contact:hover {
	background: url("../images/contact_hover.png") no-repeat;
}

#social ul li a.email{
	background: url("../images/email.png") no-repeat;
	background-size: 15px 10px;
	width: 15px;
	height: 10px;
	display: block;
}

#social ul li a.flickr{
	background: url("../images/flr.png") no-repeat;
	background-size: 13px 6px;
	width: 13px;
	height: 6px;
	display: block;
	position: relative;
	top: 2px;
}

#social ul li a.twitter{
	background: url("../images/twitter.png") no-repeat;
	background-size: 12px 10px;
	width: 12px;
	height: 10px;
	display: block;
}

#social ul li a.facebook{
	background: url("../images/facebook.png") no-repeat;
	background-size: 6px 12px;
	width: 6px;
	height: 12px;
	display: block;
	position: relative;
	top: -1px;
}

#social ul li a.behance{
	background: url("../images/behance.png") no-repeat;
	background-size: 14px 9px;
	width: 14px;
	height: 9px;
	display: block;
	position: relative;
	top: 1px;
}

#loader {
	background: url("../images/loader.png") no-repeat;
	background-size: 18px 18px;
	width: 18px;
	height: 18px;
	position: absolute;
	z-index: 90;
	right: 37px;
	top: 50%;
	margin-top: -9px;
	color: #9b9896;
	display: none;
	-webkit-animation: spin 2s linear infinite;
	-moz-animation: spin 2s linear infinite;
	-ms-animation: spin 2s linear infinite;
	-o-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

#message {
	
	color: #9b9896;
	font-family: ProximaNovaRegular, sans-serif;
	font-size: 13px;
	display: none;
	text-align: center;
}

#bigloader {
	position: fixed;
	z-index: 1;
	left: 0;
	top: 78px;
	width: 100%;
}

.ui-progressbar { 
	background-color: #c4bebb;
}

.ui-progressbar .ui-progressbar-value {
	height: 2px; 
	background-color: #55b091;
}

@-webkit-keyframes spin
{
	from { -webkit-transform: rotate(360deg); }
	to   { -webkit-transform: rotate(0deg); }
}

@-moz-keyframes spin
{
	from { -moz-transform: rotate(360deg); }
	to   { -moz-transform: rotate(0deg); }
}

@-ms-keyframes spin
{
	from { -ms-transform: rotate(360deg); }
	to   { -ms-transform: rotate(0deg);}
}

@-o-keyframes spin
{
	from { -o-transform: rotate(360deg);}
	to   { -o-transform: rotate(0deg);}
}

@keyframes spin
{
	from { transform: rotate(360deg); }
	to   { transform: rotate(0deg); }
}

/* PHOTOGRAPHS */

#photographs {
	display: none;
	padding: 80px 0 2px 0;
	-webkit-overflow-scrolling: touch;
}

.item {
	position: relative;
}

.item .zoom {
	position: absolute;
	top: 13px;
	right: 13px;
	z-index: 30;
	background: #fff url("../images/fullscreen.png") no-repeat center center;
	background-size: 11px 11px;
	height: 21px;
	width: 21px;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	display: none;
}

.item .flickr {
	position: absolute;
	top: 13px;
	right: 44px;
	z-index: 30;
	background: #fff url("../images/flickr.png") no-repeat center center;
	background-size: 15px 7px;
	height: 21px;
	width: 21px;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	display: none;
}

.item .flickr:hover, .item .zoom:hover {
	background-color: #f4efeb;
}

#clicktoclose {
	background: rgba(0,0,0,0.75);
	height: 66px;
	width: 120px;
	margin-left: -90px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 9999;
	display: none;
	text-align: center;
	font-family: ProximaNovaRegular, sans-serif;
	font-size: 15px;
	line-height: 23px;
	padding: 22px 30px 0 30px;
	color: #fff;
}

/* TEXT */

#text h1{
	text-transform: uppercase;
	font-weight: normal;
	font-size: 24px;
	line-height: 24px;
	font-family: ProximaNovaCondensedRegular, sans-serif;
}

#text ul li {
	list-style: none;
}

#text a {
	color: #2f2f2f;
	text-decoration: none;
}

#text a:hover {
	color: #2f2f2f;
	text-decoration: underline;
}

.printmail {
	border-bottom: 1px solid #d8d8d8;
	text-decoration: none;
}

.printmail:hover {
	text-decoration: none !important;
	border-bottom: 1px solid #a4a4a4;
}

/* ABOUT */

#about {
	position: fixed;
	z-index: 9999;
	bottom: 0;
	width: 100%;
	font-size: 11px;
	color: #f9f9f9;
	display: none;
}

#innerabout {
	background-color: rgba(0,0,0,0.85);
	margin: 0 2px 0 2px;
	z-index: 100;
	padding: 22px 40px 22px 40px;
	height: 80px;
}

#nopictures #innerabout {
	margin: 0;
	background-color: rgba(0,0,0,1);
}

/*** MEDIAQUERIES ***/

@media (max-width: 1200px) {
	.fancybox-nav {
		position: absolute;
		width: 25px;
		height: 33px;
		opacity: 1;
	}
	.fancybox-nav span {
		width: 25px;
		height: 33px;
	}
	.fancybox-prev {
		background: url("../images/smallprev.png") no-repeat;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		left: 30px;
	}
	.fancybox-next {
		background: url("../images/smallnext.png") no-repeat;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		right: 30px;
	}
}

@media (max-width: 900px) { 
    #logo {
    	margin: 0 4% 0 4%;
    }
    nav {
    	width: 70%;
    }
    nav > ul {
    	margin: 0 3% 0 0;
    }
    nav ul#social {
	    position: relative;
	    width: 100px;
    }
    #loader {
    	right: 4%;
    }
}
 
@media (max-width: 768px) { 
    #openmenu {
    	display: block !important;
    }
    #logo {
    	margin: 0 auto;
    	width: 47px;
    	float: none;
    }
    nav#menu {
    	display: none;
    }
    #bigloader {
    	top: 77px;
    }
    #loader {
    	right: 8%;
    }
    #mobilesocial li {
    	width: 120px;
    }
    
    #mobilemenu {
    	display: none;
    	z-index: 89;
    	position: absolute;
    	top: 70px;
    	left: -8px;
    	background: rgba(255, 255, 255, 0.95);
    	padding: 14px 20px 14px 20px;
    	font-family: ProximaNovaCondensedRegular, sans-serif;
    	font-size: 15px;
    }
    
    #nopictures #mobilemenu {
    	background: rgba(0, 0, 0, 0.95);
    }
    
    #mobilemenu #toggler {
    	background: url("../images/toggler.png") no-repeat;
    	background-size: 11px 6px;
    	width: 11px;
    	height: 6px;
    	display: block;
    	position: absolute;
    	z-index: 99;
    	top: -6px;
    	left: 12px;
    }
    
    #nopictures #mobilemenu #toggler {
    	background: url("../images/toggler_nopictures.png") no-repeat;
    	background-size: 11px 6px;
    	width: 11px;
    	height: 6px;
    }
    
    #mobilemenu li {
    	list-style-type: none;
    	line-height: 24px;
    }
    
    #mobilemenu > li > ul li:last-of-type {
    	padding-right: 0;
    }
    
    #mobilemenu li a{
    	text-decoration: none;
    	color: #7e7e7e;
    	-webkit-transition:color 0.2s ease-in;
    	-moz-transition:color 0.2s ease-in;
    	-o-transition:color 0.2s ease-in;
    	transition:color 0.2s ease-in;
    }
    
    #mobilemenu li.highlight a{
    	text-decoration: none;
    	color: #37ad85;
    }
    
    #mobilemenu li a:hover {
    	text-decoration: none;
    	color: #1c1c1c;
    	-webkit-transition:color 0.2s ease-in;
    	-moz-transition:color 0.2s ease-in;
    	-o-transition:color 0.2s ease-in;
    	transition:color 0.2s ease-in;
    }
    
    #mobilemenu li a.active {
    	text-decoration: none;
    	color: #1c1c1c;
    }
    
    #mobilemenu li#contactme {
    	border-top: 1px solid #cacaca;
    	margin: 6px 0 0 0;
    	padding: 6px 0 0 0;
    }
    
    #nopictures #mobilemenu li a{
    	color: #d5d5d5;
    }
    
    #nopictures #mobilemenu li a:hover, #nopictures #mobilemenu li.highlight a:hover{
    	color: #fff;
    }
    
    #nopictures #mobilemenu li.highlight a{
    	color: #37ad85;
    }
    
    
}

@media (max-width: 639px) {
   	.item .zoom, .item .flickr {
   		display: none !important;
   	}
}
 
@media (max-width: 480px) {
	#text {
		width: 80%;
		margin: 0;
		margin-top: 112px;
		padding-left: 40px;
	}
	#innerabout {
		padding: 22px 24px 22px 24px;
	}
	#mobilesocial li a {
		padding: 0 0 0 22px;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { 
    a#openmenu {
    	background: url("../images/openmenu_@2x.png") no-repeat;
    	background-size: 21px 16px;
    	width: 21px;
    	height: 16px;
    }
    
    #mobilemenu #toggler {
    	background: url("../images/toggler_@2x.png") no-repeat;
    	background-size: 11px 6px;
    }
    
    #nopictures #mobilemenu #toggler {
    	background: url("../images/toggler_nopictures_@2x.png") no-repeat;
    	background-size: 11px 6px;
    }
    
    #logo {
    	background: url("../images/logo_mathijsdelva_@2x.png") no-repeat;
    	background-size: 47px 23px;
    	width: 47px;
    	height: 23px;
    }
    
    #logo:hover {
    	background: url("../images/logo_mathijsdelva_@2x_hover.png") no-repeat;
    	background-size: 47px 23px;
    	width: 47px;
    	height: 23px;
    }
    
    nav ul li a#contact {
    	background: url("../images/contact_@2x.png") no-repeat;
    	background-size: 16px 16px;
       	width: 16px;
    	height: 16px;
    }
    
    nav ul li a#contact:hover {
    	background: url("../images/contact_@2x_hover.png") no-repeat;
    	background-size: 16px 16px;
    	width: 16px;
    	height: 16px;
    }
    nav#menu ul#social li#attention {
    	background: url("../images/contactme_@2x.png") no-repeat;
    	background-size: 85px 32px;
    }
    #social ul li a.email{
    	background: url("../images/email_@2x.png") no-repeat;
    	background-size: 15px 10px;
    }
    
    #social ul li a.flickr{
    	background: url("../images/flr_@2x.png") no-repeat;
    	background-size: 13px 6px;
    }
    
    #social ul li a.twitter{
    	background: url("../images/twitter_@2x.png") no-repeat;
    	background-size: 12px 10px;
    }
    
    #social ul li a.facebook{
    	background: url("../images/facebook_@2x.png") no-repeat;
    	background-size: 6px 12px;
    	height: 14px;
    }
    
    #social ul li a.behance{
    	background: url("../images/behance_@2x.png") no-repeat;
    	background-size: 14px 9px;
    }
    
    #mobilesocial li a.email{
    	background: 0 2px url("../images/email_@2x.png") no-repeat;
    	background-size: 15px 10px;
    }
    
    #mobilesocial li a.flickr{
    	background: 1px 4px url("../images/flr_@2x.png") no-repeat;
    	background-size: 13px 6px;
    }
    
    #mobilesocial li a.twitter{
    	background: 1px 2px url("../images/twitter_@2x.png") no-repeat;
    	background-size: 12px 10px;
    }
    
    #mobilesocial li a.facebook{
    	background: 3px 2px url("../images/facebook_@2x.png") no-repeat;
    	background-size: 6px 12px;
    }
    
    #mobilesocial li a.behance{
    	background: 0 2px url("../images/behance_@2x.png") no-repeat;
    	background-size: 14px 9px;
    }
    
    #mobilesocial li a#location{
    	background: 0 2px url("../images/location_@2x.png") no-repeat;
    	background-size: 11px 16px;
    }
    
    #loader {
    	background: url("../images/loader_@2x.png") no-repeat;
    	background-size: 18px 18px;
    }
    
    .item .zoom {
    	background: #fff url("../images/fullscreen_@2x.png") no-repeat center center;
    	background-size: 11px 11px;
    }
    
    .item .flickr {
    	z-index: 30;
    	background: #fff url("../images/flickr_@2x.png") no-repeat center center;
    	background-size: 15px 7px;
    }
}