$(function() {
$('.thumb-1').css({
'-webkit-animation-name':'move1',
'-webkit-animation-duration':'25s',
'-webkit-animation-timing-function':'ease-in-out',
'-webkit-animation-delay':' -' + Math.random() * 20 + 's ',
'-webkit-animation-iteration-count':'infinite',
'-webkit-animation-direction':'alternate',
'-webkit-animation-fill-mode':'forwards',
'-webkit-animation-play-state':'running',
'animation-name':'move1',
'animation-duration':'25s',
'animation-timing-function':'ease-in-out',
'animation-delay':' -' + Math.random() * 20 + 's ',
'animation-iteration-count':'infinite',
'animation-direction':'alternate',
'animation-fill-mode':'forwards',
'animation-play-state':'running'});
$('.thumb-2').css({
'-webkit-animation': 'move2 20s ease -' + Math.random() * 20 + 's infinite alternate forwards running',
'animation': 'move2 20s ease -' + Math.random() * 20 + 's infinite alternate forwards running'});
$('.thumb-3').css({
'-webkit-animation': 'move3 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running',
'animation': 'move3 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running'});
$('.thumb-4').css({
'-webkit-animation': 'move4 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running',
'animation': 'move4 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running'});
$('.thumb-5').css({
'-webkit-animation': 'move5 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running',
'animation': 'move5 30s ease-in-out -' + Math.random() * 30 + 's infinite alternate forwards running'});
$('.thumb-6').css({
'-webkit-animation': 'move6 21s ease-in-out -' + Math.random() * 21 + 's infinite alternate forwards running',
'animation': 'move6 21s ease-in-out -' + Math.random() * 21 + 's infinite alternate forwards running'});
$('.thumb-7').css({
'-webkit-animation': 'move7 36s ease-in-out -' + Math.random() * 36 + 's infinite alternate forwards running',
'animation': 'move7 36s ease-in-out -' + Math.random() * 36 + 's infinite alternate forwards running'});
});