
.slideshow { 
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	z-index: -2000;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slideshow li { 
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
 z-index: -2000;
    animation: imageAnimation 50s linear infinite; 
}

.slideshow li:nth-child(1) { 
    background-image: url("banner/b1.png");
	z-index: 0;
}
.slideshow li:nth-child(2) { 
    background-image: url("banner/b2.png");
    animation-delay: 10s;
z-index: 0;	
}
.slideshow li:nth-child(3) { 
    background-image: url("banner/b3.png");
    animation-delay: 20s; 
	z-index: -2000;
}
.slideshow li:nth-child(4) { 
    background-image: url("banner/b1.png");
    animation-delay: 30s; 
	z-index: -2000;
}
.slideshow li:nth-child(5) { 
    background-image: url("banner/b2.png");
    animation-delay: 40s; 
	z-index: -2000;
}

@keyframes imageAnimation { 
    0% { 
        opacity: 0; 
        animation-timing-function: ease-in;
		z-index: -2000;
    }
    10% {
        opacity: 1;
        animation-timing-function: ease-out;
		z-index: -2000;
    }
    20% {
        opacity: 1;
		z-index: -2000;
    }
    30% {
        opacity: 0;
		z-index: -2000;
    }
}

/* Older browser support - .no-cssanimations class added by modernizr */
.no-cssanimations .slideshow li {
    opacity: 1;
	z-index: -2000;
}
@media only screen and (max-width: 768px) {
.slideshow li { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
 z-index: -2000;
    animation: imageAnimation 50s linear infinite; 
}

}