/*
 Theme Name:   Magneet Agency Child
 Theme URI:    https://bureaumagneet.nl/
 Description:  Thema voor custom code
 Author:       Magneet Agency
 Author URI:   https://bureaumagneet.nl/
 Template:     bricks
 Version:      januari 2024
 Text Domain:  bricks
*/

/*Algemeen*/

img {
  object-fit: cover;
}

p a {
  text-decoration: underline;
  font-weight: bold;
}

html {
  overflow-x: hidden;
}

/*Section aanpassen media*/
.s-bm-media-blog {
  width: 100%;
}

.c-bm-media-blog {
  width: 100%;
  max-width: 1280px;
  align-content: center;
  justify-self: center;
  justify-items: center;
}

.mc-bm-media-blog {
  width: 100%;
  max-width: 790px;
}

.s-bm-media-groot {
  width: 100%;
  display: flex;
  justify-content: center;
}

.c-bm-media-groot {
  width: 100%;
  max-width: 1280px;
}

.mc-bm-media-groot {
  width: 100%;
}

.s-bm-media-fullscreen {
  width: 100%;
}

.c-bm-media-fullscreen {
  width: 100%;
}

.mc-bm-media-fullscreen {
  width: 100%;
}

.iframe-img-bm-media-blog {
  width: 100%;
	border-radius:5px;
}

.iframe-img-bm-media-groot {
  width: 100%;
	border-radius:5px;
}

.iframe-img-bm-media-fullscreen {
  width: 100%;
  min-width: 100%;
  height: 100vh;
}

/*Placeholder*/
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-v-play-btn {
  font-size: 10rem;
}

/*Grid classes*/
.twee-items {
  grid-template-columns: repeat(auto-fill, minmax(490px, 1fr));
}

.drie-items {
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
}

img.bm-grid-items-img {
    object-fit: cover;
	border-radius: 5px;
}

.vier-items {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

/*Bovenruimte*/
.ge-top {
  padding-top: 0rem;
}

.k-top {
  padding-top: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.0417)), 3rem);
}

.m-top {
  padding-top: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 3.125)), 6rem);
}

.gr-top {
  padding-top: clamp(5rem, calc(5rem + ((1vw - 0.32rem) * 4.1667)), 9rem);
}
/*Onderruimte*/
.ge-bottom {
  padding-bottom: 0rem;
}

.k-bottom {
  padding-bottom: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.0417)), 3rem);
}

.m-bottom {
  padding-bottom: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 3.125)), 6rem);
}

.gr-bottom {
  padding-bottom: clamp(5rem, calc(5rem + ((1vw - 0.32rem) * 4.1667)), 9rem);
}

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

.cta-container {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
}

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

.pri-cta,
.sec-cta {
  padding: 6px 27px 10px 27px;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 5px;
  width:fit-content;
	border-radius:5px;
	cursor:pointer;
	    font-weight: 700;
	
}

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

.sec-cta {
  background-color: rgb(178, 151, 110);
  color: #fff;
}

.pri-cta:hover,
.sec-cta:hover {
  border: 1px solid #000;
}

.pri-cta:hover {
  background-color: rgb(102.025, 156.35, 98.05);
  color: #fff;
}

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

.button-icon {
  width: 20px;
  display: flex;
}

.button-icon path {
  fill: currentColor;
}

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

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

/* Grid */
.bm-grid-items-container {
  display: grid;
  gap: 30px;
  width: 100%;
}

/* Tekst */

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

.bm-t-center .cta-container {
  text-align: center;
}

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

/* Tekst met media */
.brxe-container.c-t-img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.dr-t-img img.t-img {
  width: 100%;
}

/* 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: 1;
}

/*Wanneer fullscreen is ingeschakeld*/
.t-m-section-full {
  padding: 0rem !important;
  height: 90vh;
}

.t-m-fullscreen {
  width: 100% !important;
  padding: 0rem !important;
  height: 100%;
}

.t-m-fullscreen .t-img-text {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.t-img-text {
    display: flex;
    align-self: center;
}

.t-m-fullscreen .t-m-fullscreen-center {
  max-width: 500px;
}

.t-m-fullscreen .bm-media {
  height: 100%;
  min-height: 100%;
}

.t-m-fullscreen .iframe-img-bm-media {
  min-width: 100%;
  min-height: 100%;
}

.iframe-img-bm-media{
	border-radius:5px;
}

.bm-media {
  height: 100%;
  border-radius: 25px;
  display: flex;
}

.s-t-img {
    position: relative;
}

.s-t-img:after,
.s-t-img:before {
    position: absolute;
    content: "";
}

.s-t-img:after {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -20;
}



/* Groen beneden */
.s-t-img--green-bottom:after { 
    background: #e8f0e8; 
}
.s-t-img--green-bottom:before { 
    background: #fff; 
}

/* Bruin boven */
.s-t-img--brown-top:after { 
    background: #fff; 
}
.s-t-img--brown-top:before { 
    background: #c7b08e; 
}

/* 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 */
.c-ovz h2 {
  margin-bottom: 2rem;
}

.cta-container.ovz-cta {
  width: 100%;
  justify-content: center;
}

.bm-ovz-container {
  display: grid;
  width: 100%;
  gap: 30px;
  margin-bottom: clamp(3rem, calc(3rem + ((1vw - 0.48rem) * 2.5)), 5rem);
}

.bm-ovz-img-wrapper .bm-ovz-title h3 {
  font-size: 18px;
}

.bm-ovz-img-wrapper {
  display: block;
  overflow: hidden;
}

.bm-ovz-block:hover .bm-ovz-img {
  transform: scale(1.1);
}

.bm-ovz-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease-in-out;
  display: block;
  overflow: hidden;
}

.bm-ovz-content {
  padding: 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bm-ovz-excerpt {
  margin-bottom: 2rem;
}

p.bm-ovz-excerpt {
  max-width: 375px;
}

.ter-cta {
    background: #fefefe;
    color: #000;
    font-size: 1.0625rem;
    line-height: 1;
    font-weight: 700;
    border-radius: 9999px;
    padding: 7px 25px;
    text-align: center;
}

.rechtsonder {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.bm-ovz-block:hover .ter-cta {
  color: #ffffff;
}

.bm-ovz-block {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #cccccc;
  display: flex;
  flex-direction: column;
}

.bm-ovz-title {
  margin: 10px 0;
  font-size: 26px;
}

.cta-container.ovz-cta-c {
  width: 100%;
  justify-content: center;
}

/*Dagvoorzitters, Teamleden*/
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-item {
    text-align: center;
}

.team-usp-block {
    grid-column: span 2;
    padding: 40px;
    margin: 30px 0;
    font-weight:700;
 		font-family: "Barlow";
}

.team-thumb {
    padding: 8px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    margin: 0 15px 15px;
    background-size: 200% 200%;
    background-position: 100% 100%;
    background-image: -webkit-gradient(linear, right bottom, left top, color-stop(50%, #fff), color-stop(50%, #8cb589));
    background-image: linear-gradient(to top left, #fff 50%, #8cb589 0);
    -webkit-transition: background-position .3s ease-in-out;
    transition: background-position .3s ease-in-out;
}

.quote, .quote .inner {
    position: relative;
}

.quote {
    padding: 50px 30px 50px 40px;
    min-height: 235px;
}

.quote .circle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    background: #fff;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    border-radius: 9999px;
    overflow: hidden;
}

.quote blockquote {
    border: none;
    margin: 0;
    padding: 0 50px 0 0;
}

.quote blockquote b, .quote blockquote strong {
    color: #e3af32;
}

.quote blockquote{
    font-family: "Barlow";
  font-size:3.3rem;
}

/*Slider*/
.bm-quoteslider {
  width: 100%;
  margin: 0 auto;
  padding: 5rem 0rem 5rem 0rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  overflow: hidden;
}

.bm-quoteslider-container {
  display: flex;
  width: 100%;
  padding-left: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 13.5417)), 14rem);
}

@media screen and (max-width: 992px) {
  .bm-quoteslider-container {
    padding-left: 0;
  }
}

.bm-quoteslider__sidebar {
  flex: 0 0 clamp(18rem, calc(18rem + ((1vw - 0.32rem) * 22.9167)), 40rem) !important;
  display: flex;
  flex-direction: column; /* Arranges elements vertically */
  justify-content: center;
  margin-right: 20px; /* Space between sidebar and slider */
}

.bm-quoteslider__sidebar h2 {
  font-size: clamp(3.5rem, calc(3.5rem + ((1vw - 0.48rem) * 0.625)), 4rem);
  color: #012240 !important;
  line-height: 1.1;
}


.bm-quote-button-c {
  display: flex;
  flex-direction: row; /* Stacks buttons vertically */
  align-items: center;
  margin-top: 20px; /* Space above the buttons */
  gap: 10px;
}

.my-prev-arrow-1,
.my-next-arrow-1 {
  background: none;
  border: none;
  cursor: pointer;
  margin: 5px 0; /* Space between buttons */
}

@media screen and (max-width: 992px) {
  .bm-quoteslider-container {
    flex-direction: column;
  }
  .bm-quoteslider__sidebar {
    margin: 0;
  }

  .bm-quoteslider {
    padding: 5rem 2rem;
  }
  .splide__list {
    gap: 0px;
  }
}


.bm-s-slide {
  background-color: #f0f3f6;
  padding: 2rem;
  border-radius: 20px;
  height: 100%;
  position: relative;
	    display: flex;
    flex-direction: column;

}

img.slider-img {
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  border-radius: 50%;
  max-width: 150px;
  height: 150px;
  margin-top: -8rem;
  margin-bottom: 2rem;
}

.item-slider-img-bg {
  height: 65px;
}

.item-slider-img-wrap {
  display: flex;
  justify-content: center;
}

.item-slider-btn-wrap {
    display: flex;
    height: 100%;
    align-items: flex-end;
}

.item-slider-usp-list {
  padding-bottom: 5rem;
  width: 100%;
}

ul.item-slider-usp-list {
  padding-inline-start: 0px !important;
}

.item-slider-usp-item {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 20px;
  color: #353e5c;
  margin-bottom: 10px;
}

.slide-title {
  font-size: 26px;
  font-weight: 500;
  color: #012240;
  margin: 0;
}

.slide-text {
  font-size: 20px;
  color: #012240;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: rgba(161, 161, 161, 0.76);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.bm-s-slide hr {
  border-color: #a1a1a1;
}

/*Slider*/
.ly-slide__image img {
    vertical-align: bottom;
    width: 100%;
    aspect-ratio: 16 / 9;
	height:80vh;
}

.c-slider .splide__list{
	gap:0!important;
}

.ly-slider .splide__slide {
    position: relative;
    background-size: cover;
	aspect-ratio: 16 / 9;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5rem;
}

.ly-slide__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.ly-slide__content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 1280px;
    padding: 2rem;
	display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ly-slide__content h3 {
    margin-bottom: 1rem;
}

.ly-slide__content .btn {
    display: inline-block;
    margin-top: 1rem;
}

.c-slider .splide__slide{
	border-radius:0;
}

.ly-slider {
    margin-left: auto;
    margin-right: auto;
}

/* Fullscreen (default) */
.ly-slider--fullscreen {
    width: 100%;
    max-width: none;
}

/* Container 1280px */
.ly-slider--container {
    max-width: 1280px;
}

/*Blog ovz*/
.s-ovz{
	background-color:#e8f0e8;
}

.blog-grid-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-item {
    background-color: #fff;
    min-height: 300px;
    padding: 5rem 4rem;
  	border-radius:5px;
}

.blog-date{
  color:#e3af32;
  margin-bottom:20px;
}

.blog-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.blog-more {
    align-self: self-end;
}

.blog-intro {
    margin-bottom: 25px;
}

.round-cta {
    border-radius: 50px;
    background-color: transparent;
    border: 2px solid #2e2e2e;
    color: #2e2e2e;
}

.round-cta:hover{
      border-radius: 50px;
    background-color: transparent;
    border: 2px solid #2e2e2e;
    color: #2e2e2e;
}


/* Blog 690px */
.ly-slider--blog {
    max-width: 790px;
}

.ly-slider--blog li, .ly-slider--container li, .ly-slider--blog .ly-slide__overlay, .ly-slider--container .ly-slide__overlay{
	border-radius:20px!important;
}

.ly-slider--container,
.ly-slider--blog {
    padding-left: 2rem;
    padding-right: 2rem;
}

/*Strong*/
strong{
	color:#e3af32;
	font-weight:700;
}

/*Call to action (CTA)*/
.cta-wrapper {
	width: 100%;
	max-width: 920px;
    background: rgb(232, 240, 232);
    padding: 40px 50px;
    border-radius: 5px;
    display: flex;
    gap: 20px;
	align-self: center;
}

.cta-usp-item {
    display: flex;
  	margin-bottom:10px;
}

span.cta-usp-icon-wrapper {
    height: 32px;
    width: 32px;
    -webkit-box-flex: 0;
    flex: 0 0 32px;
    margin-right: 20px;
    display: flex;
    color: #fff;
}

span.cta-usp-text {
    font-weight: 600;
	font-size: 16px;
    max-width: 340px;
}

.cta-left {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.cta-left h2 {
	width: 100%;
	max-width: 310px;
}

/*Media*/
@media screen and (max-width: 992px) {
	.ly-slider .splide__slide{
		height:50vh;
	}
	
  div#custom-slider {
    padding: 2rem;
  }

  ul#custom-slider-list {
    max-height: 360px !important;
    gap: revert;
  }

  .iframe-img-bm-media-groot,
  .iframe-img-bm-media {
    max-height: 300px;
    width: 100%;
  }

  .mobile-order {
    display: flex !important;
    flex-direction: column;
  }

  /* Tekst altijd eerst */
  .mobile-order .t-img-text {
    order: 1;
  }

  /* Media altijd daarna */
  .mobile-order .bm-media {
    order: 2;
  }
	.bm-grid-items-container, .bm-ovz-container{
		display:flex;
		flex-direction:column;
	}
}

/* 4 blokken */
a.ter-cta.rechtsonder {
    font-size: 17px;
}

/* 2 blokken */
.two-block-title {
    margin-bottom: 2rem;
}

.two-blocks {
    display: flex;
    width: 100%;
    gap: 30px;
    align-items: stretch;
}

.two-block {
    display: flex;
    width: 100%;
    flex-direction: column;
}

/* Binnenkant: image + titel */
.two-block-b-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    flex: 1;
    min-height: 220px;

    border-radius: 5px;      /* NIEUW */
    overflow: hidden;        /* BELANGRIJK */
}

/* Zorg dat beide helften echt 50/50 zijn */
.two-block-b-wrap a,
.two-block-b-wrap h3 {
    width: 50%;
}

/* Image behaviour */
.two-block-b-wrap a {
    display: block;
}

.two-block-b-wrap a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Titel vlak */
.two-block-b-wrap h3 {
    color: #fff;
    padding: 30px;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Kleuren */
.bg-geel {
    background-color: #e3af32;
}

.bg-groen {
    background-color: #8cb589;
}

/* Tablet */
@media (max-width: 1024px) {
    .two-blocks {
        gap: 20px;
    }

    .two-block-b-wrap {
        min-height: 200px;
    }

    .two-block-b-wrap h3 {
        padding: 22px;
    }
}

/* Mobiel */
@media (max-width: 768px) {
    .two-blocks {
        flex-direction: column;
        gap: 20px;
    }

    .two-block-b-wrap {
        flex-direction: column;
        min-height: 0;
    }

    .two-block-b-wrap a,
    .two-block-b-wrap h3 {
        width: 100%;
    }

    .two-block-b-wrap a img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .two-block-b-wrap h3 {
        padding: 18px;
    }
}

/* Kleine mobiel */
@media (max-width: 480px) {
    .two-block-title {
        margin-bottom: 1.25rem;
    }

    .two-block-b-wrap h3 {
        padding: 14px;
    }
}
/* DVZ qoute slider */
.teamlid-quote-content {
    width: 100%;
    max-width: 650px;
}

/* Multi block */
.meta-info {
    display: flex;
    margin-bottom: 3rem;
    color: #fff;
    flex-wrap: wrap;
    gap: 20px;
}