#loading {
    width: 100%;
    height: 100%;
    position: relative;
}

#loading > div {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
}

#loading-wrap {
    height: 20px;
    width: 100px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    margin-left: -50px;
}

.loading-obj {
    width: 20px;
    height: 20px;
    background-color: #ccc;
    border-radius: 50% 50% 50% 50%;
    margin-right: 20px;
    margin-bottom: 20px;
    position: absolute;	
}

#obj1 {
    -webkit-animation: object 2s linear infinite;
    animation: object 2s linear infinite;
}

#obj2 { 
    -webkit-animation: object 2s linear infinite -.4s;
    animation: object 2s linear infinite -.4s;
}

#obj3 { 
    -webkit-animation: object 2s linear infinite -.8s; 
    animation: object 2s linear infinite -.8s; 
}

#obj4 { 
    -webkit-animation: object 2s linear infinite -1.2s;
    animation: object 2s linear infinite -1.2s; 
}

#obj5 { 
    -webkit-animation: object 2s linear infinite -1.6s; 
    animation: object 2s linear infinite -1.6s; 
}

@-webkit-keyframes object {
    0% {left: 100px; top:0;}
    80% {left: 0; top:0;}
    85% {left: 0; top: -20px; width: 20px; height: 20px;}
    90% {width: 40px; height: 15px;}
    95% {left: 100px; top: -20px; width: 20px; height: 20px;}
    100% {left: 100px; top:0;}
}		

@keyframes object {
    0% {left: 100px; top:0;}
    80% {left: 0; top:0;}
    85% {left: 0; top: -20px; width: 20px; height: 20px;}
    90% {width: 40px; height: 15px;}
    95% {left: 100px; top: -20px; width: 20px; height: 20px;}
    100% {left: 100px; top:0;}
}