/**
 * Copyright © Fisheye Media Ltd. All rights reserved.
 * See LICENCE.txt for licence details.
 */

/* Custom, or additionally required styles for Swiper */

/* See: https://github.com/nolimits4web/swiper/issues/3599 */
.swiper {
	width: 100%;
	max-width: 100%;
	max-height: 100vh;
	min-height: 0;
	min-width: 0;
}

/**
 Default / Basic Parallax styling

 Docs: https://swiperjs.com/swiper-api#parallax
 Demo: https://codesandbox.io/s/frkpbr?file=/index.html
 */
.swiper .parallax-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 130%;
	height: 100%;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
}

.swiper-button-next.hidden,
.swiper-button-prev.hidden {
	display: none; /* Need to be more specific than the base class as tailwind util classes are loaded prior */
}

[data-content-type="row"] [data-enable-carousel="true"] [data-content-type="column-group"] {
	flex-wrap: nowrap;
}

.swiper [data-content-type="slide"] .pagebuilder-slide-wrapper [data-element="content"] {
	overflow: visible;
}
