/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*linkjes*/
a{
	color:#23ae84;
}

/* Afbeelding blok */
.stretchen-img {
    width: 100%;
    height: auto;
}

.hs-img {
    width: 100%;
	max-width:1180px;
    height: clamp(24rem, calc(24rem + ((1vw - 0.48rem) * 32.5)), 50rem);
    object-fit: cover;
}

.centreren-img, .centreren-button-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.design-img {
	margin-bottom: clamp(3rem, calc(3rem + ((1vw - 0.48rem) * 8.75)), 10rem);
}

.img-smal{
	max-width:1000px;
	align-self: center;
}

.img-klein{
	max-width:400px;
	height:400px;
	align-self: center;
	object-fit:cover;
	
}

.img-geen-ruimte {
	margin-bottom: 0rem!important;
}

.bm-header-cta-container {
    display: flex;
    flex-direction: row;
    align-items: center;	
    gap: 10px;
}

.cta-container {
    display: flex;
    gap: 10px;
}

.cta-space {
	margin-top: 2rem;
}

.pri-cta, .sec-cta {
    padding: 6px 12px;
    border: 1px solid #000;
	transition: background-color 0.2s, color 0.2s;
}

.pri-cta {
    background-color: #000;
    color: #fff;
}

.sec-cta {
    background-color: #fff;
    color: #000;
}

.pri-cta:hover, .sec-cta:hover {
    border: 1px solid #000;
    margin-top: 2rem;
    padding: 6px 12px;
}

.pri-cta:hover {
    background-color: #fff;
    color: #000;
}

.sec-cta:hover {
    background-color: #000;
    color: #fff;
}

.bm-pri-i {
	margin-left: 5px;
}

.bm-sec-i {
	margin-left: 5px;
}

/* Embed code */
.embed-container { 
    position: relative; 
    overflow: hidden;
    padding-top: 56.25%; /* voor 16:9 verhouding */
    height: 100%;
    width: 100%;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Team */
.bm-teamleden-container {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}

/* Tekst */
/* Standaard styling voor de tekstcontainer */
.bm-t-container {
    /* Andere stijlen die je mogelijk al hebt ingesteld. */
}

/* Als centreren is ingeschakeld */
.bm-t-center {
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}

/* Als smalle tekst is ingeschakeld */
.bm-t-small {
    max-width: 580px;
}

/*Als groene tekst is ingeschakeld*/
.bm-t-groene_text{
	color:#23ae84;
	font-size:3rem;
	font-weight:400;
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
	line-height:3.5rem;
}

@media screen and (max-width:992px){
	.bm-t-groene_text{
	font-size:1.5rem;
	line-height:1.8rem;
}
}

/* Stijlen om de knoppen te centreren wanneer tekst gecentreerd is */
.bm-t-center .cta-container {
    text-align: center; /* dit is om de knoppen te centreren */
}

/* Tekst met afbeelding */

/* Over ons */
@media screen and (max-width:992px){
	#over-marco-baetsen{
		font-size:2em;
	}
}
/* Basisopmaak voor de container */
.brxe-container.c-t-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 120px;
    grid-row-gap: 30px;
}

/* Standaard opmaak voor afbeeldingen */
.dr-t-img img.t-img {
    width: 100%;
}

.image-title{
	font-weight:700;
	font-size:1.3rem;
	margin-left:5rem;
}

/* Als huisstijl is ingeschakeld */
.dr-t-img img.t-img.ti-design {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* Standaard order voor kinderelementen */
.brxe-container.c-t-img .dl-t-img {
    order: 0;
}
.brxe-container.c-t-img .dr-t-img {
    order: 1;
}

/* Wanneer de volgorde is veranderd */
.brxe-container.c-t-img.t-img-order .dl-t-img {
    order: 1;
}
.brxe-container.c-t-img.t-img-order .dr-t-img {
    order: 0;
}

/* Zoekresultaten */
.bm-search-results {
    margin: 20px 0;
    padding: 0;
}

.bm-search-result {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.bm-search-result-image {
    flex: 1 1 100px;
    margin-right: 20px;
}

.bm-search-result-image img {
    max-width: 100%;
    height: auto;
}

.bm-search-result-content {
    flex: 1 1 calc(100% - 120px);
}

.bm-search-result-content h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

.bm-search-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Overzicht */

.bm-ovz-container {
    display: grid;
	width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

.bm-ovz-title {
    margin-top: 10px; /* wat ruimte tussen de afbeelding en de titel */
	font-weight: 400;
}

.ter-cta {
    display: inline-block;
	color:#23ae84;
	font-weight:500;
}

.bm-ovz-img-wrapper:hover .bm-ovz-img {
    transform: scale(1.1); /* Inzoomen met een factor van 1.1 */
}

.bm-ovz-img {
    max-width: 400px;
    height: clamp(24rem, calc(24rem + ((1vw - 0.48rem) * 20)), 40rem);
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
	overflow: hidden;
	width:100%;
}

.bm-ovz-img-wrapper {
    display: block;
    overflow: hidden;
	width:400px;
	height: clamp(24rem, calc(24rem + ((1vw - 0.48rem) * 20)), 40rem);
}

@media screen and (max-width:991px){
	.bm-ovz-img-wrapper{
		width:100%;
	}
}
/*Groen blokje*/
.groen-blokje{
	width:5rem;
	height:1.5rem;
	background-color:#23ae84;
	margin-bottom: 2rem;
}

/*tekst en afbeelding met extra info*/
.c-t-img-info{
	width:100%;
	max-width:1000px;
}

.bm-t-img-info-extra p, .bm-t-img-info-extra{
	margin-top:2rem;
	font-size:15px;
	font-weight: 300;
	padding-bottom: 2rem;
}

.bm-t-img-info-text p{
	font-weight:500;
	font-size:1.8rem;
	line-height: 1.2;
}

.bm-t-img-info-text h2 {
	font-weight:500;
	font-size:2.2rem;
	line-height: 1.2;	
}

.p-d-groen span {
	font-weight: 400;
}

.p-d-groen a {
	font-weight: 400;
}


h2#abdij-ulingsheide {
    font-weight: 500;
}

/*contactform*/
.bm-ff-cf-submit{
	padding:1rem 2rem;
	border-radius:10px;
}

.bm-ff-cf-submit:hover{
	background-color:#18775B;
	color:#fff;
}

/*Content slider*/
.img_content_slider {
    width: 100%;
    height: clamp(30rem, calc(30rem + ((1vw - 0.48rem) * 31.25)), 55rem);
    padding: 0rem 1.5rem;
}

#image-slider{
	width:100%;
}

.splide__arrow svg {
    fill: #23ae84!important;
}

.splide__arrow {
	background:#fff!important;
	opacity:100!important;
	height:4rem!important;
	width:4rem!important;
}

.splide__arrow--prev {
    left: 2rem!important;
}
.splide__arrow--next {
    right: 2rem!important;
}

p.slide-title {
    padding-left: 1.5rem;
}

.splide__slide:hover .img_content_slider {
    transform: scale(1.1); /* Inzoomen met een factor van 1.1 */
}
.img_content_slider{
	object-fit: cover;
    object-position: center;
	transition: transform 0.3s ease; /* Soepele overgang gedurende 0.3 seconden */
	overflow: hidden;
}

.splide-img-wrapper{
	overflow:hidden;
}

/*Bold*/
strong {
    color: #23ae84;
    font-size: 2.2rem;
	font-weight: 500;
}

/*Project tekst*/
.bm-t-project-tekst{
	max-width:1000px;
}

/*Afbeelding gallerij*/
/*2 klein*/
.bm-btg-2-klein {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	width: 100%;
}

.bm-btg-2-klein-img {
	width:100%;
	height: 500px;
	object-fit: cover;
	
}

/*2 horizontaal*/
.bm-btg-2-horizontaal {
    gap: 30px;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    align-self: center;
}

.bm-btg-2-horizontaal-img {
    height: 450px;
    width: 1000px;
    object-fit: cover;
}

/*2 verticaal*/
.bm-btg-2-verticaal {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 30px;
	width:100%;
	justify-items:stretch;
}

.bm-btg-2-verticaal-img:first-of-type{
	justify-self:flex-end;
}

.bm-btg-2-verticaal-img{
	max-height:600px;
	max-width:485px;
	min-width:485px;
	object-fit:cover;
}

/*Grid van 3*/
.bm-btg-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

.bm-btg-grid-3-img {
    max-height: 600px;
    object-fit: cover;
	width:100%;
    max-width: 485px;
	height: 100%;
}

/* Media query voor grotere schermen grid van 3*/
@media (min-width: 1024px) {
    .bm-btg-grid-3 {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "first second"
            "third third";
    }

    .bm-btg-grid-3-img:first-child {
        grid-area: first;
		justify-self:flex-end;
    }

    .bm-btg-grid-3-img:nth-child(2) {
        grid-area: second;
    }

    .bm-btg-grid-3-img:last-child {
        grid-area: third;
        max-width: 1000px;
        min-width: 1000px;
		margin: auto;
    }
}


@media screen and (max-width:992px){
	.c-t-img-info{
		max-width:100%;
	}
	.img-smal{
		width:100%;
	}
	.img-klein {
		max-width: 100%;
		height: auto;
		align-self: center;
		object-fit: contain;
	}
}

/* Team pagina */

.bm-teamleden-naam {
  margin-top: 10px;
  margin-bottom: 0px;
  color: #23ae84;       
  font-size: 2.5rem;     
  font-weight: 500;
}

.bm-teamleden-content.bm-teamleden-item {
  cursor: pointer;
}

.bm-teamleden-functie { 
  color: #333;
  font-size: 1.6rem;
  padding-bottom: 2rem;
  font-weight: 500;
}

.bm-teamleden-modal {
  position: fixed;
  inset: 0; 
  margin-top: 10px;
  display: flex;
  padding: 1rem;
  align-items: center;
  justify-content: center; 
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999; 
}

.bm-teamleden-modal .bm-modal-content {
  position: relative;   
  width: auto;
  max-width: 900px;
  overflow-y: auto;
  background: #fff;
  padding: 2rem;
  display: flex; 
  gap: 4rem;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 4px;
  margin: auto;
  top: 50%;
	transform: translateY(-50%);
}

/* Close button in top-right corner */
.bm-teamleden-modal .bm-close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.bm-teamleden-modal .bm-close-modal > i{
  color: #666;
  font-size: 22px;
}

/* ============================= */
/* LEFT-SIDE IMAGE               */
/* ============================= */
.bm-teamleden-modal .bm-modal-img {
  width: 300px;  
  max-width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

/* ============================= */
/* RIGHT-SIDE CONTENT            */
/* ============================= */
.bm-teamleden-modal .bm-modal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bm-teamleden-modal .bm-modal-name {
  margin-bottom: 0px;
  color: #000;       
  font-size: 2.5rem; 
  font-weight: 500;
}

.bm-modal-functie{
  color: #23ae84;
  font-size: 1.6rem;
  padding-bottom: 2rem;
  font-weight: 500;
}

.bm-teamleden-modal .bm-modal-description {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
  padding-bottom: 2rem;
}

#brxe-osoqgv > div.bm-teamleden-modal > div > div > a > i{
	align-self: center;
  padding: 5px;
}

.bm-teamleden-modal .bm-modal-linkedin {
  display: flex;     
  align-items: center;      
  justify-content: center;    
  color: #23ae84;
  font-size: 2.6rem;
  border: 2px solid #23ae84;
  border-radius: 10px;
  text-decoration: none;
  aspect-ratio: 1/1;          
	width: 40px;
}

img.bm-teamleden-img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
  .bm-teamleden-modal {
    align-items: flex-start; /* Zorgt ervoor dat de modal van bovenaf start */
    overflow-y: auto; /* Voorkomt dat content buiten het scherm valt */
  }

  .bm-teamleden-modal .bm-modal-content {
    flex-direction: column;
    padding: 2rem;
    margin: 0 auto; /* Voorkomt onnodige verschuivingen */
    top: auto; /* Reset de vorige positioning */
    transform: none; /* Verwijdert de verticale verplaatsing */
  }

  .bm-teamleden-modal .bm-modal-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    margin-top: 2rem;
  }
}
