* {
  	box-sizing: border-box;
}

img {
  	vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  	position: relative;
}

/* Hide the images by default */
.mySlides {
	display: none;
}

.fade-in-image { 
	animation: fadeIn 1.5s; 
}

@keyframes fadeIn {
  	0% { 
		opacity: 0.4; 
	}
  
	100% { 
		opacity: 1; 
	}
}

.mySlides img {
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

a.next-slide, a.prev-slide {
	border-bottom: none;
}

/* Next & previous buttons */
.prev-slide,
.next-slide {
	cursor: pointer;
	position: absolute;
	top: 40%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	background-color: rgba(59, 67, 149, 0.8);
	font-weight: bold;
	font-size: 20px;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
}

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

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

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 18px;
	padding: 8px 12px;
	background-color: rgba(59, 67, 149, 0.8);
	position: absolute;
	top: 0;
	left: 50%;
}

/* Container for image text */
.caption-container {
	padding: 20px;
	color: #fff;
	background: var(--norfolk-sea);
	border: unset;
	display: block;
	font-size: .9em;
	margin-top: 0;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Six columns side by side */
.column {
	float: left;
	width: 25%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  	opacity: 0.6;
}

.active,
.demo:hover {
  	opacity: 1;
}

@media (max-width: 1480px) {
	.next-slide {
		right: 10px;
	}
}

@media (max-width: 768px) {
	.caption-container {
		padding: 10px;
		font-size: .8em;
	}
	
	.prev-slide, .next-slide {
		font-size: 14px;
	}
	
	.next-slide {
		right: 0;
	}

}