/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Bricks Child Theme customized by Websites That Sell
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.2
 Text Domain:  bricks
*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 0;
  }
}

body {
  -webkit-font-smoothing: auto;
}
body.bricks-is-frontend :focus-visible {
    outline-color: -webkit-focus-ring-color;
}


/* globally include specific text classes for use within dynamic html */
.bx-blue {
  color: var(--bx-blue);
}
.text-medium {
  font-weight: 500;
}
.text-bold {
  font-weight: 700;
}

/* globally include toggle collapsed class */
.collapsed {
   display: none;
   height: 0px;
}


/* header button wraps layout*/
.header-top-btns-wrap {
    margin-left: 10px;
    transition: all .2s ease-in-out;
}

.header-bottom-btns-wrap {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    align-items: unset !important;
}

#brx-header.menu-open .header-top-btns-wrap {
    height: 0px;
    width: 0px;
    overflow: hidden;
    opacity: 0;
}

#brx-header.stuck .header-bottom-btns-wrap {
    display: flex;
 
}

@media(max-width: 991px) {
    .header-top-btns-wrap {
        height: 0px;
        width: 0px;
        overflow: hidden;
		margin-left: 0px;
    }

    .header-bottom-btns-wrap {
        display: flex;
    }
}

/*Quick Search Result Template*/
.quick-results{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}
.quick-results h3{
	text-transform: capitalize;
}
.quick-results-group{
    width: calc((100% - (30px)) / 2);
    min-width: min(100%, 372px);
    flex-grow: 1;	
}
.quick-results-group a{
	color: var(--bx-blue);
}

/* adding breadcrumbs*/
#breadcrumbs
{
	display: flex;
	flex-direction: row;
	gap: 4px;
	line-height: 1.2;
	justify-content: flex-start;
	flex-wrap: wrap;
}
#breadcrumbs .breadcrumb-current{
	font-weight: 600;
}

/* additional "Secondary" button styles */
:root .bricks-button[class*="secondary"] {
	padding: 8px 10px;
	text-align: left;
}
:root .bricks-button[class*="secondary"]::before {
    content: '';
    order: -2;
    width: 20px;
    height: 2px;
    background-color: #fff;
}
:root .bricks-button[class*="secondary"]::after {
    content: '';
    order: -1;
    border-left-width: 8px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-style: solid;
    border-color: transparent;
    border-left-color: #fff;
    margin-left: -10px;
}