header {
	margin:           0 auto;
	background-color: #3f3f3f;
	width:            100%;
	/*max-height:       calc(100vh - 50px);*/
	max-height:       100vh;
    border-right: none;
    border-left: none;
    position: relative;
	}

#logo {
    font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 300;
	position: absolute;
	margin-left: 150px;
	margin-top: 40px;
	z-index: 200;
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0,0,0,1);
	}

#logo h1 {
	font-weight: 300;
	}

nav {
    font-family: 'Open Sans Condensed', sans-serif;
	position: absolute;
	right: 100px;
	margin-top: 40px;
	z-index: 200;
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0,0,0,1);
	}

nav li {
	display: inline-block;
	margin-right: 20px;
	}

nav a {
	color: #fff;
	text-decoration: none;
	}

.no-video .video-container video,
.touch .video-container video {
	display: none;
	}

.no-video .video-container .poster,
.touch .video-container .poster {
	display: block !important;
	}

.video-container {
	position:   relative;
	bottom:     0%;
	left:       0%;
	height:     100%;
	width:      100%;
	overflow:   hidden;
	background: #000;
	object-fit: cover;
	}

.video-container .poster img {
	width:    100%;
	bottom:   0;
	position: absolute;
	}

.video-container .filter {
	z-index:    100;
	position:   absolute;
	background: rgba(0, 0, 0, 0.4);
	width:      100%;
	}

.video-container video {
	position: absolute;
	z-index:  0;
	bottom:   0;
	}

.video-container video.fillWidth {
	width: 100%;
	}

#arrows {
	position: absolute;
	z-index: 200;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	width: 40px;
	margin-top: -50px;
	}

#quote-van-paul {
	position: absolute;
	width: 800px;
	z-index: 101;
    bottom: 100px;
    left: calc(50% + -400px);
	text-align: center;
	text-shadow: 1px 1px 3px rgba(0,0,0,1);
	}

	#quote-van-paul h2 {
		color: #fff;
		font: 300 26px 'Open Sans Condensed', sans-serif;
		font-style: italic;
		}

	#quote-van-paul h2 .fa {
		font-size: 10px;
		}


main {
	margin:         0 auto;
	width:          98%;
	margin-top:     40px;
	padding-bottom: 300px;
	background: -moz-linear-gradient(top, rgba(242, 242, 242, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
	background: -webkit-linear-gradient(top, rgba(242, 242, 242, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
	background: linear-gradient(to bottom, rgba(242, 242, 242, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
	filter:     progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6f2f2f2', endColorstr='#00000000', GradientType=0);
	}

	#main-portfolio {
		margin: 0 auto;
		padding-top: 40px;
		max-width: 80%;
		font: 300 26px 'Open Sans Condensed', sans-serif;
		text-align: center;
		}

	#main-text {
		margin:     0 auto;
		margin-top: 200px;
		max-width:  700px;
		text-align: center;
		font:       300 20px 'Open Sans Condensed', sans-serif;
		}

	main #main-text h1 {
		text-align: center;
		font:       700 26px 'Open Sans Condensed', sans-serif;
		color:      #494949;
		}

	main #main-text p {
		text-align: justify;
		color:      #494949;
		}

	main #klanten-logo {
		margin:           0 auto;
		margin-top:       100px;
		/*min-width:        380px;*/
		max-width: 80%;
		min-height:       100px;
		text-align:       center;
		font:             300 20px 'Open Sans Condensed', sans-serif;
		padding: 20px 10px;
		}

	main #klanten-logo h1 {
		font:             300 22px 'Open Sans Condensed', sans-serif;
		color: #3f3f3f;
		}

	main #klanten-logo img {
		opacity: 0.4;
		filter: grayscale(100%);
		transition: all .5s ease;
		}

	main #klanten-logo img:hover {
		filter: none;
		opacity: 1;
		}

	main #contact {
		margin:           0 auto;
		margin-top:       100px;
		/*min-width:        380px;*/
		max-width:        80%;
		text-align:       center;
		font:             300 20px 'Open Sans Condensed', sans-serif;
		background-color: #f6f6f6;
		padding:          20px 10px;
		}

	main #contact h1 {
		font:             700 20px 'Open Sans Condensed', sans-serif;
		}

	main #main-portfolio h1 {
		text-align: center;
		}

	main #main-portfolio h2 {
		text-align: center;
		font: 300 26px 'Open Sans Condensed', sans-serif;
		}

	.cat-filter {
		margin-top: 30px;
		margin-bottom: 30px;
		text-align: center;
		}
	.cat-filter li {
		list-style-type: none;
		display: inline-block;
		margin-right: 20px;
		}

	.cat-filter li .btn {
		padding: 5px 10px;
		text-decoration: none;
		color: #000;
		background-color: #cacaca;
		font: 700 18px 'Open Sans Condensed', sans-serif;
		border: none;
		cursor: pointer;
		}

	.cat-filter li .btn:hover {
		background-color: #9dafca;
		}

	.cat-filter li .active {
		background-color: #9dafca;
		}

	.portfolio-object {
		float: left;
		width: 216px;
		height: 137px;
		margin: 2px;
		text-align: center;

	    background-size: 100% 100%;
	    background-repeat: no-repeat;
	    background-position: center center;
		transition: all .5s ease;
		}

	.portfolio-object:hover {
		    cursor: pointer;
		    background-size: 120% 120%;
		}

	#main-portfolio .portfolio-object h1 {
		width: 216px;
		height: 77px;
		background-color: rgba(0,0,0,0.5);
		color: #fff;
		padding-top: 60px;
		font: 300 18px 'Open Sans Condensed', sans-serif;
		}




/* OVERLAY */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 300; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.2s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

	/* The navigation links inside the overlay */
	.overlay a {
		padding: 8px;
		text-decoration: none;
		font-size: 36px;
		color: #818181;
		display: block; /* Display block instead of inline */
		transition: 0.3s; /* Transition effects on hover (color) */
	}

	/* When you mouse over the navigation links, change their color */
	.overlay a:hover, .overlay a:focus {
		color: #f1f1f1;
	}

	/* Position the close button (top right corner) */
	.overlay .closebtn {
		position: absolute;
		z-index: 500;
		top: 20px;
		right: 45px;
		font-size: 60px;
	}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 30px; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	color: #fff;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}