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

.iframe-img-bm-media-groot {
	width: 100%;
	height: 720px;
	border-radius: 20px;
	object-fit: cover;
	object-position: center;
}

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

.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(290px, 1fr));
}

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

.zes-items{
    grid-template-columns: repeat(auto-fill, minmax(200px, 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;
}

@media only screen and (max-width: 600px) {
.cta-container {
    display: flex;
	flex-direction: column;
    gap: 10px;
	align-items: flex-start;
}
}


.cta-space {
margin-top:clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 3.125)), 4rem);
}

.pri-cta, .sec-cta {
    padding: 16px 32px 15px 32px;
	border: 2px solid #f9a11b;
	border-radius: 50px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	display: flex;
    align-items: center;
    gap: 20px;
	line-height: normal;
	font-weight: 700;
}

.pri-cta-blauw {
	padding: 16px 32px 15px 32px;
	border: 2px solid #144372;
	border-radius: 50px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	display: flex;
    align-items: center;
    gap: 20px;
	line-height: normal;
	font-weight: 700;
}



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

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

.pri-cta-blauw path {
    fill: #fff;
}

.pri-cta path {
    fill: #fff;
}

.sec-cta path {
    fill: #f9a11b;
}

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

.pri-cta:hover, .sec-cta:hover {
    border: 2px solid #DB8606;
}

.pri-cta-blauw:hover {
    border: 2px solid #0F3357;
}

.pri-cta-blauw:hover {
    background-color: #0F3357;
}

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

.sec-cta:hover {
    color: #DB8606;
}

.sec-cta:hover .sec-cta path {
    color: #DB8606;
}


.button-icon {
    width: 15px;
    height: 15px;
	fill:currentColor;
	display: flex;
}

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

.bm-grid-items-img {
    border-radius: 15px;
}

/* Tekst */

.bm-t-container.tekst-groter {
    font-size: 24px;
}

/* Standaard styling voor de tekstcontainer */
.bm-t-container {
	width: 100%;
	max-width: 1170px;
	align-self: center;
}

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

/* Basisopmaak voor de container */
.brxe-container.c-t-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 30px;
    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*/
.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%;
}

.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: #ffffff;
}

.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 {
	position: absolute;
    top: 285px;
    right: 50%;
}

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

.bm-ovz-block {
    box-shadow: rgba(20, 67, 114, 0.2) 0px 0px 40px 10px;
    border-radius: 10px;
    overflow: hidden;
	position:relative;
}

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

/* Hero 1 */

.hero1-title {
    margin-bottom: 35px;
    margin-left: 60px;
    max-width: 600px;
    position: relative; /* Ensure positioning context for ::before */
    font-size: 80px; /* Set font size to 80px */
    line-height: 1; /* Ensure consistent line height */
	color: white;
}

.hero1-title::before {
    width: 1px; /* Narrow vertical line */
    height: 115px; /* Adjust to match the text height, fine-tune if necessary */
    background-color: #f9a11b;
    content: "";
    display: block;
    position: absolute; /* Allow precise placement */
    left: -60px; /* Adjust left spacing from the text */
    top: 5px; /* Align the top of the line with the text */
	transform: translatey(15%);
}

.s-hero-1{
padding: 5rem;
}


.bm-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Space between cards */
    width: 100%;	
}

.bm-hero-cta-btn {
    background-color: #f9a11b;
    padding: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 3.125)), 5rem);
    border-radius: 0 50px;
    position: relative;
    display: flex;
    flex-direction: column; /* Flexbox for internal alignment */
    align-items: flex-start; /* Align text to the left */
    justify-content: flex-start; /* Align text to the top */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bm-hero-cta-btn:hover {
    background-color: #E88E06;
}

.bm-hero-cta-btn h3 {
    color: #ffffff;
    margin: 0.5rem 0 0;
	font-size: clamp(2.2rem, calc(2.2rem + ((1vw - 0.32rem) * 0.8333)), 3rem);
	
	
}

.bm-hero-cta-btn p {
    color: #144372;
	font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.32rem) * 0.3125)), 1.8rem);
    margin: 0;
}

@media (min-width: 768px) {
  .bm-hero-cta h3 {
    font-size: calc(1rem + ((1vw - 7.68px) * 1.2153));
    min-height: 0vw;
  }
}
@media (min-width: 1920px) {
  .bm-hero-cta h3 {
    font-size: 30px;
  }
}


.bm-hero-cta-btn-arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.bm-hero-cta-btn:hover .bm-hero-cta-btn-arrow {
    transform: translateX(5px);
}



/* Tekst met media */

/* titel  */
strong{ 
	color: #144372;
}

h6{
	color: #f9a11b;
	letter-spacing: 4px;
}


.t-m-fullscreen-center {
	width: 100%;
	max-width: 540px;
}