.mg-slideshow,
.mg-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}

/*.mg-slideshow:after { 
    content: '';
    background: transparent url(../images/slideshow/MoroGelato_Logos_final_3_1.png);
	opacity: 0.1; 
} transparent overlay*/
.mg-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 20s linear infinite 0s;
    -moz-animation: imageAnimation 20s linear infinite 0s;
    -o-animation: imageAnimation 20s linear infinite 0s;
    -ms-animation: imageAnimation 20s linear infinite 0s;
    animation: imageAnimation 20s linear infinite 0s; 
}

.mg-slideshow li:nth-child(1) span { 
    background-image: url(../images/1.jpg); 
}
.mg-slideshow li:nth-child(2) span { 
    background-image: url(../images/5.jpg);
    -webkit-animation-delay: 5s;
    -moz-animation-delay: 5s;
    -o-animation-delay: 5s;
    -ms-animation-delay: 5s;
    animation-delay: 5s; 
}
.mg-slideshow li:nth-child(3) span { 
    background-image: url(../images/6.jpg);
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
    -ms-animation-delay: 10s;
    animation-delay: 10s; 
}
.mg-slideshow li:nth-child(4) span { 
    background-image: url(../images/7.jpg);
    -webkit-animation-delay: 15s;
    -moz-animation-delay: 15s;
    -o-animation-delay: 15s;
    -ms-animation-delay: 15s;
    animation-delay: 15s; 
}


/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    12% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    38% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    12% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    38% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    12% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    38% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    12% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    25% { opacity: 1 }
    38% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    12% { opacity: 1;
         animation-timing-function: ease-out; }
    25% { opacity: 1 }
    38% { opacity: 0 }
    100% { opacity: 0 }
}

/* Show at least something when animations not supported */
.no-cssanimations .mg-slideshow li span{
	opacity: 1;
}


