@charset "utf-8";
/* CSS Document */
.slideshow {
  list-style-type: none;
}

/** SLIDESHOW **/
.slideshow,
.slideshow:after { 
    top: -16px; /*Not sure why I needed this fix*/
	position: relative;
    width: auto;
    height: 20rem;
    left: 0px;
    z-index: 0; 
}

.slideshow li span { 
		position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 144s linear infinite 0s; 
}



.slideshow li:nth-child(1) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-01.jpg"); 
}
.slideshow li:nth-child(2) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-02.jpg");
    animation-delay: 8s; 
}
.slideshow li:nth-child(3) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-03.jpg");
    animation-delay: 16s; 
}
.slideshow li:nth-child(4) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-04.jpg");   
    animation-delay: 24s; 
}
.slideshow li:nth-child(5) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-05.jpg");
    animation-delay: 32s; 
}
.slideshow li:nth-child(6) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-06.jpg");
    animation-delay: 40s; 
}
.slideshow li:nth-child(7) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-07.jpg");
    animation-delay: 48s; 
}
.slideshow li:nth-child(8) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-08.jpg");
    animation-delay: 56s; 
}
.slideshow li:nth-child(9) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-09.jpg");
    animation-delay: 64s; 
}
.slideshow li:nth-child(10) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-10.jpg");
    animation-delay: 72s; 
}
.slideshow li:nth-child(11) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-11.jpg");
    animation-delay: 80s; 
}
.slideshow li:nth-child(12) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-12.jpg");
    animation-delay: 88s; 
}
.slideshow li:nth-child(13) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-13.jpg");
    animation-delay: 96s; 
}
.slideshow li:nth-child(14) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-14.jpg");
    animation-delay: 104s; 
}
.slideshow li:nth-child(15) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-15.jpg");
    animation-delay: 112s; 
}
.slideshow li:nth-child(16) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-16.jpg");
    animation-delay: 120s; 
}
.slideshow li:nth-child(17) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-17.jpg");
    animation-delay: 128s; 
}
.slideshow li:nth-child(18) span { 
    background-image: url("../images/slider-fest/Hoffest-Weber-Neuhof-18.jpg");
    animation-delay: 136s; 
}
@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
   4% { opacity: 1; animation-timing-function: ease-out; }
   24% { opacity: 1 }
    /*50% { opacity: 0 }*/
    100% { opacity: 0 }
}


@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}


.no-cssanimations .cb-slideshow li span {
	opacity: 1;
}
