
.trends_overlay2, .trends_overlay3, .trends_overlay4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.trends_overlay2 {
    background: #f9f9f9;
}
.trends_overlay3 {
    background: rgba(230, 255, 235, 0.3);
}
.trends_overlay4 {
    background: rgba(255, 250, 230, 0.3);
}
.trends_image img {
    height: 120px !important;
    width: auto !important;
    object-fit: contain;
}
.cat_menu_container ul {
    visibility: hidden;
    opacity: 0;
}
.order_total {
    height: unset;
    padding: 20px;
}
.input_field {
    width: 100%;
}
.owl-item {
    background-color: #fff;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    cursor: grab;
}
.cart_title {
    text-transform: capitalize;
}
.sidebar_categories {
    margin-top: 20px;
}
.product_cart_button {
    visibility: initial;
    opacity: 1;
}
.product_item {
    margin: 0px 10px;
    float: left;
}
.product_grid {
    min-height: 580px;
}
.trends {
    padding-top: 60px;
    padding-bottom: 60px;
}
.banner {
    padding-top: 40px;
    padding-bottom: 30px;
}
.j-evenly {
    justify-content: space-evenly;
}
.card-1 {
    width: 200px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    height: 100%;
}
.content-sb {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.trends_image {
    width: 100%;
    height: auto;
}
.carousel-item img {
    width: 100%;
    object-fit: cover;
}
.carousel-caption {
    top: 50%;
    bottom: unset; 
    left: 50%;
    z-index: 10;
    padding: 30px; 
    border-radius: 10px;
    transform: translate(-50%,-50%);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}
.carousel-caption p {
    color: whitesmoke;
    font-size: 20px;
}
.carousel-caption h3 {
    font-size: 50px;
}
.carousel-btn {
    width: fit-content;
    margin: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}
.carousel-indicators {
	z-index: 9;
}



/* MOBILE DEVICE */
@media only screen and (max-width: 574px) {
    #fire_slider {
        margin-top: 96px;
    }
    .carousel-caption h3 {
        font-size: 36px;
    }
    .my-3 {
        margin-top: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }
    .col-sm-6 {
        padding-left: 7px;
        padding-right: 7px;
    }
    #category-sec .row, #category-sec .row, #type-sec .row {
        padding-left: 4px;
        padding-right: 4px;
    }
    .carousel-caption {
        padding: 10px;
    }
    .carousel-caption h1 {
        font-size: 40px;
    }
    .carousel-caption p {
        line-height: 1.5rem;
    }
}

    .section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-borders span {
    height: 5px;
    background: #fd312e;
    width: 40px;
    display: inline-block;
    border-radius: 2px;
}

.section-borders span.black-border {
    background: #333;
    width: 30px;
    margin: 0 6px;

}

.client-testimonial-carousel .owl-dots button {
    height: 5px;
    background: #fd312e !important;
    width: 20px;
    display: inline-block;
    margin: 5px;
    transition: .2s;
    border-radius: 2px;
}

.client-testimonial-carousel button.owl-dot.active {
    background: #000 !important;
    width: 30px;
}

.client-testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 25px
}

.single-testimonial-item {
    position: relative;
    box-shadow: 0 0 2px #dadfd3;
    margin: 2px;
    padding: 20px;
    font-style: italic;
    padding-left: 85px;
}

.single-testimonial-item:before {
    font-family: "Font Awesome 5 Free";
    content: "\f10e";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    font-size: 20px;
    color: #fd312e;
    line-height: 30px;
    margin-top: -15px;
}

.single-testimonial-item:after {
    background: #ddd;
    content: "";
    height: 70%;
    left: 60px;
    position: absolute;
    top: 10%;
    width: 1px;
}

.single-testimonial-item h3 {
    font-size: 20px;
    font-style: normal;
    margin-bottom: 0;
}

.single-testimonial-item h3 span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
}
#testimonial-sec .owl-item {
    box-shadow: unset;
    background-color: #fff;
}
.single-testimonial-item {
    box-shadow: 0 0 1px #dadfd3;
    margin: 0px;
    height: 100%;
}

.card-content {
    padding: 10px;
}
.owl-item:has(.single-testimonial) {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px !important;
    margin-bottom: 20px;
}
.owl-item:has(.single-testimonial) {
    border-radius: 20px;
}
.card-img img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.card-img img {
    object-fit: cover;
    height: 200px;
}
.card-title {
	font-size: 26px;
	font-weight: 600;
	color: black;
	margin-top: 20px;
	line-height: 2rem;
}
.card-button {
	background-color: transparent;
	padding: 10px 20px;
	border-radius: 8px;
	color: #fd312e;
	border: 1px solid #fd312e;
	cursor: pointer;
}
#fire-safety-sec .owl-carousel .owl-item, #electrical-solutions .owl-carousel .owl-item, #construction-materials .owl-carousel .owl-item, #electromagnetic-technology .owl-carousel .owl-item {
	scale: 0.96;
	cursor: grab;
}
.card-details {
    padding: 0px 20px;
}
#fire-safety-sec .owl-item.active, #electrical-solutions .owl-item.active, #construction-materials .owl-item.active, #electromagnetic-technology .owl-item.active {
    margin-right: 20px !important;
}


.products {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5%;
	row-gap: 30px;
}
.product-item {
	width: 18%;
	text-align: center;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
	background-color: #fff;
}
.product-item a {
    padding: 0px;
    margin: 0px;
}
.product-wrap {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 10px;
}
.product-image img {
    object-fit: contain;
}

.product-content .title {
    font-size: 16px;
    margin-top: 10px;
}

.cat_menu_container:hover .cat_menu {
	opacity: 0;
}


/* TAB DEVICE */
@media only screen and (max-width: 1000px) {
    .product-item {
    	width: 31.6%;
    }

}


/* MOBILE DEVICE */
@media only screen and (max-width: 600px) {
    .product-item {
    	width: 48.7%;
    }
    h2.fire-black-hd {
        line-height: 40px;
    }
}
