/* Slideshow container */
.slideshow-container {
	/* max-width: 400px; */
	position: relative;
	/* margin: auto; */
}

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

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

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

/* On hover, add a grey background color */
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
	background-color: #f1f1f1;
	text-decoration: none;
	color: black !important;
}

.slide {
	display: none;
}

.slide-image {
	width: 100%;
	border-radius: 5px;
}

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

.text-round-background {
	background: rgba(0, 0, 0, 0.33);
	border-radius: 4px;
	padding: 3px 6px 6px 6px;
}

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

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

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
	.slideshow-container .prev,
	.slideshow-container .next,
	.slideshow-container .text {
		font-size: 11px;
	}
}
