/* Slideshow container */
.slideshow-container {
	width: 100%;
	position: relative;
	margin: auto;
}

.mySlides {
	width: 100%;
	display: none;
	text-align: right;
}

/* Fading animation */
.fadeCarousel {
	animation-name: fadeCarousel;
	animation-duration: 6s;
}

.slideImage {
	width: 100%;
	vertical-align: middle;
}

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

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

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

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


@keyframes fadeCarousel {
	from {opacity: .8} 
	to {opacity: 1}
}

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

.carousel-caption {
	position: absolute;
	left: 50%;
	top: 40%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	bottom: auto;
	z-index: 10;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
	max-width: 70%;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}


.carouselLinkButton {
	font-family: 'Muli', sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	user-select: none;
	color: #fff;
	border-radius: 40px;
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;
	border-color: transparent;
	-webkit-transition: all 0.5s;
	padding: 10px 40px;
	border: 4px solid white;
	max-width: 100%;
	background: #cb0404;
	text-shadow: none;
}
.carouselLinkButton:hover {
	background: white;
	color: black;
	border: 3px solid #cb0404;
}


/* desktop */
@media only screen and (min-width: 481px) {

	.carousel-caption > h1 {margin-left: auto;
        margin-right: auto;
        max-width: 61%;
        text-align: center;
        text-transform: uppercase;
        color: var(--primary-white-color);
	}
}

/* mobile */
@media only screen and (max-width: 480px) {

	.carousel-caption {
		display: none;
	}

	.carousel-caption > h1 {
		font-size: 28px !important;
		text-transform: none !important;
		line-height: 32px !important;
		font-weight: 600 !important;
		padding: 0 !important;
		margin: 0 !important;
		margin-bottom: 15px !important;
	}
}