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

body, :fullscreen, ::backdrop {
    background-color: #fff !important;
}

/* fix for gutenberg content images added to Bricks sections */
.wp-block-image figure:not(.wp-block-gallery figure) {
    width: auto;
}

.splide__track {
 overflow: visible !important; 
}

section {
	overflow-x: clip;
}

h1.brxe-heading, h2.brxe-heading, h3.brxe-heading{
  	position: relative;
	overflow: visible;
	z-index: 1;
	width: fit-content;
}

@media (min-width: 480px) {
	h1.brxe-heading:after, h2.brxe-heading:after {
		content: '';
		display: block;
		position: relative;
		background: #F5C54C;
		width: 100%;
		height: 4px;
		bottom: 0px;
		left: 16px;
		border-radius: 4px;
		z-index: 0;
		margin-bottom: 0.25em;
	}
}

@media (max-width: 480px) {
	h1.brxe-heading:after, h2.brxe-heading:after {
		content: '';
		display: block;
		position: relative;
		background: #F5C54C;
		width: 100%;
		height: 4px;
		bottom: 0px;
		left: 8px;
		border-radius: 4px;
		z-index: 0;
		margin-bottom: 0.25em;
	}
}

.rwmb-image-item {
	background: #999;
}

.button{
	background: #f5c54c;
	color: #212121;
	padding: 8px 16px;
	border-radius: 8px;
	box-shadow: 1px 1px 3px 0 rgba(33, 33, 33, 0.18);
}

.woocommerce-message {
	min-width: 100%;
}

.button product_type_simple add_to_cart_button ajax_add_to_cart {
	background: transparent;
	color: #f5c54c;
}

button.button[disabled] {
    background: lightgray;
    opacity: 0.25;
}

.brxe-wpgb-facet .wpgb-facet>fieldset:last-child {
	margin-bottom: 0px;
}