/*
 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
*/

img{
	object-fit:cover;
	width:100%;
	height:auto; /* was 100%, zorgt voor veel ellende bij media */
}

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

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

.mc-bm-media-klein {
width: 100%;
max-width: 800px;
display: flex;
flex-direction: column;
align-items: flex-end;
}

.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%;
display: flex;
flex-direction: column;
align-items: flex-end;
}


.mc-bm-media-groot iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* of wat jij nodig hebt */
  display: block;
  border: 0;
}

.iframe-img-bm-media-klein {
	aspect-ratio: 16 /9;
	}

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

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

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

iframe.cmplz-placeholder-element.cmplz-video.cmplz-processed.cmplz-activated {
    width: 100%;
}

/*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: 11px 22px;
    border: 2px solid #000!important;
	transition: all 0.3s ease-in-out;
	display: flex;
    align-items: center;
    gap: 10px;
	text-transform:uppercase;
	font-weight:600;
}

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

.sec-cta {
    color: #000;
}

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

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

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

.d-hero-1-c-wrap .sec-cta{
	color: #fff;
	border-color:#fff!important;
	transition: all 0.3s ease-in-out;
}

.d-hero-1-c-wrap .sec-cta:hover{
	color: #000;
	background-color:#fff;
}

.button-icon {
    width: 21px;
    height: 17px;
	display: flex;
}

.button-icon path{
		fill:currentColor;
}

button.ff-btn.ff-btn-submit.ff-btn-md.pri-cta.ff_btn_style, .fluentform .ff-text-center, .ff-el-group.ff_submit_btn_wrapper_custom{
	height:100%;
}

.d-hero-1-c-wrap .cta-space{
	margin-top:0;
}

/* HERO 2 */


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

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

/* Tabs */
.acf-tabs {
  width: 100%;
}
.acf-tabs__list {
  display: flex;
  flex-wrap: nowrap;
}
.acf-tabs__tab {
  padding: 15px 25px;
  border: 1px solid #000;
  border-bottom: none;
  background: #f9fafb;
  cursor: pointer;
  text-align:center;
  border-bottom: 1px solid #000;
}
.acf-tabs__list .acf-tabs__tab:nth-child(2) {
    border-left: 0 !important;
}

.acf-tabs__inner iframe {
    height: auto;
}
.acf-tabs__tab.is-active {
    background: #fff;
    border-bottom: none;
}
.acf-tabs__panel {
  border: 1px solid #000;
  padding: 6rem 3rem 6rem 6rem;
  margin-top: -1px;
  border-radius: 0;
  background-color:#fff;
}
.acf-tabs__button {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid #000;
  text-decoration: none;
}

.acf-tabs__inner{
    display: flex;
    gap: 10rem;
    align-items: center;
}

.acf-tabs_text {
    color: #000;
  padding:1rem 0 3rem 0;
}

/* Product tabs */
.tab-titel.brx-open {
    background-color: #fff !important;
    border: none!important;
	border-bottom:0!important;
}

.tab-content{
	border:none!important;
}

.tab-title .brxe-text-basic {
    color: #000;
}



/* 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: 840px;
    margin-left: auto;
    margin-right: auto;
}

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

/* 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 media */

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

/* Als huisstijl is ingeschakeld */
.dr-t-img img.t-img.tidesign {
    width: 100%;
    height: 440px;
    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: 1;
}

/*andere styling voor mobiel*/
@media screen and (max-width: 992px) { /* Pas deze breakpoint aan indien nodig */
    .mobile-order {
        display: flex;
        flex-direction: column;
    }

    .mobile-order .<?php echo $text_class; ?> {
        order: 2;
    }

    .mobile-order .<?php echo $base_class; ?> {
        order: 1;
    }
}

/*Wanneer fullscreen is ingeschakeld*/
.s-bm-media-fullscreen {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.c-bm-media-fullscreen,
.mc-bm-media-fullscreen {
    width: 100%;
    height: 100%;
    position: relative;
}

/* hier nu iframe EN video fullscreen */
.mc-bm-media-fullscreen iframe,
.mc-bm-media-fullscreen video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover; /* maakt hem echt fullscreen */
}

/* centreren van klein/groot containers */
.c-bm-media-klein,
.c-bm-media-groot {
  max-width:1280px;
  margin:0 auto;
}



.iframe-img-bm-media-groot,
.iframe-img-bm-media-klein {
  width:100%;
  height:auto;
  display:block;
}

.bm-media{
	height: 100%;
	border-radius: 25px;
	display:flex;
	flex-direction:column;
	align-items:flex-end;
}

/*Credits*/
.photo-credits {
    background-color: #fff;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 50px;
	margin-top:8px;
	font-size: 12px;
}

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

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

.bm-ovz-img-wrapper {
    display: block;
    overflow: hidden; /* Voor het geval dat je specifieke styling of extra bescherming tegen overloop wilt toevoegen */
}

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

.bm-ovz-img {
    height: 300px;
	width: 100%;
    object-fit: cover;
    object-position: center;
	transition: transform 0.3s ease; /* Soepele overgang gedurende 0.3 seconden */
    display: block; /* Zorgt ervoor dat de afbeelding zich correct gedraagt tijdens de overgang */
	overflow: hidden;
}
.bm-ovz-content {
    padding: 3rem;
}

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

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

.ter-cta {
	font-weight: 700;
	font-style: italic;
	color: var(--bricks-color-suagdr);
    display: inline-block;
    margin-top: 5px; /* wat ruimte tussen de titel en de knop */
}

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

.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;
}

.bm-ovz-title {
    margin: 10px 0; /* wat ruimte tussen de afbeelding en de titel */
	font-size: 26px;
}

.bm-ovz-container {
    margin-bottom: clamp(3rem, calc(3rem + ((1vw - 0.48rem) * 2.5)), 5rem);
}

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

.muziek-slide {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.splide__track, .muziek-splide {
    width: 100%;
}

.muziek-slide__overlay {
    height: 100%;
    align-content: flex-end;
	padding:2rem;
}

.muziek-slide__title {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
}

/* Zorg ervoor dat de image-wrap nooit meeschuift */
.d-img-disco-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1; /* vierkant albumformaat */
}

/* Afbeelding always-perfect crop en nooit layout-breaking */
.d-img-disco-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease-out;
    will-change: transform;
    display: block;
}

/* Hover: alleen de IMG zoomt, wrap blijft exact hetzelfde */
.d-disco-item:hover .d-img-disco-wrap img,
.d-slider-disco-item:hover .d-img-disco-wrap img {
    transform: scale(1.08);
}


/*Footer*/
.ff-t-container.ff-column-container.ff_columns_total_2 {
    background-color: #fff;
    padding: 1rem 2rem;
}

.fluentform .ff-el-group, .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom button{
	margin-bottom:0!important;
}

.icon-list-white, .icon-list-dark {
    gap: 10px;
}

li.repeater-item.has-link {
    width: 20px;
}

/*Tourdata*/
.tourdata-list {
    width: 100%;
}

.tourdata-item {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tourdata-item p {
    margin: 0;
}

.tourdata-date, .tourdata-cta {
    font-weight: 600;
}

hr.tourdata-hr {
    border-top: 2px solid #000;
}
.tourdata-button {
	text-transform: uppercase;
}

.tourdata-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tourdata-button img{
	max-height:16px;
	max-width:16px;
}

.tourdata-cta {
    margin-left: auto; /* desktop rechts */
}

@media (max-width: 768px) {
    .tourdata-cta {
		margin-top: 1rem;
        margin-left: 0;     /* mobiel links */
        justify-content: flex-start; /* voor de zekerheid */
        text-align: left;
    }
}


/* Past Gigs */

.past-gig p.tourdata-title {
    color: #a1a1a1;
}

.past-gig p.tourdata-date {
    color: #a1a1a1;
}

.c-tour-data-past-gigs hr.tourdata-hr {
    border-top-color: #a1a1a1;
}

.past-gig a.tourdata-button {
    color: #a1a1a1;
}

/*Media*/
@media screen and (max-width: 992px) {
	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%;
    }
}

.iframe-img-bm-media {
  width: 100%;
}
/* Contactinfo */

.contact-info-blocks {
    width: 100%;
}

.contact-info-block {
    width: 100%;
    margin-bottom: 4rem;
}

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

.contact-info-block__title {
    border: solid;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Formulier */

button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_no_style {
    margin-top: 3rem;
}

/* Downloads */
.bm-download-item {
	padding: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 4.1667)), 6rem);
	background-color: #fff;
}

.bm-download-ctn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bm-download-titel {
    font-weight: 600;
    font-size: 24px;
	margin-bottom: 6px;
}

.bm-download-tekst {
    text-align: center;
	line-height: 1.2;
}

img.bm-download-icon {
    width: 16px;
    height: 16px;
}

a.bm-download-link {
    border: 2px solid black;
    padding: 2px 18px;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 12px;
	align-items: center;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
	font-weight: 600;
}
