/* Splide slider
================================================================================================ */

.wrap--testimonial-slider {
	position: relative;
	padding: 0 30px 60px 0;
}

.testimonial-slider {
	opacity: 0;
	visibility: hidden;
	display: none;	
	transition: all .25s ease-in;

	height: 0!important;
}

.testimonial-slider.slider--display {
	display: block;	
}

.testimonial-slider.slider--mounted {
	opacity: 1;
	visibility: visible;

	height: auto!important;	
}

.testimonial-slider .splide__track {
	transition: height .3s ease;
}


.testimonial-slider .splide__arrows,
.testimonial-slider .splide__arrow {
	position: absolute;
}

.testimonial-slider .splide__arrows {
	width: 100%;
	height: 30px;
	bottom: -60px;
	left: 0;
}

.testimonial-slider .splide__arrow {
    background: transparent;
    padding: 0;
    display: inline-flex;	

	background: #ddd;
    width: 30px;
    border-radius: 100%;    

    top: 0;
}

.testimonial-slider .splide__arrow:is(:hover, :focus, :active) {
	background-color: #067ccc;
	outline: none!important;
	border: none!important;

	opacity: 1;
}

.testimonial-slider .splide__arrow svg {
	transition: all .2s ease;
}

.testimonial-slider .splide__arrow:is(:hover, :focus, :active) svg path {
	fill: #eeeeee;
}

.testimonial-slider .splide__arrow--prev {
	left: 0;	
}

.testimonial-slider .splide__arrow--next {
	right: 0;
	left: auto;
}

/* Testimonial referenced item
================================================================================================ */

.testimonials-widget .refitem-data {
	margin-bottom: 20px;
}

.testimonials-widget .refitem-data a {
    font-family: Montaga, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.15em;
    display: block;
    color: #237aa1;
    text-decoration: underline;	
}

.testimonials-widget .ratings:not(:first-child) {
	margin-top: 10px;
}

/* Testimonial content
================================================================================================ */

.testimonials-widget blockquote {
    background: #eee;
    border-radius: 5px;
    padding: 20px 30px 25px 30px;
    margin: 0;
    position: relative;

    overflow: hidden;
}

.testimonials-widget blockquote:before {
    content: "“";
    position: absolute;
    top: -30px;
    left: -25px;
    font-size: 240px;
    color: #fff;
    font-family: Georgia, serif;
    width: auto;
    height: 75px;
    z-index: auto;
    overflow: visible;
    line-height: 240px;
}

.testimonials-widget blockquote > * {
	position: relative;
	z-index: 1;
}

/* Testimonial author meta
================================================================================================ */

.testimonials-widget .wrap--author-meta {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: normal;
	align-content: normal;

    padding-top: 20px;	
}

.testimonials-widget .wrap--author-meta[class*="--right"] {
	justify-content: flex-end;
}

.testimonials-widget .author-meta {
	display: flex;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}

.testimonials-widget .wrap--author-meta[class*="--center"] .author-meta {
	flex-basis: 100%;
}

.testimonials-widget .wrap--author-meta[class*="--right"] .author-meta {
	text-align: right;
}

.testimonials-widget .author-image,
.testimonials-widget .author-image img {
	width: 75px;
	height: 75px;	
}

.testimonials-widget .author-image {
	flex-grow: 0;
	flex-shrink: 1;

	border-radius: 50%;
	overflow: hidden;
}

.testimonials-widget .author-image img {
	display: block;
}

.testimonials-widget .author-data {
  flex-grow: 1;
  flex-shrink: 0;	
}

.testimonials-widget .wrap--author-meta[class*="--center"] .author-data {
	padding-left: 20px;
	margin-left: 20px;

	border-left: #e0e0e0 dashed 1px;	
}

.testimonials-widget .credit:not(:last-child) {
	margin-bottom: 10px;
}

.testimonials-widget .author-data--loc,
.testimonials-widget .author-data--prof {
	font-size: .8em;
}


.testimonials-widget .author-data--prof,
.testimonials-widget .author-data--prof a {
	color: #bbb;
}

.testimonials-widget .author-data--prof a,
.testimonials-widget .author-data--prof a:is(:hover, :focus, :active) {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, .125);

    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;

    text-decoration: none;
}

.testimonials-widget .author-data--prof a:is(:hover, :focus, :active) {
	color: #888;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, .3);
}

/* Testimonial post type single
================================================================================================ */

body.single-testimonial {
	background: #f2f2f2;
}

body.single-testimonial .testimonials-widget blockquote {
	border: #fff solid 1px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .15);
    font-size: 1.5em;
    padding: 30px 45px 37.5px 45px;
}

/* Mobile Optimization
================================================================================================ */

@media ( max-width: 782px ) {

	.wrap--testimonial-slider {
		margin-bottom: 30px;
		padding-right: 0;
	}

}