/*
	Theme Name: VeenVitaal
	Theme URI: 
	Description: Thema voor VeenVitaal
	Author: Emile Zeldenrust
	Author URI: https://www.emilezeldenrust.nl/
	Version: 1.0
	Tags: 
*/

* {
    padding: 0px;
    margin: 0px;
}

:root {
	--bg: #f4faee;
	--tekst: #483322;
	--kleur1: #89aa39;
	--kleur2: #754c30;
}

body {
	position: relative;
	background-color: var(--bg);
	color: var(--tekst);
	font-size: 18px;
	line-height: 1.7;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
}

div {
	display: block;
}

a img {
	border: none;
	outline: none;
}

:focus, a:focus {
    outline: none;
}

::-webkit-scrollbar {
	display: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
	position: relative;
	height: auto;
	overflow: hidden;
}

/* ==========================================================================
   TEKST
   ========================================================================== */
   
p {
	margin: 0 0 10px 0;
}

p:empty {
	display: none;
}

a, a:visited {
	color: var(--kleur1);
}

a:hover, a:active, a:focus {
	color: var(--kleur1);
	text-decoration: none;
}

h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 34px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--kleur2);
	margin: 0 0 24px 0;
}

h2 {
	font-size: 26px;
	font-weight: bold;
	margin: 0 0 10px 0;
}

h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.entry-content p + h2, .entry-content .wp-block-list + h2, .entry-content p + h3, .entry-content .wp-block-list + h3 {
	margin-top: 40px;
}

h4 {
	font-size: 18px;
	margin: 0 0 10px 0;
}

h5 {
	font-size: 16px;
	margin: 0 0 10px 0;
}

h6 {
	font-size: 14px;
	margin: 0 0 10px 0;
}

hr {
	border: none !important;
	height: 2px !important;
	background-color: #000;
	margin: 10px auto 10px auto;
	width: 95%;
	opacity: 1;
}

.entry-content i {
	font-size: 20px;
	vertical-align: -2px;
	margin: 0 4px;
}

blockquote {
	margin: 0;
	padding: 30px 120px;
}

blockquote p {
	font-size: 25px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--kleur1);
	letter-spacing: 1.5px;
	margin: 0;
	text-wrap-style: balance;
}

.wp-block-image figcaption {
	text-align: center;
	font-size: 80%;
}

.entry-content p + .wp-block-columns, .entry-content .wp-block-list + .wp-block-columns, .entry-content p + .wp-block-image, .entry-content .wp-block-list + .wp-block-image {
	margin-top: 40px;
}

.wp-block-columns.logos {
	gap: 12px;
	margin: 0 0 24px;
}

@media (min-width: 1225px) {
	.wp-block-columns.logos {
		gap: 3vw;
		margin: 0 calc(-48vw + 600px) 24px;
	}
}

.wp-block-columns.logos .wp-block-image {
	position: relative;
	padding-bottom: 50%;
	height: 0;
	width: 100%;
	overflow: hidden;
	margin: 0;
}

.wp-block-columns.logos .wp-block-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ==========================================================================
   ALIGNMENT
   ========================================================================== */

div.spacer {
	width: 100%;
	clear: both;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

#content {
	max-width: 1224px;
}

.main-col {
	padding-top: 15px;
	padding-bottom: 15px;
	min-height: 100svh;
}

.inhoud > .entry-content > p,
.inhoud > .entry-content > h1,
.inhoud > .entry-content > h2,
.inhoud > .entry-content > h3,
.inhoud > .entry-content > h4,
.inhoud > .entry-content > h5,
.inhoud > .entry-content > h6,
.inhoud > .entry-content > ul,
.inhoud > .entry-content > ol {
	max-width: 70ch;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

/* YOUTUBE */

.wp-block-embed-youtube, .wp-block-embed-vimeo {
	display: inline-block;
	width: 100%;
	margin: 0 0 10px 0 !important;
}

.wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	width: 100%;
	overflow: hidden;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   TEGELS
   ========================================================================== */

.tegel {
	align-self: stretch;
	margin-bottom: 24px;
}

.tegel a {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	background-color: #fff;
	padding: 12px 12px 8px 12px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	-webkit-transition: box-shadow 0.18s ease;
	transition: box-shadow 0.18s ease;
}

.tegel a:hover {
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.tegel a:focus-visible {
	outline: 3px solid rgba(137, 170, 57, 0.55);
	outline-offset: 3px;
}

.tegel .plaatje {
	position: relative;
	display: block;
	width: calc(100% + 24px);
	height: 0;
	margin: -12px -12px 0;
	padding-bottom: 56.25%;
	overflow: hidden;
	background-color: #c4d49c;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center center;
	-webkit-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.tegel a:hover .plaatje {
	background-size: 110% auto;
}

.tegel .text-overlay {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}

.tegel p.datum {
	font-size: 12px;
	line-height: 1;
	margin: 6px 0 0;
	color: var(--kleur2);
	text-align: right;
}

.tegel h2 {
	font-size: 26px;
	line-height: 1.2;
	hyphens: auto;
	color: var(--kleur1);
	margin: 10px 0 0;
}

.tegel h2 + p {
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.8;
	hyphens: auto;
	margin-top: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tegel .leesmeer {
	align-self: flex-end;
	margin: auto 0 2px 0;
	background-color: var(--kleur1);
	color: var(--bg);
	font-size: 15px;
	padding: 2px 12px 0;
	-webkit-transition: all 0.35s ease-in-out;
	transition: all 0.35s ease-in-out;
}

.tegel a:hover .leesmeer {
	background-color: transparent;
	color: var(--kleur1);
}

/* ==========================================================================
   RESULTATEN
   ========================================================================== */

.nav-pills {
	--bs-nav-pills-border-radius: 0;
	--bs-nav-pills-link-active-color: var(--kleur2);
	--bs-nav-pills-link-active-bg: #deeac9;
	border-bottom: 24px solid #deeac9;
}

.nav-pills li {
	flex: 1;
}

.nav-pills .nav-link {
	width: 100%;
	padding: 7px 0;
	font-size: 18px;
	color: var(--bg);
	background-color: var(--tekst);
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
}

.tab-content {
	background-color: #deeac9;
	padding: 12px 36px 24px;
	min-height: 60svh;
}

.tab-content h3 {
	text-transform: capitalize;
	font-size: 18px;
	font-weight: bold;
}

.tab-content ul {
	list-style: none;
	padding: 0;
	margin: 0 0 36px;
}

.tab-content ul li {
	margin-bottom: 6px;
}

.tab-content a.resultatenlink {
	display: inline-block;
	padding: 4px 12px;
	text-decoration: none;
	color: var(--kleur2);
}

.tab-content a.resultatenlink:before {
	content: "\f1ea";
	font-family: "Font Awesome 6 Free";
	font-weight: 400;
	font-size: 30px;
	line-height: 1;
	margin-right: 12px;
	vertical-align: -5px;
	color: var(--kleur1);
	-webkit-transition: all 0.35s ease-in-out;
	transition: all 0.35s ease-in-out;
}

.tab-content a.resultatenlink[target="_blank"]:before {
	content: "\f08e";
	font-weight: 900;
}

.tab-content a.resultatenlink[href$=".pdf"]:before {
	content: "\f1c1";
	font-weight: 400;
}

.tab-content a.resultatenlink[href$=".docx"]:before, .tab-content a.resultatenlink[href$=".doc"]:before {
	content: "\f1c2";
	font-weight: 400;
}

.tab-content a.resultatenlink[href$=".xlsx"]:before, .tab-content a.resultatenlink[href$=".xls"]:before {
	content: "\f1c3";
	font-weight: 400;
}

.tab-content a.resultatenlink[href$=".pptx"]:before, .tab-content a.resultatenlink[href$=".ppt"]:before {
	content: "\f1c4";
	font-weight: 400;
}

.tab-content a.resultatenlink:hover:before {
	margin-right: 24px;
}

/* ==========================================================================
   MEDEWERKERS
   ========================================================================== */

.page-id-55 .main-col > h2 {
	text-align: center;
	letter-spacing: 3px;
	margin-bottom: 24px;
}

.page-id-55 .main-col > .medewerker + h2 {
	margin-top: 48px;
}

.medewerker {
	position: relative;
	height: 224px;
	overflow: hidden;
	background-color: #fff;
	padding: 24px 12px;
	margin-bottom: 24px;
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.medewerker.uitgeklapt {
	height: auto;
}

.medewerker > div {
	height: 100%;
	overflow: hidden;
}

.medewerker .portret {
	height: 0;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	margin-bottom: 24px;
}

.medewerker blockquote {
	padding: 12px;
	background-color: var(--kleur1);
}

.medewerker blockquote p {
	color: var(--bg);
	font-size: 15px;
	letter-spacing: 1px;
	text-wrap-style: auto;
}

.medewerker h3 {
	font-weight: bold;
	color: var(--kleur2);
	margin: 0;
	font-size: 24px;
}

.medewerker p.functie {
	line-height: 1.4;
	margin-bottom: 12px;
}

.medewerker p.functie:before {
	display: inline;
	content: "›";
	font-size: 22px;
	margin-right: 6px;
}

.medewerker p.functie span {
	font-weight: bold;
	color: var(--kleur1);
}

.medewerker .entry-content {
	font-size: 16px;
	line-height: 1.6;
	color: var(--kleur2);
}

.medewerker > i {
	position: absolute;
	bottom: 12px;
	right: 0;
	width: fit-content;
	color: var(--kleur1);
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.medewerker:hover > i {
	opacity: 0.6;
}

.medewerker.uitgeklapt > i {
	display: none;
}

/* ==========================================================================
   ZOEKRESULTATEN
   ========================================================================== */

.zoeken .tegel a {
	flex-direction: row;
}

.zoeken .tegel .plaatje {
	flex: 20% 0 0;
	padding-bottom: 20%;
	margin: -12px 12px -10px -12px;
	background-size: cover;
}

.zoeken .tegel a:hover .plaatje {
	background-size: cover;
}

.zoeken .tegel h2 {
	margin: 0;
}

.zoeken .tegel p.datum {
	margin: 0 0 6px;
}

.zoeken .tegel p.datum + p {
	max-height: 92px;
	overflow: hidden;
}

@media (max-width: 1224px) {
	.zoeken .tegel .plaatje {
		flex: 201px 0 0;
		padding-bottom: 201px;
	}
}

/* ==========================================================================
   SINGLE NIEUWSITEM
   ========================================================================== */

.single-nieuws p.datum {
	margin: -12px 9px 24px 0;
	font-size: 15px;
	text-align: right;
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

.gebied-container {
	position: relative;
	padding-bottom: 80%;
	height: 0;
	max-width: 100%;
}

.gebied-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.wp-block-buttons.is-content-justification-left {
	justify-content: flex-start;
}

.wp-block-buttons.is-content-justification-center {
	justify-content: center;
}

.wp-block-buttons.is-content-justification-right {
	justify-content: flex-end;
}

.wp-block-buttons div.wp-block-button {
	margin: 0 0 20px 0;
}

a.wp-block-button__link, a.wp-block-button__link:visited, a.wp-block-button__link:focus {
	display: inline-block;
	width: auto;
	height: auto;
	background-color: var(--kleur1);
	border: none;
	-webkit-border-radius: 0;
	border-radius: 0;
	color: var(--bg);
	font-size: 16px;
	padding: 10px 20px;
	text-decoration: none;
	line-height: normal;
	font-family: inherit;
	font-weight: bold;
	text-transform: none;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

a.wp-block-button__link:hover, a.wp-block-button__link:active {
	background-color: transparent !important;
	color: var(--kleur1) !important;
}

/* ==========================================================================
   GALERIJ
   ========================================================================== */

.wp-block-gallery {
	margin: 24px 0 !important;
	gap: 1vw !important;
	justify-content: space-between;
}

.wp-block-gallery figure.wp-block-image {
	margin: 0 !important;
	flex-grow: 0 !important;
}

.wp-block-gallery.columns-1 figure.wp-block-image {
	width: 100% !important;
}

.wp-block-gallery.columns-2 figure.wp-block-image {
	width: calc(50% - 0.5vw) !important;
}

.wp-block-gallery.columns-3 figure.wp-block-image, .wp-block-gallery.columns-default figure.wp-block-image {
	width: calc(33.33% - 0.67vw) !important;
}

.wp-block-gallery.columns-4 figure.wp-block-image {
	width: calc(25% - 0.75vw) !important;
}

.wp-block-gallery.columns-5 figure.wp-block-image {
	width: calc(20% - 0.8vw) !important;
}

.wp-block-gallery.columns-6 figure.wp-block-image {
	width: calc(16.66% - 0.83vw) !important;
}

.wp-block-gallery.columns-7 figure.wp-block-image {
	width: calc(14.28% - 0.86vw) !important;
}

.wp-block-gallery.columns-8 figure.wp-block-image {
	width: calc(12.5% - 0.88vw) !important;
}

.wp-block-gallery figure.wp-block-image:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	margin: 0;
	transition: all 0.5s;
	opacity: 0;
	background: rgba(255,255,255,1.00);
	-webkit-box-shadow: inset 0 0 100px 20px #000;
	box-shadow: inset 0 0 100px 20px #000;
	pointer-events: none;
}

.wp-block-gallery figure.wp-block-image:hover:before {
	opacity: 0.4;
}

.wp-block-gallery figure.wp-block-image figcaption {
	display: none !important;
}

/* ==========================================================================
	NIVO-LIGHTBOX
	========================================================================== */

body .nivo-lightbox-theme-default .nivo-lightbox-prev {
	top: 0;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
	background-size: contain;
	width: 70px;
	max-width: 8vw;
}

body .nivo-lightbox-theme-default .nivo-lightbox-next {
	top: 0;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
	background-size: contain;
	width: 70px;
	max-width: 8vw;
}

body .nivo-lightbox-theme-default .nivo-lightbox-close {
	width: 25px;
	height: 25px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
	background-size: contain;
	background-position: center center;
}

body .nivo-lightbox-theme-default.nivo-lightbox-overlay {
	background: #000;
	z-index: 12;
}

body .nivo-lightbox-wrap {
	top: 10px;
	bottom: 26px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title-wrap {
	bottom: -26px;
	height: 26px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title {
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	text-transform: none;
	padding: 5px;
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

body > footer {
	padding: 2vw 2vw 0.5vw !important;
	background-color: var(--kleur2);
	color: var(--bg);
	margin-top: 100px;
}

body > footer > ul {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	gap: 10%;
}

body > footer > ul li {
	list-style: none;
	flex-shrink: 1;
}

body > footer > ul li:first-child {
	flex-grow: 1;
}

body > footer > ul li:last-child {
	flex-basis: 300px;
}

body > footer > ul li .wp-block-columns {
	margin-bottom: 0;
}

body > footer p {
	font-size: 14px;
}

body > footer .wp-block-image {
	margin-bottom: 0;
}

p.footer-credits {
	text-align: left;
}