// JavaScript Document

jQuery(document).ready(function(){
								
	
jQuery(".immaginebtnmenu").animate({opacity:"0.4"}, 0);	


	
jQuery("#frecciaSX").click(function(){
	jQuery(".bannerhomepagecontenitore").scrollTo( {top:"-=0px", left:"-=850px"}, 620 );
});
		
jQuery("#frecciaDX").click(function(){
	jQuery(".bannerhomepagecontenitore").scrollTo( {top:"+=0px", left:"+=850px"}, 620 );
});

jQuery(".logoGilda").hover(function(){
	jQuery(this).stop().animate({opacity:"0.5"}, 420);	
	}, function (){
	jQuery(this).stop().animate({opacity:"1"}, 420);	
});

jQuery(".immaginebtnmenu").hover(function(){
	jQuery(this).stop().animate({opacity:"1"}, 420);	
	}, function (){
	jQuery(this).stop().animate({opacity:"0.4"}, 420);	
});



jQuery(".altrieventicontenitore").click(function(){
	jQuery(this).animate({width:"250px"}, 420);
	jQuery(".testoaffiancoanteprimaevento", this).delay(420).show({}, 320);
});



jQuery(".btnserateandeventi").hover(function(){
	jQuery(".immaginebtnmenu", this).stop().animate({opacity:"1"}, 420);	
	jQuery(".submenuserateandeventi", this).stop().show({opacity:"1"}, 420);	
	}, function (){
	jQuery(".immaginebtnmenu", this).stop().animate({opacity:"0.4"}, 420);	
	jQuery(".submenuserateandeventi", this).stop().hide({opacity:"1"}, 420);	
});


jQuery(".contenitorealtrieventiNOrelative").animate({backgroundColor:"#1e1e1e"}, 0);

jQuery(".contenitorealtrieventiNOrelative").hover(function(){
	jQuery(this).stop().animate({backgroundColor:"#1e1e1e"}, 420);	
	}, function (){
	jQuery(this).stop().animate({backgroundColor:"#000000"}, 420);	
});


jQuery(".contenutoarchivioartisti").animate({opacity:"0.45"}, 0);

jQuery(".contenutoarchivioartisti").hover(function(){
		jQuery(this).stop().animate({opacity:"1"}, 320);
	}, function (){
		jQuery(this).stop().animate({opacity:"0.45"}, 320);
	});



jQuery(".contenitoreevento").animate({opacity:"0.45"}, 0);


jQuery(".contenitoreevento").hover(function(){
		jQuery(this).stop().animate({opacity:"1"}, 320);
	}, function (){
		jQuery(this).stop().animate({opacity:"0.45"}, 320);
	});


jQuery(".ngg-album").animate({opacity:"0.50"}, 0);

jQuery(".ngg-album").hover(function(){
		jQuery(this).stop().animate({opacity:"1"}, 320);
	}, function (){
		jQuery(this).stop().animate({opacity:"0.50"}, 320);
	});

jQuery(".ngg-gallery-thumbnail").animate({opacity:"0.50"}, 0);

jQuery(".ngg-gallery-thumbnail").hover(function(){
		jQuery(this).stop().animate({opacity:"1"}, 320);
	}, function (){
		jQuery(this).stop().animate({opacity:"0.50"}, 320);
	});




jQuery(".imgsponsor").animate({opacity:"0.50"}, 0);


jQuery(".imgsponsor").hover(function(){
		jQuery(this).stop().animate({opacity:"1"}, 320);
	}, function (){
		jQuery(this).stop().animate({opacity:"0.50"}, 320);
	});



jQuery("input").focusin(function(){
				jQuery(this).stop().animate({backgroundColor:"#ff3300", color:"#ffffff", easing:"easeOutQuad"}, 420);			
			});

jQuery("input").focusout(function(){
				jQuery(this).stop().animate({backgroundColor:"#ffffff", color:"#666666", easing:"easeOutQuad"}, 420);			
			});

jQuery("textarea").focusin(function(){
				jQuery(this).stop().animate({backgroundColor:"#ff3300", color:"#ffffff", easing:"easeOutQuad"}, 420);			
			});

jQuery("textarea").focusout(function(){
				jQuery(this).stop().animate({backgroundColor:"#ffffff", color:"#666666", easing:"easeOutQuad"}, 420);			
			});






});
