/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

.flo-block-testimonials {
	$b: '.flo-block-testimonials';
	position: relative;

	margin-top: var(--mobile-top-margin);
	margin-bottom: var(--mobile-bottom-margin);
	color: var(--text-elements-color);

	/* Slider */
	.slick-slider {
		position: relative;

		display: block;
		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;
	}

	.slick-list {
		position: relative;

		display: block;
		overflow: hidden;

		margin: 0;
		padding: 0;
	}
	.slick-list:focus {
		outline: none;
	}
	.slick-list.dragging {
		cursor: pointer;
		cursor: hand;
	}

	.slick-slider .slick-track,
	.slick-slider .slick-list {
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}

	.slick-track {
		position: relative;
		top: 0;
		left: 0;

		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.slick-track:before,
	.slick-track:after {
		display: table;

		content: '';
	}
	.slick-track:after {
		clear: both;
	}
	.slick-loading .slick-track {
		visibility: hidden;
	}

	.slick-slide {
		display: none;
		float: left;

		height: 100%;
		min-height: 1px;
	}
	[dir='rtl'] .slick-slide {
		float: right;
	}
	.slick-slide img {
		display: block;
	}
	.slick-slide.slick-loading img {
		display: none;
	}
	.slick-slide.dragging img {
		pointer-events: none;
	}
	.slick-initialized .slick-slide {
		display: block;
	}
	.slick-loading .slick-slide {
		visibility: hidden;
	}
	.slick-vertical .slick-slide {
		display: block;

		height: auto;

		border: 1px solid transparent;
	}
	.slick-arrow.slick-hidden {
		display: none;
	}

	&__title {
		margin-bottom: 30px;
		text-align: center;

		&[data-font=''] {
			font-family: var(--title-font-family);
			font-size: var(--title-font-size);
			line-height: var(--title-line-height);
			letter-spacing: var(--title-letter-spacing);
			font-style: var(--title-font-style);
			font-weight: var(--title-font-weight);
		}
	}

	&__items {
	}

	&__item {
		text-align: center;
	}
	&__item-image {
		margin-bottom: 20px;
	}
	&__item-avatar {
		width: 80px;
		height: 80px;
		position: relative;
		margin: 0 auto 5px;

		img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100% !important;
			height: 100% !important;
			object-fit: cover;
			border-radius: 50%;
		}
	}
	&__item-author {
		margin-bottom: 50px;

		&[data-font=''] {
			font-family: var(--author-font-family);
			font-size: var(--author-font-size);
			line-height: var(--author-line-height);
			letter-spacing: var(--author-letter-spacing);
			font-style: var(--author-font-style);
			font-weight: var(--author-font-weight);
		}
	}

	&__item-text {
		&[data-font=''] {
			font-family: var(--text-font-family);
			font-size: var(--text-font-size);
			line-height: var(--text-line-height);
			letter-spacing: var(--text-letter-spacing);
			font-style: var(--text-font-style);
			font-weight: var(--text-font-weight);
		}
	}

	&__navigation {
		display: flex;
		justify-content: center;
		margin-top: 30px;
		align-items: center;
	}
	&__arrow {
		i {
			font-size: 10px;

			&:before {
				width: auto;
			}
		}
	}
	&__scroll-through {
		margin: 0 10px;

		&[data-font=''] {
			font-family: var(--scroll-through-font-family);
			font-size: var(--scroll-through-font-size);
			line-height: var(--scroll-through-line-height);
			letter-spacing: var(--scroll-through-letter-spacing);
			font-style: var(--scroll-through-font-style);
			font-weight: var(--scroll-through-font-weight);
		}
	}

	@media (min-width: 768px) {
		margin-top: var(--top-margin);
		margin-bottom: var(--bottom-margin);
		position: relative;

		&__title {
			// position: absolute;
			// top: 0;
			// left: 0;
			text-align: left;
		}

		&__items {
			position: relative;
			z-index: 1;
		}
		&__item {
			display: flex;
			text-align: left;
			width: 100%;
		}
		&__item-image {
			width: var(--image-width);
			//padding-top: 60px;
			margin-bottom: 0;
		}
		&__item-info {
			flex: 1;
			padding-left: 50px;
			padding-bottom: 50px;
		}
		&__item-avatar {
			margin: 0 0 5px;
		}
		&__navigation {
			margin-top: 0;
			position: absolute;
			left: var(--image-width);
			margin-left: 50px;
			bottom: 5px;
			z-index: 2;
		}
	}
}
