/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root{
  --hp-hero-top-pad: clamp(14rem, 5.65vw + 11.881rem, 19rem);
	--transition: 0.3s ease-in-out;
}

/* Sign Up Form */

.sign-up--form .ff-el-group .ff-el-input--label label{
	color: var(--black);
}
.sign-up--form .ff-default .ff-el-form-control{
	background: var(--secondary);
    border-radius: 30px;
    border: none;
    color: var(--black);
	line-height: 1.5;
	padding: 13px 15px;
}
.sign-up--form .ff-default .ff-el-form-control:focus{
	background: var(--secondary);
    color: var(--black);
}
.sign-up--form .ff-el-group.ff-custom_html{
	font-size: 15px;
	margin-bottom: var(--space-xl);
	max-width: 540px;
	width: 100%;
}
@media only screen and (max-width: 991px) {
		max-width: 100%;
}
.sign-up--form .ff-el-group.ff-custom_html a{
	text-decoration: none;
}
.sign-up--form .ff-el-group.ff-el-input--content{
	margin-bottom: calc(var(--space-l) * 1.1);
	color: var(--black);
}
.sign-up--form .ff-el-group.ff-el-input--content p{
	color: var(--black);
}
.sign-up--form .ff-el-group .ff-btn-submit{
	padding-block: var(--btn-padding-block);
    padding-inline: var(--btn-padding-inline);
	min-inline-size: var(--btn-min-width);
    line-height: var(--btn-line-height);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
	border-width: var(--btn-border-width);
    border-style: var(--btn-border-style);
    border-radius: var(--btn-border-radius);
    display: var(--btn-display, inline-flex);
    text-align: center;
    justify-content: center;
    align-items: center;
    background: var(--action) !important;
    color: var(--white) !important;
    border-color: var(--btn-border-color);
    transition: all var(--btn-transition-duration) ease;
}


.sign-up--form select{
	height: auto !important;
	    background-image: linear-gradient(45deg, transparent 50%, gray 0), linear-gradient(135deg, gray 50%, transparent 0) !important;
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px) !important;
    background-repeat: no-repeat !important;
    background-size: 4px 4px, 4px 4px !important;
}




/* FAQs Style */


.faq-item__icon:before{
	display: none;
}
.faq-item__icon{
	background-image: url(/wp-content/uploads/2024/06/Group-11-1.svg);
    background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
    width: 15px;
    height: 15px; 
}
.x-accordion_item-active .faq-item__icon{
	background-image: url(/wp-content/uploads/2024/06/Group-10-1.svg);
	 background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	width: 20px;
    height: 15px; 
}





























/* Gutenberg */



p:first-child,
.brxe-post-content.gutenberg-content *:first-child{
	margin-top: 0px;
}

p:last-child,
.brxe-post-content.gutenberg-content *:last-child{
	margin-bottom: 0px;
}

p a:hover, li a:hover{
	text-decoration: underline;
}


:root{
	--space-between-el: calc(var(--space-m) * 2);
	--space-between-heading-and-paragraph: var(--space-m);
	--default-radius: 5px;
	--gap-between-cols: var(--space-xxl);
}



/* Gutenberg Spacings */

.gutenberg-content{
	gap:0px;
}

.gutenberg-content p{
	margin-bottom:0px;
}




/* General Styles - Gaps */

/* 
.gutenberg-content h3:not([class*="brxe-"]):not([class*="h--"]){
font-size: var(--h4);
}
.gutenberg-content h4:not([class*="brxe-"]):not([class*="h--"]){
font-size: var(--h5);
}
.gutenberg-content h6:not([class*="brxe-"]):not([class*="h--"]){
font-size: var(--h6);
} */

.brxe-post-content.gutenberg-content > * + *{
	margin-top: var(--space-between-el);
}

.brxe-post-content.gutenberg-content > * + :is(h1,h2,h3,h4,h5,h6){
	margin-top: var(--space-between-el);
}

/* .brxe-post-content.gutenberg-content > div[class*="brxe-"]:not(:first-child),
.brxe-post-content.gutenberg-content > div[class*="brxe-"] + *{
margin-top: var(--space-xxl)
} */

.brxe-post-content.gutenberg-content > * + .wp-block-image{
	margin: var(--space-xl) 0px;
}

.brxe-post-content.gutenberg-content > p :is(strong,b){
	color: var(--base);
}

.brxe-post-content.gutenberg-content p + p,
.brxe-post-content.gutenberg-content p + ul,
.brxe-post-content.gutenberg-content ul + p{
	margin-top: var(--space-xs) !important;
}

.brxe-post-content.gutenberg-content > :is(h1,h2,h3,h4,h5,h6) + p{
	margin-top: var(--space-between-heading-and-paragraph);
}


.brxe-post-content.gutenberg-content > :is(h1,h2,h3,h4,h5,h6) + :is(h1,h2,h3,h4,h5,h6){
	margin-top: var(--space-between-heading-and-paragraph);
}

.brxe-post-content.gutenberg-content > .wp-block-image:not(.no-border) img,
.brxe-post-content.gutenberg-content .wp-block-columns .wp-block-image:not(.no-border) img
{
	border-radius: var(--default-radius);
}

.brxe-post-content.gutenberg-content .wp-block-image[class*="aspect--"] img{
	height:100%;
	width:100%;
	object-fit:cover;
	object-position:center;
}

.brxe-post-content.gutenberg-content .wp-block-quote{
	border-left: 4px solid var(--action);
	margin:var(--space-between-el) 0px;
	margin-bottom:0px;
	padding-left: var(--space-l);
	padding-top: var(--space-xs);
	padding-bottom: var(--space-xs);
}

.brxe-post-content.gutenberg-content .wp-block-quote > cite{
	font-size: 16px;
	font-size: calc((var(--text-s) + var(--text-m)) * 0.5);
	font-weight: 500;
}

.brxe-post-content.gutenberg-content .wp-block-quote:not(.has-text-color) > cite:not(.has-text-color){
	color: var(--base);
}

.brxe-post-content.gutenberg-content .wp-block-quote + *{
	margin-top:var(--space-m);
}

.brxe-post-content.gutenberg-content .wp-block-quote + .wp-block-group{
	margin-top:var(--space-between-el);
}


.brxe-post-content.gutenberg-content .wp-block-group .wp-block-group__inner-container > * + *{
	margin-top: var(--space-between-heading-and-paragraph);
}

.brxe-post-content.gutenberg-content .wp-block-group.has-text-color :is(h1,h2,h3,h4,h5,h6):not(.has-text-color),
.brxe-post-content.gutenberg-content .wp-block-group.has-text-color a:not(.wp-block-button__link),
.brxe-post-content.gutenberg-content .wp-block-group.has-text-color p:not(.has-text-color){
	color: inherit;
}











/* Column Styling */

.brxe-post-content.gutenberg-content > * + .wp-block-columns{
	margin-top: var(--space-between-el);
}

.brxe-post-content.gutenberg-content .wp-block-columns{
	gap: var(--gap-between-cols);
	margin-bottom:0px;
}

.brxe-post-content.gutenberg-content .wp-block-columns > .wp-block-column :is(h1,h2,h3,h4,h5,h6) + *{
	margin-top: var(--space-between-heading-and-paragraph);
}

.brxe-post-content.gutenberg-content .wp-block-columns .wp-block-column.has-background,
.brxe-post-content.gutenberg-content .wp-block-group.has-background{
	border-radius: var(--default-radius);
	padding: var(--space-s) var(--space-m);
	padding: var(--space-l) var(--space-l);
}





/* Image Styling */

.brxe-post-content.gutenberg-content .wp-block-image figure:not(.aligncenter){
	margin: 0
}

.brxe-post-content.gutenberg-content > figure.wp-block-image {
	margin: 0px;
	margin-top: var(--space-between-el);
}

.brxe-post-content.gutenberg-content figure.wp-block-embed{
	margin-left:0px;
	margin-right:0px;
	margin-bottom:0px;
	border-radius: var(--default-radius);
	overflow:hidden;
	transform: translateZ(0);
}

/* Image inside Column Spacings */
.brxe-post-content.gutenberg-content .wp-block-columns .wp-block-column > figure.wp-block-image {
	margin: 0px;
}


.brxe-post-content.gutenberg-content .wp-block-columns .wp-block-column > * + *{
	margin-top: var(--space-m);
}











/* Button Stying */

/* gaps */
.brxe-post-content.gutenberg-content .wp-block-buttons{
	gap: var(--space-s);
}

/* To support custom font sizing */
.brxe-post-content.gutenberg-content .wp-block-buttons .wp-block-button{
	font-size: 2.6rem;
	font-size: calc(1.6rem + (0.2 * ((100vw - 32rem) / 114)));
	font-size: clamp(1.6rem, calc(0.1754385965vw + 1.5438596491rem), 1.8rem);
}

/* To support custom colors */
.brxe-post-content.gutenberg-content .wp-block-buttons .wp-block-button{
	--bg: transparent;
	--text: var(--action);
}

.brxe-post-content.gutenberg-content .wp-block-buttons .wp-block-button a{
	display: inline-flex;

	background-color: var(--bg);
	color: var(--text);
	cursor: pointer;

	padding-block: var(--btn-padding-block);
	padding-inline: var(--btn-padding-inline);
	min-inline-size: var(--btn-min-width);
	line-height: var(--btn-line-height);
	font-size: var(--btn-font-size, var(--text-m));
	font-weight: var(--btn-font-weight);
	font-style: var(--btn-font-style);
	text-decoration: var(--btn-text-decoration);
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	border-width: var(--btn-border-width);
	border-style: var(--btn-border-style);
	border-color: var(--action);
	border-radius: var(--btn-border-radius);
	display: var(--btn-display, inline-flex);
	text-align: center;
	justify-content: center;
	align-items: center;
	transition: all var(--btn-transition-duration) ease;
}

.brxe-post-content.gutenberg-content .wp-block-buttons .wp-block-button a.has-background{
	border-color: var(--bg);
}

.brxe-post-content.gutenberg-content .wp-block-buttons .wp-block-button a:hover{
	background: var(--action);
	border-color: var(--bg);
	color: var(--white);
}



.brxe-post-content.gutenberg-content > * + section{
	margin-top: var(--section-space-m) !important;
}

.brxe-post-content.gutenberg-content > * + section.gb-fullwidth-cta{
	margin-top: calc(var(--margin-pattern-50) + var(--section-space-m)) !important;
}
section.gutenberg-section:has(section.gb-fullwidth-cta:last-child){
	padding-bottom: 0px;
}








/* Colours */



.has-xc-primary-acss-background-color {
	background-color: var(--primary);
	--bg: var(--primary);
}
.has-xc-primary-acss-color {
	color: var(--primary);
	--text: var(--primary);
}


.has-xc-secondary-acss-background-color {
	background-color: var(--secondary);
	--bg: var(--secondary);
}
.has-xc-secondary-acss-color {
	color: var(--secondary);
	--text: var(--secondary);
}

.has-xc-accent-acss-background-color {
	background-color: var(--accent);
	--bg: var(--accent);
}
.has-xc-accent-acss-color {
	color: var(--accent);
	--text: var(--accent);
} 
.has-xc-action-acss-background-color {
	background-color: var(--action);
	--bg: var(--action);
}
.has-xc-action-acss-color {
	color: var(--action);
	--text: var(--action);
}
.has-xc-base-acss-background-color {
	background-color: var(--base);
	--bg: var(--base);
}
.has-xc-base-acss-color {
	color: var(--base);
	--text: var(--base);
}

.has-xc-white-background-color {
	background-color: var(--white);
	--bg: var(--white);
}
.has-xc-white-color {
	color: var(--white);
	--text: var(--white);
}




/* Hide empty columns */
@media (max-width: 781px){
	.wp-block-column:empty{
		display: none !important;
	}
}












/* Animate Bricks submenus */

:root{
	--menu-item-height: calc(39px);
}

.bricks-mobile-menu > li.menu-item-has-children{
	display: grid;
	overflow: hidden;
	transition: grid-template-rows 0.3s ease-out;
	grid-template-rows: minmax(0px, var(--menu-item-height)) 0fr;
	/*     min-height: var(--menu-item-height); */
}

.bricks-mobile-menu > li.menu-item-has-children.active{
	grid-template-rows: var(--menu-item-height) 1fr !important;
}

.bricks-mobile-menu > li.menu-item-has-children .brx-submenu-toggle > button{
	outline: none !important;
}

.bricks-mobile-menu > li.menu-item-has-children > .sub-menu{
	overflow: hidden;
	height: auto !important;
	display: block !important;
}