/*--------------------------------------------------------------
POST GRID
----------------------------------------------------------------
# Testimonial Carousel
# Testimonial Grid
# Testimonial Single
--------------------------------------------------------------*/

// Carousel
//--------------------------------------------------
.pxl-item--star {
    color: $color_dark1;
}
.pxl-item--5-star {
    i {
        font-size: 17px;
        color: $primary_color;
    }
}
.pxl-item--4-star {
    color: $primary_color;
    i:nth-child(5) {
        color: $color_dark1;
    }
}
.pxl-item--3-star {
    color: $primary_color;
    i:nth-child(5), i:nth-child(4) {
        color: $color_dark1;
    }
}
.pxl-item--2-star {
    color: $primary_color;
    i:nth-child(5), i:nth-child(4), i:nth-child(3) {
        color: $color_dark1;
    }
}
.pxl-item--1-star {
    color: $primary_color;
    i:nth-child(5), i:nth-child(4), i:nth-child(3), i:nth-child(2) {
        color: $color_dark1;
    }
}
.pxl-testimonial-carousel {
    .pxl-swiper-dots {
        margin-top: 20px;
    }
}
.pxl-testimonial-carousel1 {
    .pxl-item--image {
        max-width: 131px;
        min-width: 131px;
        margin-right: 60px;
        @include transition(all 300ms linear 0ms);
        position: relative;
        @media #{ $max-sm } {
            margin-bottom: 35px;
        }
        .inner-image {
            box-shadow: 0 0 0 10px $third_color;
            @include border-radius(50%);
            overflow: hidden;
        }
        img {

        }
    }
    .pxl-item--star {
        display: inline-block;
        margin-bottom: 20px;
    }
    .pxl-quoters {
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 38px;
        line-height: 1;
        text-align: center;
        svg {
            fill: $primary_color;
        }
    }
    .pxl-item--desc {
        font-size: 18px;
        color: $fourth_color;
        line-height: 1.6;    
        letter-spacing: -0.012em;
        margin-bottom: 35px;
        @extend .ft-theme-default;
        @media #{$max-lg} {
            font-size: 18px;
        }
    }
    .pxl-item--title {
        font-size: 24px;
        margin-bottom: 0px;
        font-weight: 500;
        color: $fourth_color;
    }
    .pxl-item--position {
        color: #{'rgba(var(--fourth-color-rgb), 0.6)'};
        display: inline-block;
        margin: 10px 0;
        font-size: 16px;
        text-transform: uppercase;
    }
    .pxl-item--inner {
        background-color: #161616;
        padding: 30px 20px;
        position: relative;
        z-index: 1;
        margin-bottom: 5px;
        @media #{ $min-md } {
            display: flex;
            align-items: start;
        }
        @media #{ $min-lg } {
            padding: 56px 70px 65px 102px;
        }
        &:hover {
            .pxl-item--image {
                
            }
        }
    }
    .pxl-carousel-inner {
        
    }
    .pxl-swiper-arrow.pxl-swiper-arrow-prev {
        @media #{$max-lg} {
            left: 0;
            opacity: 0;
        }
    }
    .pxl-swiper-arrow.pxl-swiper-arrow-next {
        @media #{$max-lg} {
            right: 0;
            opacity: 0;
        }
    }
    .pxl-swiper-dots {
        margin-top: 50px;
        justify-content: center;
    }
}
.pxl-testimonial-carousel2 {
    .pxl-text--slide {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        overflow: hidden;
        span {
            display: inline-block;
        }
    }
    .wow.letter {
        @include transform(translate3d(0, 36px , 0));
        @include transition(all 0.4s);
        opacity: 0;
        &.animated {
            @include transform(translate3d(0, 0px , 0));
            opacity: 1;
        }
    }
    .wow.split {
        @include transform(translate(50px));
        @include transition(all 0.4s);
        opacity: 0;
        &.animated {
            @include transform(translate(0px));
            opacity: 1;
        }
    }
    .pxl-split-text {
        overflow: hidden;
    }
    .el--subtitle {
        font-size: 16px;
    }
    .el--title {
        font-size: 48px;
        margin-bottom: 0;
    }
    .el-headding {
        max-width: 505px;
        @media #{ $max-sm } {
            margin-bottom: 35px;
        }
    }
    .px-title--divider1, .px-title--divider2 {
        width: 88px;
        height: 4px;
        display: inline-flex;
        position: relative;
        top: 2px;
        &:before, &:after, span {
            content: '';
            display: block;
            position: absolute;
            background-color: $primary_color;
            border-radius: 4px;
            top: 0;
            height: 4px;
        }
        &:before {
            width: 70px;
            left: 0;
        }
        &:after {
            width: 8px;
            left: 73px;
        }
        span {
            right: 0;
            width: 4px;
        }
    }
    .px-title--divider2 {
        transform: rotate(-90deg);
        margin-bottom: 65px;
        margin-top: 40px;
    }
    .px-title--divider3 {
        position: relative;
        width: 76px;
        height: 2px;
        background-color: rgba(#DBE6FF, 0.3);
        border-radius: 2px;
        margin-top: 16px;
        &:before {
            content: '';
            width: 19px;
            height: 2px;
            border-radius: 2px;
            position: absolute;
            top: 0;
            right: 0;
            background-color: $primary_color;
        }
    }
    .px-title--divider4 {
        position: relative;
        width: 100%;
        margin-top: 8px;
        border-top: 1px dotted $primary_color;
    }
    .px-title--divider5 {
        position: relative;
        width: 32px;
        height: 3px;
        margin-top: 4px;
        border-radius: 10px;
        background-color: $primary_color;
    }
    .px-title--divider6 {
        width: 88px;
        height: 2px;
        display: inline-flex;
        position: relative;
        top: 2px;
        &:before, &:after, span {
            content: '';
            flex-grow: 1;
            margin-left: 2px;
            margin-right: 2px;
            display: inline-block;
            background-color: $primary_color;
            height: 2px;
            width: 24px;
        }
    }
    .pxl-swiper-dots {
        margin-top: 0;
    }
    .wp-container {
        max-width: 1300px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        @media #{ $max-sm } {
            flex-wrap: wrap;
        }
    }
    .pxl-item--star {
        display: inline-block;
        margin-bottom: 22px;
    }
    .pxl-item--desc {
        font-size: 24px;
        line-height: 1.6;    
        letter-spacing: -0.012em;
        @extend .ft-theme-default;
        font-weight: 700;
        margin-bottom: 42px;
    }
    .pxl-item--title {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 600;
    }
    .pxl-item--position {
        text-transform: uppercase;
        font-size: 12px;
        font-weight: 600;
    }
    .pxl-item--inner {
        border-top: 10px solid rgba(#000000, 0.3);
        background-color: #fff;
        position: relative;
        z-index: 1;
        margin-bottom: 5px;
        padding: 40px 20px 30px;
        @media #{ $min-xxl } {
            padding: 80px 75px 78px;
        }
    }
    .pxl-carousel-inner {
        
    }
    .pxl-swiper-arrow.pxl-swiper-arrow-prev {
        @media #{$max-lg} {
            left: 0;
            opacity: 0;
        }
    }
    .pxl-swiper-arrow.pxl-swiper-arrow-next {
        @media #{$max-lg} {
            right: 0;
            opacity: 0;
        }
    }
}