/* Slideshow container */
.wall-carousel {
	position: relative;
	overflow: hidden;
}
.wall-carousel__container {
	position: relative;
	width: 100%;
	height: 550px;
	max-height: 550px;
	position: relative;
	margin: auto;
	overflow: hidden;
}

/* Hide the images by default */

.wall-carousel__item {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    opacity: 1;
	visibility: inherit;
	transition: 1.25s all;
}

.wall-carousel__item.active {
	display: block;
	background-image: url("/img/homepage/hero/hero-image-3.jpg");
}

/* Next & previous buttons */
.wall-carousel__prev,
.wall-carousel__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;
	user-select: none;
}

/* Position the "next button" to the right */

.wall-carousel__next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */

.wall-carousel__prev:hover,
.wall-carousel__next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.wall-carousel__t-bar {
	position: absolute;
	transition: 1s all;
	background: rgba(255, 255, 255, 1);
}

.wall-carousel__transition {
	transition: 1s all;
}

/* Caption text */
.wall-carousel__item-container {
	position: relative;
	height: 100%;
}
.wall-carousel__item-txt {
	position: absolute;
	top: 50%;
	left: 25px;
	transform: translateY(-50%);
	line-height: 0;
}
.wall-carousel__item-txt-main span {
	display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    padding: 10px 20px;
    line-height: 3rem;
    white-space: nowrap;
    opacity: 1;
    left: 100px;
    top: 130px;
    background: rgba(0,0,0,0.9);
    color: var(--clr-p);
    margin-right: 100%;
    letter-spacing: 1px;
}
.wall-carousel__item-txt-sub span {
	display: inline-block;
    font-size: 1.5rem;
    padding: 10px 20px;
    line-height: 2rem;
    white-space: nowrap;
    opacity: 1;
    background: rgba(250,250,249,1);
    color: var(--clr-t);
    letter-spacing: 1px;
}
.wall-carousel__item-txt-para span {
	display: inline-block;
	width: calc(100% - 25px);
    max-width: 1000px;
    font-size: 1rem;
    padding: 10px 20px;
    margin-top: 15px;
    line-height: 1.5rem;
    opacity: 1;
    background: rgb(130, 135, 138);
    color: #fff;
}
.wall-carousel__item-first {
	background-position: 25% 25%;
}
.wall-carousel__item-first .wall-carousel__item-txt {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%, -50%);
    line-height: 0;
}

@media only screen and (max-width:767px) {  
	.wall-carousel__container {
		height: 400px;
	}
	.wall-carousel__item-txt-main span {
		font-size: 2rem;
	}
	.wall-carousel__item-txt-main span, .wall-carousel__item-txt-sub span {
		white-space: normal;
		width: calc(100% - 25px)
	}
	.wall-carousel__item-first .wall-carousel__item-txt {
		width: 480px;
	}
}
@media only screen and (max-width:479px) {  
	.wall-carousel__item-first .wall-carousel__item-txt {
		width: 100%;
		position: relative;
	}
	.wall-carousel__item-first .wall-carousel__item-txt-main span {
		font-size: 1.5rem;
	}
	.wall-carousel__item-first .wall-carousel__item-txt span {
		width: 100%;
	}
}