/*
 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
*/

/* Post and Products Archive*/

.brxe-custom-blog {
    width: 100%;
}

.search-filter-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-width: 100%;
    justify-content: space-between;
}

.search_result {
    position: absolute;
    border: 1px solid #dddd;
    background: #fff;
    width: 100%;
    transition: all 2s ease 0s;
    z-index: 2;
}
.search_result ul {
    padding: 0;
    list-style: none;
}
.search_result ul li {
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search_result ul li img {
    max-width: 40px;
}

div#post-featured-container {
    display: flex;
}

div#products-container .product-archive-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

div#products-container .product-archive-content .product-loop-content {
    flex: 0 0 calc(25% - 30px); /* Adjust the width as needed */
    margin: 10px;
}

div#products-container .product-loop-content .product-image-wrapper {
    display: flex;
    max-height: 250px;
    height: 100%;
}

div#products-container .product-loop-content img.product-images {
    object-fit: contain;
}

div#products-container .product-loop-content {
    /* align-items: center; */
    padding-bottom: 60px;
    margin-bottom: 20px;
}

div#post-featured-container .post-archive-content {
    display: flex;
    flex-direction: row;
}


div#post-container .post-archive-content {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    row-gap: 20px;
    flex-wrap: wrap;
}

div#products-container .product-loop-content,
div#post-featured-container .post-loop-content {
    flex: 1;
    flex-wrap: wrap;
}

#blog-wrapper h2 {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #000;
}


.product-loop-content,
.post-loop-content {
    padding: 0 0 30px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    position: relative;
    width: calc(50% - 20px);
}

.product-loop-content a h3,
.post-loop-content a h3 {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    /* font-size: 27px;
    line-height: 32px; */
    color: #009b78;
}

.post-loop-content img.border-top-img {
    height: 237px;
    width: auto;
    object-fit: cover;
}

.product-loadmore-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.product-loadmore-wrapper .product-button-group {
    position: relative;
}

.product-button-group {
    position: absolute;
    bottom: -20px;
}

.post-button-group {
    position: absolute;
    bottom: 45px;
}

.product-loop-content ul {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

.product-loop-content p {
    margin: 0 !important;
}

.post-loop-content p {
    margin-bottom: 60px;
    font-family: 'Inter';
}

.product-button-group .button.button-in-group-ouline,
.post-button-group .button.button-in-group-ouline {
    padding: 10px 70px 10px 0px;
    background-color: #fff;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: #009b78;
}

span.sku-label {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

div#product-search-submit,
div#post-search-submit {
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #000;
    border-left: 0;
}

#product-search-form input#product-keyword,
#post-search-form input#keyword {
    border: 1px solid #000;
    width: 100%;
}

form#product-search-form,
form#post-search-form {
    width: 450px;
}

.brxe-block .brx-megamenu {
	height: 0;
	overflow: hidden;
}

.brxe-block .brx-has-megamenu.open .brx-megamenu {
	height: auto;
}

@media screen and(max-width: 767px) {
    form#product-search-form {
        width: 100%;
    }
    form#post-search-form {
        width: 100%;
    }

    div#post-featured-container .post-loop-content {
        width: 100%;
    }

    div#post-featured-container .post-archive-content {
        display: flex;
        flex-direction: column;
    }
}

/* End of Post Archive */

