// JavaScript per Labs Mohole

$(document).ready(function(){
	//Css da jQuery
	//$(".adverts img").css("opacity" , "0.5");
	
	$("div.post .wp-caption a").lightBox();
	
	// Animazioni
	$(".logo").animate({opacity: '1'}, 800, "swing");
	$(".menu li").hover(function(){
		$(this).animate({marginTop: '-5px'}, 150);}, function(){
		$(this).animate({marginTop: '5px'}, 400);
	});
	$(".readmore a").hover(function(){
		$(this).animate({letterSpacing: '2px'}, 150);}, function(){
		$(this).animate({letterSpacing: '0px'}, 300);
	});
	$(".fbutton").hover(function(){
		$(this).animate({marginTop: '16px'}, 150);}, function(){
		$(this).animate({marginTop: '20px'}, 100);
	});
	$(".more-feat img").hover(function(){
		$(this).animate({marginTop: '-3px'}, 100);}, function(){
		$(this).animate({marginTop: '0px'}, 100);
	});
	$(".adverts img").hover(function(){
		$(this).animate({opacity: '1'}, 150);}, function(){
		$(this).animate({opacity: '0.5'}, 500);
	});
	$("#rss").hover(function(){
		$(this).animate({top: '-14px'}, 250, "swing");}, function(){
		$(this).animate({top: '-53px'}, 500, "swing");
	});

});