/*
Theme Name:   Glasatelier Anja
Theme URI:    https://www.rootcase.nl
Author: 	Rootcase
Author URI: https://www.rootcase.nl
Description:  Custom built template
Version: 1.0

*/

:root {
	--grey: #808080;
	--primary: #B32B55;
	--secondary: #E6D5D2;
	--lighter: #f2eae8;
	--gutter: 1rem;
	--font1: 'Open Sans', sans-serif;
	--font2: 'Open Sans Condensed', sans-serif;
	--fontsize2: .86rem;
	--lineheight2: 1.3rem;
}


html,
body {
	min-height: 100%;
	font-size: 20px;
}


body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0px;
	padding: 0px;
	font-size: 20px;
	line-height: 1.4;
	color: black;
	font-weight: 300;
	font-family: var(--font1);
	background: var(--lighter);
}

body.home {
	background: var(--secondary);
}

main {
	flex: 1;
	position: relative;
	min-height: 0;
}

footer {
	flex-shrink: 0;
	padding: 2rem 0;
	background: white;
	z-index: 10;
}

.footermenu {
	display: flex;
	font-weight: 900;
	font-family: var(--font2);
}

.footermenu .col {
	width: 50%;
}

.cookieshold strong,
.footermenu strong {
	color: var(--primary);
	font-weight: 900;	
}

.cookieshold {
	font-family: var(--font2);
}

.cookieshold p:first-of-type,
.footermenu p:first-of-type {
	margin-top: 0;
}


.footermenu a strong,
.footermenu a {
	transition: color .25s;
}

.footermenu a:hover strong,
.footermenu a:hover {
	color: var(--grey) !important;
}

.cookieshold p:last-of-type,
.footermenu p:last-of-type {
	margin-bottom: 0;
}


.socials {
	display: flex;
	flex-direction: row;
	height: 2rem;
	justify-content: flex-end;
	width: 100%;
	margin-top: 1rem;
}

.socials svg {
	fill:var(--primary);
	display: block;
	height: 2rem;
	width: auto;
}

.socials a {
	margin-left: .5rem;
}

.socials a:hover svg {
	fill:var(--grey);
}

.copyrighthold {
	text-align: right;
	font-weight: 900;
	font-family: var(--font2);
	color: var(--primary);
	padding-right: 1rem;
}


ul {
	list-style-position: outside;
	margin-left: 0;
	padding-left: 1em;
}

a {
	color: inherit;
	text-decoration: none;
}

.sectioninner {
	padding: 0 2rem;
	max-width: 1640px;
	margin: auto;
	position: relative;
}


.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gutter);
}

.col-2 {
	grid-column: span 2;
}

.col-3 {
	grid-column: span 3;
}

.col-4 {
	grid-column: span 4;
	position: relative;
}

.col-6 {
	grid-column: span 6;
}

.col-7 {
	position: relative;
	grid-column: span 7;
}
.col-8 {
	position: relative;
	grid-column: span 8;
}


.col-9 {
	position: relative;
	grid-column: span 9;
}

.col-12 {
	grid-column: span 12;
}

.top {
	position: relative;
	padding-bottom: 4rem;
}

.headerbg {
	position: absolute;
	inset: 0;
	display: flex;
}

.headerbg img {
	object-fit: cover;
	width: 100%;
	height: auto;
}

.logohold {
	margin-left: calc((100cqw - (11 * var(--gutter))) / 12 * -1 - var(--gutter));
	position: relative;
}

.logohold svg {
	display: block;
	width: calc(
		((100cqw - (11 * var(--gutter))) / 12 * 4.5)
		+ (4 * var(--gutter))
	);
	position: absolute;
	fill:white;
}

.logo {
	position: relative;
}

.logo img {
	width: calc(
		((100cqw - (11 * var(--gutter))) / 12 * 2)
		+ (2 * var(--gutter))
	);
	margin-left: calc((100cqw - (11 * var(--gutter))) / 12 * 1 + var(--gutter));
	margin-top:2rem;
	height: auto;
	display: block;
}

main {
	flex: 1;
	position: relative;
	min-height: 0;
	max-width: 100%;
	overflow: hidden;
}

.bgwrap {
	position: absolute;
	inset: 0;
}

.bgwrap .sectioninner {
	height: 100%;
}

.bgwrap .grid {
	height: 100%;
}

.bgwrap .bghold {
	height: 100%;
	pointer-events: auto;
}

.bgwrap .slider,
.bgwrap .slick-list,
.bgwrap .slick-track,
.bgwrap .slick-slide,
.bgwrap .slide {
	height: 100%;
}

.bgwrap .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right bottom;
	display: block;
}

.menuhold {
	padding: 0 1.5rem;
	background: white;
	border-radius: 2rem;
	position: absolute;
	right: 0;
	bottom: .5rem;
}

.hamburger {
	display: none;
}

.menu {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-family: var(--font2);
	
}



.menu li {
	display: inline-block;
	color: var(--primary);
	padding: 1rem 0;
}

.menu li:not(:last-child)::after {
	content: "|";
	display: inline-block;
	margin: 0 .5rem;
	color: black;
	top: -.1rem;
	position: relative;
}


.menu .sub-menu {
	position: absolute;
	padding: 0 1.5rem;
	border-radius: 2rem;
	background: var(--primary);
	margin: 0;
	top:100%;
	display: none;
	margin-left: -1.5rem;
	z-index: 100;
}

.menu:has(> .menu-item-has-children:hover) > .current-menu-parent:not(:hover) > .sub-menu {
	display: none;
}

.menu li.current-menu-parent .sub-menu,
.menu li:hover .sub-menu {
	display: block;
}

.menu .sub-menu li {
	color: white;
}


.menu .sub-menu li :not(:last-child)::after {
	color: white;
}


.current-menu-item > a,
.current-menu-ancestor > a,
.menu li:hover {
	color: var(--grey);
}

.sub-menu .current-menu-item > a,
.sub-menu .current-menu-ancestor > a,
.sub-menu li:hover {
	color: var(--secondary);
}

.contenthold {
	margin-top: -2rem;
}


.contenthold {
	height: auto;
	z-index: 100;
	padding-bottom: 2rem;
	padding-right: 2rem;
	box-sizing: border-box;
	font-size: 1rem;
}

.buttonhold {
	margin-left: -.5rem;
	margin-top: 2rem;
	padding-bottom: .5rem;
}

.button {
	padding: 1rem 2rem;
	font-weight: bold;
	color: var(--primary);
	background: white;
	border-radius: 2rem;
	display: inline-block;
	margin-right:1rem;
	margin-bottom: 1rem;
	font-family: var(--font2);
	transition: background .25s, color .25s;
}

.button:hover {
	color: white;
	background: var(--primary);
}

.slide_text {
	display: none;
}

.slider_txt_hold {
	position: absolute;
	bottom: 4rem;
	color: white;
	z-index: 10;
	font-size: 1.5rem;
	margin-left: calc((100cqw - (11 * var(--gutter))) / 12 - var(--gutter));
	text-shadow: 0 1px 5px rgba(0, 0, 0, 1);
}

.slider_txt_hold p {
	margin: 0;
}

.slick-dots {
	position: absolute;
	bottom: 4.25rem;
	right: 0;
}

.bgwrap .bghold {
	margin-right: calc(50% - 50vw);
}

.bgwrap .slider,
.bgwrap .slick-list,
.bgwrap .slick-track {
	height: 100%;
}

.bgwrap .slide {
	height: 100%;
}

.bgwrap .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dothold {
	position: absolute;
	right: 0;
	bottom: 4rem;	
	display: flex;
	flex-direction: row;
	z-index: 10;
}

.dot {
	width: 1rem;
	height: 1rem;
	background: none;
	transition: background .1s, border .1s;
	border: 1px solid white; 
	border-radius: 100%;
	margin-left: .85rem;
	cursor: pointer;
}

.dot:not(.active):hover {
	background: var(--primary);
	border: 1px solid var(--primary);
}

.dot.active {
	background: white;	
}

.slick-dots {
	display: none !important;
}

.slick-slide {
	position: relative;
}

.regular_content {
	height: auto;
	z-index: 100;
	padding: 0 calc(
		((100cqw - (11 * var(--gutter))) / 12 * 1)
		+ var(--gutter)
	);
}

.regular_content.whiteback {
	background: white;
	padding: 4rem 0;
	margin-bottom: 3rem;
	border-radius: 0 0 2rem 2rem;
}

.regular_content h1 {
	font-size: 1rem;
	margin: 0;
	color: var(--primary);
}

.items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gutter);
	width: 100%;
	margin-top: 2rem;
	margin-bottom: 6rem;
}

.item {
	background: white;
	transition: background .25s;
	border-radius: 0 0 2rem 0;
}

.thumbwrap {
	aspect-ratio: 600 / 450;
	display: flex;
	width: 100%;
	position: relative;
}

.te_koop {
	aspect-ratio: 1 / 1;
	width: calc((100cqw - (11 * var(--gutter))) / 12 * .75);
	height: auto;
	right:calc(var(--gutter) * 1);
	top:calc(var(--gutter) * 1);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EE21FF;
	color: white;
	position: absolute;
	border-radius: 100%;
	text-align: center;
	font-weight: 900;
	font-size: .9rem;
	line-height: 1.1rem;
	text-transform: uppercase;
	border: 2px solid #EE21FF;

}

.thumbwrap img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.titlewrap {
	display: flex;
	flex-direction: row;
	padding:  1rem;
	box-sizing: border-box;
	align-items: flex-start;
}

.titlewrap svg {
	display: block;
	margin-left: auto;
	height: 1rem;
	width: auto;
	fill:var(--primary);
	vertical-align: middle;
	transition: fill .25s;
	top:.2rem;
	position: relative;
	flex-shrink: 0;
}

.item:hover {
	background: var(--primary);
	color: white;
}

.item:hover .titlewrap svg {
	fill: white;
}

.foto_groot {
	position: relative;
	width: 100%;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.foto_groot img {
	display: block;
	width: 100%;
	margin: 0;
}

.tekoopholder {
	position: relative;
}

.tekoopholder .te_koop {
	right:0;
	top: 0;
	width: 6rem;
	height: 6rem;
	font-size: 1rem;
}

.tekoopholder .te_koop:hover {
	border: 2px solid #EE21FF;
	color: #EE21FF;
	background: white;
}


.capt {
	font-style: italic;
	margin-top: .5rem;
	font-size: var(--fontsize2);
	line-height: var(--lineheight2);
}

.content-nav {
	display: flex;
	align-content: center;
	justify-self: center;
	flex-direction: row;
}

.content-nav a {
	display: block;
	width: 50%;
	flex-grow: 0;
	flex-shrink: 0;
	box-sizing: border-box;
	padding: calc(var(--gutter) * .5);
}

.content-nav a.prev {
	text-align: right;
}

.content-nav a.next {
	margin-left: auto;
}

.content-nav a svg {
	display: inline-block;
	width: 50%;
	height: auto;
	fill:var(--primary);
	transition: fill .25s;
}

.content-nav a:hover svg {
	fill:var(--secondary);
}

.repeatedlayout {
	font-size: var(--fontsize2);
	line-height: var(--lineheight2);
	margin-top: 1rem;
	font-weight: 400;
}

.sectiongrid h1,
.sectiongrid h2,
.sectiongrid h3,
.sectiongrid h4,
.sectiongrid h5,
.repeatedlayout h1,
.repeatedlayout h2,
.repeatedlayout h3,
.repeatedlayout h4,
.repeatedlayout h5 {
	margin: 0;
	font-size: var(--fontsize2);
	line-height: var(--lineheight2);
}

.repeatedlayout p:first-of-type {
	margin-top: 0;
}

.repeatedlayout p:last-of-type {
	margin-bottom: 0;
}

.fotogal {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gutter);
	align-content: flex-start;
	margin-top: .25rem;
}

.vooraf {
	position: relative;
	margin-top: 1rem;
}

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

.vooraf img,
.fotogal img {
	display: block;
	width: 100%;
	height: auto;
}


.sectiongrid {
	font-size: var(--fontsize2);
	font-weight: 400;
	line-height: var(--lineheight2);
}

.type-foto_breed {
	margin-top: 1rem;
}

.intro a,
.sectiongrid a {
	font-weight: bold;
	transition: color .25s;
	color: var(--primary);
}

.intro a {
	font-weight: 300;
}

.intro a:hover,
.sectiongrid a:hover {
	text-decoration: underline;
	color: var(--grey);
}

.type-cv {
	margin-bottom: 1rem;
	padding-bottom: .5rem;
	margin-top: 1rem;
}

.type-cv + .type-cv {
	margin-top: 0;
	margin-bottom: 0;
}

.type-cv + .type-cv .col-7 {
	border-bottom: 1rem solid white;
}

.type-cv + .type-cv .col-7::before {
	position: relative;
	width: 100%;
	height: 1px;
	background: var(--grey);
	content:'';
	display: block;
	margin-bottom: 1rem;
}

.cv-item {
	display: flex;
	flex-direction: row;
	margin-top: .1rem;
}

.cv-periode {
	padding-right: 1rem;
	width: 6rem;
	flex-shrink: 0;
}

.type-cursusoverzicht {
	margin-top: 1rem;
}

.cursus-item {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: var(--gutter);
	margin-bottom: 2rem;
	position: relative;
}

.cursus-item + .cursus-item::before {
	position: absolute;
	width: 100%;
	height: 1px;
	background: var(--grey);
	content:'';
	display: block;
	top:-1rem;
}

.cursus-img img {
	width: 100%;
	display: block;
	margin: 0;
}


.cursus-text {
	display: flex;
	position: relative;
	height: 100%;
	flex-direction: column;
	
}

.cursus-text h2 {
	font-weight: bold;
	color: var(--primary);
	margin: 0;
}

.cursus-text p:first-of-type {
	margin-top: 0;
}


.more {
	font-size: 1rem;
	margin-top: auto;
	margin-left: auto;
	text-decoration: none !important;
	color: black !important;
	font-weight: 400 !important;
}

.more:hover {
	color: var(--primary);
}

.more svg {
	fill: var(--primary);
	height: .75rem;
	width: auto;
	margin-left: .5rem;
	vertical-align: middle;
}

.quotes b {
	color: var(--primary);
	font-size: 1rem;
}

.quotes {
	background: var(--secondary);
	padding: 1rem 4rem 3rem 1rem;
	border-radius: 0 0 1rem 0;
	overflow: hidden;
	position: relative;
}

.quotebg {
	width: 6rem;
	fill:white;
	height: auto;
	display: block;
	position: absolute;
}

.quotebg.left {
	top: 3rem;
	left: 0;
	transform: rotate(180deg);
}

.quotebg.right {
	bottom: 6rem;
	right: 0;
}

.quote-slides {
	font-weight: 300;
	line-height: 2.3rem;
	font-size: 2rem;
	z-index: 10;
	position: relative;
	padding: 2rem 0rem 0rem 3rem;
}
.quote-slides .naam {
	font-weight: 400;
	margin-top: 1rem;
	font-size: var(--fontsize2);
}

.quotes .dothold {
	bottom: 2rem;
	right: 3rem;
}

.expositie-item {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: var(--gutter);
	margin-bottom: 2rem;
	margin-top: 1rem;
	position: relative;
}

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

.exposities_verleden::before,
.exposities_jaar + .exposities_jaar::before,
.expositie-item + .expositie-item::before {
	position: absolute;
	width: 100%;
	height: 1px;
	background: var(--grey);
	content:'';
	display: block;
	top:-1rem;
}

.expositie-datum {
	font-weight: bold;
	color: var(--grey);
}

.expositie-item h3 {
	margin-bottom: 1rem;
}

.exposities_verleden,
.exposities_jaar {
	margin-bottom: 2rem;
	margin-top: 1rem;
	position: relative;
}


.exposities_jaar b {
	color: var(--grey);
}

.exposities_aankomend h2,
.exposities_verleden h2 {
	color: var(--primary);
	padding-top: .5rem;
	margin: 1.5rem 0;
}

.expositie-verleden-item {
	position: relative;
	margin-bottom: 1rem;
}

.expositie-verleden-item .expositie-datum {
	color: black;
}

.expositie-verleden-item h3 {
	font-weight: 400;
}


.expositie-verleden-item p:first-of-type {
	margin-top: 0;
}


.wpcf7-form {
	background: var(--secondary);
	width: 100%;
	padding: 2rem;
	position: relative;
	border-radius: 0 0 1rem 0;
	box-sizing: border-box;
}


.wpcf7 label {
	font-weight: 800;
	font-size: .85rem;
	line-height: 1.25rem;
}

.wpcf7 p {
	margin-top: 0;
}

.wpcf7 select,
.wpcf7 input,
.wpcf7 textarea {
	width: 100%;
	display: block;
	font-family: var(--font1);
	font-size: var(--fontsize2);
	line-height: var(--lineheight2);
	padding: .5rem;
	border: 1px solid var(--grey);
	border-radius: 1rem;
	margin-top: .25rem;
	resize: none;
	box-sizing: border-box;
}

.wpcf7 select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline:none;
	border-color: var(--primary);
}

.wpcf7 textarea {
	height: auto !important;
	min-height: 5rem;
}

.wpcf7 select {
	display: block;
	color: white;
	-webkit-appearance: none; /* Remove default styling */
	  -moz-appearance: none;
	  appearance: none;
	  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'><path d='M12 9.95L21.2 0.75L24 3.55L12 15.55L0 3.55L2.8 0.75L12 9.95Z' fill='white'/></svg>");
	background-color: var(--primary);
	background-repeat: no-repeat;
	background-position: calc(100% - 1rem) .85rem;
	padding-right: 2.5rem; /* space for arrow */
	background-size:  1rem auto;
}

.wpcf7 .wpcf7-submit {
	display: none;
}

.wpcf7-form .button {
	margin-bottom: 0 !important;
	cursor: pointer;
	white-space: nowrap;
	background: var(--primary);
	color: white;
}

.wpcf7-form .button svg {
	height: .75rem;
	position: relative;
	top:.1rem;
	transition: fill .25s;
}

.wpcf7-form .button:hover {
	background: var(--secondary);
	color: var(--primary);
}

.wpcf7-form .button:hover svg {
	fill: var(--primary);
}


.wpcf7-form .button p {
	margin: 0;
}

.wpcf7-spinner {
	right: 0;
	bottom: 0;
	position: absolute;
}

.wpcf7-form p:last-of-type {
	margin: 0 !important;
}

.wpcf7 .button svg {
	fill:white;
	margin-left: .5rem;
}

.wpcf7 .showonofferte {
	display: none;
	margin-bottom: 1rem;
}

.contactformulierhold {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: var(--gutter);
	position: relative;
}

.contactformulierhold * {
	max-width: 100%;
}

.regular_content img[class*="wp-image-"] {
	cursor: zoom-in;
}.image-lightbox {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 24px;
	border: 0;
	background: transparent;
	overflow: hidden;
}

.image-lightbox[open] {
	display: grid;
	place-items: center;
}

.image-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.9);
}

.image-lightbox figure {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
}

.image-lightbox figure img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: calc(100vw - 48px) !important;
	max-height: calc(100vh - 100px) !important;
	max-height: calc(100dvh - 100px) !important;
	margin: auto;
	object-fit: contain;
}

.image-lightbox figcaption {
	flex: 0 0 auto;
	max-width: calc(100vw - 48px);
	margin-top: 12px;
	color: #fff;
	text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: fixed;
	z-index: 2;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.lightbox-close {
	top: 15px;
	right: 25px;
	font-size: 42px;
}

.lightbox-prev,
.lightbox-next {
	top: 50%;
	padding: 15px;
	font-size: 54px;
	transform: translateY(-50%);
}

.lightbox-prev {
	left: 10px;
}

.lightbox-next {
	right: 10px;
}

@media (max-width: 600px) {
	.image-lightbox {
		padding: 50px 15px;
	}

	.lightbox-prev,
	.lightbox-next {
		font-size: 40px;
	}
}