/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/***
List of available helper classes:

* Preset paddings & margin: .py, .py-half, .my, .my-half, .px, .px-half, .mx, .mx-half, .mt, .mt-half, .pt, .pt-half, .mb, .mb-half, .pb, .pb-half
* Preset border radius: .rounded-corner, .rounded-corner-small
* Gray content block: .bg-gray
* Centered content: .center-content

*/

body:has(#wpadminbar) {
	--adminBar: 46px;
}
body {
	--menuHeight: calc(1rem + 50px);
}

@media (min-width: 768px) {
	body:has(#wpadminbar) {
		--adminBar: 32px;
	}

	body {
		--menuHeight: calc(53px + 3.884375rem);
	}

	.mobile-only {
		display: none !important;
		font-style: italic;
	}
}

@media (min-width: 768px) {
	.sticky-sidebar  {
		position: sticky !important;
		top: calc(var(--menuHeight) + var(--wp-admin--admin-bar--height, 0px) + 100px) !important;
		bottom: 0 !important;
	}	
}

.sticky-bar.is-pinned::before {
	backdrop-filter: blur(50px) !important;
    -webkit-backdrop-filter: blur(50px) !important;
    transform: translate3d(0, 0, 0) !important;
}


/* Shadows */
.shadow1 > * > * {
	text-shadow: 0px 100px 80px rgba(0, 0, 0, 0.0168687), 
		0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0242336),
		0px 22.3363px 17.869px rgba(0, 0, 0, 0.03), 
		0px 12.5216px 10.0172px rgba(0, 0, 0, 0.0357664), 
		0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0431313), 
		0px 2.76726px 2.21381px rgba(0, 0, 0, 0.06) !important;
}

.shadow2 > * > * {
    text-shadow: 0px 85px 83px rgba(0, 0, 0, 0.0337375), 
		0px 35.511px 34.6754px rgba(0, 0, 0, 0.0484671), 
		0px 18.9859px 18.5391px rgba(0, 0, 0, 0.06), 
		0px 10.6433px 10.3929px rgba(0, 0, 0, 0.0715329), 
		0px 5.65259px 5.51958px rgba(0, 0, 0, 0.0862625), 
		0px 2.35217px 2.29682px rgba(0, 0, 0, 0.12) !important;
}

.shadow3 > * > * {
	text-shadow: 0px 46px 116px rgba(0, 0, 0, 0.32), 
		0px 19.2177px 48.1982px rgba(0, 0, 0, 0.230033), 
		0px 10.2747px 22.6156px rgba(0, 0, 0, 0.190754), 
		0px 5.75991px 9.72111px rgba(0, 0, 0, 0.16), 
		0px 3.05905px 3.13316px rgba(0, 0, 0, 0.129246), 
		0px 1.27294px 0.317745px rgba(0, 0, 0, 0.0899666) !important;
}

.shadow4 > * > * {
	text-shadow: 0px 46px 135px rgba(0, 0, 0, 0.47), 
		0px 19.2177px 56.3998px rgba(0, 0, 0, 0.337862), 
		0px 10.2747px 30.154px rgba(0, 0, 0, 0.28017), 
		0px 5.75991px 16.9041px rgba(0, 0, 0, 0.235), 
		0px 3.05905px 8.97764px rgba(0, 0, 0, 0.18983), 
		0px 1.27294px 3.7358px rgba(0, 0, 0, 0.132138) !important;
}


/* Centered content */
.center-content {
    width: 66%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px){
    .center-content {
        width: 100%;
    }
}

/* Transparent menu */
.transparent-menu .custom-main-menu {
	background-color: transparent !important;
	backdrop-filter: blur(0px) !important;
	-webkit-backdrop-filter: blur(0px) !important;
	filter: none !important;
	box-shadow: none !important;
}

/* Hero fix */
.hero {
	margin-top: var(--topbarHeight, 0px) !important;
}

.hero > .elementor-container {
	align-items: flex-end !important;
}

.hero > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	filter: brightness(0.9) contrast(1.1);
}

.hero > .elementor-background-overlay {
	mix-blend-mode: color !important;
	background-color: #FF5D00 !important;
	opacity: 0.03 !important;
	transition: none !important;
}

.hero .elementor-column-wrap {
	padding-left:  var(--horizontal-spacing) !important;
	padding-right: var(--horizontal-spacing) !important;
	padding-bottom: 1rem !important;
}

@media (min-width: 768px) {
	.hero .elementor-column-wrap {
		padding-bottom: 12vh !important;
	}
}

/* F.A.Q. fix */
.elementor-accordion .elementor-tab-title {
	display: flex;
}

/* Case card fix */
.elementor-post__thumbnail__link {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin-bottom: 0 !important;
}

.elementor-post__thumbnail {
	height: 100%;
}

.elementor-post__text {
	z-index: 1;
}

.elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
  background: linear-gradient(180deg, rgba(225, 41, 15, 0) 30.73%, rgba(225, 41, 15, 0.5) 100%);
}

.elementor-post__text {
    display: flex !important;
    justify-content: flex-end;
}

.elementor-posts .elementor-post__card .elementor-post__excerpt {
	margin-bottom: 0 !important;
}

.branch_list .elementor-post {
	border-bottom-right-radius: var(--border-radius);
	overflow: hidden;
	aspect-ratio: 3/3.8;
}

@media (max-width: 767.9px) {
	.branch_list .elementor-post {
		border-bottom-right-radius: 24px;
	}
	
	.branch_list .elementor-post__text {
		padding: 16px !important;
	}
	
	.branch_list .elementor-post__excerpt p {
		font-size: 12px !important;
		line-height: 1.2 !important;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
	
	.branch_list .elementor-post__card {
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}
	
	.branch_list .elementor-grid {
		grid-column-gap: 1rem !important;
		grid-row-gap: 1rem !important;
	}
}

/* Wp admin bar fix */
body:has(#wpadminbar) {
	--adminbar: 32px;
}

@media only screen and (max-width: 782px) {
	body:has(#wpadminbar) {
		--adminbar: 46px;
	}
}

/* Sticky helper class */
.sticky-bar {
    position: sticky !important;
    top: var(--menuHeight) !important;
    left: 0;
	z-index: 99;
}

@media (min-width: 768px) {
	.sticky-bar {
    	top: calc(var(--menuHeight) + var(--adminbar, 0px)) !important;
	}
}

/* CSS Variables */
:root {
	--border-radius: 50px;
	--vertical-spacing: 2rem;
	--horizontal-spacing: 1.5rem;
	--color-red:   var(--e-global-color-primary);
	--color-black: var(--e-global-color-text);
	--color-gray:  var(--e-global-color-accent);
}

@media (min-width: 767.7px) {
	:root {
		--border-radius: 24px;
		--vertical-spacing: 3rem;
		--horizontal-spacing: 3rem;
	}
}

@media (min-width: 1023.7px) {
	:root {
		--border-radius: 16px;
		--vertical-spacing: 4rem;
		--horizontal-spacing: 6rem;
	}
}

/* Default column spacing overwrite */
/* .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated>.elementor-widget-wrap {
	padding: 0;
} */



/* Padding & margin */
.py.elementor-section,
.py.elementor-column  > .elementor-widget-wrap {
	padding-top:    var(--vertical-spacing) !important;
	padding-bottom: var(--vertical-spacing) !important;
}

.py-half.elementor-section,
.py-half.elementor-column  > .elementor-widget-wrap {
	padding-top:    calc(var(--vertical-spacing) / 2) !important;
	padding-bottom: calc(var(--vertical-spacing) / 2) !important;
}

.pt.elementor-section,
.pt.elementor-column  > .elementor-widget-wrap {
	padding-top: var(--vertical-spacing) !important;
}

.pt-half.elementor-section,
.pt-half.elementor-column  > .elementor-widget-wrap {
	padding-top: calc(var(--vertical-spacing) / 2) !important;
}

.pb.elementor-section,
.pb.elementor-column  > .elementor-widget-wrap { 
	padding-bottom: var(--vertical-spacing) !important;
}

.pb-half.elementor-section,
.pb-half.elementor-column  > .elementor-widget-wrap {
	padding-bottom: calc(var(--vertical-spacing) / 2) !important;
}

.my.elementor-section,
.my.elementor-column  > .elementor-widget-wrap {
	margin-top:    var(--vertical-spacing) !important;
	margin-bottom: var(--vertical-spacing) !important;
}

.my-half.elementor-section,
.my-half.elementor-column  > .elementor-widget-wrap {
	margin-top:    calc(var(--vertical-spacing) / 2) !important;
	margin-bottom: calc(var(--vertical-spacing) / 2) !important;
}

.mt.elementor-section,
.mt.elementor-column  > .elementor-widget-wrap {
	margin-top: var(--vertical-spacing) !important;
}

.mt-half.elementor-section,
.mt-half.elementor-column  > .elementor-widget-wrap {
	margin-top: calc(var(--vertical-spacing)) !important;
}

.pt.elementor-section,
.pt.elementor-column  > .elementor-widget-wrap {
	padding-top: var(--vertical-spacing) !important;
}

.pt-half.elementor-section,
.pt-half.elementor-column  > .elementor-widget-wrap {
	padding-top: calc(var(--vertical-spacing) / 2) !important;
}

.px.elementor-section,
.px.elementor-column  > .elementor-widget-wrap {
	padding-left:  var(--horizontal-spacing) !important;
	padding-right: var(--horizontal-spacing) !important;
}

.px-half.elementor-section,
.px-half.elementor-column  > .elementor-widget-wrap {
	padding-left:  calc(var(--horizontal-spacing) / 2) !important;
	padding-right: calc(var(--horizontal-spacing) / 2) !important;
}

.mx.elementor-section,
.mx.elementor-column  > .elementor-widget-wrap {
	margin-left:  var(--horitonzal-spacing) !important;
	margin-right: var(--horizontal-spacing) !important;
}

.mx-half.elementor-section,
.mx-half.elementor-column  > .elementor-widget-wrap {
	margin-left:  calc(var(--horizontal-spacing) / 2) !important;
	margin-right: calc(var(--horizontal-spacing) / 2) !important;
}

/* Elementor column width fix */
@media (min-width: 767.7px) and (max-width: 1023.9px) {
	.elementor-column.elementor-md-100 {
		width: 100%;
	}
	.elementor-column.elementor-md-90 {
		width: 90%;
	}
	.elementor-column.elementor-md-80 {
		width: 80%;
	}
	.elementor-column.elementor-md-70 {
		width: 70%;
	}
	.elementor-column.elementor-md-60 {
		width: 60%;
	}
	.elementor-column.elementor-md-50 {
		width: 50%;
	}
	.elementor-column.elementor-md-40 {
		width: 40%;
	}
	.elementor-column.elementor-md-30 {
		width: 30%;
	}
	.elementor-column.elementor-md-20 {
		width: 20%;
	}
	.elementor-column.elementor-md-10 {
		width: 10%;
	}
}

/* Gecentreerde content */
.center-content {
    width: 66%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

@media (max-width: 768px){
    .center-content {
        width: 100%;
    }
}

/* Ronde hoeken */
.rounded-corner {
    border-bottom-right-radius: var(--border-radius);
}

.rounded-corner-small {
	border-bottom-right-radius: 16px;
}

/* Grijze achtergrond */
.bg-gray::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(100vw - var(--horizontal-spacing));
    height: 100%;
    transform: translateX(-50%);
    background: var(--e-global-color-accent);
    border-bottom-right-radius: var(--border-radius);
}

/* Responsive font-size*/
@media (max-width: 1023px) {
  html, body {
    font-size: 14px !important;
  }
}

@media (min-width: 1024px) {
  html, body {
    font-size: calc(14px + (16 - 14) * ((100vw - 1024px) / (1920 - 1024))) !important;
  }
}

@media (min-width: 1920px) {
  html, body {
    font-size: 16px !important;
  }
}

/* Desktop Media Query */
@media (min-width: 1024px){
  .elementor-widget-tabs .elementor-tab-content {
    padding: 5em 7em;
  }
}

/* Tablet Media Query */
@media (min-width: 768px) {
  .elementor-widget-tabs .elementor-tab-content {
    padding: 3em 5em;
  }
}

/* Mobile Media Query */
@media (max-width: 767px) {
  .elementor-widget-tabs .elementor-tab-content {
    padding: 2em 3em;
  }
}

.elementor-text-editor.elementor-clearfix::after {
	display: none !important;
	content: none !important;
}

.elementor-text-editor p:last-child,
.elementor-text-editor ul:last-child,
.elementor-text-editor ol:last-child {
	margin-bottom: 0;
}