/* ----------------------------------------------------------------
    Custom CSS
    Add all your Custom Styled CSS here for New Styles or
    Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

html {
  scroll-behavior: smooth;    
}
html, body {
  font-size: 16px; /* Default size for anything below 768px (mobile layout) */
}

/* @media (min-width: 768px) {
  html, body {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  html,body {
    font-size: 16px;
  }
}

@media (min-width: 1700px) {
  html,body {
    font-size: 16px;
  }
} */


/* ----------------------------------------------------------------
    Media Queries
-----------------------------------------------------------------*/

@media (max-width: 1200px) {
  /* Hamburger Menu for smaller screens */
  .custom-hamburger-menu {
    --cnvs-menu-trigger-gap: 0.75rem;
    display: flex;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    padding: var(--cnvs-menu-trigger-gap);
    transition: opacity 0.3s ease;
  }
  #logo img {
    width: 100px;
  }

  /* Hide primary menu on small screens */
  .primary-menu {
    display: none;
  }
}

@media (min-width: 1201px) {
  /* Hide hamburger menu on larger screens */
  .custom-hamburger-menu {
    display: none;
  }
  .lang-mobile {
    display: none;
  }
}


.features-bar {
  background-color: #FFA400;
  color: #212529;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: normal;
  text-transform: var(--cnvs-primary-menu-submenu-tt);
  font-family:var(--cnvs-primary-font);
  display: flex; /* Use flexbox */
  justify-content: center; /* Center the ul horizontally */
  width: 100%; /* Ensure full width */
}s

.features-bar ul {
  max-width: 1200px; /* Keeps the ul from becoming too wide */
  width: 100%; /* Ensure the ul stretches to the full width of its container */
}
.line.line-sm {
  margin: 1rem 0;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x); 
  color: var(--bs-card-color);
}


.slider-element {
  padding:5vw;
}
@media (max-width: 768px) {
  .slider-element {
    padding:25vw 5vw 5vw 5vw;
  }
}
/* ----------------------------------------------------------------
	  Language Dropdown
  -----------------------------------------------------------------*/

.dropdown-langs .dropdown-item {
  font-size: 14px;
}

.dropdown-langs img {
  margin-right: 8px;
  width: 25px;
}

.dropdown-langs .dropdown-toggle::after {
  position: relative;
  font-family: "bootstrap-icons";
  content: "\F229";
  font-size: 10px;
  top: 3px;
  border: 0;
  color: #666;
  margin-left: -5px;
}

/* ----------------------------------------------------------------
	  Menu Styles
  -----------------------------------------------------------------*/

  @media (min-width: 768px) {
    .container-md,
    .container-sm,
    .container {
      max-width: 1200px;
    }
  }
  @media (min-width: 992px) {
    .container-lg,
    .container-md,
    .container-sm,
    .container {
      max-width: 1200p;
    }
    .hero-features {
      transform: translateY(-50%);
      padding: 40px 30px;
      max-width: 80%;
      margin-left: auto;
      border-left: 4px solid rgba(0, 0, 0, .2);
      border-top-right-radius: 0px;
      border-bottom-right-radius: 0px;
    }
  }
  @media (min-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
      max-width: 1140px;
    }
  }
  @media (min-width: 1400px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
      max-width: 1320px;
    }
  } 

  .is-expanded-menu.stretched .full-header #header-wrap > .container {
    width: 100%;
    max-width: 1350px;
    padding: 0 30px;
  }

.menu-dom {
  justify-content: end;
}

.menu-dom a.menu-link {
  padding: 20px 5px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: normal;
  text-transform: var(--cnvs-primary-menu-submenu-tt);
}

.menu-sub a.menu-link {
  padding: 10px 5px;
  font-weight: normal;
  font-size: 1rem;
  letter-spacing: normal;
}

.primary-menu .menu-sub {
  justify-content: end;
}

/* Rating Item in Menu */
.menu-item.rating {
  padding-left: 5px;
  padding-right: 10px;
}

.menu-item.rating .review-text {
  text-decoration: none;
  font-weight: normal;
  font-size: 1rem;
}

.menu-item.rating .review-text:hover {
  color: #FFA400;
}

/* Expanded Menu Adjustments */
.is-expanded-menu .full-header .primary-menu .menu-container {
  padding-right: 0rem;
  margin-right: 0rem;
}

/* ----------------------------------------------------------------
	  Header and Logo
  -----------------------------------------------------------------*/

.header-row {
  padding-bottom: 10px;
}

#logo {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: auto;
  max-height: 100%;
}

#logo a {
  color: #000;
  font-family: var(--cnvs-primary-font);
  font-size: 36px;
  width: 100%;
}

#logo a [class^="logo-"] {
  display: none;
}

#logo a .logo-default {
  display: flex;
}

#logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: height 0.4s ease, padding 0.4s ease, margin 0.4s ease,
    opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  #logo img {
    transition: none;
  }
}

/* Adjust header and logo sizing for different screen sizes */
#header-wrap #logo img {
  height: var(--cnvs-header-height);
}

.header-wrap-clone {
  height: calc(var(--cnvs-header-height-sm));
}

@media (min-width: 1201px) {
  .header-wrap-clone {
    height: calc(var(--cnvs-header-height-lg));
    
  }
  .header-wrap {
    height: calc(var(--cnvs-header-height-lg));
    
  }
  #logo img {
    width: 160px;
  }

  
}

.hero-features {
  transform: translateY(-20%);
  padding: 25px;
  border-radius: 6px;
}

.hero-features {
	transform: translateY(-20%);
	padding: 25px;
	border-radius: 6px;
}

.hero-features i {
	font-size: 1.5rem;
	line-height: 1.4;
}

.hero-features h5 {
	font-size: 0.9rem;
	line-height: 1.6;
}


.is-expanded-menu .full-header #logo {
  padding-right: 30px;
}

.is-expanded-menu #header.transparent-header.full-header #logo {
  border-right-color: var(--cnvs-header-transparent-border-color);
}

.is-expanded-menu #header.sticky-header-shrink #header-wrap #logo img {
  height: var(--cnvs-sticky-header-height);
}

/* ----------------------------------------------------------------
	  Star Rating
  -----------------------------------------------------------------*/

.star-rating {
  display: flex;
  align-items: center;
  color: #ffd700; /* Gold color for stars */
}

.review-text {
  margin-left: 5px;
  font-weight: bold;
  color: #333; /* Text color */
}

/* ----------------------------------------------------------------
	  Hamburger Menu Adjustments
  -----------------------------------------------------------------*/

.cnvs-hamburger .cnvs-hamburger-inner::before {
  top: -8px; /* Adjust gap above */
}

.cnvs-hamburger .cnvs-hamburger-inner::after {
  bottom: -8px; /* Adjust gap below */
}

/* ----------------------------------------------------------------
	  Button Styles
  -----------------------------------------------------------------*/

/* Primary Button */
.button-primary {
  box-shadow: none; /* No shadow */
  color: #212529 !important;
  border-width: 2px;
  text-transform: uppercase;
  font-weight: bold;
}
.content-wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.samenwerking-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr)); /* Use 1fr instead of auto */
  grid-template-rows: repeat(1, 1fr);
  gap: 3px;
}
.samenwerking-grid h5{
  margin: 0;
}

@media (max-width: 1400px) {
  .samenwerking-grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr)); /* Use 1fr for consistent width */
    grid-template-rows: repeat(2, 1fr);
  }
}

@media (max-width: 715px) {
  .samenwerking-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr)); /* Use 1fr for consistent width */
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 320px) {
  .samenwerking-grid {
    grid-template-columns: repeat(1, minmax(150px, 1fr)); /* Use 1fr for consistent width */
  }
}


@media (min-width: 768px) { /* Adjust breakpoint if needed */
  .row-reverse-desktop {
    flex-direction: row-reverse;
  }
}

/* .tab-pane p{
font-size: 1.1rem;} */


@media (max-width: 439px) {
.button.button-xlarge {
  --cnvs-btn-padding-x: 1.525rem;
  --cnvs-btn-padding-y: 0.5rem;
  --cnvs-btn-fontsize: 1.125rem;
}

}
@media (max-width: 350px) {
  .button.button-xlarge {
    --cnvs-btn-padding-x: 1.325rem;
    --cnvs-btn-padding-y: 0.3rem;
    --cnvs-btn-fontsize: 0.8rem;
  }
  
  }


.button-primary .fa {
  color: var(--bs-primary); /* Icon color */
}

/* Primary Button Hover and Focus States */
.button-primary:hover,
.button-primary:focus,
.button-primary:active {
  background-color: #cc8300;
  color: #ffffff;
  box-shadow: none;
}

/* Reverse Primary Button */
.button-primary-reverse {
  --cnvs-btn-color: white;
  color:#212529;
  box-shadow: none;
  font-weight: bold;
}

.button-primary-reverse:hover,
.button-primary-reverse:focus,
.button-primary-reverse:active {
  background-color: var(--bs-primary);
  color: white;
  box-shadow: none;
}

/* Icon color for reverse primary button */
.button-primary-reverse .fa {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Red Button Styles */
.button-red.button-3d:hover,
.button-red.button-reveal:hover,
.button-red.button-border:hover {
  --cnvs-btn-color: var(--bs-primary) !important;
  box-shadow: none;
  border-width: 2px;
}

.button-red.button-border.button-fill::before {
  background-color: var(--bs-primary);
}

.button-red.button-action {
  --cnvs-btn-action-border-color: var(--bs-primary);
  box-shadow: none;
}

.button-border.button-red,
.button-border.button-light.button-red {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: none;
}

/* Reverse Primary Reveal Button */
.button-red.button-reveal.button-primary-reverse {
  background-color: white;
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  box-shadow: none;
}
.side-panel-buttons {
  display: flex;
}

/* Section for Werkwijze */
@media (min-width: 768px) {
  .feature-box.col-md-4 {
      flex: 0 0 auto;
      width: auto;
  }
}


/* FAQ Section */
.toggle-bg .toggle-header {
  background-color: #F2F6FA;
  padding: 1rem 1.5rem;
  align-items: center;
    font-family: var(--cnvs-primary-font);

}

.toggle, .accordion {

  --cnvs-toggle-bottom-margin: 0.5rem;

}

/* Accordion styling to match theme */
.accordion-border {
  border-color: var(--cnvs-contrast-300);
}

.accordion-header {
  background-color: #F2F6FA;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: var(--cnvs-primary-font);
}

.accordion-header:hover {
  background-color: #e8eef5;
}

.accordion-header.accordion-active {
  background-color: #e8eef5;
}

.accordion-title {
  font-weight: 500;
  font-size: 1.1rem;
  color: #333;
  font-family: var(--cnvs-primary-font);
}

.accordion-content {
  background-color: #F2F6FA;
  padding: 1.5rem;
  color: #888;
  line-height: 1.7;
  font-size: 1rem;
  font-family: var(--cnvs-primary-font);
}

.accordion-icon {
  margin-right: 0.75rem;
}

.accordion-icon i {
  color: var(--cnvs-theme-color, #1e73be);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-header.accordion-active .accordion-icon .accordion-open {
  display: inline-block;
}

.accordion-header.accordion-active .accordion-icon .accordion-closed {
  display: none;
}

.accordion-header:not(.accordion-active) .accordion-icon .accordion-open {
  display: none;
}

.accordion-header:not(.accordion-active) .accordion-icon .accordion-closed {
  display: inline-block;
}

.toggle-bg .toggle-content {
  background-color: #F2F6FA;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 0 1.5rem 1.5rem;
  color: #888;
  line-height: 1.7;
  font-family: var(--cnvs-primary-font);
}
@media (min-width: 992px) {


	.toggle-bg .toggle-icon i {
		width: 1.25rem;
		font-size: 1.25rem;
	}

	.toggle-bg .toggle-header {
		background-color: #F2F6FA;
		padding: 1rem 1.5rem;
		align-items: center;
    font-family: var(--cnvs-primary-font);

	}

	.toggle-bg .toggle-content {
		background-color: #F2F6FA;
		font-weight: 400;
		font-size: 1.1rem;
		padding: 0 1.5rem 1.5rem;
		color: #888;
		line-height: 1.7;
    font-family:var(--cnvs-primary-font);
	}

	.toggle-bg .toggle-header .toggle-icon {
		-webkit-transition: transform .25s ease;
		-o-transition: transform .25s ease;
		transition: transform .25s ease;
	}

	.toggle-bg.toggle-active .toggle-header .toggle-icon {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
		color: var(--cnvs-themecolor);
	}
}
/* FEATURE BOX STYLING */
.feature-box {

  --cnvs-featured-box-bg-dark: #FFA400;
}
.fbox-content p{
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .fbox-content p {
    font-size: 1rem;
  }
}

.feature-box-border-vertical .feature-box {
  position: relative;
}

.feature-box-border-vertical .feature-box:not(.noborder)::before,
.feature-box-border-vertical.border-hover-animate .feature-box:not(.noborder)::after {
  content: "";
  position: absolute;
  top: calc(64px + 13px);
  left: 59px;
  width: 2px;
  height: calc(100% - 90px);
  background-color: #EEE;
  z-index: 0;
}

.feature-box-border-vertical.border-hover-animate .feature-box:not(.noborder)::after {
  background-color: #FFA400;
  height: 0;
  transition: height .3s ease-in-out;
}

.feature-box-border-vertical .feature-box:nth-child(1):not(.noborder)::before {
  background-color: #FFA400;
}

.feature-box-border-vertical.border-hover-animate .feature-box:hover:not(.noborder)::after {
  height: calc(100% - 90px);
}

.feature-box-border-vertical .fbox-icon i,
.feature-box-border-vertical .fbox-border.fbox-light .fbox-icon i {
  line-height: 60px;
  font-size: 24px;
  z-index: 1;
  text-align: center;
}
/* CONTACT FORM FOOTER */

#map-overlay {
  position: relative;
  padding: 1rem 0 2rem 0;
}

/* Swiper */
.swiper-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	transition-timing-function: linear !important;
}


.header-row {

  flex-wrap: nowrap;
}

#realestate-tabs.tabs {
  padding: 0;
  & li {
    & button {
      text-align: center;
    }
  }
} 


@media (max-width: 575.98px) {
  #realestate-tabs.tabs {
      flex-direction: row;
      border-bottom: 0;
      padding: 0;
  }
}

.heading-block::after {
  display: none;
}

@media (max-width: 768px) { /* Target mobile devices */
  html {
    font-size: 85%; /* Reduce base font size to 85% */
  }
 
    input, select, textarea {
         font-size: 16px !important;
    }

}


.page-title .dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
  z-index: 1;
  pointer-events: none; /* Ensures the overlay doesn't block interaction */
}

.article {
  ul li {
    list-style: none;
  }
  /* 
  h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    color: red;
    margin: 0 0 1rem 0; This will be overridden by specific rules below 
  }
  h1 {
    color: red;
    margin-top: 0; /* Guideline: 0 if first element 
    margin-bottom: 1.5rem; /* Guideline: 1em–1.5em, choosing 1.5em = 24px = 1.5rem 
  }
  h4 {
    color: blue;
    margin-top: 1rem; /* Guideline: 1em = 16px = 1rem 
    margin-bottom: 0.5rem; /* Guideline: 0.5em = 8px = 0.5rem 
  }
  h5 {
    color: purple;
    margin-top: 1rem; /* Guideline: 1em = 16px = 1rem 
    margin-bottom: 0.5rem; /* Guideline: 0.5em = 8px = 0.5rem 
  }
  h6 {
    color: darkorchid;
    margin-top: 1rem; /* Guideline: 1em = 16px = 1rem 
    margin-bottom: 0.5rem; /* Guideline: 0.5em = 8px = 0.5rem 
  }*/
  p {
    margin-top: 0; /* No extra space above paragraphs */
    margin-bottom: 1.5rem; /* Guideline: 1em–1.5em, chose 1.5em = 24px = 1.5rem */
    line-height: 1.6; /* Guideline: 1.5–1.8, chose 1.6 for balance */
  }
  h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    color: #212529;
    margin: 0 0 1rem 0; /* This will be overridden by specific rules below */
  }h2 {
    color: #e69400 ;
    margin-top: 2rem; /* Guideline: 1.5em–2em, choosing 2em = 32px = 2rem */
    margin-bottom: 1rem; /* Guideline: 0.5em–1em, choosing 1em = 16px = 1rem */
  }h3 {
    color: #2c344c;
    margin-top: 1rem; /* Guideline: 1em = 16px = 1rem */
    margin-bottom: 0.5rem; /* Guideline: 0.5em = 8px = 0.5rem */
  }
} 

/* Scroll margin fix for header offset */
[id] {
    scroll-margin-top: 100px; /* Adjust this value based on your header height */
} 

.hero { position: relative; overflow: hidden; }
.hero__bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}
.hero__overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    linear-gradient(to right, rgba(0,0,0,.4) 20%, transparent 100%);
}
.hero__content{ position:relative; z-index:2; }
@media (max-width: 991.98px) {
  #slider {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }
  #slider .slider-inner {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
  }
}
/* -------------------------------------------------------------
   GDPR cookie banner — authoritative positioning.
   PurgeCSS strips the main .gdpr-settings rule from
   style.purged.min.css, which broke the banner (invisible on the
   homepage, in-flow on other pages). This restores it here in
   custom.css (loaded last on every page, not purged) so the banner
   is a consistent fixed bottom bar everywhere. It starts hidden
   (opacity:0); the cookie script reveals it via inline opacity:1.
------------------------------------------------------------- */
.gdpr-settings {
  --cnvs-gdpr-settings-offset: 0rem;
  --cnvs-gdpr-settings-width: calc(100vw - calc(var(--cnvs-gdpr-settings-offset) * 2));
  --cnvs-gdpr-settings-height: 60vh;
  --cnvs-gdpr-settings-spacing: 1rem;
  position: fixed;
  max-width: var(--cnvs-gdpr-settings-width);
  max-height: var(--cnvs-gdpr-settings-height);
  overflow-y: auto;
  margin-bottom: var(--cnvs-gdpr-settings-offset);
  border-radius: 0.25rem;
  top: auto;
  bottom: 0;
  left: var(--cnvs-gdpr-settings-offset);
  right: var(--cnvs-gdpr-settings-offset);
  opacity: 0;
  padding: var(--cnvs-gdpr-settings-spacing);
  z-index: 999;
  background-color: var(--cnvs-contrast-100);
}

@media (min-width: 768px) {
  .gdpr-settings {
    max-height: none;
    overflow: auto;
  }
}
