$(document).ready(function(){
	//sombra
	tamanhoTexto = $(".texto").height();
	$(".sombra").height(tamanhoTexto);
	
	//menu
	$(".ulMenu li a").hover(function(){
		$(this).stop().animate({
			color:"#fff"	
		},900);
		$(this).parent().stop().animate({
			backgroundPosition:0
		},900);
	}, function(){
		$(this).stop().animate({
			color:"#656565"	
		},900);
		$(this).parent().stop().animate({
			backgroundPosition:155
		},900);
	});
	
	//ulOutroMenu
	$(".ulOutroMenu li").hover(function(){
		ulOutroMenuSub = $(this).find(".ulOutroMenuSub").height();
		$(this).stop().animate({
			height:ulOutroMenuSub+32
		},900);	
	}, function(){
		$(this).stop().animate({
			height:32	
		},900);	
	});
	
	//btLeiaMais
	$(".btLeiaMais a").hover(function(){
		$(this).stop().animate({
			color:"#000"	
		},900);	
		$(this).parent().stop().animate({
			backgroundColor:"#b4cbd8"	
		},900);
	}, function(){
		$(this).stop().animate({
			color:"#fff"	
		},900);	
		$(this).parent().stop().animate({
			backgroundColor:"#010c5d"	
		},900);
	});
	
	//ulRodape
	$(".ulRodape li:last").css("background-image","none");
	
	//blocoTexto
	blocoTamanho1 = $(".blocoTexto:eq(0)").height();
	blocoTamanho1 = parseInt(blocoTamanho1);
	blocoTamanho2 = $(".blocoTexto:eq(1)").height();
	blocoTamanho2 = parseInt(blocoTamanho2);
	if(blocoTamanho1 >= blocoTamanho2){
		$(".blocoTexto").height(blocoTamanho1);
	} else {
		$(".blocoTexto").height(blocoTamanho2);	
	}
	
});
