/* Commented by shravani */
/* .testimonial-carousel-container {
    padding: 0 1em;
} */

.testimonial-carousel-container h3 {
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    color: #262626;
}

.testimonial-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    padding: 0;
    background-color: #fafafa;
}

.testimonial-carousel .slick-track {
    display: flex;
    gap: 1.5em;
    margin-bottom: 2em;
    padding-left: 0;
    padding-right: 0;
}

.testimonial-carousel .slick-track > *:first-child {
    margin-left: 0;
}

.testimonial-carousel .slick-track > *:last-child {
    margin-right: 0;
}

.testimonial-carousel .slick-arrow {
    position: absolute;
/*     top: -40px; */
	top:-65px;
    transform: translateY(-50%);
    z-index: 1;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
}

.testimonial-carousel .slick-prev {
    right: 60px;
    left: unset;
}

.testimonial-carousel .slick-next {
    right: 24px;
}

.testimonial-carousel .slick-prev::before {
    content: url('https://embroiderylegacy.com/wp-content/themes/generatepress-child-su_ldtest/assets/icons/default-left-arrow-1.png');
    background-size: cover;
}

.testimonial-carousel .slick-next::before {
    content: url('https://embroiderylegacy.com/wp-content/themes/generatepress-child-su_ldtest/assets/icons/default-right-arrow-1.png');
    background-size: cover;
}

.testimonial-carousel .slick-prev:hover::before {
    content: url('https://embroiderylegacy.com/wp-content/themes/generatepress-child-su_ldtest/assets/icons/hover-left-arrow.png');
}

.testimonial-carousel .slick-next:hover::before {
    content: url('https://embroiderylegacy.com/wp-content/themes/generatepress-child-su_ldtest/assets/icons/hover-right-arrow.png');
}

.testimonial-carousel .slick-dots {
    display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
    background-color: #fafafa;
    left: 0;
}

.testimonial-carousel .slick-dots li:not(.custom-dot-visible) {
	display: none;
}

@media (max-width: 768px) {
	
	.wdm-video-testimonial .slick-dots li { display: none !important; } 
	.wdm-video-testimonial .slick-dots li.custom-dot-visible { display: inline-block !important; }
}


.wdm-video-testimonial {
	position: relative;
	margin-top: 80px;
}

.wdm-video-testimonial .slick-arrow {
	position: absolute;
}

/* Dots update */
.wdm-video-testimonial .slick-dots li.slick-active button:before,
.testimonial-carousel .slick-dots li.slick-active button:before {
    font-size: 14px;
}

/* Not Working */
.wdm-video-testimonial .slick-dots li:has(+ li) + li button::before,
.wdm-video-testimonial .slick-dots li + li:has(+) button::before
.testimonial-carousel .slick-dots li:has(+ li) + li button::before,
.testimonial-carousel .slick-dots li + li:has(+) button::before {
    font-size: 10px;
}

.wdm-video-testimonial .slick-dots li button:before,
.testimonial-carousel .slick-dots li button:before {
    font-size: 12px;
}

.testimonial-carousel .slick-next, .testimonial-carousel .slick-prev {
    display: none;
}

.testimonial-item {
    width: 100%;
}

.testimonial-details {
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.testimonial-photo img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.testimonial-author-details {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-author img {
    display: inline-block;
    vertical-align: middle;
	width: 20px;
	height: 20px;
}

@media (min-width: 768px) {
    .testimonial-carousel-container h3 {
        font-size: 2em;
        text-align: left;
    }

    .testimonial-item {
        width: 32%;
    }
    /* .testimonial-carousel .slick-track {
        height: 15em;
    } */
	/* Commented below by Shravani */
	/*     .testimonial-carousel-container {
        padding: 3em 3.75em 0 3.75em;
    } */
}

/* default */
.testimonial-rating .star {
    font-size: 20px; /* Adjust size as needed */
    color: #ccc; /* Default empty star color */
}

.testimonial-rating .full-star {
    color: gold; /* Gold color for full stars */ 
}

.testimonial-rating .half-star {
    color: linear-gradient( gold, #ccc);
    background: linear-gradient(to right, gold 50%, #ccc 50%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-rating .empty-star {
    color: #ccc; /* Gray color for empty stars */
}


/* Page wise update */

.testimonial-308382 .slick-arrow {
    display: inline-block;
    position: absolute;
    bottom: -60px;
    top: unset;
}

.testimonial-308382 .slick-prev {
    left: 48%;
    right: 51%;
}

.testimonial-308382 .slick-next {
    right: 48%;
    left: 51%;
}

/* Embroidery Legacy Design Club Trial */
.testimonial-242739 {
    padding: 1.5em 3em 0 3em;
}


/* Testimonial Video Shortcode */
.testimonial-video iframe {
	border-radius: 10px;
	width: 100%;
	height: 100%;
}

.wdm-video-testimonial .testimonial-video {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	row-gap: 13px;
	padding: 20px;
	background-color: #FAFAFA;
	border-radius: 12px;
}

.wdm-comments {
	display: flex;
	flex-direction: column;
	row-gap: 12px;
	font-size: 16px;
	line-height: 24px;
}

.wdm-comments .wdm-name {
	font-weight: 600;
}

.wdm-video-testimonial .slick-track {
	display: flex;
	gap: 20px;
}

.wdm-video-testimonial .slick-prev {
	left: 60px;
/* 	left: unset; */
/* 	right: 105px;
	top: -5%; */
}

.wdm-video-testimonial .slick-next {
	right: 60px;
/* 	top: -5%; */
}

.wdm-video-testimonial .slick-arrow {
	z-index: 1;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	font-size: 12px;
	background-color: #26262699;
	color: #FFFFFF;
}

@media (max-width: 768px) {
	.wdm-video-testimonial .slick-prev {
		/* left: 40px; */
		right: 75px;
	}
	
	.wdm-video-testimonial .slick-next {
		right: 30px;
	}
}

.slick-prev:before, .slick-next:before {
	content: none;
}

#testimonials-container .testimonial-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 32px;
}

#testimonials-table {
	border: none;
	border-top: 1px solid #E1E4EA;
}

#testimonials-table tr td {
	border: none;
	padding: 20px 0px;
}

#testimonials-table tr {
	display: flex;
	align-items: flex-start;
	border-width: 0px 0px 1px 0px;
	border-style: solid;
	border-color: #E1E4EA;
}

#testimonials-table td.review_thumbnail {
	width: 25%;
	display: flex;
	column-gap: 12px;
	align-items: center;
}

#testimonials-table td.review_thumbnail img {
	width: 48px;
}

#testimonials-table p.review_name {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #262626;
}

#testimonials-table td.review_comment {
	width: 75%;
	padding-right: 150px;
	font-size: 16px;
	line-height: 24px;
	color: #363636;
}

#testimonials-container .testimonial-header h5 {
	font-size: 40px;
	line-height: 52px;
	font-weight: 600;
	margin: 0px;
}

#testimonials-container .testimonial-header h3 {
	font-size: 40px;
	line-height: 52px;
	font-weight: 600;
	margin: 0px;
}

.testimonial-cta {
	position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
	#testimonials-container .testimonial-header h5 {
		font-size: 30px;
	}
	#testimonials-container .testimonial-header h3 {
		font-size: 30px;
	}
}

#testimonials-container .testimonial-header .review-count {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.testimonial-header .review-count p.count {
	font-size: 22px;
	font-weight: 600;
	line-height: 30px;
	text-align: right;
	color: #262626;
}

.testimonial-header .review-count p {
	font-size: 16px;
	line-height: 24px;
	color: #758393;
}

.wdm-video-testimonial .slick-arrow:hover{
	background: #262626B2;
}


@media (max-width: 768px) {
	#testimonials-table tr {
		display: flex;
		flex-direction: column;	
	}
	
	#testimonials-table tr td {
		width: 100%!important;
	}
	
	#testimonials-table tr td.review_comment {
		padding: 0px 0px 20px 0px!important;
	}
}

/* Added by Shravani wrapper container */
.wdm-testimonial-wrapper-container{
	width:100%;
	max-width:100%;
	background-color:#FAFAFA;
	display:flex;
	justify-content:center;
	align-items:center;
}
.testimonial-carousel-container {
	max-width:1360px;
	width:100%;
}

.testimonial-carousel-heading h3 {
	max-width: 1320px;
    width: 100%;
    margin: 0 auto 40px;
}
@media (max-width: 768px) {
	.testimonial-carousel-heading{
		padding:0px 16px;
	}
}