/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .wpte-testimonials {
    margin: 0 auto;
    max-width: 100%;
 }

.wpte-testimonials.standard {
    column-count:inherit !important;
}

.wpte-testimonials.carousel {
    overflow: hidden;
    position: relative;
}

.wpte-testimonials .carousel-container {
    display: flex;

    transition: transform 0.5s ease-in-out;
    width: 100%;
}


.wpte-testimonials.carousel .carousel-slide {
    flex: 0 0 calc(100% / var(--testimonials-to-show, 1));
    box-sizing: border-box;
    padding: 10px;
}

.wpte-testimonials.standard .carousel-slide,
.wpte-testimonials.grid .carousel-slide {
    flex: 0 0 calc(100% / var(--testimonials-to-show, 1));
    padding:0;
}


.wpte-testimonials .carousel-prev,
.wpte-testimonials .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.wpte-testimonials .carousel-prev {
    left: 10px;
}

.wpte-testimonials .carousel-next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.wpte-testimonials .carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.wpte-testimonials .carousel-dots .dot.active {
    background-color: #007cba;
}

