/* CSS Document */
.logo a{
	width: auto;
}
#welcome{
	position: fixed; top: 0px;  left: 0px; width: 100vw; height: 100vh; overflow: hidden; background: #F0E2BF; z-index: 1000000; margin: 0px; max-width: none;
}
#welcome .page-block-image{
	position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; opacity: 0.05;
}
#welcome .page-block-image img{
	width: 100%; height: 100%; object-fit: cover;
}
#theBody.home #mainhighlight,
#theBody.home #header,
#theBody.home #tophighlight{
	opacity: 0;/* pointer-events: none;*/
}
#logoAnim{
	position: absolute; top: 50%; left: 50%; width: 180px; height: 70px;
	margin-top: -135px;
	margin-left: -90px;
	opacity: 0;
}
#ICON_W{
	position: absolute; top: 0px; left: 0px; width: 70px; height:  70px;
	object-fit: contain; object-position: left center;
}
#logoAnim2{
	position: absolute; top: 50%; left: 50%; width: 220px; height: 120px;
	margin-top: -50px;
	margin-left: -110px;
}
#LOGO_W{
	position: absolute; top: 0px; left: 0px; width: 100%; height:  100%;
	object-fit: contain;
}
#Y,
#P{
	transform-origin: center center;
}
#textPart{
	position: absolute; top: 50%; left: 50%; width: 220px; height: auto;
	margin-top: 85px;
	margin-left: -110px; letter-spacing: 3px;
}

#theBody.duurzaamheid #header .logo-icon .st2,
#theBody.duurzaamheid #header .logo .st3{
	fill: #ffffff!important;
}
#theBody.duurzaamheid #header .logo-icon .st1,
#theBody.duurzaamheid #header .logo .st1,
#theBody.duurzaamheid #header .logo .st0{
	stroke: #ffffff!important;
} 
#theBody.duurzaamheid #mainhighlight p,
#theBody.duurzaamheid #tophighlight{
	color: #ffffff!important;
} 

#smooth-content {
    float: left;
}

.page-block.with_block_image .page-block-caption .page-block-link .btn-primary{
	min-height: 40px; height: auto;
}
.page-block.with_block_image .page-block-caption .page-block-link .btn-primary span{
	line-height: 1.2em; margin: 10px 0px;
}
.page-block.with_block_image .page-block-caption .page-block-link .btn-primary::after{
	height: 100%;
}

.page-block.with_block_image.default.dark .page-block-caption .page-block-link .btn-primary:hover{
	background: #eeeeee;
}

#theBody.shrink #header.menu-hamburger .logo{
	pointer-events: none;
}
#theBody.shrink #header.menu-hamburger .logo a{
	pointer-events: all;
}

#theBody.contact #pageBlock1{
	height: 70px!important; min-height: 0px; pointer-events: none;
}
#theBody.contact #pageBlock1 .page-block-subname{
	display: none;
}
.page-block.nieuwsbrief-aanmelden{
	/*pointer-events: none;*/
}
.theformfields h2{	
	text-transform: none;
    margin-bottom: 15px;
    margin-top: 150px;
    font-size: 1.4em;
    line-height: 1.7em;
    font-variation-settings: "wght" 420;
	letter-spacing: 2px;
}
.fancy-form-item{
	border: 0px solid #000;
}
.page-block.fancyform .btn-primary{
	padding-left: 30px;
	padding-right: 30px;
}

.slideLeft, .slideRight{
	display: block; margin: 0px!important; width: 40px; color: #AB9F73;
}

.slideLeft{
	right: 40px!important;
}

@media (min-width: 768px) {
	.page-block.nieuwsbrief-aanmelden{
		margin-top: -8vw;
	}
	#theBody.contact #pageBlock1{
		height: 0px!important;
	}
}
@media (min-width: 1440px) {
	.page-block.nieuwsbrief-aanmelden{
		width: calc(50% + 720px - 75px);
		margin-left: calc(50% - 720px + 75px);
		max-width: none;
		margin-top: -8vw;
	}
	.page-block.fancyform .page-block-caption{
		max-width: 700px;
	}
	.page-block.fancyform .page-block-fancyform{
		max-width: 700px;
	}
}
@media (min-width: 1920px) {
	.page-block.nieuwsbrief-aanmelden{
		margin-top: -190px	;
	}
}
	
	
@media (min-width: 1280px) {
    #introductie-salesteam--a-saleslounge .page-block-ttl h2,
    #private-banking .page-block-ttl h2,
    #interieurteam--a-interieurinspiratie .page-block-ttl h2{
	font-size: 4em;
	}
}

#tophighlight{
}
#header.menu-hamburger{
	height: 3em;
}
#pageBlock1 .btn-primary.noborder span{
	font-size: 1.4em;
	font-variation-settings: "wght" 420;
    line-height: 1.7em; letter-spacing: 3px;
}
@media (min-width: 960px) {
#pageBlock1 .btn-primary.noborder span{
	letter-spacing: 3px;
}
}

#theBody.home #pageBlock1 .btn-primary.noborder::after{
	height: 100%;
}
.page-block.quote .page-block-caption .page-block-link{
	display: none;
}


#pageBlock1 .page-block-txt ul{
	margin-bottom: 15px;
}
#pageBlock1.cleanPageBlock1{
	margin-top: 120px;
}
@media (min-width: 768px) {
	#pageBlock1.cleanPageBlock1{
		margin-top: 160px;
	}
	#pageBlock1.cleanPageBlock1 .page-block-caption{
		padding-right: 30px;
	}
	
}
@media (min-width: 960px) {
	#pageBlock1.cleanPageBlock1{
		margin-top: 180px;
	}
	#pageBlock1.cleanPageBlock1 .page-block-caption{
		padding-right: 50px;
	}
}
@media (min-width: 1280px) {
	#pageBlock1.cleanPageBlock1{
		margin-top: 210px;
	}
}
@media (min-width: 1440px) {
	#pageBlock1.cleanPageBlock1{
		margin-top: 245px;
	}
}
#pageBlock0 .page-block-page_image {
    aspect-ratio: 16 / 9;
}
@media (min-width: 960px) {
    #pageBlock0 .page-block-page_image {
        height: calc(100vh - 3em);
        max-height: calc(60vw + 130px);
    }
}

@media (max-width: 767px) {
	
	#toptop p{
		text-align: left; font-size: 0.9em; padding-left: 30px;
	}
    #pageBlock0 .page-block-page_image {
    	aspect-ratio: 16 / 14;
    }
	#tophighlight{
		top: calc(14/16 * 100vw); position: absolute;
	}
	#mainhighlight{
		top: 3em;  position: absolute;
	}
	#mainhighlight p{
		font-size: 1em;
	}
	#header.menu-hamburger .logo,
	#header.menu-hamburger .logo-icon{
		margin-top: 1em!important;
	}
	
}

#cta-pop{
	width: 270px;
	position: fixed; top: auto; bottom: 30px; left: auto; right: 30px; margin: 0px;
	padding: 30px 30px;
	opacity: 0;
}

#cta-pop.hidden{
	display: none;
}
@media (min-width: 767px) {
	#cta-pop{
		width: 300px; bottom: 50px; right: 50px; padding: 30px;
	}
}
#cta-pop .page-block-caption{
	padding: 0px; opacity: 1!important;
}
#closePop{
	position: absolute; top: 15px; left: auto; right: 15px;
}

#cta-pop .page-block-caption .page-block-ttl h2 {
	font-size: 2em;
}
#pageBlock1 .page-block-caption{
	align-items: flex-start;
	align-content: flex-start;
}

.page-block .page-block-ttl.page-block-ttl-intro h3,
.page-block-txt h4,
.page-block-txt h2,
.page-block-txt h3{
	text-transform: none; margin-bottom: 15px; margin-top: 0px; font-size: 1.4em;
    line-height: 1.7em;
	font-variation-settings: "wght" 420;
}


.social-icons .social-label h2{
	display: block;
}

.footer-menu-2{
	margin-bottom: 60px;
}

#ontwikkelingvan{
	display: flex; justify-content: center; align-content: center; align-items: center; font-size: 12px;
}
#ontwikkelingvan img{
	height: 50px; margin-left: 5px;
}

#makelaarsteam{
	display: flex; justify-content: center; align-content: center; align-items: center; font-size: 12px;
	flex-wrap: wrap; margin-bottom: 30px;
}
#makelaarsteam .makelaar{
	width: 100%;
	display: flex; justify-content: center; align-content: center; align-items: center; font-size: 12px; margin: 5px 0px 15px 0px;
}
#makelaarsteam .makelaar-contact{
	width: 140px; flex-wrap: wrap;
	display: flex; justify-content: left; align-content: center; align-items: center; font-size: 12px; margin: 0px;
}
#makelaarsteam img{
	height: 30px; margin-right: 15px;
}
@media (min-width: 768px) {
	.footer-credits{
		padding: 30px 0px!important;
	}
	#ontwikkelingvan{
	grid-column: 2 / span 3; justify-content: flex-start; margin-bottom: 15px;
	}
	#makelaarsteam{
	grid-column: 2 / span 3; justify-content: flex-start; flex-wrap: nowrap; gap: 15px; margin-bottom: 45px;
	}
	#makelaarsteam .makelaar{
		width: auto;justify-content: flex-start; margin: 0px 0px 0px 0px;
	}
	#makelaarsteam img{
		height: 30px; margin-right: 10px;
	}
}
@media (min-width: 1200px) {
	#ontwikkelingvan{
	grid-column: 2 / span 1; justify-content: flex-start; margin-bottom: 45px;
	}
	#makelaarsteam{
	grid-column: 3 / span 2; justify-content: flex-start; flex-wrap: nowrap; gap: 30px; margin-bottom: 45px;
	}
	#makelaarsteam .makelaar{
		width: auto;justify-content: flex-start; margin: 0px 0px 0px 0px;
	}
}

#map2 .gm-style .gm-style-iw-c #bodyContent,
#map3 .gm-style .gm-style-iw-c #bodyContent{
	padding-right: 30px; max-width: 300px;
}

#map2 .gm-style .gm-style-iw-c #bodyContent h3, #map3 .gm-style .gm-style-iw-c #bodyContent h3{
	color: var(--goldcolor);
}

.draggable-group-child::after{
	position: absolute; top: 0px; left: 0px; width:100%; height: 100%; border: 1px solid #ffffff; display: block; content: ''; pointer-events: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.draggable-group-child:hover::after{
	border: 4px solid #ffffff;
}

#theBody.home #pageBlock1.with_page_image .page-block-caption .page-block-subname{
	max-width: 420px;
}

#het-team .page-block-txt h3{
	margin-bottom: 0px; padding-bottom: 0px;
}

#theBody.contact #pageBlock0{
	max-height: 600px;
}
#theBody.inschrijven #pageBlock0{
	max-height: 600px;
}
#theBody.inschrijven #pageBlock1 .page-block-caption{
	padding-right: 45px;
}
#theBody.inschrijven #pageBlock1 .page-block-caption iframe{
	margin-left: -10px;
}

#theBody.bedankt .page-block .page-block-name h1{
	font-size: 4em!important;
	color: var(--textcolor);
}


#plattegrond.page-block.gallery .page-block-caption,
#impressies.page-block.gallery .page-block-caption{
    display: flex!important;
}

#theBody.woningtype #pageBlock1 .page-block-caption .page-block-txt ul{
    padding: 0 0 0 17px;
}


#pageBlockNav{
	background: #ffffff; position: relative; display: flex; justify-content: space-between; align-content: center; align-items: center; padding: 15px 30px; margin-bottom: 0px;
}

#pageBlockNav .soort-en-oppervlakte {
	display: none;
}



#theBody.woningtype #header .logo{
	opacity: 0; pointer-events: none;
}

@media (min-width: 768px) {
	#theBody.woningtype #header.menu-hamburger .logo-icon{
		top: 0px;
		right: calc(100% - 60px);
		height: 3em;
		width: 3em;
		padding: 8px;
		z-index: 100001;
	}
	#theBody.woningtype #header.menu-hamburger .logo-icon svg{
		height: 25px;
        width: 25px;
	}
    #theBody.woningtype #tophighlight {
        top: 39px;
        padding-right: 75px;
        padding-right: 30px;
    }
	#theBody.woningtype #mainhighlight{
        top: 39px;
    }
	#theBody.woningtype #tophighlight::after{
		opacity: 0.6;
	}
}

@media (min-width: 1440px) {
    #theBody.woningtype #tophighlight {
        padding-right: calc(50vw - 645px);
        padding-right: calc(50vw - 690px);
    }
}


#theBody.woningtype #pageBlock1{
	margin-top: 0px!important;
}


#theBody.woningtype #pageBlock0 .page-block-page_image{
	width: 100%; height: auto;
}
#theBody.woningtype #pageBlock0 .page-block-page_image img{
	width: 100%; height: auto;
}


@media (min-width: 768px) {


	#pageBlockNav{
		padding: 20px 30px 20px 0px; margin-bottom: 0px;
	}
	#pageBlockNav .soort-en-oppervlakte {
		display: block;
	}
    #theBody.woningtype #pageBlock1 .page-block-caption,
    #theBody.aanbod-ypsilon-park #pageBlock1 .page-block-caption {
        padding-right: 50px;
    }
	
	#theBody.woningtype #pageBlock1.with_page_image .page-block-caption .page-block-name{
		position: relative!important; top: 0px; left: 0px; margin: 0px; text-align: left; bottom: auto; padding: 0px!important; width: 100%;
	}
	#theBody.woningtype #pageBlock1.with_page_image .page-block-caption .page-block-name h1{
		position: relative!important; top: 0px; margin: 0px 0px 30px 0px; text-align: left!important; line-height: 1em!important; font-size: 90px!important; width: 100%;
	}
	
}

#theBody.aanbod-ypsilon-park #pageBlock0 .page-block-page_image {
	height: calc(9/16 * 100vw);
	max-height: 1080px;
}
#theBody.aanbod-ypsilon-park #pageBlock1.with_page_image .page-block-caption .page-block-name{
	display: none;
}

@media (min-width: 1440px) {
    #pageBlockNav {
        margin-left: calc(50% - 720px + 75px);
		max-width: none;
		padding-right:  calc(50% - 720px + 75px);
    }
}
@media (min-width: 960px) {
    #theBody.woningtype #pageBlock1 .page-block-caption,
    #theBody.aanbod-ypsilon-park #pageBlock1 .page-block-caption {
        padding-top: 50px;
        padding-bottom: 35px;
        padding-right: 50px;
    }
}

#theBody.woningtype .page-block.sand .page-block-name h1,
#theBody.woningtype .page-block.cream .page-block-name h1{
	color: var(--textcolor);
}

.page-block.woningtypen .page-block-ttl h2{
	font-size: 24px; font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 200; margin-bottom: 45px;
}

.page-block.woningtypen .block-listing{
	grid-template-columns: repeat(1, 1fr); margin-bottom: 90px;
}
.page-block.list-click-detail.woningtypen{
	padding: 0px; margin: 0px;
}
.page-block.list-click-detail.woningtypen .page-block-caption{
	padding: 0px;
}
.page-block.woningtypen .block-listing .block{
	padding: 0px 0px 15px 0px; grid-column: 1 / span 1;
  	transition: all 600ms ease-in-out;
}
.page-block.woningtypen .block-listing .block .block-image{
	height: 40vw; max-height: 575px;
}
.page-block.woningtypen .block-listing .block .block-image img{
	width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.page-block.woningtypen .block-listing .block .block-image .label-status{
	position: absolute; top: 0%; left: 0px; width: auto; background: var(--sand); padding: 15px 30px; font-size: 1.2em;
}
.page-block.woningtypen .block-listing .block .block-caption{
	padding-left: 30px; padding-bottom: 15px; background: none;
}
.page-block.woningtypen .block-listing .block:hover{
	background: var(--creamcolor);
}

.page-block.woningtypen .block-listing .block .block-caption .block-ttl h2,
.page-block.woningtypen .block-listing .block .block-caption .block-ttl h2 a{
	color: var(--textcolor);
}

.page-block.woningtypen .block-listing .block .block-caption ul{
	padding-left: 0px; margin-left: 15px; margin-bottom: 0px;
}
.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns{
	padding-top: 0px; padding-left: 30px; background: none;
}
.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns .btn-primary:hover{
	border-color: var(--basecolorMedium);
}
.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns .btn-primary:hover span{
	color: var(--textcolor);
}
.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns .btn-primary::before{
	background: rgba(192,157,142,0.2);
}

.page-block.woningtypen .block-listing .block .block-image .reveal-mask {
    display: block;
    overflow: hidden;
}

#headercarousel{
	order: -1; margin: 0px!important; max-width: 1920px; padding: 0px!important;
}


@media (min-width: 768px) {

	.page-block.woningtypen .block-listing .block .block-caption.block-content{
		width: calc(100% - 300px);
	}
	.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns{
		width: 300px; padding: 30px; display: flex; justify-content: flex-end;
	}

}

#plattegrond .page-block-ttl h2 span{
	font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 200; font-style: normal; letter-spacing: 1px;
	font-size: 18px; padding-bottom: 10px; position: relative; display: inline-block;
}

.page-block.woningtypen .block-listing .block .block-caption .block-ttl h3{
	letter-spacing: 0px; font-size: 1.4em; margin: 15px 0px 10px;
}

@media (min-width: 1280px) {
	.page-block.woningtypen .block-listing .block .block-caption{
		padding-left: 75px;
	}
	.page-block.woningtypen .block-listing .block .block-image .label-status{
		padding: 15px 30px 15px 75px;
	}
	.page-block.woningtypen .block-listing .block.bouwtype-item .block-btns{
		padding: 30px 50px;
	}
}

@media (min-width: 991px) {
	.page-block.gallery.caroussel .page-block-caption{
		width: 40%;
	}
	.page-block.gallery.caroussel .page-block-caption .page-block-ttl h2{
		font-size: 2.6em;
	}
	.page-block.gallery.caroussel .page-block-module{
		width: 60%;
	}
}

@media (min-width: 1200px) {
	.page-block.gallery.caroussel .page-block-caption{
		width: 30%;
	}
	.page-block.gallery.caroussel .page-block-caption .page-block-ttl h2{
		font-size: 2.6em;
	}
	.page-block.gallery.caroussel .page-block-module{
		width: 70%;
	}
}

@media (min-width: 1440px) {
	.page-block.gallery.caroussel .page-block-caption .page-block-ttl h2{
		font-size: 2.6em;
	}
}


#ligging .page-block-image {
	display: flex; justify-content: center; align-content: center; align-items: center;
	padding: 0px 5%;
}
#ligging .page-block-image img{
	width: 100%;
}


.page-block.gallery.caroussel .page-block-module{
	margin-bottom: 0px;
}
.page-block.gallery.caroussel .carousel {
  position: relative;
  width: 100%;
  height: auto;
  /* you can define --textcolor on a parent if needed */
}

.carousel-images {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  opacity: 1;
  z-index: 10; /* sits under bullets & zoom UI */
}

.carousel img.placeholder {
  width: 100%;
  height: auto;
  opacity: 0; /* keeps aspect without showing */
}

/* Each rendered slide container */
.carousel-images .img {
  position: absolute;
  inset: 0;          /* top:0; right:0; bottom:0; left:0; */
  will-change: clip-path, transform;
}

/* Actual slide image */
.carousel-images .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* your previous preference */
  will-change: transform;
  transition: transform .15s ease-out; /* smooth zoom in/out handled by JS too */
}

/* ---- Titles (SplitText) ---- */
.slide-title-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  padding: 10px 10px 65px 10px;
}

.slide-title-container .title {
  position: relative;
  text-align: right;
  filter: url(#blur-matrix) blur(0.25px);
  -webkit-filter: url(#blur-matrix) blur(0.25px);
  z-index: 2;
  color: var(--textcolor);
  font-size: 0.8em;
}

.slide-title-container .title .word {
  filter: blur(75px);
  -webkit-filter: blur(75px);
  will-change: filter, opacity;
  opacity: 0;
}

/* ---- Prev/Next controls (hidden by default) ---- */
.slider-controls {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 2rem;
  display: none; /* set to flex if you want visible */
  justify-content: space-between;
  z-index: 10;
}

.control-btn {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0.075rem dashed rgba(255, 255, 255, 0.75);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}
.control-btn:hover { background-color: #fff; }
.control-btn svg {
  width: 1.5rem; height: 1.5rem; stroke: #000; transition: fill 200ms ease-in-out;
}
.control-btn:hover svg { fill: #000; }

/* ---- Bullets with dynamic fractions ---- */
.carousel-bullets {
  --gap: 10px;                 /* keep your visual gap here */
  position: relative;
  margin: 15px 0 0;
  display: none;
  gap: var(--gap);
  justify-content: flex-end;   /* right-align as you had */
  padding-right: 15px;
  z-index: 50;
  pointer-events: all;
}

/* shown when available */
.carousel-bullets.visibleBullits { display: flex; }

/* n = number of bullets (set via JS: --n: slideCount)
   Each inactive bullet = 1/(n+1) of usable width
   Active bullet        = 2/(n+1) of usable width
   Usable width = 100% - total gaps = 100% - (n-1)*gap
*/
.carousel-bullets .bullet {
  height: 4px;
  border-radius: 0;
  border: 1px solid var(--textcolor);
  background: var(--textcolor);
  opacity: .5;
  padding: 0;
  outline: none !important;
  pointer-events: all;
  cursor: pointer !important;

  flex: 0 0 calc(
    (100% - (var(--n, 3) - 1) * var(--gap))
    / (var(--n, 3) + 1)
  );
	
	
	/*remove to have full width*/
	max-width: 30px;
}
.carousel-bullets .bullet.is-active {
  opacity: 1;
  flex-basis: calc(
    2 * (100% - (var(--n, 3) - 1) * var(--gap))
    / (var(--n, 3) + 1)
  );
	
	
	/*remove to have full width*/
	max-width: 60px;
	
}

/* Bullets (keep your calc() sizing as-is) */
.carousel-bullets .bullet {
  transition: flex-basis .55s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
  transition: max-width .55s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
  will-change: flex-basis, max-width, opacity;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-bullets .bullet { transition: none; }
}

/* ---- Inline Zoom (image-surface only) ---- */
.carousel.is-zoomed { cursor: move; }
.carousel.is-zoomed .img img { transition: transform 0s; } /* pan feels immediate */

/* Disable zoom affordances via class (JS toggles .no-zoom on bullets hover) */
.carousel.no-zoom .img img { cursor: default !important; }
.carousel.no-zoom .cgsap-zoom-ui { display: none !important; }

/* Also disable purely via CSS while bullets hovered (modern :has) */
.carousel:has(.carousel-bullets:hover) .img img { cursor: default !important; }
.carousel:has(.carousel-bullets:hover) .cgsap-zoom-ui { display: none !important; }

/* Hide default pointer when using FA faux-cursor (scoped to images) */
.carousel.cursor-fa .img img { cursor: none; }

/* Default cursors (if not using faux-cursor) */
.carousel .img img { cursor: zoom-in; }
.carousel.is-zoomed .img img {  }

/* ---- Zoom UI overlay (icons/hints) ---- */
.cgsap-zoom-ui {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none; /* container ignores */
}
.cgsap-zoom-btn,
.cgsap-zoom-close,
.cgsap-zoom-hint {
  position: absolute;
  display: flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(0,0,0,.35); color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  pointer-events: auto;       /* buttons clickable */
  display: none !important;   /* keep hidden unless you enable in JS */
}
.cgsap-zoom-btn   { right: 10px; bottom: 10px; }
.cgsap-zoom-close { right: 10px; top: 10px; }
.cgsap-zoom-hint  { left: 10px; bottom: 10px; pointer-events: none; }
.cgsap-zoom-btn i,
.cgsap-zoom-close i,
.cgsap-zoom-hint i { font-size: 18px; line-height: 1; }

/* When zoomed you could show them if desired */
.carousel.is-zoomed .cgsap-zoom-btn   { display: none; }
.carousel.is-zoomed .cgsap-zoom-close { display: flex; }
.carousel.is-zoomed .cgsap-zoom-hint  { display: flex; }

/* ---- Faux cursor (Font Awesome) ---- */
.cgsap-cursor {
  position: fixed; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  color: #fff;
  display: none;                 /* shown on enter via JS */
  align-items: center; justify-content: center;
  pointer-events: none;          /* never block clicks */
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .15s ease;
}
.cgsap-cursor i { font-size: 16px; line-height: 1; }
.cgsap-cursor.is-visible { display: flex; opacity: 1; }

/* ---- Lightbox ---- */
.cgsap-lightbox {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.86);
  z-index: 9999;
  opacity: 0; pointer-events: none;
}
.cgsap-lightbox.is-open { opacity: 1; pointer-events: auto; }
.cgsap-lightbox img {
  max-width: 92vw; max-height: 92vh;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  cursor: zoom-out;
}
.cgsap-lightbox .cgsap-close {
  position: absolute; top: 14px; right: 14px;
  appearance: none; border: 0; background: transparent;
  color: #fff; font: 700 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 900px) {
  .slide-title-container { padding: 10px 10px 65px 10px; }

  .slider-controls {
    top: 65%;
    width: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    gap: 1rem;
  }

  .control-btn { padding: 1rem; }
  .control-btn svg { width: 1rem; height: 1rem; }
}



.page-block.gallery.autoslider{
    max-width: none; padding-top: 25px;
}
#autoSLider{
    display: flex; flex-direction: row; gap: 10px;
}
#autoSLider img{
    height: clamp(280px, 50vh, 600px);; width: auto; max-height: 700px;
}
.page-block.gallery.autoslider .page-block-caption{
	z-index: 1; order: 3;
    column-gap: 15px;  padding-top: 0px; margin: 0px;
}
.page-block.gallery.autoslider .page-block-caption .page-block-ttl,
.page-block.gallery.autoslider .page-block-caption .page-block-txt{
    display: none;
}
.page-block.autoslider .page-block-caption .page-block-ttl{
}
.page-block.gallery.autoslider .page-block-module {
    display: flex;
    justify-content: flex-start; 
    padding: 0px;
}

@media(min-width:500px) {
	.page-block.gallery.autoslider .page-block-caption{
	}
	.page-block.autoslider .page-block-caption .page-block-ttl{
	}
}
@media(min-width:900px) {
	.page-block.gallery.autoslider .page-block-caption{
		column-gap: 30px;
	}
	.page-block.autoslider .page-block-caption .page-block-ttl{
	}
}
@media(min-width:1600px) {
    .page-block.gallery.autoslider .page-block-caption{
    }
}
.page-block.gallery.autoslider .image-container{
	position: relative; padding-top: 30px;
}
.page-block.gallery.autoslider .image-container .image-ttl{
	position: absolute; top: 0px; left: 0px;
	padding: 15px 0px 15px 0px; width: 100%;
}
.page-block.gallery.autoslider .image-container .image-ttl h2{
	padding: 0px; margin: 0px; font-size: 10px; text-transform: uppercase;
    font-variation-settings: "wght" 300; letter-spacing: 0.1em; text-align: center;
}

@media(min-width:960px) {
	
#autoSLider img{
    height: clamp(280px, 60vh, 750px);; width: auto; max-height: 700px;
}
.page-block.gallery.autoslider .image-container{
	position: relative; padding-bottom: 45px; padding-top: 0px;
}
.page-block.gallery.autoslider .image-container .image-ttl{
	position: absolute; bottom:0px; left: 0px; top: auto;
	padding: 30px 0px 30px 0px;
}
    
.page-block.gallery.autoslider .image-container .image-ttl h2{
    font-size: 12px;
    }
}
@media(min-width:1600px) {
	
#autoSLider img{
    height: clamp(380px, 70vh, 950px);; width: auto; max-height: 700px;
}
}



#direct-contact .page-block-txt img{
	width: auto; height: 40px;
}
#direct-contact .page-block-txt p a{
	text-decoration: none; opacity: 0.7;
}
#direct-contact .page-block-txt p a:hover{
	opacity: 1;
}
@media(min-width:960px) {
	

	#direct-contact .page-block-txt{
		display: flex; justify-content: flex-start; align-content: flex-start; align-items: flex-start;
	}
	#direct-contact .page-block-txt p{
		width: 50%;
	}
	#direct-contact .page-block-ttl h2{
		font-size: 3em; padding-bottom: 15px;
	}
}


@media(max-width:767px) {
	#tophighlight{
		display: none!important;
	}
}























.carousel-grid {
      position: relative;
      width: 100%;
      max-width: 1920px;
      aspect-ratio: 20 / 9;
      background: none;
      overflow: hidden;
    }

    /* 1px-ish visual gap using inner padding */
    .carousel-grid-inner {
      position: absolute;
      inset: 0;
      padding: 0.5px; /* ≈ 1px total gap */
      display: block;
    }

    .carousel-item-ohmy {
      position: absolute;
      overflow: hidden;
      background: #222;
      /* no border-radius */
    }

	.carousel-item-ohmy img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  display: block;
	  transition: transform 0.35s ease, opacity 0.35s ease;
	}

    /* Slots (grid-like layout) */

    /* Main always: 3 columns, 2 rows */
    .carousel-item-ohmy[data-slot="main"] {
      left: 0;
      top: 0;
      width: 75%;   /* 3 of 4 columns */
      height: 100%; /* 2 rows */
      z-index: 3;
    }
	  
	/* 2-view: right full-height image */
	.carousel-item-ohmy[data-slot="secondFull"] {
	  left: 75%;    /* right 25% of the grid */
	  top: 0;
	  width: 25%;
	  height: 100%;
	  z-index: 2;
	}

	/* 3-view: right column split into 20% + 5% vertical strips */
	.carousel-item-ohmy[data-slot="second"] {
	  left: 75%;
	  top: 0;
	  width: 20%;
	  height: 100%;
	  z-index: 2;
	}

	.carousel-item-ohmy[data-slot="third"] {
	  left: 95%;
	  top: 0;
	  width: 5%;
	  height: 100%;
	  z-index: 2;
	}


    /* Off-screen queue (right side, full height) */
    .carousel-item-ohmy[data-slot="queue"] {
      left: 100%;
      top: 0;
      width: 25%;
      height: 100%;
      z-index: 1;
    }

    /* === SPECIAL CASE: only 1 image => full-bleed, hide nav & toggle === */
    .carousel-grid[data-count="1"] .carousel-item-ohmy[data-slot="main"] {
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }

    .carousel-grid[data-count="1"] .carousel-controls,
    .carousel-grid[data-count="1"] .view-toggle {
      display: none;
    }
	
	.carousel-grid[data-count="2"] .carousel-item-ohmy[data-slot="main"],
	.carousel-grid[data-count="2"] .carousel-item-ohmy[data-slot="secondFull"] {
	  left: 0;
	  top: 0;
	  width: 100%;
	  height: 100%;
	}


    /* Controls (bottom-right, over the 3rd/right image) */
    .carousel-controls {
      position: absolute;
      right: 30px;
      bottom: 15px;
      display: inline-flex;
      align-items: center; justify-content: space-between;
      gap: 10px;
      background: rgba(240, 226, 191, 0.7);
      padding: 10px 15px;
      border-radius: 999px;
      font-size: 12px;
      line-height: 1;
      z-index: 10; width: 158px;
    }

    .carousel-state {
      opacity: 0.85;
    }

    .carousel-btn {
      border: none;
      background: transparent;
      color: inherit;
      cursor: pointer;
      padding: 2px 4px;
      font-size: 14px;
      line-height: 1;
		outline: none!important;
    }

    .carousel-btn:focus-visible {
     
    }

    .carousel-btn:hover {
    }

    /* View mode toggle (2 / 3) */
    .view-toggle {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 11;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(0, 0, 0, 0.7);
      padding: 4px 6px;
      border-radius: 999px;
      font-size: 11px;
		display: none!important;
    }

    .view-toggle-label {
      opacity: 0.7;
      margin-right: 2px;
    }

    .view-btn {
      border: none;
      background: transparent;
      color: inherit;
      cursor: pointer;
      padding: 2px 4px;
      font-size: 11px;
      line-height: 1;
      border-radius: 999px;
      opacity: 0.6;
    }

    .view-btn.is-active {
      background: rgba(255, 255, 255, 0.15);
      opacity: 1;
    }

    .view-btn:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
    }
	  
	.carousel-item-ohmy[data-slot="main"] img {
	  transform: scale(1.01);
	}

	.carousel-item-ohmy[data-slot="second"] img {
	  opacity: 0.9;
	}

	.carousel-item-ohmy[data-slot="third"] img {
	  opacity: 0.7;
	}

	.carousel-item-ohmy[data-slot="second"]:hover img,
	.carousel-item-ohmy[data-slot="third"]:hover img {
	  opacity: 1;
	  transform: scale(1.015);
	}

	/* clickable secondary slots */
	.carousel-item-ohmy[data-slot="second"],
	.carousel-item-ohmy[data-slot="third"],
	.carousel-item-ohmy[data-slot="secondFull"] {
	  cursor: pointer;
	}


#header.menu-hamburger .navbar-toggle,
#header.menu-hamburger{
	height: 4em;
}
#toptop{
	line-height: 4em;
}
#pageBlock1 .btn-primary.noborder span{
	font-size: 1.4em;
	font-variation-settings: "wght" 420;
    line-height: 1.7em; letter-spacing: 3px;
}
#theBody.woningtype #mainhighlight p{
	font-size: 1.0em;
}

@media (min-width: 768px) {
	#mainsection{
		margin-top: 4em;
	}
	#theBody.shrink #header.menu-hamburger{
		max-height: 4em;
	}
	#theBody.woningtype #mainhighlight,
	#theBody.woningtype #tophighlight,
	#theBody.shrink #mainhighlight,
	#theBody.shrink #tophighlight, #theBody.shrink.home #tophighlight{
		top: 52px;
	}
	#theBody.woningtype #header.menu-hamburger .logo-icon{
		height: 3.5em;
	}
}
@media (min-width: 768px) {
	#extraMenu{
		padding: 1.5em 15px;
	}
	#mainmenu{
		padding-top: 4em;
	}
}

#toptop p a{
	background: rgba(255,255,255,0.4); border-radius: 999px; border: 1px solid var(--textcolor);
	text-decoration: none; padding: 5px 15px;
}


