
#slideshow-wrapper {
    width: 100%;
	height: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

#slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0; /* Removed the 100px auto */
}

.img-wrapper {
	min-width: 100%;
	min-height: 100%;

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	margin: auto;
	overflow: hidden;

	z-index: 8;

	background-size: cover;
	background-position: center center;
}

#slideshow .img-wrapper.active {
	z-index: 10;
}

#slideshow .img-wrapper.last-active {
	z-index: 9;
}

/*********************************
	* Thumbnail Styling
	*********************************/
.thumbs-container {
    width: 100%;
    height: 60px; 
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 11;
    background: rgba(34, 34, 34, 0.85); /* Slightly transparent */
    display: flex;
    align-items: center;
}

/* ARROWS - Centered in the 60px bar */
.prev, .next {
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 12;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* THUMBNAIL LIST */
ul.thumbs {
    flex: 1;
    height: 60px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* INDIVIDUAL THUMB - Small 40x40 size */
.thumb {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.thumb.active {
    border: 2px solid #FFF;
    transform: scale(1.1); /* Pop out effect */
}