* {
	box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
	max-width: 1000px;
	min-height: 500px;
	position: relative;
	margin: auto;
	overflow: hidden;
	padding-bottom: 50px;
}
.slideshow-container .slides-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 300%;
	height: auto;
	display: flex;
	flex-direction: row;
	transition: 0.5s;
}

.slideshow-container .slides-wrapper-header {
	width: 200%;
}
/* Hide the images by default */
.slideshow-container .mySlides {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}
.slideshow-container .mySlides img {
	height: 100%;
	object-fit: contain;
}

/* Next & previous buttons */
.slideshow-container .prev,
.slideshow-container .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	transition: all 0.3s;
}

/* Position the "next button" to the right */
.slideshow-container .next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slideshow-container:hover .prev,
.slideshow-container:hover .next {
	background-color: rgba(0, 0, 0, 0.5);
}
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.slideshow-container .text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.slideshow-container .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.slideshow-container .dots-wrap {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
}
.slideshow-container .dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.slideshow-container .dot.active,
.slideshow-container .dot:hover {
	background-color: #717171;
}

/* Fading animation */
.fade {
	/*  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;*/
}

.slideshow-container .slider-text {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
}

body .slideshow-container {
	max-width: unset;
}

body .slideshow-container .mySlides img {
	width: 100%;
}

@-webkit-keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}

@keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}

@media screen and (max-width: 767px) {
	.slideshow-container .mySlides {
		height: 350px;
	}
	.slideshow-container .mySlides img {
		object-fit: cover;
	}
}
