/*
 * Plumbing Carousel 1 CSS
 * */

.plumbing-services-carousel{
	opacity: 0;
	visibility: hidden;
	cursor: grab;
}

.plumbing-services-carousel.slick-initialized{
	opacity: 1;
	visibility: visible;
}

.plumbing-services-carousel .slick-list{
	margin: 0 -15px;
}

.plumbing-services-carousel .slick-slide{
	margin: 0 15px;
}

.services-box1{
	overflow: hidden;	
}

.services-box1 .services-content{
	position: relative;
	display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
	text-align: center;
	height: 460px;
	padding: 20px;
}

.services-box1 .services-content:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(from var(--e-global-color-primary) r g b / 84%);
	width: 100%;
	height: 100%;
	transform: scale(0);
	z-index: 0;
	transition: all 0.5s ease-in-out;
}

.services-box1 .services-content:after{
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	right: 0;
	bottom: 0;
	background-color: transparent;
	border: 1px solid var(--white-color);
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	transform: scale(0);
	z-index: 0;
	transition: all 0.5s ease-in-out;
}

.services-box1 .services-content > *{
	position: relative;
	z-index: 1;
}

.services-box1 .services-content .small-title h5{
	font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5em;
	color: var(--white-color);
	margin: 0 0 6px;
	transform: scale(0);
	transition: all 0.5s ease-in-out;
}

.services-box1 .services-content .service-title h3{
	font-size: 26px;
	color: var(--white-color);
	transform: scale(0);
	transition: all 0.5s ease-in-out;
}

.services-box1:hover .services-content:before,
.services-box1:hover .services-content:after,
.services-box1:hover .services-content .small-title h5,
.services-box1:hover .services-content .service-title h3{
/* .plumbing-services-carousel .slick-slide.slick-current .services-box1 .services-content:before,
.plumbing-services-carousel .slick-slide.slick-current .services-box1 .services-content:after,
.plumbing-services-carousel .slick-slide.slick-current .services-box1 .services-content .small-title h5,
.plumbing-services-carousel .slick-slide.slick-current .services-box1 .services-content .service-title h3{ */
	transform: scale(1);
}

.slick-slider{
	position: relative;
}

.slick-slider .slick-arrow{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 50px;
	height: 50px;
	transition: all 0.3s ease-in-out;
	z-index: 10;
}

.slick-slider .slick-arrow:hover,
.slick-slider .slick-arrow:focus{
	background-color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: var(--white-color);
}

.plumbing-services-carousel .slick-arrow{
	position: absolute;
	top: -110px;
	left: auto;
	right: 0;
}

.plumbing-services-carousel .slick-arrow.prev-arrow{
	right: 65px;
}


@media only screen and (max-width: 1024px){
	
	.services-box1 .services-content{
		height: 360px;
	}
	
	.services-box1 .services-content .service-title h3{
		font-size: 24px;
	}
	
	.plumbing-services-carousel .slick-arrow{
		top: -90px;
	}
	
}

@media only screen and (max-width: 767px){
	
	.slick-slider .slick-arrow{
		width: 40px;
    	height: 40px;
	}
	
	.plumbing-services-carousel{
		padding-bottom: 60px;
	}
	
	.services-box1 .services-content {
        height: 300px;
    }
	
	.plumbing-services-carousel .slick-arrow{
		top: auto;
		bottom: 0;
	}
	
	.plumbing-services-carousel .slick-arrow.prev-arrow{
		left: calc(50% - 45px);
	}
	
	.plumbing-services-carousel .slick-arrow.next-arrow{
		right: calc(50% - 45px);
	}
	
}

/*
 * Plumbing Carousel 2 CSS
 * */

.plumbing-services-carousel2{
	opacity: 0;
	visibility: hidden;
	cursor: grab;
}

.plumbing-services-carousel2.slick-initialized{
	opacity: 1;
	visibility: visible;
}

.plumbing-services-carousel2 .slick-list{
	margin: 0 -15px;
}

.plumbing-services-carousel2 .slick-slide{
	margin: 0 15px;
}

.services-box2{
	position: relative;
	overflow: hidden;
}

.services-box2 .services-image img{
	width: 100%;
	aspect-ratio: 1 / 1.11;
    object-fit: cover;
}

.services-box2 .services-content{
	position: absolute;
	top: auto;
	left: 30px;
	right: 30px;
	bottom: 0;
	background-color: rgb(from var(--e-global-color-accent) r g b / 90%);
	padding: 20px;
	width: calc(100% - 60px);
	transform: translateY(100px);
	transition: all 0.3s ease-in-out;
}

/* .plumbing-services-carousel2 .slick-slide.slick-current .services-box2 .services-content, */
.services-box2:hover .services-content{
	transform: translateY(-30px);
}

.services-box2 .services-content .service-title h3{
	font-size: 20px;
	color: var(--white-color);
}

.services-box2 .services-content .service-content{
	color: var(--white-color);
	margin-top: 10px;
}

.plumbing-services-carousel2 .slick-arrow{
	--arrow-left-right: -100px;
	position: absolute;
	top: 50%;
	left: var(--arrow-left-right);
	bottom: auto;
	transform: translateY(-50%);
}

.plumbing-services-carousel2 .slick-arrow.next-arrow{
	right: var(--arrow-left-right);
	left: auto;
}

@media only screen and (max-width: 1510px){
	
	.plumbing-services-carousel2 .slick-arrow {
    	--arrow-left-right: -60px;
	}
}

@media only screen and (max-width: 1440px){
	
	.plumbing-services-carousel2{
		padding-bottom: 100px;
	}
	
	.plumbing-services-carousel2 .slick-arrow {
    	--arrow-left-right: calc(50% - 60px);
		top: auto;
		bottom: 0;
		transform: translateY(0);
	}
}

@media only screen and (max-width: 1024px){
	
	.plumbing-services-carousel2{
		padding-bottom: 80px;
	}	
	
	.plumbing-services-carousel2 .slick-slide.slick-current .services-box2 .services-content{
		transform: translateY(-30px);
	}

}

@media only screen and (max-width: 767px){
	
	.plumbing-services-carousel2{
		padding-bottom: 60px;
	}
	
	.services-box2 .services-content{
		left: 15px;
    	right: 15px;
		width: calc(100% - 30px);
	}
	
	.plumbing-services-carousel2 .slick-slide.slick-current .services-box2 .services-content{
		transform: translateY(-15px);
	}
	
	.services-box2 .services-content .service-title h3{
		font-size: 18px;
	}
	
	.plumbing-services-carousel2 .slick-arrow {
    	--arrow-left-right: calc(50% - 45px);
		width: 40px;
		height: 40px;
	}
}


