﻿.home_slideshow { 
    position: absolute;
   width: 100%;
     height: 700px;
     margin:0px;
     padding:0px;
    top: 0px;
    left: 0px;
    z-index: -10000; 
}
.home_slideshow li span { 
    width: 100%;
    height: 100%;
     margin:0px;
     padding:0px;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    background-image: url(../images/Home/2.jpg) ;
    -webkit-animation: imageAnimation 60s linear infinite 0s;
    -moz-animation: imageAnimation 60s linear infinite 0s;
    -o-animation: imageAnimation 60s linear infinite 0s;
    -ms-animation: imageAnimation 60s linear infinite 0s;
    animation: imageAnimation 60s linear infinite 0s; 
   
}

.home_slideshow li:nth-child(1) span {
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    -o-animation-delay: 0s;
    -ms-animation-delay: 0s;
    animation-delay: 0s;
}
.home_slideshow li:nth-child(2) span {
    -webkit-animation-delay: 10s;
    -moz-animation-delay: 10s;
    -o-animation-delay: 10s;
    -ms-animation-delay: 10s;
  animation-delay: 10s;
}
.home_slideshow li:nth-child(3) span {
    -webkit-animation-delay: 20s;
    -moz-animation-delay: 20s;
    -o-animation-delay: 20s;
    -ms-animation-delay: 20s;
  animation-delay: 20s;
}
.home_slideshow li:nth-child(4) span {
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
  animation-delay: 30s;
}
.home_slideshow li:nth-child(5) span {
    -webkit-animation-delay: 40s;
    -moz-animation-delay: 40s;
    -o-animation-delay: 40s;
    -ms-animation-delay: 40s;
  animation-delay: 40s;
}
.home_slideshow li:nth-child(6) span {
    -webkit-animation-delay: 50s;
    -moz-animation-delay: 50s;
    -o-animation-delay: 50s;
    -ms-animation-delay: 50s;
  animation-delay: 50s;
}

/*
    2% kaip greitai atsiranda
    17% kada pilnai u=sikrauna
    19% kada greita baigiasi
    */

@-webkit-keyframes imageAnimation {
  0% { opacity: 0; animation-timing-function: ease-in; }
    2% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation {
  0% { opacity: 0; animation-timing-function: ease-in; }
    2% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation {
  0% { opacity: 0; animation-timing-function: ease-in; }
    2% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation {
  0% { opacity: 0; animation-timing-function: ease-in; }
    2% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation {
  0% { opacity: 0; animation-timing-function: ease-in; }
    2% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}


