$(document).ready(function() { 
	$('ul.menu').superfish({ 
		delay:       800,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'normal',                          // faster animation speed 
		autoArrows:  false,                           // disable generation of arrow mark-up 
		dropShadows: false                            // disable drop shadows 
	}); 
	
	$('.menu ul li')
		.hover(function(){
			th=$(this).find('a'); 
				th.stop().animate({
					paddingLeft:'25px'},500,'easeOutBounce') 
				},
				function(){
					th.stop().animate({
					paddingLeft:'15px'},500,'easeOutBounce')}
				);
	
	$('.menu li a.item')
		.live('mouseenter',function(){
			$(this)
				.stop()
				.animate({
					paddingTop:12,
					marginBottom:-12,
					top:-12
				},{
					easing:'easeOutBounce'
				})
		})
		.live('mouseleave',function(){
			$(this)
				.stop()
				.animate({
					paddingTop:0,
					marginBottom:0,
					top:0
				},{
					easing:'easeOutBounce'
				})
		})	
		
	
	
	$('.list-services li a').hover(function(){
			$(this).stop(true,false).animate({marginTop:"-8px"}, {easing:"easeOutBounce", duration: 500});
			$(this).css('paddingBottom','8px');
		},function(){
			$(this).stop(true,false).animate({marginTop:"0"}, {easing:"easeOutBounce", duration: 500});
			$(this).css('paddingBottom','0');
	});
	
}); 
