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

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

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

.mc-bm-media-klein {
width: 100%;
max-width: 800px;
}

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

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

.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-klein {
	width:100%;
}

.iframe-img-bm-media-groot {
	width: 100%;
	height: clamp(28rem, calc(28rem + ((1vw - 0.32rem) * 45.8333)), 72rem);
	border-radius: 20px;
	object-fit: cover;
	object-position: center;
}

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

.vier-items{
	grid-template-columns:repeat(auto-fill, minmax(clamp(13rem, calc(13rem + ((1vw - 0.32rem) * 16.6667)), 29rem), 1fr));
}


.bm-grid-items-ctn {
    font-size: clamp(1.4rem, calc(1.4rem + ((1vw - 0.32rem) * 0.4167)), 1.8rem);
}


/*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: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.0417)), 3rem);
}

.pri-cta, .sec-cta {
    padding: 6px 22px;
    border: 3px solid;
	border-radius: 50px;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
	display: flex;
    align-items: center;
    gap: 5px;
	font-style: italic;
	text-transform: uppercase;
}

.pri-cta {
    background-color: #3A67B1;
    color: #fff;
	border-color: #3A67B1;
}

.sec-cta {
    background-color: #fff;
    color: #3A67B1;
	border: 3px solid;
	border-color: #3A67B1;
}

.pri-cta:hover, .sec-cta:hover {
}

.pri-cta:hover .button-icon {
    transform: translateX(5px);
}

.sec-cta:hover .button-icon {
    transform: translateX(5px);
}

.pri-cta:hover i.fa-solid.fa-chevron-right.bm-pri-i {
    transform: translateX(5px);
}

i.fa-solid.fa-chevron-right.bm-pri-i {
	color:#EDBE38;
	transition: transform 0.3s ease;
}

.button-icon {
    width: 15px;
    height: 15px;
	fill:#EDBE38;
	display: flex;
	transition: transform 0.3s ease;
}

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

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

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

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

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

img.bm-grid-items-img {
    border-radius: 20px;
	object-fit: cover;
	width: 100%;
}

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

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

img.iframe-img-bm-media {
		border-radius: 10px;
	overflow: hidden;
}

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

.bm-media {
	    align-self: center;
}
/*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-m-fullscreen .t-m-fullscreen-center {
    max-width: 500px;
}

.t-m-fullscreen .bm-media{
	height:100%;
	min-height:100%;
	border-radius: 10px;
	overflow: hidden;
}

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

/* 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-block {
    background-color: #FDF9EC;
}

.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: 500px;
	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 {
	position: absolute;
	bottom: 0;
    padding: 20px 30px 0px 30px;
}

.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 {
	position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.bm-ovz-title {
    margin: 10px 0;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 800;
}

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

.bm-ovz-img-wrapper::after {
    background-image: linear-gradient(237deg, rgba(247, 245, 242, 0) 2%, rgba(0, 0, 0, 0.7) 98%);
	position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.mc-bm-media-groot {
	overflow: hidden;
	border-radius: 20px;
}