/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

:root {
	--h1: 48px;
	--h2: 32px;
	--h3: 24px;
	--h4: 18px;
	--h5: 16px;
	--blauw: #00AAEA;
	--donkerblauw: #1D428A;
	--groen: #1F6A55;
	--beige: #F2ECDA;
	--rood: #E60058;
	--radius: 2em;
}

/* grid */
.res-text {
    font-size: unset !important;
}

/* header */
.header-wrapper.stuck {
	box-shadow: none;
}
.nav > li > a {
    font-weight: 500 !important;
	font-size: 20px;
}
.header-button {
	margin-right: 2em;
}
p.hoofdzaken {
	padding-left: 10px;
}
p.hoofdzaken:before {
	content: 'x';
	position: absolute;
	left: -0.5em;
	top: 50%;
	transform: translateY(-50%);
}
	p.hoofdzaken img {
		max-width: 240px;
	}


	
/* global */
body, body p, body li {
	font-size: 18px;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-weight: 500 !important;
    line-height: 1.25em;
}
h1,
.h1,
.banner h1,
.banner .h1 {
	font-size: var(--h1);
	line-height: 1.1em;
}
h2,
.h2,
.banner h2,
.banner .h2 {
	font-size: var(--h2);
}
h3,
.h3,
.banner h3,
.banner .h3 {
	font-size: var(--h3);
}
h4,
.h4,
.banner h4,
.banner .h4 {
	font-size: var(--h4);
}
h5,
.h5 {
	font-size: var(--h5);
	letter-spacing: 0;
}
h6,
.h6 {
	font-size: 14px;
	opacity: 1;
	letter-spacing: 0;
}
.dark,
.dark p,
.dark td {
	color: #fff;
}
.uppercase {
	letter-spacing: 0;
}
p.intro {
	font-size: var(--h3);
	line-height: 1.5em;
}
strong {
    font-weight: 700;
}
small {
	font-size: 14px;
}
.nomargin,
.banner .nomargin {
	margin-bottom: 0;
	margin-top: 0;
}
.banner p {
	margin-top: 0;
}
.nopadding {
	padding-bottom: 0;
}
.parallax-active {
	opacity: 1 !important;
}

.blauw {
	color: var(--blauw) !important;
}
.section.bg-blauw {
	background-color: var(--blauw);
}
.groen {
	color: var(--groen) !important;
}
.section.bg-groen {
	background-color: var(--groen);
}
.beige {
	color: var(--beige) !important;
}

.row.width-30 {
	background-color: var(--beige);
}
	.section.bg-beige, .col.bg-beige .col-inner {
		background-color: var(--beige);
	}

/* buttons */
.button {
	font-weight: 700;
	text-transform: none;
	color: #000;
}
.button.is-outline {
	border-width: 1px;
	padding: 0 0.5em;
}
.button.is-medium {
	font-size: 20px;
	line-height: 2.4em;
}
.align-bottom {
	position: absolute;
	bottom: 0;
}
.button.is-link {
	padding: 0;
}

/* projecten */
#main, #wrapper, #content {
	background-color: transparent;
}

.item.project {
	width: 20%;
	xheight: 100%;
	padding: 0.75em 1.5em 0.75em 0;
	opacity: 1;
  	perspective: 1000px;
  	transition: all 0.25s;
}
.item.project:hover {
	transform: scale(1.01);
}
.project.active {
	cursor: pointer;
}
	
@keyframes schaduw {
  0% {
  	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
  }
  50% {
  	-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.5);
  }
  100% {
  	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
  }
}
.project.active:hover .project-inner {
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
	transform: scale(1.01);
	transition: transform 0.8s 0.1s;
}
	.project .project-inner {
		position: relative;
 		width: 100%;
  		xheight: 100%;
		background-color: #f2ecda;
		transition: transform 0.8s 0.1s;
  		transform-style: preserve-3d;
  		border-radius: 0.75vw;
  		transform: rotateY(180deg) scale(0.9);
  		-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
		-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
		box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
		height: 0;
    	padding-bottom: 140%;
	}
	.project.active .project-inner {
		animation-name: schaduw;
  		animation-duration: 0.8s;
  		animation-delay: 0.5s;
  		transition: width 0.4s, height 0.4s;
  		transform: rotateY(0deg);
	}
	.project.active:hover .kaart-voor {
  		-webkit-box-shadow: inset 10px 10px 75px 189px rgba(255,255,255,0.1);
		-moz-box-shadow: inset 10px 10px 75px 189px rgba(255,255,255,0.1);
		box-shadow: inset 10px 10px 75px 189px rgba(255,255,255,0.1);
	}
	.project.clicked .kaart-voor {
		border: 0.5vw solid rgba(255,255,255,0.5) !important;
	}
	
		.kaart-voor, .kaart-achter {
  			position: absolute;
  			padding: 1em;
  			border-radius: 0.75vw;
  			width: 100%;
  			height: 100%;
  			-webkit-backface-visibility: hidden; /* Safari */
  			backface-visibility: hidden;
  			xborder: 0.75vw solid rgba(255,255,255,0.5);
  			z-index: 9;
		}
		
		.item.project.cluster .kaart-voor {
			padding: 0;
			z-index: 8;
		}
		.kaart-voor {
			border: 0.5vw solid rgba(255,255,255,0.5);
		}
			.kaart-voor .img {
				margin: 0 auto;
			}
	.kaart-achter {
		transform: rotateY(180deg);
	}
	.project .project-inner .kaart-achter {
		background-color: #f2ecda !important;
		background-image: url('/wp-content/uploads/logo-3_RGB_def-1800x437.png');
		background-repeat: no-repeat;
		background-size: 80% auto;
		background-position: center;
	}
		.project .project-inner a {
			display: block;
			height: 100%;
		}
		
		.project .cluster-box {
			height: 120px;
			width: 100%;
			position: absolute;
			bottom: 0;
		}
		.project .cluster-box:before {
			content: '';
			position: absolute;
			width: 100%;
			height: 50px;
			top: -50px;
			background-color: inherit;
			clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		}
		.project .cluster-box.nieuwe-vormen-van-samenwerken {
			background-color: #DE9B28;
		}
		.project .cluster-box.herstel-en-kwaliteit-van-leven {
			background-color: #89D79B;
		}
		.project .cluster-box.slimmer-organiseren {
			background-color: #B895C3;
		}
		.project .cluster-box.gemaakt-met-patienten {
			background-color: #00AAEA;
		}
		.project .cluster-box.kennis-en-data-beter-delen {
			background-color: var(--rood);
		}
		.project .cluster-box.onbekend {
			background-color: #999;
		}
		.project a:hover .cluster-box {
			background-color: #62C0CB;
		}
			.project .cluster-box.nieuwe-vormen-van-samenwerken svg path {
				fill: #DE9B28;
			}
			.project .cluster-box.herstel-en-kwaliteit-van-leven svg path {
				fill: #89D79B;
			}
			.project .cluster-box.slimmer-organiseren svg path {
				fill: #B895C3;
			}
			.project .cluster-box.gemaakt-met-patienten svg path {
				fill: #00AAEA;
			}
			.project .cluster-box.onbekend svg path {
				fill: #999;
			}
			.project a:hover .cluster-box svg path {
				fill: #62C0CB;
			}
			.project .cluster-box.kennis-en-data-beter-delen svg path {
				background-color: var(--rood);
			}
		
		.project .icon-box {
			position: absolute;
			top: -75px;
			left: 0;
			right: 0;
			margin: 0 auto;
			width: 100px;
			height: 100px;
			border-radius: 50px;
			background-color: #FBFAF6;
		}
			.project .icon-box svg {
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
			}
			
		.project .project-inner h3 {
			max-width: 80%;
		}
		.project.cluster h3, .project.cluster p {
			padding: 1em;
		}
		.project .project-inner a:hover h3 {
			color: #62C0CB;
		}


body:not(.home) .filters {
	display: none;
}
.single-project .section.lightbox-content {
	max-width: unset;
}
	.single-project .lightbox-content .section-content {
		max-width: 850px;
		margin: 0 auto;
	}
.single-project footer {
	display: none;
}
/* nieuw */
.projecten {
	align-items: start;
}
.filters {
	background-color: var(--donkerblauw);
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
	position: fixed;
	bottom: 0;
	width: clamp(50vw, 800px, 100vw);
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 2em;
	z-index: 999;
}
	.filters .filters-sluiten {
		position: absolute;
		right: 2em;
		top: 2em;
		cursor: pointer;
	}
	
	.filters .bijdrage {
		position: relative;
	}
	.filters label {
		font-size: 1rem;
		font-weight: 400;
		xdisplay: inline;
	}
	.filters label input {
		vertical-align: top;
		margin-top: 4px;
	}
	.filters label p {
		display: inline-block;
		width: calc(100% - 32px);
		line-height: 1.25em;
		margin-left: 4px;
		margin-bottom: 0;
	}

.mfp-content {
	max-width: 800px;
}	
.mfp-content .lightbox-content {
	max-width: 800px;
	background-color: #fff;
	border-radius: var(--radius);
	padding: 2em;
	padding-top: 200px !important;
	padding-bottom: 100px !important;
}
.lightbox-content a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var(--donkerblauw);
}
	.mfp-content .lightbox-content .col.large-12 {
		padding: 15px 45px;
	}
		.mfp-content .lightbox-content .col.large-12 .col {
			padding: 15px 15px;
		}
.lightbox-content:before, .lightbox-content:after  {
	content: '';
	position: absolute;
	width: 100%;
	height: 280px;
	background-image: url('/wp-content/uploads/bg-popup-top.svg');
	top: 0;
	left: 0;
	z-index: 1;
	background-repeat: no-repeat;
	pointer-events: none;

}
.lightbox-content:after {
	background-image: url('/wp-content/uploads/bg-popup-bottom.svg');
	top: unset;
	bottom: 0;
	background-position: bottom right;
	z-index: 0;
	pointer-events: none;
}

body .mfp-close {
    mix-blend-mode: normal;
    opacity: 1 !important;
    color: #fff !important;
    background-color: #000;
}
body .mfp-close:before {
    content: 'Sluiten';
    font-size: 1rem;
    text-transform: none;
    position: absolute;
    right: 40px;
    color: #000;
}

/* animaties */
.slideUp {
	transform: translateY(20%);
	opacity: 0;
	animation: slide-up 1.5s ease-in-out forwards;
	animation-delay: 0.5s;
}
.slideUp.second {
	animation-delay: 1.5s;
}
.slideUp.third {
	animation-delay: 2.5s;
}
@keyframes slide-up {
	20% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translateY(0%);
	}
}
.slideInUp {
	transform: translate(0, 10vh);
	transition: all 1s ease-in-out;
	opacity: 0.5;

}
.slideInUp.zichtbaar {
	transform: translate(0, 0);
	opacity: 1;
}


/* afbeelding en vlak */
img.afbeelding {
	position: absolute;
	pointer-events: none;
}

.vlak {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	right: 0;
	bottom: 0;
	width: 100vw;
	padding: 0 !important;
	margin: 0 !important;
	z-index: -2;
}
.vlak-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	left: -1px;
	right: -1px;
}
.vlak.bg-groen .vlak-overlay {
	background-color: var(--groen);
}
.vlak.bg-goud .vlak-overlay {
	background-color: var(--goud);
}
.vlak-bg {
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	right: 0;
	bottom: 0;
	padding: 0 !important;
	margin: 0 !important;
}

/* footer */
footer {
	overflow: hidden;
}
.absolute-footer {
	display: none;
}


@media screen and (max-width: 850px) {
	:root {
		--huge: 68px;
		--headline: 36px;
		--h1: 25px;
		--h2: 20px;
		--h3: 20px;
		--h4: 18px;
		--radius: 10px;
	}
	#logo {
		width: 100px !important;
	}
	.header-button {
    	margin-right: 0em;
	}
	p.hoofdzaken img {
		max-width: 150px;
	}
	.button.align-bottom {
		position: unset;
	}
	.filters {
		transform: translateY(580px);
	}
	.mfp-container {
		padding: 0px;
	}
	.mfp-content .lightbox-content {
		border-radius: 0;
		min-height: 100vh;
		padding-top: 100px !important;
	}
	.mfp-content .mfp-close {
   		right: 0.5em;
   		top: 0.5em !important;
	}
	.lightbox-content:before, .lightbox-content:after  {
		width: 70%;
		height: 200px;
		background-size: contain;
	}
	.lightbox-content:after  {
		right: 0;
		left: unset;
	}
	.mfp-content .lightbox-content .col.large-12 {
    	padding: 15px 5px;
	}
	
	.item.project {
		width: 50%;
		padding: 0.5em;
	}
		.project .project-inner {
			padding-bottom: 160%;
		}
			.project .icon-box {
				padding: 10px;
    			top: -50px;
    			width: 60px;
   				height: 60px;
			}
				.project .icon-box svg {
					width: 60%;
				}
				.project .project-inner h3 {
    				max-width: unset;
				}
}

@media screen and (min-width: 851px) and (max-width: 1200px) {
	.item.project {
		width: 25%;
		padding: 0.5em;
	}
	.project .project-inner h3 {
    				max-width: unset;
				}
}