/* =====================================
			TESTIMONIALS
===================================== */
.ts-testimonial-wrapper
{
overflow:hidden;
}
.ts-testimonial-grid{
    position:relative !important;
}

.ts-testimonial-grid-item{
    margin-bottom:20px;
}
.ts-testimonial-grid-item.ts-hide {
  pointer-events: none;
}
/* ==========================
		  FILTER
========================== */
.ts-testimonial-wrapper .ts-filter-bar {margin:20px 0; 
display:inline-flex; 
gap:20px; padding:15px 25px; 
border:1px solid var(--theme-color); 
border-radius:95px;
position:relative !important;
}
.ts-testimonial-wrapper .ts-filter-bar button {
  cursor: pointer;
  padding:15px 25px; background: var(--dark-color); color:#fff; border-radius:35px;
}
.ts-testimonial-wrapper .ts-filter-bar button.active {

  background: var(--theme-color);
  color: #fff;
}
.ts-testimonial-wrapper .ts-no-result {
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}
.ts-testimonial-grid-item .ts-testimonial-card-inner{
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    gap: 5px;	
	position:relative;
}
.ts-testimonial-grid-item .ts-testimonial-card-inner .ts-quote-icon{
    display: flex;
    align-items: center;
    justify-content: center;	
}
.ts-testimonial-grid-item .ts-testimonial-card-inner .ts-quote-icon svg,
.ts-testimonial-grid-item .ts-testimonial-card-inner .ts-quote-icon svg
{
	width:30px;
	height:30px;
}

/* ==========================
		  Social
========================== */
.ts-socials-list{
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-socials-list a {
  margin-right: 10px;
  width:20px; height:20px;    
}
.ts-socials-list img {width:100%; height:auto;}
/* ==========================
		  Thumb
========================== */
.ts-thumb img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
/* ==========================
		  Contentd
========================== */
.ts-full-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: right 0.4s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.ts-full-content.active {
  right: 0;
}

.ts-panel-inner {
  padding: 30px;
  overflow-y: auto;
  height: 100%;
}

.ts-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.ts-readmore-btn {
    margin-top: 10px;
    cursor: pointer;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	gap:10px;
    line-height: 1;
}
.ts-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.ts-overlay.active {
  opacity: 1;
  pointer-events: all;
}
/* Panel */
.ts-global-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 480px;
  height: 100%;
  background: #fff;
  z-index: 9999;
}

.ts-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
}
/* Active states */
.ts-panel-overlay.active {
  opacity: 1;
  pointer-events: all;
}
/* Card */
.ts-testimonial-card-inner {
  transition: 0.3s ease;
    height:100%;
}

.ts-testimonial-card-top {
  display: flex;
  gap: 15px;
  align-items: center;
}
.ts-testimonial-quote-icon 
{
 border-radius: 50%;
  position: relative;
  background-color: var(--theme-color);
  display:flex;
  align-items:center;
  justify-content:center;
    width: 58px;
    height: 58px;
}
.ts-testimonial-avatar {
  width: 60px;
  height: 60px;
  flex-shrink: 0; 
  overflow:hidden;
}

.ts-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}
.ts-testimonial-avatar img,
.ts-panel-image img {
  aspect-ratio: 1/1;
}
.ts-testimonial-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction:column;
}


/* ============== CARD ============== */
.ts-testimonial-content {
 border-radius: 8px;
  position: relative;
  background-color: #f4f4f4;
  padding: 25px 50px 30px 50px;
  font-size: 14px;
  margin: 0;
  line-height: 1.6em;
  font-style: italic;
}

.ts-testimonial-content .ts-testimonial-sign {
  top: 100%;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #f4f4f4;
  margin: 0;
  position: absolute;
  left: 20px;
}

.ts-layout-style1 .ts-testimonial-avatar {
  max-width: 100%;
  vertical-align: middle;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}
.ts-department {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 500;
      max-width: 45px;
}
.ts-department img {max-width:40px; height:auto;}
.ts-testimonial-card,
.ts-testimonial-card-inner {
  transition: 0.3s ease;
}

.ts-equal-height .row{
    align-items:stretch;
}

.ts-equal-height .ts-testimonial-grid-item{
    display:flex;
}
.ts-equal-height .ts-testimonial-swiper .swiper-slide .ts-testimonial-card,
.ts-equal-height .ts-testimonial-card-inner{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
}
.ts-equal-height .ts-testimonial-content {height:100%;}
/* ==========================
		  Rating
========================== */
.ts-testimonial-rating {
  color: #ffb400;
  letter-spacing: 2px;
  font-size: 14px;
}
.ts-testimonial-card-inner {
  height:100%}
.ts-testimonial-inner {
  border: 2px solid red;
  min-height: 50px;
}
.ts-testimonial-card-bottom {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    gap: 20px;
    width: 100%;	
}
.ts-testimonial-info h4{font-size:16px;margin-bottom:0;}
.ts-testimonial-footer 
{
display:flex;	
}
.ts-testimonial-video {
	font-size:20px;
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    justify-content: start;
	}
.ts-testimonial-video,
.ts-testimonial-footer .ts-testimonial-socials  span{
font-size:20px;	
}
.ts-testimonial-footer .ts-testimonial-socials img{ width:20px; height:auto}
.ts-testimonial-title {font-size:17px; margin:0 0 0px 0;}

/* ============================
			MARQUEE
============================ */
.ts-testimonial-marquee-marquee { overflow: hidden; }
.ts-testimonial-marquee-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.ts-testimonial-marquee-track > * {
  flex: 0 0 auto;
  width: 420px; /*  fixed width (adjust as needed) */
}
/* ============================
			SWIPER
============================ */
.ts-testimonial-swiper {
    position: relative !important;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.enabled_slider.ts-testimonial-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%!important;
}
.ts-testimonial-swiper .swiper-wrapper {
    display: flex;
	 align-items: stretch;
}

.ts-testimonial-swiper .swiper-slide {
    height: auto;
}
.ts-testimonial-slider-control {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: flex;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 999;
}
.ts-testimonial-wrapper .ts-testimonial-pagination{
position: relative !important;
    top: 0;
    margin-top: 20px;
    z-index: 10;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
max-width: 100%;
    margin-bottom: 0;
    width: 100%;
}

.ts-testimonial-wrapper .ts-testimonial-pagination .swiper-pagination-bullet{
    background: var(--dark-color);
    width: 40px;
    height: 2px;
    border-radius: 0;
	opacity: 1;
-webkit-transition: all 0.3s ease-out 0s;
transition: all 0.3s ease-out 0s;
}
.ts-testimonial-wrapper  .ts-testimonial-arrow {
    left: unset !important;
    top: 50% !important;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
	gap:5px;
    width: 100%;
}
.ts-testimonial-wrapper  .ts-testimonial-prev,
.ts-testimonial-wrapper  .ts-testimonial-next{
    position: relative !important;
    top: unset !important;
    z-index: 20;
    cursor: pointer;
    width: 40px;
    height: 40px;
	background:#f4f4f4;
	display: flex;
    align-items: center;
    justify-content: center;
	border-radius:50%;
-webkit-transition: all 0.3s ease-out 0s;
transition: all 0.3s ease-out 0s;
}
.ts-testimonial-wrapper  .ts-testimonial-prev
{
	 transform: translateX(-60px);
	 opacity:0;
}
.ts-testimonial-wrapper:hover  .ts-testimonial-prev
{
	 transform: translateX(10px);
	 opacity:1;
}
.ts-testimonial-wrapper  .ts-testimonial-next
{
	 transform: translateX(60px);
	 opacity:0;
}
.ts-testimonial-wrapper:hover  .ts-testimonial-next
{
	 transform: translateX(-10px);
	 opacity:1;
}
.ts-testimonial-wrapper  .ts-testimonial-prev svg,
.ts-testimonial-wrapper  .ts-testimonial-next svg{
width:50%;
height:50%;
}
.ts-testimonial-wrapper  .ts-testimonial-prev svg{transform: rotate(180deg);}
.ts-testimonial-wrapper  .ts-testimonial-prev{
    left: unset!important;
	right: unset !important;
	
}

.ts-testimonial-wrapper  .ts-testimonial-next{
    right: unset!important;
    left: unset !important;
}
.ts-testimonial-swiper  .ts-testimonial-next {
    transform: rotate(180deg);
}
/* ============================
			MARQUEE
============================ */
.ts-testimonial-marquee {
    overflow: hidden;
    width: 100%;
    position: relative !important;
}

.ts-testimonial-marquee-track {
    display: flex;
    width: max-content;
}

.ts-testimonial-marquee-track > * {
    flex: 0 0 auto;
}
.ts-pagination-nav {
  display: flex;
  justify-content: center;
  list-style: none; 
  padding: 0px;
  gap:5px;
    text-align: center;
    width: 100%;  
    position: relative !important;
	top:unset!important;
}

.ts-pagination-nav a,
.ts-pagination-nav span  {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  padding: 7px;
  text-decoration: none;
  border-radius: 50px; 
}
.ts-pagination-nav span  {
color:#fff;	
background:var(--ts-primary-color);
border-color:var(--ts-primary-color);
}
/* ==========================
		  STYLE 2
========================== */
.ts-layout-style2 .ts-testimonial-card
{
background:#fff;	
}
.ts-layout-style2 .ts-testimonial-avatar {
    width: 100%;
	height:150px;
 border-radius: 15px 15px 0 0;
  background-color: #fff;
  overflow:hidden;
}
.ts-layout-style2 .ts-testimonial-content {
 border-radius: 0 0 15px 15px;
  position: relative;
  background-color: #fff;
  padding:20px;
}
.ts-layout-style2 .ts-testimonial-quote-icon 
{
 border-radius: 50%;
  position: relative;
  background-color: var(--theme-color);
  padding:20px;	
  display:flex;
  align-items:center;
  justify-content:center;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
}
.ts-layout-style2 .ts-testimonial-quote-icon svg 
{
    width: 100%;
    height: 100%;
}
.ts-layout-style2 .ts-testimonial-quote-icon svg path
{
 fill:#fff;
}
.ts-layout-style2 .ts-testimonial-title {
    margin-block-start: 25px;
}
/* ==========================
		  STYLE 2
========================== */
.style-3.ts-testimonial-card
{
overflow: hidden;	
}
.style-3 .ts-testimonial-avatar {
    width: 100%;
	height:auto;
  overflow:hidden;
}
.style-3 .ts-testimonial-content {
    position: absolute;
	inset:0;
    display: flex;
      width: 100%;
    height: 100%;
    flex-direction: column;
    background-color: #16151538;
background: linear-gradient(180deg,rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 1) 100%);	
  padding:20px;
}
.style-3 .ts-testimonial-title,
.style-3 .ts-testimonial-excerpt,
.style-3 .ts-testimonial-name,
.style-3 .ts-testimonial-designation,
.style-3 .ts-readmore-btn {
    color: #fff;
}
.ts-layout-style3 .ts-testimonial-quote-icon 
{
 border-radius: 50%;
  position: relative;
  background-color: var(--theme-color);
  padding:20px;	
  display:flex;
  align-items:center;
  justify-content:center;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 58px;
    height: 58px;
}
.ts-layout-style3 .ts-testimonial-quote-icon svg 
{
    width: 100%;
    height: 100%;
}
.ts-layout-style3 .ts-testimonial-quote-icon svg path
{
 fill:#fff;
}
.ts-layout-style3 .ts-testimonial-title {
    margin-block-start: 25px;
}
.ts-layout-style3 .ts-testimonial-wrapper 
{
	position:relative !important;
	top:unset !important;
	left:unset !important;
}