.pp-testimonial {
    .pp-testimonial-name {
        margin-bottom: 0;
	}
    .pp-testimonial-name,
	.pp-testimonial-position {
		color: inherit;
		display: block;
	}
}
.pp-testimonial-skin-1 {
    .pp-testimonial-content {
        margin-bottom: 15px;
    }
}
.pp-testimonial-image {
    border-radius: 50%;
    img {
        border-radius: 50%;
        display: inline-block;
        height: 50px;
        width: 50px;
        vertical-align: middle;
    }
}
.pp-testimonial-skin-3,
.pp-testimonial-skin-4,
.pp-testimonial-skin-5,
.pp-testimonial-skin-6 {
    display: flex;
    align-items: center;
    .pp-testimonial-footer {
        flex-shrink: 0;
    }
}
.pp-testimonial-skin-8 {
	.pp-testimonial-content {
		display: flex;
		align-items: center;
	}
}
.pp-testimonial-skin-5,
.pp-testimonial-skin-6,
.pp-testimonial-skin-8 {
    .pp-testimonial-image {
        flex-shrink: 0;
    }
}
.pp-testimonial-skin-4,
.pp-testimonial-skin-6 {
    flex-direction: row-reverse;
}
.pp-testimonials-h-align-left {
    .pp-testimonial {
        .pp-testimonial-footer {
            justify-content: flex-start;
            text-align: left;
        }
    }
    .pp-testimonial-skin-7 {
        .pp-testimonial-image {
            text-align: left;
        }
    }
}
.pp-testimonials-h-align-center {
    .pp-testimonial-footer {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .pp-testimonial-skin-7 {
        .pp-testimonial-image {
            text-align: center;
        }
    }
}
.pp-testimonials-h-align-right {
    .pp-testimonial {
        .pp-testimonial-footer-inner {
            justify-content: flex-start;
            flex-direction: row-reverse;
            text-align: right;
        }
    }
    .pp-testimonial-skin-7 {
        .pp-testimonial-image {
            text-align: right;
        }
    }
}
.pp-testimonials-v-align-top {
    .pp-testimonial-skin-3,
    .pp-testimonial-skin-4,
    .pp-testimonial-skin-5,
    .pp-testimonial-skin-6 {
        align-items: flex-start;
    }
}
.pp-testimonials-v-align-bottom {
    .pp-testimonial-skin-3,
    .pp-testimonial-skin-4,
    .pp-testimonial-skin-5,
    .pp-testimonial-skin-6 {
        align-items: flex-end;
    }
}
.pp-testimonials-thumb-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -8px;
}
.pp-testimonials-thumb-item-wrap {
    padding-left: 8px;
}
.pp-testimonials-thumb-item {
    cursor: pointer;
    position: relative;
    padding-top: 30px;
    img {
        border-radius: 50%;
        height: 80px;
        width: 80px;
        object-fit: cover;
        vertical-align: middle;
    }
}
.pp-testimonials-thumb-image {
    border-radius: 50%;
    position: relative;
    @include transition($target: all, $time: 0.25s, $timing-function: linear);
    img {
        @include transition($target: all, $time: 0.25s, $timing-function: linear);
    }
}
.pp-testimonials-wrap .pp-testimonials-thumb-item:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: opacity .3s ease-in-out;
    opacity: 0;
    height: 15px;
    width: 15px;
    border-top-color: transparent;
    border-right-color: transparent;
    box-sizing: content-box;
    background-clip: content-box;
}
.pp-testimonials-wrap .pp-active-slide .pp-testimonials-thumb-item:before {
    opacity: 1;
}
.pp-testimonial-text {
    position: relative;
}
.pp-testimonials-quote-position-above {
    .pp-testimonial-text {
        &:before {
            content: '\201C';
            display: block;
            font-size: 120px;
            line-height: 90px;
            margin-bottom: -30px;
        }
    }
}
.pp-testimonials-quote-position-before,
.pp-testimonials-quote-position-before-after {
    .pp-testimonial-text {
        &:before {
            display: inline-block;
            content: '\201C';
            font-size: 26px;
        }
    }
}
.pp-testimonials-quote-position-before-after {
    .pp-testimonial-text {
        &:after {
            display: inline-block;
            content: '\201D';
            font-size: 26px;
        }
    }
}
.pp-testimonials-image-inline {
    .pp-testimonial-footer-inner {
        display: flex;
        text-align: left;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    &.pp-testimonials-h-align-right {
        .pp-testimonial-image {
            margin: 0 0 0 15px;
        }
    }
    &.pp-testimonials-h-align-left {
        .pp-testimonial-image {
            margin: 0 15px 0 0;
        }
    }
}
.pp-testimonials-image-stacked {
    .pp-testimonial-image {
        display: inline-block;
    }
}
.pp-testimonials-content-bubble {
    .pp-testimonial-content {
        background-color: #e6e9ec;
        padding: 20px;
        position: relative;
        &:after {
            content: "";
            display: block;
            width: 14px;
            height: 14px;
            background-color: #e6e9ec;
            position: absolute;
            border-width: 0;
            -webkit-box-sizing: content-box;
            box-sizing: content-box;
        }
    }
    .pp-testimonial-skin-1,
    .pp-testimonial-skin-5,
    .pp-testimonial-skin-6 {
        .pp-testimonial-content {
            &:after {
                top: calc(100% - 7px);
                left: 50%;
                -webkit-transform: translateX(-50%) scaleX(.75) rotate(45deg);
                -ms-transform: translateX(-50%) scaleX(.75) rotate(45deg);
                transform: translateX(-50%) scaleX(.75) rotate(45deg);
            }
        }
    }
    .pp-testimonial-skin-2,
    .pp-testimonial-skin-7 {
        .pp-testimonial-content {
            &:after {
                bottom: calc(100% - 7px);
                left: 50%;
                -webkit-transform: translateX(-50%) scaleX(.75) rotate(-135deg);
                -ms-transform: translateX(-50%) scaleX(.75) rotate(-135deg);
                transform: translateX(-50%) scaleX(.75) rotate(-135deg);
            }
        }
    }
    .pp-testimonial-skin-3 {
        .pp-testimonial-content {
            &:after {
                top: 50%;
                left: -7px;
                -webkit-transform: translateY(-50%) scaleY(.75) rotate(135deg);
                -ms-transform: translateY(-50%) scaleY(.75) rotate(135deg);
                transform: translateY(-50%) scaleY(.75) rotate(135deg);
            }
        }
    }
    .pp-testimonial-skin-4 {
        .pp-testimonial-content {
            &:after {
                top: 50%;
                right: -7px;
                -webkit-transform: translateY(-50%) scaleY(.75) rotate(315deg);
                -ms-transform: translateY(-50%) scaleY(.75) rotate(315deg);
                transform: translateY(-50%) scaleY(.75) rotate(315deg);
            }
        }
    }
    &.pp-testimonials-h-align-left {
        .pp-testimonial-skin-1,
        .pp-testimonial-skin-2,
        .pp-testimonial-skin-5,
        .pp-testimonial-skin-6,
        .pp-testimonial-skin-7 {
            .pp-testimonial-content {
                &:after {
                    left: 25px;
                }
            }
        }
    }
    &.pp-testimonials-h-align-right {
        .pp-testimonial-skin-1,
        .pp-testimonial-skin-5,
        .pp-testimonial-skin-6 {
            .pp-testimonial-content {
                &:after {
                    left: auto;
                    right: 25px;
                    -webkit-transform: translateX(50%) scaleX(.75) rotate(45deg);
                    -ms-transform: translateX(50%) scaleX(.75) rotate(45deg);
                    transform: translateX(50%) scaleX(.75) rotate(45deg);
                }
            }
        }
        .pp-testimonial-skin-2,
        .pp-testimonial-skin-7 {
            .pp-testimonial-content {
                &:after {
                    left: auto;
                    right: 25px;
                    -webkit-transform: translateX(50%) scaleX(.75) rotate(-135deg);
                    -ms-transform: translateX(50%) scaleX(.75) rotate(-135deg);
                    transform: translateX(50%) scaleX(.75) rotate(-135deg);
                }
            }
        }
    }
    &.pp-testimonials-v-align-top {
        .pp-testimonial-skin-3,
        .pp-testimonial-skin-4 {
            .pp-testimonial-content:after {
                top: 30px;
            }
        }
    }
    &.pp-testimonials-v-align-bottom {
        .pp-testimonial-skin-3,
        .pp-testimonial-skin-4 {
            .pp-testimonial-content:after {
                top: auto;
                bottom: 18px;
            }
        }
    }
}
.pp-thumb-nav-gray .pp-testimonials-thumb-image,
.pp-thumb-nav-gray-hover .pp-testimonials-thumb-image:hover,
.pp-thumb-nav-gray-active .pp-active-slide .pp-testimonials-thumb-image {
    img {
        -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
    }
}
.pp-thumb-nav-gray {
    .pp-testimonials-thumb-image:hover,
    .pp-active-slide .pp-testimonials-thumb-image {
        img {
            -webkit-filter: none;
                filter: none;
        }
    }
}