/*
Theme Name: Qualibuild
Theme URI: https://qualibuild.be/
Template: Divi
Author: Cut 'N' Paste
Author URI: http://www.cutnpaste.be
Description: Smart. Flexible. Beautiful.
Version: 1.08.1.1744210200
Updated: 2025-04-09 14:50:00

*/


.frm_onderwerp {
  padding:0 10px!important;
}

.wpcf7-spinner{
	flex-grow: 0!important;
}

.wpcf7-list-item-label {
	    color: #1A1917 !important
}

/* Change background color of filters */
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
background: none;
border: none
}
 
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
background: #ffffff;
color: #323741 !important;
}

/* 3 Column Portfolio */
@media (min-width: 981px) {
    .three-column-portfolio .et_pb_grid_item {
        width: 31.66%!important;
        margin-right: 2.5%!important;  
    }
  
    .three-column-portfolio .et_pb_grid_item:nth-child(3n) {
        margin-right: 0!important;
    }
  
    .three-column-portfolio.et_pb_grid_item:nth-child(4n) {
        margin-right: 2.5%!important;
    }
  
    .three-column-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
        clear: none!important;
    }
    .three-column-portfolio .et_pb_grid_item.first_in_row {
        clear: unset;
    }
}

.qualibuild-project-filters {
  text-align: center;
  margin-bottom: 1.5em;
}
.qualibuild-project-filters a {
  display: inline-block;
  margin: 0 .5em;
  padding: .5em 1em;
  border-radius: 50px;
  background: #fff;
  color: #D4020B; 
  border: 1px solid #D4020B;
  text-decoration: none;
  transition: background .3s, color .3s, border .3s;
}
.qualibuild-project-filters a.active, .qualibuild-project-filters a:hover {
  background: #D4020B;
  color: #fff;
  border: 1px solid #fff;
}

.qualibuild-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
}

.qualibuild-project-card {
  display: block;
  border-radius: 20px; 
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.qualibuild-project-image img {
 display: block;
  width: 100%;
  height: auto;
  transition: transform .3s ease;	
}

.qualibuild-project-image {
  overflow: hidden;
		border-radius:20px;
}

.qualibuild-project-card:hover .qualibuild-project-image img {
  transform: scale(1.1);
}


.qualibuild-project-badge {
  display: inline-block;
  margin: .75em 0;
  padding: 5px 15px;
  background: #bfb9ac;
  border-radius: 50px;
  font-size: 16px;
	color:#fff;
	font-weight:bold;
}
.qualibuild-project-city {
  margin: 0 .75em .75em;
	font-size:18px;
	color:#000;
}
.qualibuild-project-excerpt {
  margin: 0 .75em 1em;
}

.qualibuild-project-pagination {
  text-align: center;
  margin: 2em 0;
}
.qualibuild-project-pagination .page-numbers {
  display: inline-block;
  margin: 0 .25em;
  padding: .5em .75em;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.qualibuild-project-pagination .current {
  color: #D4020B;
}

.qualibuild-project-meta {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.75em 0;
}

.qualibuild-project-city {
  color: #1A1917;
	margin:auto 0;
	padding-left:10px;
	font-weight:500;
	
}

.qualibuild-project-title {
  margin:0;
	padding:0;
  font-size: 22px;
}
.qualibuild-project-title a, .qualibuild-project-title {
  color: inherit;
  text-decoration: none;
	line-height:25px;
}

.qualibuild-project-preview {
  margin: 0.75em 0;
  line-height: 1.4;
  color: #1A1917;
}

/* make the card a positioning context & hide overflow */
.qualibuild-project-card {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}



/* normal state: use your up-right arrow */
.qualibuild-project-icon {
  background: url('/wp-content/uploads/2025/05/arrow-up-right-white.png') 
              center center no-repeat;
  background-size: contain;
  position: absolute;
  top: .75em;
  right: .75em;
  width: 2em;
  height: 2em;
  z-index: 10;
  transition: background-image .3s ease;
}
/* hover state: switch to your right arrow */
.qualibuild-project-card:hover .qualibuild-project-icon {
  background-image: url('/wp-content/uploads/2025/05/arrow-right-white.png');
}


.qualibuild-project-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin: 2em 0;
}

/* Prev/Next buttons */
.qualibuild-project-prev,
.qualibuild-project-next {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* The circular arrow icons */
.pagination-icon {
  display: inline-flex;
  width: 2em;
  height: 2em;
  border: 1px solid #ccc;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1em;
}

/* Space arrow from text */
.pagination-icon-prev { margin-right: 0.5em; }
.pagination-icon-next { margin-left: 0.5em; }

/* Individual page numbers */
.pagination-page a,
.pagination-page span {
  margin: 0 .25em;
  padding: .5em .75em;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.pagination-page .current {
  background: #333;
  color: #fff;
}


.qualibuild-project-prev:hover .pagination-icon,
.qualibuild-project-next:hover .pagination-icon {
  background: #333;
  color: #fff;
  border-color: #333;
}

.pagination-page a:hover,
.pagination-page span:hover {
  color: #D4020B;
}

.pagination-page .current {
  background: none !important;
  border: none !important;
  color: #D4020B !important;
}



.btn_menu_contact a {
  	color: #FFFFFF !important;
    border-radius: 40px;
	border:1px solid #D4020B!important;
    padding: 0px 15px !important;
    background-color: #D4020B;
    height: 50px;
    margin: auto;
	text-align:center;
}

@media (max-width: 767px) {
  /* target your Contact menu item’s link */
  .btn_menu_contact > a {
    padding-top: 10px !important;
  }
}


.et_pb_menu_0_tb_header.et_pb_menu ul li.btn_menu_contact.current-menu-item > a, .et_pb_menu_0_tb_header.et_pb_menu ul li.btn_menu_contact.current_page_item > a, .btn_menu_contact a:hover {
  color: #D4020B !important;
    border:1px solid #D4020B!important;
    background-color: #FFFFFF;
}

.dvppl-cf7-col {
  display: flex;
  gap: 1rem; 
}

.dvppl-cf7-col > label {
  flex: 1; 
  min-width: 0; 
}

.dvppl-cf7-col > label input {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .dvppl-cf7-col {
    flex-direction: column;
  }
}
.qualibuild-project-card:hover .qualibuild-project-title {
  color: #D4020B;
  transition: color .3s ease;
}

.footerlinks a {
  position: relative;
  color: #fff;                
  text-decoration: none;
  transition: color .3s ease;
}

.footerlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;             
  width: 0;
  height: 2px;
  background: #D4020B;       
  transition: width .3s ease;
}

.footerlinks a:hover,
.footerlinks a:focus {
  color: #D4020B;             
}

.footerlinks a:hover::after,
.footerlinks a:focus::after {
  width: 100%;                
}


.codedropz-upload-inner span {
	display:none;
}

.codedropz-btn-wrap {
	text-align:left;
}

.codedropz-upload-container {
	padding: 7px 20px;
}

.codedropz-upload-handler {
	border-radius:30px!important;
}

.codedropz-upload-wrapper {
	padding-top:6px;
}

input.wpcf7-number {
  border: 1px solid #bbb !important;
}

input.wpcf7-number:focus {
  border-color: rgb(234, 234, 234) !important;
  outline: none; /* optional, removes the default blue outline */
}

@media (max-width: 780px) {
  /* 1) Make the row a flex container on mobile */
  .reverse-mobile {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  /* 2) Force each column to full-width */
  .reverse-mobile > .et_pb_column {
    width: 100% !important;
  }

  /* 3) Swap the two columns’ order */
  .reverse-mobile > .et_pb_column:first-child {
    order: 2;
  }
  .reverse-mobile > .et_pb_column:last-child {
    order: 1;
  }
}

@media (max-width: 767px) {
  .qualibuild-project-filters a {
    display: inline-block;   /* so margin-bottom applies */
    margin-bottom: 0.75em;   /* adjust as needed */
  }
}


.phone-header-wrap {
  position: fixed !important;
  top: 150px !important;
  right: 20px !important;
  z-index: 99999 !important;
}

/* the circular icon */
.phone-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #D4020B;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background .3s;
}
.phone-header-icon i {
  font-size: 1.2em;
}
.phone-header-icon:hover {
  background: #b30007;
}

/* hidden number popup */
.phone-header-popup {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: .5em;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: .5em 1em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.phone-header-popup a {
  color: #D4020B;
  text-decoration: none;
  font-weight: bold;
}

/* never show popup on mobile (tel: will fire) */
@media (max-width: 767px) {
  .phone-header-popup { display: none !important; }
}

/* make the circle red */
.phone-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #D4020B;
  border-radius: 50%;
  text-decoration: none;
}

/* phone icon styling */
.phone-header-icon .phone-icon {
  font-size: 1.2em;
  color: #fff;           /* WHITE icon */
  line-height: 1;
}

ul#mobile_menu1.et_mobile_menu > li:not(.btn_menu_contact) > a {
    font-weight: 700;
    background-color: rgba(0, 0, 0, .03);
  }

body #page-container .et_pb_section .et_pb_button_0:after {
	opacity:1!important;
}

/* Let that header section & row always show overflow */
.et_pb_section--with-menu,
.et_pb_section--with-menu .et_pb_row--with-menu {
  overflow: visible !important;
}

/* And keep your phone icon fixed so it floats outside the flow */
.phone-header-wrap {
  position: fixed !important;
  top: 20px;
  right: 20px;
  z-index: 9999;
}