.slick-prev{
    z-index: 1;
}
.slick-arrow{
    border: none !important;
}
.zl-testimonial-post-content a {
    text-decoration: auto;
}
.zl-testimonial-post-content h2 {
    margin-bottom: 2px !important;
}
/* .slick-track{
    display: flex !important;
} */
/*.slick-slide {
    height: auto !important;
}*/
span.zl_form_msg {
    color: #787171;
    font-size: 15px;
    font-weight: 500;
}
/* Applying styles when .zl-slick-design-1 has below-slider class */
/* Below Slider Design 1 */
.zl-slick-design-1.below-slider .slick-prev.slick-arrow,
.zl-slick-design-1.below-slider .slick-next.slick-arrow {
    /* transform: translate(0, 0); */
    width: 36px;
    height: 36px;
    border-radius: 40%;
    background-color: var(--white);
    /* display: inline-flex; */
    justify-content: center;
    transition: all 0.3s ease-in-out;
    z-index: 9; 
    top: 100% !important;
}
.zl-slick-design-3.below-slider .slick-prev.slick-arrow{
    position: absolute;
    bottom: -8% !important;
}
.zl-slick-design-3.below-slider .slick-prev{
    left: calc(49% - 20px);
    top: 100%;
}
.zl-slick-design-3.below-slider .slick-next{
    left: calc(49% + 20px);
    top: 100%;
}
.zl-slick-design-1.below-slider .slick-prev{
    left: calc(50% - 20px);
}
.zl-slick-design-1.below-slider .slick-next{
    left: calc(50% + 20px);
}
.zl-slick-design-2.below-slider .slick-prev{
    /* left: calc(50%); */
    left: calc(50% - 20px);
    top: 100%;
    
}
.zl-slick-design-2.below-slider .slick-next {
    /* right: calc(46%) !important; */
    left: calc(50% + 20px);
    top: 100%;
    bottom: 29px;
    top: 100% !important;
}
.zl-slick-design-2.below-slider .slick-dots{
    margin-top: 0px;
    margin-bottom: -15px;
}
.zl-slick-design-1.below-slider .slick-dots{
    margin-bottom: -45px !important;
}
/* inner Slider Design 1*/
.zl-slick-design-1.inner-slider-container .slick-prev {
    left: 38px;
}
.zl-slick-design-1.inner-slider-container .slick-next {
    right: 50px;
}
.zl-slick-design-2.inner-slider-container .slick-prev {
    left: 50px;
}
.zl-slick-design-2.inner-slider-container .slick-next {
    right: 58px;
}
.zl-slick-design-3.inner-slider-container .slick-prev {
    left: 40px;
}
.zl-slick-design-3.inner-slider-container .slick-next {
    right: 52px;
}
.zl-slick-design-3.inner-slider-container .zl-testimonial-post-excerpt {
    padding: 24px;
}
.zl-slick-design-1.inner-slider-container .zl-testimonial-post-thumbnail {
    width: 75%;
    margin: 10px 30px;
}
.zl-testimonial-post-thumbnail img{
    display: inline !important;
}
/* Design 2 Below slider */
.zl-slick-design-2.below-slider .slick-prev.slick-arrow,
.zl-slick-design-2.below-slider .slick-next.slick-arrow {
    /* transform: translate(0, 0); */
    width: 36px;
    height: 36px;
    border-radius: 40%;
    background-color: var(--white);
    display: inline-flex;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    z-index: 9; 
    top: 92% !important;
}
/*Grid CSS*/
.zl-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.zl-testimonial-grid-item {
    background: #F7F8F9;
    /* border: 1px solid #e1e1e1; */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: #18012C;
    display: flex;
    align-items: center;  /* Center content vertically */
    justify-content: center;
}
.zl-testimonial-content-wrapper {
    /* display: flex; */
    flex-direction: column;
    align-items: center;
}
.zl-testimonial-designation {
    font-size: 14px;
    color: #777;
    margin: 0 0 10px 0;
}
.zl-star-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}
.zl-star-rating .dashicons-star-filled,
.zl-star-rating .dashicons-star-half {
    color: #FF7B00;
    font-size: 18px;
    margin: 0 2px;
}
.zl-testimonial-content {
    /* color: #18012c; */
    margin: 0;
    font-family: "Roboto",Sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 32px;
}
h5.zl_title_grid {
    margin-bottom: auto !important;
    color: #2678C1;
    font-size: 19px;
    font-weight: bold;
}
p.zl_testimo_desc {
    font-weight: 500;
    font-size: 19px;
    line-height: 29px;
    font-family: "Roboto", sans-serif;
}
p.zl_designation_grid {
    margin-bottom: 0px !important;
}
.zl-testimonial-rating.zl-testimonial-designation {
    color: #e5902d;
}
.zl-testimonial-post-excerpt.zl-excerpt {
    color: #7c7f85;
}
.zl-testimonial-designation {
    color: #37393c;
}
.zl-testimonial-content.zl-testimonial-post-feature.wp-post-image {
    height: 140px;
    width: 140px;
}
.zl-slick-design-2 .slick-dots {
    position: static;
}
/* Design 1 */
.zl-slick-design-1 {
    padding: 20px;
    height: auto;
    margin:30px !important;
}
.slick-initialized .zl-testimonial-design-1 {
    display: flex !important;
    /* display: -webkit-inline-box; */
    margin: 0px 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ffecec00;
    background-color: #d0def7;
    align-items: center;
    flex-direction: row;
}
.zl-slick-design-1 img {
    max-width: 100%;
    /* margin-left: 35px; */
    height: auto !important;
}
.zl-slick-design-1 h2 {
    font-size: 24px;
    margin: 35px 0px 2px 5px !important;
    /* line-height: 0.2; */
    color: #1e73be;
}
.zl-slick-design-1 p {
    font-size: 16px;
    margin: 10px 4px;
}
.zl-slick-design-1 .zl-testimonial-post-thumbnail{
    /* width: 45%; */
    width: auto;
    margin: 10px 5px;
    margin-right: 42px;
}
.zl-slick-design-1 .zl-testimonial-post-content {
    width: 70%;
}
img.zl-testimonial-post-feature.wp-post-image {
    border-radius: 50%;
    display:inline;
    /* height: 145px; */
    height: auto;
}
.zl-testimonial-star {
    margin: 3px 0px;
}
.zl-testimonial-post-title {
    font-weight: 400;
}
.zl-slick-design-1 .star-rating-img {
    max-width: 20px;
    padding: 5px 0px;
}
.zl-testimonial-design-2 , .zl-testimonial-design-3 {
    display: block !important;
}
.zl-testimonial-content.zl-testimonial-post-excerpt {
  color: #7c7f85;
}
.zl-testimonial-post-title.zl-t-person-name {
  color: #1e73be;
}
/* Design 2 */
.zl-slick-design-2 {
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    /* overflow: hidden; */
}
.zl-slick-design-2 img {
    max-width: 100%;
    height: auto;
}
.zl-slick-design-2 h2 {
    font-size: 20px;
    margin-top: 10px;
}
.zl-slick-design-2 p {
    font-size: 14px;
    margin-top: 10px;
    color: #7c7f85;
}
.zl-slick-design-2 .zl-testimonial-rating.zl-testimonial-designation {
    justify-content: center;
}
.zl-slick-design-2 .zl-testimonial-post-thumbnail {
    display: block;
    text-align: center;
    justify-items: center;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ffecec00;
    margin: 10px;
    background-color: #d0def7;
}
.zl-slick-design-2 {
    padding: 5px 20px;
    min-height: 1px;
    margin: 0px 10px;
}
.zl-slick-design-2 .star-rating-img{
    max-width: 20px;
    padding: 5px 0px;
}

/* Design 3 */
.zl-slick-design-3 .zl-testimonial-content{
    text-align: -webkit-center;
}
.zl-slick-design-3  .zl-testimonial-text {
    text-align: center;
}
.zl-slick-design-3 .zl-testimonial-rating.zl-testimonial-designation {
    text-align: center !important;
    display: inline-flex;
}
.zl-slick-design-3 {
    padding: 10px;
}
.zl-slick-design-3 img {
    max-width: 100%;
    height: auto;
}
.zl-slick-design-3 .zl-testimonial-post-feature {
    max-width: 25%;
    /* height: 150px; */
    height: auto;
    margin:0px !important;
}
.zl-slick-design-3 h2 {
    font-size: 22px;
    margin: 10px;
}
.zl-slick-design-3 p {
    font-size: 18px;
    margin-top: 10px;
}
.zl-slick-design-3 .zl-testimonial-post-content {
    padding: 10px 10px;
    margin: 10px;
    border-radius: 10px;
    border: 1px solid #ffecec00;
    background-color: #d0def7;
}
.inner-horizontal-line{
    border: 0.1% solid #dddddd;
}
.zl-slick-design-3 .star-rating-img{
    max-width: 20px;
    padding: 0px;
}
/* fronend submission form CSS */
.zl_frontend_submission {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.zl_fieldset {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.zl_testimo_fieldgroup {
    display: flex;
    flex-direction: column;
}
.zl_testimo_fieldgroup label {
    margin-bottom: 5px;
    font-weight: bold;
}
.zl_testimo_fieldgroup input[type="text"],
.zl_testimo_fieldgroup input[type="file"],
.zl_testimo_fieldgroup select,
.zl_testimo_fieldgroup textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.zl_testimo_fieldgroup input[type="checkbox"] {
    margin-right: 10px;
}
.zl-category-checkbox {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}
.zl_testimo_fieldgroup input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.zl_testimo_fieldgroup input[type="submit"]:hover {
    background-color: #333;
}
.zl-success-message {
    display: flex;
    justify-content: center;
    align-items: center;
    color: green;
    font-size: 22px !important;
    margin-bottom: 10px;
}
.zl-error-message{
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(218, 23, 23);
    margin-bottom: 8px;
}
.zl-err-message{
    color: rgb(218, 23, 23);
}
/* Top Rated Styles */
.top-rated-testimonial-slider {
    display: flex;
    /* overflow: hidden; */
    position: relative;
    padding: 10px;
    justify-content: center;
}
.zl-testimonial-text {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}
.zl-testimonial-rating {
    font-size: 1.2em;
    margin-top: 10px;
    color: #E5902D; 
}
.slick-slide {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    /* background-color: #D0DEF7; */
    padding: 10px 10px;
    margin: 10px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*----- Testimonial Star Rating CSS ---------*/
.zl-testimonial-rating {
    margin-left: auto !important;
    margin-right: auto !important;
}
.zl-star-rating .dashicons-star-filled, .zl-star-rating .dashicons-star-half {
    margin: 0px !important;
}
.zl-star-rating.zl-testimonial-rating .dashicons.dashicons-star-filled:before {
    content: "\f155" !important;
}

/* Media query for screens smaller than 768px (typical mobile screens) */
@media (max-width: 767px) {
    /* slick testimonial design 1 start for mobile*/
    .zl-slick-design-1 .zl-testimonial-post-content {
        margin: 0px 10px;
        width: 100%;
    }
    .zl-slick-design-1 .zl-testimonial-post-title{
        text-align: center;
    }
    .slick-initialized .slick-slide {
        display: block !important;
    }
    .zl-slick-design-1 .zl-testimonial-post-thumbnail {
        width: 100%;
    }
    .zl-slick-design-1 .zl-testimonial-post-excerpt{
        padding: 10px;
    }
    .zl-slick-design-1 .zl-testimonial-designation {
        padding: 0px 10px;
    }
    /* slick testimonial design 3 end for mobile */
}
/*----- Responsive Grid CSS ---------*/
@media screen and (max-width: 1000px){
    .zl-testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 760px){
    .zl-testimonial-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/*--------------------------------*/
/* Style the dots container */
.slick-dots {
    /* bottom: 7px;  */
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style the individual dot */
.slick-dots li {
    display: inline-block;
    margin: 0 5px !important;
}

/* Style the button inside the dot */
.slick-dots li button {
    display: block;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50%;
    background: #ebe7e7 !important;
    border: none;
    text-indent: -9999px;
}

/* Style the active dot */
.slick-dots li.slick-active button {
    background: #333 !important;
}