/*
 * Testimonials Carousel CSS
 * */
.testimonials-carousel{
	opacity: 0;
	visibility: hidden;
	cursor: grab;
}

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

.testimonials-carousel .slick-track{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
}

.testimonials-carousel .slick-slide{
	margin: 0 10px;
	height: auto;
}

.testimonials-carousel .slick-list{
	margin: 0 -10px;
}

.testimonial-box{
	position: relative;
	height: 100%;
	background-color: var(--e-global-color-accent);
	padding: 25px;
	border-radius: 20px;
}

.testimonial-box .testimonial-header .title h3{
	position: relative;
    color: var(--white);
	padding-left: 55px;
	letter-spacing: 0;
	margin: 0;
}

.testimonial-box .testimonial-header .title h3:before{
	content: '';
    display: block;
    position: absolute;
    top: -2x;
    left: 0;
    width: 32px;
    height: 32px;
    background: url("../images/quote-icon.svg") no-repeat top center;
    background-size: 100% auto;
}

.testimonial-box .testimonial-header .description{
	margin-top: 22px;
}

.testimonial-box .testimonial-header .description p{
    color: var(--white);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5em;
}

.testimonial-box .testimonial-header .description p:last-child{
	margin-bottom: 0;
}

.testimonial-box .testimonial-footer{
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 22px;
}

.testimonial-box .testimonial-footer .name,
.testimonial-box .testimonial-footer .location{
	width: calc(50% - 7.5px);
}

.testimonial-box .testimonial-footer .name h5{
	color: var(--white);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5em;
	margin: 0;
}

.testimonial-box .testimonial-footer .location{
	text-align: right;
}

.testimonial-box .testimonial-footer .location a{
	display: inline-block;
	position: relative;
	color: var(--orange);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5em;
	padding-left: 30px;
}

.testimonial-box .testimonial-footer .location a:before{
	content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 24px;
	transform: translateY(-50%);
    background: url("../images/map-icon.svg") no-repeat center center;
    background-size: 24px auto;
}

.testimonials-carousel ul.slick-dots{
	display: flex;
	justify-content: start;
	align-items: center;
	margin: 0;
	padding: 40px 0 0;
	list-style: none;
}

.testimonials-carousel ul.slick-dots li{
	margin: 0 0.6rem;
}

.testimonials-carousel ul.slick-dots li:first-child{
	margin-left: 0;
}

.testimonials-carousel ul.slick-dots li:last-child{
	margin-right: 0;
}

.testimonials-carousel ul.slick-dots li button{
	position: relative;
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #AEBDD9;
	text-indent: -9999px;
	transition: all 0.3s ease-in-out;
	opacity: 1;
}

.testimonials-carousel ul.slick-dots li.slick-active button{
	background-color: var(--e-global-color-primary);
}

.testimonials-carousel ul.slick-dots li button:focus{
	outline: none;
}

.testimonials-carousel ul.slick-dots li button:after{
	content: '';
    display: block;
    position: absolute;
    top: -4px;
    left: -4px;
    right: 0;
    bottom: 0;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: transparent;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}

.testimonials-carousel ul.slick-dots li.slick-active button:after{
	opacity: 1;
    visibility: visible;
    transform: scale(1);
}


@media only screen and (max-width: 1024px){
	
	.testimonial-box .testimonial-header .title h3{
		padding-left: 45px;
	}

	.testimonial-box .testimonial-header .title h3:before{
		width: 28px;
		height: 28px;
	}
	
	.testimonial-box .testimonial-header .description,
	.testimonial-box .testimonial-footer{
		margin-top: 20px;
	}

	.testimonial-box .testimonial-header .description p,
	.testimonial-box .testimonial-footer .name h5{
		font-size: 18px;
	}
	
	.testimonial-box .testimonial-footer .location a{
		font-size: 18px;
		padding-left: 25px;
	}
	
	.testimonial-box .testimonial-footer .location a:before{
		width: 20px;
		height: 20px;
		background-size: 22px auto;
	}
	
	.testimonials-carousel ul.slick-dots{
		justify-content: center;
	}

}

@media only screen and (max-width: 767px){
	
	.testimonial-box{
		padding: 20px 15px;
	}

	.testimonial-box .testimonial-header .title h3{
		font-size: 18px;
		padding-left: 40px;
	}

	.testimonial-box .testimonial-header .title h3:before{
		width: 25px;
		height: 25px;
	}

	.testimonial-box .testimonial-header .description{
		margin-top: 15px;
	}
	
	.testimonial-box .testimonial-header .description p{
		font-size: 16px;
	}

	.testimonial-box .testimonial-footer{
		flex-direction: column;
		gap: 5px;
	}

	.testimonial-box .testimonial-footer .name,
	.testimonial-box .testimonial-footer .location{
		width: 100%;
	}

	.testimonial-box .testimonial-footer .name h5{
		font-size: 16px;
	}

	.testimonial-box .testimonial-footer .location{
		text-align: left;
	}

	.testimonial-box .testimonial-footer .location a{
		font-size: 16px;
	}

	.testimonial-box .testimonial-footer .location a:before{
		width: 18px;
		height: 18px;
		background-size: 18px auto;
	}
	
}
