.cpm-hero-gallery {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

/* Main image slider */

.mySwiper2 {
	height: calc(100% - 140px);
}

/* Thumbnail slider */

.mySwiper {
	height: 140px;
	box-sizing: border-box;
	padding: 10px 0;
	background: #ffffff;
}

.mySwiper .swiper-slide {
	width: auto;
	height: 100%;
	opacity: 0.5;
	cursor: pointer;
}

.mySwiper .swiper-slide-thumb-active {
	opacity: 1;
}

.mySwiper .swiper-slide img,
.mySwiper2 .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cpm-hero-gallery .swiper-button-next,
.cpm-hero-gallery .swiper-button-prev {
	color: #ffffff;
	background-color: #0000009c;
	padding: 12px;
	border-radius: 50%;
}
.cpm-hero-gallery .swiper-button-next:hover,
.cpm-hero-gallery .swiper-button-prev:hover {
	background-color: #000000;
}
.cpm-hero-gallery .swiper-button-next svg,
.cpm-hero-gallery .swiper-button-prev svg {
	fill: #ffffff;
}
.mySwiper2 .swiper-slide:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 15%);
    height: 100%;
    width: 100%;
}

.listings-slideshow-text {
    position: absolute;
    bottom: 15px;
    text-align: center;
    width: 100%;
    z-index: 1;
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
}
.scroll-button {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-button a {
    color: #ffffff;
    display: block;
}
.scroll-button a:hover,
.scroll-button a:focus {
    color: #000000;
}
html, body {
    scroll-behavior: smooth;
}












/***********************************************************************************/
/***********************************************************************************/
/***********************************************************************************/

@media screen and (min-width: 992px) {

	body .cpm-hero-gallery .swiper-button-next {
		right: 50px;
	}
}


/* Mobile */
@media screen and (max-width: 767px) {
	.cpm-hero-gallery {
		height: 100vh;
	}

	.mySwiper {
		height: 60px;
	}

	.mySwiper2 {
		height: calc(100% - 60px);
	}
}