@-webkit-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 17% {
   opacity:1;
 }
 25% {
   opacity:0;
 }
 92% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@-moz-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 17% {
   opacity:1;
 }
 25% {
   opacity:0;
 }
 92% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@-o-keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 17% {
   opacity:1;
 }
 25% {
   opacity:0;
 }
 92% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}

@keyframes cf4FadeInOut {
 0% {
   opacity:1;
 }
 17% {
   opacity:1;
 }
 25% {
   opacity:0;
 }
 92% {
   opacity:0;
 }
 100% {
   opacity:1;
 }
}


#img-carousel{
position: absolute;
top: 0;
bottom: 0;
width: 100%;
height: 100vh;
overflow: hidden;
}

#img-carousel #img {
position:absolute;
left:0;
right: 0;
height: 100%;
top:0;
bottom: 0;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

#img-carousel #img:nth-child(1){
background-image: url('../img/carousel/ingenieria-procura-y-construccion-4.jpg');
}
#img-carousel #img:nth-child(2){
background-image: url('../img/carousel/ingenieria-procura-y-construccion-3.jpg'); 
}
#img-carousel #img:nth-child(3){
background-image: url('../img/carousel/ingenieria-procura-y-construccion-2.jpg');
}
#img-carousel #img:nth-child(4){
background-image: url('../img/carousel/ingenieria-procura-y-construccion-1.jpg');
}

#img-carousel #img {
-webkit-animation-name: cf4FadeInOut;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 12s;

-moz-animation-name: cf4FadeInOut;
-moz-animation-timing-function: ease-in-out;
-moz-animation-iteration-count: infinite;
-moz-animation-duration: 12s;

-o-animation-name: cf4FadeInOut;
-o-animation-timing-function: ease-in-out;
-o-animation-iteration-count: infinite;
-o-animation-duration: 12s;

animation-name: cf4FadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 12s;
}
#img-carousel #img:nth-of-type(1) {
-webkit-animation-delay: 9s;
-moz-animation-delay: 9s;
-o-animation-delay: 9s;
animation-delay: 9s;
}
#img-carousel #img:nth-of-type(2) {
-webkit-animation-delay: 6s;
-moz-animation-delay: 6s;
-o-animation-delay: 6s;
animation-delay: 6s;
}
#img-carousel #img:nth-of-type(3) {
-webkit-animation-delay: 3s;
-moz-animation-delay: 3s;
-o-animation-delay: 3s;
animation-delay: 3s;
}
#img-carousel #img:nth-of-type(4) {
-webkit-animation-delay: 0s;
-moz-animation-delay: 0s;
-o-animation-delay: 0s;
animation-delay: 0s;
}

