.testimonial-card img {
    height: 80px;
    width: 120px;
    object-fit: cover;
    border-radius: 50px;
    border: 1px solid #328cd4;
}

.testimonial-card__top_part {
    display: flex;
    gap: 20px;
    align-items: center;
}

.Style-2 .testimonial-card img{
    height: 80px;
    width: 80px;
    object-fit: cover;
}

.Style-2 .image-strech{
    height: 50px!important;
    background-color: white;
    width:130px!important;
    object-fit: cover;
    border-radius: 5px!important;
    border: none!important;
}

.Style-2 .Author-company{
    text-align: left;
}

.Style-2 .Author-company p{
    font-size: 15px;
}

.author-name{
    font-weight: 700!important;
}

.testimonial-offwhite .testimonial-card{
    background-color: #F3F8FF!important;
    color: black!important;
}

.testimonial-blue .testimonial-card{
    background-color: #328cd4!important;
    color: white!important;
}

.testimonial-card .description {
    width: 100%;
    text-align: center;
    margin: auto;
    padding-top: 1rem;
    min-height: calc(220px + 2rem);
    overflow-x:hidden;
    overflow-y: hidden;
    max-height: 400px;
}

.description::-webkit-scrollbar-track{
    background-color: pink;
}

.testimonial-card > .description::-webkit-scrollbar-track {
    background-color: pink;
}

.testimonial-card > .description::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #555555;
}

.bottom-section{
    min-height: 75px;
}

.Style-2 .testimonial-card .description{
    text-align: left;
}

.testimonial-card {
    background-color: #fff;
    opacity: .3;
    padding: 25px 50px;
    transition: 0.3s;
    margin: .5rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 0 12px 0 rgba(156,156,156,.2)
}

.testimonial-card.slick-center {
    opacity: 1;
    transition: 0.3s
}

.testimonial-card p.role,.review p.text-blue {
    font-size: 14px;
    font-weight: 400;
}

.testimonial-slick-slider .slick-dotted.slick-slider {
    margin-bottom: 30px
}

.testimonials-slider .slick-slider
{
    position: relative;

    display: block;
    margin-right: -150px;
    margin-left: -150px;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.testimonial-slick-slider .slick-list
{
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
    width: 100%;
}

.testimonial-slick-slider .slick-list:focus
{
    outline: none;
}

.testimonial-slick-slider .slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.testimonial-slick-slider .slick-track
{
    position: relative;
    top: 0;
    display: block;
}

.testimonial-slick-slider .slick-track:before,
.testimonial-slick-slider .slick-track:after
{
    display: table;

    content: '';
}

.testimonial-slick-slider .slick-track:after
{
    clear: both;
}

.testimonial-slick-slider .slick-loading .slick-track
{
    visibility: hidden;
}

.testimonial-slick-slider .slick-slide
{
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide
{
    float: right;
}
.testimonial-slick-slider .slick-slide img
{
    display: block;
}
.testimonial-slick-slider .slick-slide.slick-loading img
{
    display: none;
}

.testimonial-slick-slider .slick-slide.dragging img
{
    pointer-events: none;
}

.testimonial-slick-slider .slick-initialized .slick-slide
{
    display: block;
}

.testimonial-slick-slider .slick-loading .slick-slide
{
    visibility: hidden;
}

.testimonial-slick-slider .slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}

.testimonial-slick-slider .slick-arrow.slick-hidden {
    display: none;
}

.testimonial-slick-slider .slick-dots {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    bottom: -60px;
}

.testimonial-slick-slider .slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer
}

.testimonial-slick-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent
}

.testimonial-slick-slider .slick-dots li button:hover,.slick-dots li button:focus {
    outline: none
}

.testimonial-slick-slider .slick-dots li button:hover:before,.slick-dots li button:focus:before {
    opacity: 1
}

.testimonial-slick-slider .slick-dots li button:before {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 8px;
    height: 8px;
    content: "";
    opacity: .25;
    color: #fff;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.testimonial-slick-slider .slick-dots li.slick-active button:before {
    opacity: .90;
    color: #fff
}

@media only screen and (max-width: 600px){

    .testimonial-card__top_part {
        display: block;
    }

    .testimonial-card {
        padding: 20px;
        opacity: 1;
    }

    .testimonials-slider .slick-slider {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .testimonial-card__top_part img {
        margin-left: 0px !important;
    }

    .testimonial-card__top_part .author-function {
        font-size: 12px !important;
    }

}

@media only screen and (min-width: 1600px) and (max-width: 1800px){

    .testimonial-card{
        min-height: 450px!important;
    }

}

@media only screen and (min-width: 1400px) and (max-width: 1600px){

    .testimonial-card{
        min-height: 500px!important;
    }

}

@media only screen and (min-width: 1200px) and (max-width: 1400px){

    .testimonial-card{
        min-height: 500px!important;
    }

}

@media only screen and (min-width: 1000px) and (max-width: 1200px){

    .testimonial-card{
        min-height: 500px!important;
    }

    .bottom-section{
        min-height: 105px;
    }

}


.description-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow: hidden;
    padding-bottom: 3rem;
}

.description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: linear-gradient(to top, white 60%, transparent);
}

.read-more-btn {
    background-color: #328cd4;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
}
