/* Wrapper */
.ace_slider_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: #f4f4f4;
  padding: 40px;
  color: #333;
  box-sizing: border-box;
}
.aceslider-track.slick-initialized.slick-slider {
    margin-top: 50px;
    margin-bottom: 50px;
}
/* Reset */
.aceslider-wrapper *,
.aceslider-wrapper *::before,
.aceslider-wrapper *::after {
  box-sizing: inherit;
}

/* Viewport */
.aceslider-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Track */
.aceslider-track {
  display: flex;
}

/* Slide */
.aceslider-slide {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
  padding: 23px;
  flex-shrink: 0;
  gap: 20px;
  align-items: flex-start;
}

/* Testimonial Content */
.testimonialcontent {
     display: flex;
     flex-direction: column;
    background: #fff;
    padding: 20px 0;
    gap: 20px;
    align-items: center;
    width: 100%;
    word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}
.aceslider-content.rating-below-name {
    text-align: center;
}
.aceslider-author-rating {
    text-align: center;
  }
.testimonialcontent-outer {
  width: 96%;
}

.aceslider-testimonial-text {
  /* margin: 0 auto; */
  width: 95%;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Author Image */
.aceslider-author-img {
  border: 2px solid #ddd;
  object-fit: cover;
  flex-shrink: 0;
  background: #eee;
}

/* Image Sizes */
.img-size-small { width: 50px; height: 50px; }
.img-size-medium { width: 80px; height: 80px; }
.img-size-large { width: 120px; height: 120px; }
.img-size-custom {
  width: var(--custom-img-size, 100px);
  height: var(--custom-img-size, 100px);
}

/* Image Shape */
.img-circle { border-radius: 50%; }
.img-square { border-radius: 0; }

/* Author Info */
.aceslider-content {
  flex-grow: 1;
  position: relative;
}

.aceslider-author-name {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.aceslider-author-rating {
  color: #f5a623;
 
  margin-top: 15px;
  font-size: 1.1rem;
}

/* Rating Position */
.rating-below-name .aceslider-author-rating { order: 1; }
.rating-below-description .aceslider-author-rating { order: 3; }

/* Read More */
.description-read-more-btn {
  color: #0073e6;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

/* Arrows */
.aceslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  /* color: white; */
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  user-select: none;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.aceslider-arrow:hover { opacity: 1; }
.aceslider-arrow-left { left: 0; }
.aceslider-arrow-right { right: 0; }

/* Dots */
.aceslider-dots {
  text-align: center;
  /* margin-top: 15px; */
}

.aceslider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.aceslider-dot.active {
  background: #0073e6;
}

/* Adaptive Height */
#slider-viewport.adaptive-height {
  transition: height 0.4s ease;
  overflow: hidden;
}
.aceslider-dots.mobile-testimonial-dotes {
    display: none;
}
  .ace_slider_wrapper .slick-initialized .slick-slide {
    margin: 10px 20px !important;
    padding: 15px;
}
.aceslider-content.rating-below-name .aceslider-author-rating {
    margin: 0;
}
.ace_slider_wrapper .slick-list.draggable {
    margin: 0 auto;
    width: 97%;
}
/* Responsive */
@media (max-width: 767px) {
  .ace_slider_wrapper .slick-list.draggable {
    margin: 0 auto;
    width: 90%;
}
  .aceslider-testimonial-text{
         margin: 0 auto;
        padding: 13px;
  }
.testimonial-text {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    
}
  .aceslider-dots.mobile-testimonial-dotes {
    display: block;
        margin-top: 15px;
}
.aceslider-dots.desktop-testimonial-dotes {
    display: none;
}
  .slick-list{
    height: 1000% !important;
  }
.ace_slider_wrapper{
      margin: 10px auto;
      padding: 40px 0;
}

  .ace_slider_wrapper .aceslider-author-rating{
    margin-top:5px;
  }
  .ace_slider_wrapper .slick-slide img {
    display: block;
    display: flex !important;
    justify-content: center !important;
    margin: 7px auto;
  }
  .aceslider-track.slick-initialized.slick-slider{
        margin-top: 0;
      margin-bottom: 0;
  }
  .testimonialcontent-outer {
      width: 100%;
  }

  .aceslider-slide.slick-slide{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .testimonialcontent{
    display: block;
  }
  .aceslider-slide {
    flex-direction: column;
    align-items: center;
    padding: 0 9px;
  }

  .aceslider-author-img {
    margin-bottom: 15px;
  }

  .aceslider-content {
    text-align: center;
  }
}
#slider-viewport.adaptive-height {
  height: auto !important;
}
.aceslider-slide.slick-slide{
  min-height: auto !important;
  margin: 15px;
  margin-top: 30px;
  margin-bottom:30px;
}
.aceslider-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  display: inline-block;
}

.aceslider-dot.active {
  background-color: #007bff; /* Change this to your desired color */
}
button:focus,
a:focus, .aceslider-slide.slick-slide.slick-active:focus {
  outline: none;
}
button#prev-arrow,button#next-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}