/*
	Theme Name: plan d-
	Theme URI: 
	Description: Thema voor plan d-
	Author: Emile Zeldenrust
	Author URI: https://www.emilezeldenrust.nl/
	Version: 1.0
	Tags: 
*/

* {
	padding: 0px;
	margin: 0px;
}

:root {
	--bg: #fff;
	--tekst: #000;
	--kleur1: #ffff00;
	--kleur2: #fbdde2;
	--kleur3: #d6e1c7;
	--kleur4: #c2edf4;
	--kleur5: #dfbfaa;
	--kleur6: #c0fff5;
	--kleur7: #ff85dc;
	--thema: var(--kleur1);
}

body {
	position: relative;
	background-color: var(--bg);
	color: var(--tekst);
	font-size: 24px;
	line-height: 1.25;
	font-family: 'Asap', sans-serif;
}

div {
	display: block;
}

a img {
	border: none;
	outline: none;
}

:focus, a:focus {
	outline: none;
}

::-webkit-scrollbar {
	display: none;
}

/* ==========================================================================
	POP-UPs
	========================================================================== */

.stamp-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	overflow: hidden;
	pointer-events: none;
	z-index: 9999;
}

.stamp-container img.stamp {
	position: absolute;
	display: block;
	transform: translate(-50%, -50%);
	transition: all 0.35s ease-in-out;
}

/* ==========================================================================
	HEADER
	========================================================================== */

body:not(.calm-mode) > header {
	position: absolute;
	top: calc(30px + 18.4vw);
	width: 100%;
	height: 132px;
	background-color: var(--thema);
}

a.topknop {
	position: fixed;
	display: block;
	width: 110px;
	height: 66px;
	right: 70px;
	bottom: 40px;
	background-image: url('images/topknop.png');
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.35s linear;
}

a.topknop.sticky {
	position: absolute;
	bottom: 294px;
}

/* ==========================================================================
	TEKST
	========================================================================== */
	
p {
	margin: 0 0 10px 0;
}

p:empty {
	display: none;
}

div.collapse + p {
	margin-top: 10px;
}

a, a:visited, a:focus {
	color: inherit;
	text-decoration: underline;
}

a:hover, a:active {
	color: inherit;
	text-decoration: none;
}

p a, h2 a, a.uitklap-titel {
	font-weight: 900;
}

h1 {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 153px;
	font-family: 'Logical', sans-serif;
	text-transform: uppercase;
	font-size: 75px;
	line-height: 1.02;
	font-weight: 900;
	margin: 18px 0 0 0;
}

body:not(.calm-mode) h1:after {
	position: absolute;
	display: block;
	content: "";
	background-color: var(--thema);
	width: 102vw;
	height: 132px;
	top: 50%;
	left: calc(-1vw - 30px);
	z-index: -1;
	transform-origin: 30px;
	rotate: -3deg;
	transform: translateY(-50%);
}

h2 {
	font-family: 'Asap', sans-serif;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0;
}

h2.variant {
	font-family: 'Logical', sans-serif;
	text-transform: uppercase;
	font-size: 38px;
	font-weight: 900;
}

h3 {
	font-family: 'Asap', sans-serif;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 400;
	margin: 0;
}

h4 {
	font-size: 24px;
	margin: 0 0 10px 0;
}

h5 {
	font-size: 20px;
	margin: 0 0 10px 0;
}

h6 {
	font-size: 16px;
	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: 20px 0 30px;
}

blockquote > p {
	font-size: 30px;
	line-height: 1.2;
	font-style: italic;
}

blockquote > cite {
	font-size: 17px;
	line-height: 1.2;
	font-style: italic;
}

figcaption {
	font-style: italic;
	font-size: 17px;
	line-height: 1.2;
	padding-top: 5px;
}

/* ==========================================================================
	ALIGNMENT
	========================================================================== */

div.spacer {
	width: 100%;
	clear: both;
}

/* ==========================================================================
	CONTENT
	========================================================================== */

#content {
	--bs-gutter-x: 60px;
	overflow: hidden;
}

#content > .row {
	--bs-gutter-x: 0;
}

.main-col {
	padding-top: 0;
	padding-bottom: 132px;
	padding-right: 12.5%;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.image-container img {
	display: block;
	width: 100%;
	height: auto;
}

.image-container.is-landscape {
	padding-right: 14.3%;
}

.image-container.is-portrait {
	padding-right: calc(42.9% + 9px);
}

.image-container.is-portrait.groot {
	padding-right: 14.3%;
}

.image-container.is-square {
	padding-right: 14.3%;
}

.entry-content > .wp-block-image {
	padding-right: 14.3%;
	margin: 0 0 25px;
}

.entry-content div.collapse + .wp-block-image {
	margin-top: 40px;
}

/* 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%;
}

/* ==========================================================================
	VOORSTELLINGEN
	========================================================================== */

.page-id-56, .page-id-212, .page-id-214, .page-id-216 {
	--thema: var(--kleur2);
}

.tegel {
	margin-bottom: 4vw;
}

.page-id-56 .tegel:nth-of-type(2n+1) h1:after, .page-id-212 .tegel:nth-of-type(2n+1) h1:after, .page-id-214 .tegel:nth-of-type(2n+1) h1:after {
	rotate: 3deg;
}

.tegel > .image-container {
	margin-top: 30px;
}

/* ==========================================================================
	SINGLE VOORSTELLING
	========================================================================== */

.single-voorstelling {
	--thema: var(--kleur3);
}

.single-voorstelling h1:after {
	rotate: 3deg !important;
}

.single-voorstelling .image-container {
	margin: 30px 0 50px;
}

.single-voorstelling .agenda-item {
	margin-bottom: 30px;
}

.single-voorstelling .agenda-item .midden {
	height: 164px;
}

.single-voorstelling h2.agendaknop {
	margin-top: -10px;
}

.single-voorstelling .image-container.trailer {
	width: 85.7%;
	padding: 0;
	position: relative;
	aspect-ratio: 16/9;
	min-height: 40vw;
	cursor: pointer;
}

.single-voorstelling .image-container.trailer img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-voorstelling .image-container.fotos a {
	display: none;
}

.single-voorstelling .image-container.fotos a:first-child {
	position: relative;
	display: block;
	height: 0;
	padding-bottom: 56.25%;
}

.single-voorstelling .image-container.fotos a img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}

.single-voorstelling .image-container.trailer .trailer-play-btn, .single-voorstelling .image-container.fotos a:after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: 10vw;
	height: 7.8vw;
	background-image: url('images/play.png');
	background-size: cover;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.single-voorstelling .image-container.trailer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	z-index: 9999;
}

.single-voorstelling .image-container.fotos a:after {
	background-image: url('images/foto.png');
}

.single-voorstelling h1.scholen {
	padding-top: 40px;
}

/* ==========================================================================
	AGENDA
	========================================================================== */

.page-id-59 {
	--thema: var(--kleur4);
}

.agenda {
	padding: 0;
}

.page-id-59 .agenda h1 {
	margin-top: 60px;
}

.page-id-59 .agenda h1:first-of-type {
	margin-top: 5vw;
}

.page-id-59 .agenda h1:nth-of-type(3n+2):after {
	rotate: 2deg;
}

.page-id-59 .agenda h1:nth-of-type(3n+3):after {
	rotate: -2deg;
}

.agenda-item {
	display: flex;
	gap: 40px;
	margin-bottom: 50px;
}

.agenda-item .links img {
	width: 267px;
	height: 200px;
	object-fit: cover;
}

.agenda-item .midden {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 210px;
}

.agenda-item .midden > h2:first-of-type span {
	font-family: 'Asap', sans-serif;
	font-size: 30px;
	font-weight: 400;
}

.agenda-item .midden > h2.variant a {
	text-decoration: none;
}

.agenda-item .midden > h2.plaats {
	margin-bottom: auto;
}

/* ==========================================================================
	VOOR SCHOLEN
	========================================================================== */

.page-id-134 {
	--thema: var(--kleur5);
}

.page-id-134 h1.entry-title:after {
	rotate: 3deg;
}

.page-id-134 .entry-content h1 {
	margin-bottom: -20px;
}

.page-id-134 .entry-content h1:after {
	rotate: -2deg;
	top: 65%;
}

.page-id-134 .entry-content h2 {
	font-family: 'Logical', sans-serif;
	text-transform: uppercase;
	font-size: 38px;
	font-weight: 900;
	margin-top: 60px;
}

.page-id-134 .entry-content h2:first-of-type {
	margin-top: 40px;
}

/* ==========================================================================
	NIEUWS
	========================================================================== */

.page-id-136 {
	--thema: var(--kleur6);
}

.page-id-136 .main-col {
	padding-top: 40px;
}

.page-id-136 .tegel {
	margin-bottom: 60px;
}

.page-id-136 .tegel h2.datum {
}

.page-id-136 .tegel:nth-of-type(2n+1) h1 {
	margin-top: -10px;
	margin-bottom: 20px;
}

.page-id-136 .tegel:nth-of-type(2n+1) h1:after {
	rotate: 3deg;
}

.page-id-136 .tegel:nth-of-type(2n+2) h1 {
	margin-top: -10px;
}

.page-id-136 .tegel p + .wp-block-image {
	margin-top: 40px;
}

/* ==========================================================================
	WIE IS WIE?
	========================================================================== */

.page-id-151 .entry-content .wp-block-columns {
	gap: 25px;
	margin-bottom: 30px;
}

.page-id-151 .entry-content .wp-block-columns a[href^="mailto"] {
	font-weight: 400;
	text-decoration: none;
}

/* ==========================================================================
	ANBI
	========================================================================== */

.page-id-153 .entry-content p {
	margin-bottom: 20px;
}

/* ==========================================================================
	CONTACT
	========================================================================== */

.page-id-155 h1.entry-title {
	font-size: 0;
}

.page-id-155 h1.entry-title:before {
	content: "Contact Plan d-";
	font-size: 75px;
}

.page-id-155 .entry-content p {
	margin-bottom: 20px;
}

.page-id-155 .entry-content .wp-block-columns a[href^="mailto"] {
	font-weight: 400;
}

/* ==========================================================================
	TOETOE
	========================================================================== */

.page-id-577 {
	--thema: var(--kleur7);
}

.page-id-577 #content {
	margin-top: -6vw;
}

.page-id-577 h1.entry-title {
	display: none;
}

.page-id-577 .entry-content > .wp-block-image:first-child {
	position: relative;
	padding: 0 0 0 14.29%;
	z-index: 10;
}

.page-id-577 .entry-content > h1:first-of-type:after {
	rotate: 3deg;
}

/* ==========================================================================
	HOMEPAGE
	========================================================================== */

#homevideo {
	position: absolute;
	width: 38.2vw;
	top: calc(36vw + 30px);
	right: 13vw;
	z-index: 10;
}

.page-id-12 .video-wrapper {
    position: relative;
    padding-bottom: 57%;
    height: 0;
    overflow: hidden;
}

.page-id-12 .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#video-toggle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 0;
	border: none;
	cursor: pointer;
	transform: translate(-50%, -50%);
	z-index: 10;
	pointer-events: all;
}

#video-toggle-btn img {
	width: 10vw;
	height: auto;
	display: block;
}

#homevideo:hover #video-toggle-btn, #video-toggle-btn[aria-label="Afspelen"] {
	opacity: 1 !important;
}

.page-id-12 #telefoon {
	position: absolute;
	display: block;
	top: calc(28vw + 30px);
	right: 8vw;
	width: 49vw;
	height: auto;
	z-index: 10;
	pointer-events: none;
}

.page-id-12 #content {
	margin-top: -3vw;
}

.page-id-12 h1:nth-of-type(1) {
	margin-top: 5vw;
}

.page-id-12 h1:nth-of-type(2):after {
	rotate: 2deg;
}

.page-id-12 h1:nth-of-type(3):after {
	rotate: -2deg;
}

.page-id-12 .image-container {
	margin-top: 30px;
}

/* ==========================================================================
	ZOEKRESULTATEN
	========================================================================== */

.search h1.entry-title {
	min-height: 0;
	margin: 30px 0 -6px;
}

.search h1.entry-title:after {
	display: none;
}

.search h1.entry-title + h2 {
	margin: 0 0 40px;
}

.search .tegel {
	margin-bottom: 40px;
}

.search .tegel p {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================================================
	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 {
	display: inline-block;
	width: auto;
	height: auto;
	background-color: #000;
	border: none;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	color: #fff;
	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, a.wp-block-button__link:focus {
	background-color: #fff !important;
	color: #000 !important;
}

/* ==========================================================================
	GALERIJ
	========================================================================== */

.wp-block-gallery {
	margin-bottom: 20px !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='%23000' 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: 5vw;
	opacity: 1;
}

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='%23000' 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: 5vw;
	opacity: 1;
}

body .nivo-lightbox-theme-default .nivo-lightbox-prev:hover, body .nivo-lightbox-theme-default .nivo-lightbox-next:hover {
	background-color: transparent;
}

body .nivo-lightbox-theme-default .nivo-lightbox-close {
	width: 3vw;
	height: 3vw;
	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='%23000' stroke-width='4' 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;
	opacity: 1;
}

body .nivo-lightbox-theme-default.nivo-lightbox-overlay {
	background: var(--bg);
	z-index: 10000;
}

body .nivo-lightbox-wrap {
	top: 30px;
	bottom: 60px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title-wrap {
	bottom: -56px;
	height: 41px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title {
	background: transparent;
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	text-transform: none;
	padding: 10px;
	color: var(--tekst);
}

/* ==========================================================================
	FORMULIEREN
	========================================================================== */

input[type=button], input[type=submit], input[type=text], input[type=email], textarea, input[type=search] {
	-webkit-appearance: none; /*Safari/Chrome*/
	-moz-appearance: none; /*Firefox*/
	-ms-appearance: none; /*IE*/
	-o-appearance: none; /*Opera*/
	appearance: none;
}

/* PLACEHOLDERS */
::-webkit-input-placeholder { /* WebKit browsers */
	 color: #999 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	 color: #999 !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	 color: #999 !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	 color: #999 !important;
}

/* ==========================================================================
	FOOTER
	========================================================================== */

body > footer {
	border-top: 132px solid var(--thema);
	padding: 16px 30px 60px !important;
	background-color: transparent;
	color: var(--tekst);
}

body.calm-mode > footer {
	border-color: transparent;
}

body > footer > ul {
	padding: 0;
	margin: 0;
}

body > footer > ul li {
	list-style: none;
}

body > footer h2 {
	font-family: 'Logical', sans-serif;
	text-transform: uppercase;
	font-size: 38px;
	font-weight: 900;
	margin: 0;
}

body > footer a, body > footer a:visited, body > footer a:hover, body > footer a:active, body > footer a:focus {
	color: var(--tekst);
	text-decoration: none;
}

body > footer .socials {
	float: right;
	display: flex;
	gap: 10px;
}

body > footer .socials img {
	height: 46px;
	width: auto;
}

body > footer .wp-block-image {
	margin-bottom: 0;
}