.custom-image-slider .slider-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.custom-image-slider .slider-item.active {
    opacity: 1;
    z-index: 1;
}

#custom-image-slider-fields{
	display: grid;
    padding-bottom: 100px;

}

.custom-image-slider-fields input,textarea {
	height:250px;
	margin-bottom:10px;
}

.custom-image-slider {
    position: relative;
    width: 100%;
    height: 100vh;
	min-height:850px;
    overflow: hidden;
    z-index: 1; /* This should be lower than the header's z-index */
}

.slider-item {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item img {
	
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.30); /* Black overlay with 16% opacity */
    z-index: 1;
}

.slider-content {
    position: absolute;
	width: 40%;
    bottom: 240px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
	 z-index: 2;
}

.slider-content h3 {
    font-size: 50px;
    line-height: 55px;
}

.slider-content p {
    font-size: 18px;
    width: 90%;
}

.slider-prev, .slider-next {
   position: absolute;
    bottom: 155px;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    border: none;
    padding: 10px;
    border: 2px solid #fff;
    cursor: pointer;
    z-index: 10;
}

.slider-prev {
    left: 22px;
}

.slider-next {
    left: 100px;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-item.inactive {
    opacity: 0;
    z-index: 1;
}

.read-more{
	color: #fff;
    text-decoration: none;
}
