$(document).ready(function() { 
	$('ul.sf-menu').superfish({ 
		delay:       500,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'slow',                          // faster animation speed 
		autoArrows:  false,                           // disable generation of arrow mark-up 
		dropShadows: false                            // disable drop shadows 
	}); 
	
	$('.sf-menu li')
		.css( {backgroundPosition: "0px -70px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:'slow'})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0px -70px)"}, {duration:'normal', complete:function(){
				$(this).css({backgroundPosition: "0px -70px"})
			}})
	});
	$('.sf-menu li.active')
		.css( {backgroundPosition: "0px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:'slow'})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:'slow', complete:function(){
				$(this).css({backgroundPosition: "0px 0px"})
			}})
	});
		
	$(".sf-menu li li a").mouseover( function() {
		$(this).animate({color: "#fff"}, {queue:false, duration:250 });
		}).mouseout( function() {
		$(this).animate({color: "#b3b3b3"}, { queue:false, duration:350});
	});
	$('.button').hover(function(){$(this).stop().animate({backgroundColor:'#e64f00',color:'#fff'},'slow')},function(){$(this).stop().animate({backgroundColor:'#fff',color:'#0c0c0c'},'slow')})
	$('.box-5 div.fc').hover(function(){$(this).stop().animate({color:'#ff9aff'},'slow')},function(){$(this).animate({color:'#fdfbf7'},'slow')})
}); 
