:root {
	--kfw-swiper-dots-space-between: 5px;
    --kfw-swiper-nav-bg-color:var(--kinfw-secondary-color);
    --kfw-swiper-nav-bg-hover-color:var(--kinfw-accent-color);
    --kfw-swiper-nav-color:var(--kinfw-white-color);
    --kfw-swiper-nav-hover-color:var(--kinfw-white-color);
    --kfw-swiper-nav-disabled-color:rgba(0, 0, 0, .3);
    --kfw-swiper-nav-disabled-bg-color:rgba(255, 255, 255, .5);
}
.kfw-ele-widget-testimonial-large-carousel-main .elementor-alert {
    display: none;
}
.elementor-editor-active .kfw-ele-widget-testimonial-large-carousel-main .elementor-alert {
    display:block;
    margin-top: 20px;
}
.elementor-editor-active .kfw-ele-widget-testimonial-large-carousel-main .elementor-alert .kfw-js-clickable {
    cursor: pointer;
}
.kfw-ele-widget-testimonial-carousel-item-linked {
    cursor: pointer;
}

/* Testimonial Large Carousel */
.kfw-testimonial-lg-item {
	display: flex;
	/*justify-content: center;*/
	align-items: flex-start;
    flex-direction: row-reverse;
}
.kfw-testimonial-lg-item > * {
    flex: 1;
}
.kfw-testimonial-lg-img-wrap {
	max-width: 36%;
    width: 36%;
    position: relative;
    padding-right: 20px;
    margin: 40px 0 0;
}
.kfw-testimonial-lg-img-wrap:before {
    content: "";
    position: absolute;
    left: 20px;
    top: -30px;
    width: calc(100% - 10px);
    height: calc(100% + 30px);
    background: var(--kinfw-bg-light-color);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 30% 100%);
    z-index: -1;
}
.kfw-testimonial-lg-body-wrap {
    width: 62%;	
    position: relative;
    margin-right: 2%;
    border-radius: 20px;
    padding: 0 40px 100px 0;
}
.kfw-testimonial-lg-body {
	position: relative;    
    display: flex;
    flex-direction: column-reverse;
}

.kfw-testimonial-lg-quote-icon-wrap {   
	font-size: 50px;
    line-height: 100px;
	color: var(--kinfw-primary-color);
	text-align: center;
	transition: all 0.4s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap .kinfw-icon {
    line-height: 0;
}
.kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap svg {
    fill: var(--kinfw-primary-color);
}

.kfw-testimonial-lg-quote-icon-wrap.kfw-testimonial-lg-btm-quote-icon-wrap {
    display: none;
	right: calc(5% + 40px);
	bottom: 40px;
}


.kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap i, .kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap svg {
	width: 1em;
    height: 1em;
    position: relative;
    display: block;
}
.kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap i:before, .kfw-testimonial-lg-quote-icon-wrap .kfw-elementor-icon-wrap svg:before {
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
			transform: translateX(-50%);
}

.kfw-testimonial-lg-comment {
	font-size: 32px;
	margin-bottom: 30px;
	display: inline-block;
    margin-top: 30px;
    line-height: 1.4;
    color: var(--kinfw-primary-color);
}
.kfw-testimonial-lg-header-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: space-between;
}
.kfw-testimonial-lg-header {
	display: flex;
	flex-direction: column;
    font-family: var(--kinfw-primary-font-family);
}
.kfw-testimonial-lg-name {
	font-size: 32px;
	font-weight: 500;
	color: var(--kinfw-primary-color);
}
.kfw-testimonial-lg-role {    
    font-family: var(--kinfw-secondary-font-family);
	color: var(--kinfw-text-light-color);
    font-size: 16px;
    margin: -10px 0 0 0;
}


/* Rating */
.kfw-testimonial-lg-rating-wrap {
    margin: 10px 0 0;
}
.kfw-testimonial-lg-rating-wrap:has(img) .kfw-testimonial-lg-rating:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 45px;
    left: -35px;
    top: 0;
    bottom: 0;
    margin: auto;
    background: var(--kinfw-tertiary-color);    
    transform: rotate(20deg);
}
.kfw-testimonial-lg-rating-wrap:has(img) .kfw-testimonial-lg-rating {
    margin-left: 70px;
}
.kfw-testimonial-lg-rating { 
	height: 17px;
	line-height: 18px;
	position: relative;
	width: 98px;
	font-size: 16px;
	color: var(--kinfw-primary-color);
	display: inline-block;
	margin-left: auto;
}
.kfw-testimonial-lg-rating:before {
	content: "\f189\f189\f189\f189\f189";
	display: inline-block;
	font-family: kinfw-icon;
	font-weight: 400;
	left: 0;
	letter-spacing: 2px;
	position: absolute;
	top: 0;
}
.kfw-testimonial-lg-rating span {
	width: 100%;
	float: left;
	left: 0;
	overflow: hidden;
	padding-top: 20px;
	position: absolute;
	top: 0;
	color: var(--kinfw-primary-color);
}
.kfw-testimonial-lg-rating span:before {
	content: "\f18a\f18a\f18a\f18a\f18a";
	display: inline-block;
	font-family: kinfw-icon;
	left: 0;
	letter-spacing: 2px;
	position: absolute;
	top: 0;
}

/* Testimonial Swiper */
.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper {
	padding: 10px;
}

/* Navigation Arrows */
.kfw-testimonial-large-carousel-nav-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    bottom: 0;
    width: 100%;
    margin: auto;
    z-index: 1;
}
.kfw-testimonial-large-carousel-nav-wrap div {
	background: var(--kfw-swiper-nav-bg-color);
	color: var(--kfw-swiper-nav-color);
	width: 40px;
	height: 40px;
	line-height: 40px;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, .1);
	text-align: center;
	border-radius: 50%;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	cursor: pointer;
    display: inline-block;
}
.kfw-testimonial-large-carousel-nav-wrap div:hover {
	background: var(--kfw-swiper-nav-bg-hover-color);
    color: var(--kfw-swiper-nav-hover-color);
}
.kfw-testimonial-large-carousel-nav-wrap div span {
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.kfw-testimonial-large-carousel-nav-wrap .swiper-button-disabled,
.kfw-testimonial-large-carousel-nav-wrap .swiper-button-disabled:hover {
	cursor: text;
	background:var(--kfw-swiper-nav-disabled-bg-color);
	color: var(--kfw-swiper-nav-disabled-color);
}
.kfw-testimonial-large-carousel-nav-wrap div.kfw-swiper-nav-next {
	margin-left: 15px;
}

.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-default div.kfw-swiper-nav-prev {
    margin-left: -20px;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-default div.kfw-swiper-nav-next {
    margin-right: -20px;
}

.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-top-left {
    top: -70px;
    bottom: auto;
    justify-content: start;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-top-center {
    top: -70px;
    bottom: auto;
    justify-content: center;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-top-right {
    top: -70px;
    bottom: auto;
    justify-content: end;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-bottom-left {
    bottom: -70px;
    top: auto;
    justify-content: start;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-bottom-center {
    bottom: -70px;
    top: auto;
    justify-content: center;
}
.kfw-testimonial-large-carousel-nav-wrap.kfw-testimonial-large-carousel-nav-pos-bottom-right {
    bottom: -70px;
    top: auto;
    justify-content: end;
}

/* Navigation Dots */
.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination {
    text-align: center;
    width: 100%;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    position: relative;
    z-index: 99;

    position: absolute;
    bottom: 133px !important;
    width: auto;
    left: 50%;
}
.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: none;
    opacity: 1;
    transition: all .5s ease;
    margin:0 var(--kfw-swiper-dots-space-between) !important;
}
.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination .swiper-pagination-bullet:hover {
    background: var(--kinfw-accent-color);
}
.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--kinfw-secondary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .kfw-testimonial-lg-comment {
        font-size: 20px;
    }
}
@media (max-width: 1024px) {
	.kfw-testimonial-lg-body-wrap {
		padding: 30px 30px 80px;
	}
	.kfw-testimonial-lg-name {
		font-size: 28px;
	}
	.kfw-testimonial-lg-role {
		font-size: 16px;
	}
	.kfw-testimonial-lg-comment {
		font-size: 20px;
		margin-top: 20px;
	}	
	.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination {
		left: 50%;
	}
}

@media (max-width: 991px) {

	.kfw-testimonial-lg-item {
		flex-direction: column;
		padding: 0 0 20px;
	}
	.kfw-testimonial-lg-img-wrap {
		max-width: 100%;
		width: 100%;
		margin-bottom: 20px;
	}
	.kfw-testimonial-lg-body-wrap {
		width: 100%;
        padding: 0;
        margin: 20px 0 0;
	}
	.kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination {
		bottom: 55px !important;
		left: auto;
		right: 50px;
	}
    .kfw-testimonial-lg-comment {
        margin-top: 30px;
    }
	.kfw-testimonial-lg-rating {
		margin: 15px 0 0;
	}
}

@media (max-width: 480px) {
    .kfw-testimonial-lg-header-wrap {
        flex-direction: column;
        align-items: start;
    }
    .kfw-ele-widget-testimonial-large-carousel-main .kfw-swiper-pagination {
        bottom: -20px !important;
    }
    .kfw-testimonial-lg-quote-icon-wrap {
        margin-top: 20px;
    }
    .kfw-testimonial-lg-rating-wrap img {
		max-width: 150px;
	}
    .kfw-testimonial-lg-rating-wrap:has(img) .kfw-testimonial-lg-rating {
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}
	.kfw-testimonial-lg-rating-wrap:has(img) .kfw-testimonial-lg-rating:after {
		background: none;
	}
}
