$(document).ready(function(e) {
	/* Galeria de imagenes*/
	$(".group4").colorbox({rel:'group4', slideshow:true});
	$(".group1").colorbox({rel:'group1', slideshow:true});
	/*$(".group2").colorbox({rel:'group2', slideshow:true});*/
	
	/* Barra de Navegación */
    $("#nav ul ul").css({
		position: "absolute",
		display: "none"
	});
	
	$("#nav li").hover(function() {
		$(this).find("> ul").stop(true, true).css({
		'box-shadow': 'inset 0 0 4px #2F4F4F, 1px -2px 4px #2F4F4F',
		'text-shadow': '0px 0px 4px #2F4F4F'
	}).slideDown("slow");
	}, function() {
		$(this).find("> ul").stop(true, true).css({
		'box-shadow': 'inset 0 0 8px #2F4F4F, 1px -2px 4px #2F4F4F',
		'text-shadow': '0px 0px 6px #2F4F4F'
	}).slideUp("slow");
	});
	
	/* Sombra Cajas y Textos*/
	$('#container').css('box-shadow', '1px 1px 6px #2F4F4F');
	$("#contentInt h1").css({ 
		'text-shadow': '0px 0px 8px #4169E1'
	});	
	$("#contentInt h2").css({ 
		'text-shadow': '0px 0px 8px #4169E1'
	});
	
	$('#nav ul li').css({
		'box-shadow': 'inset 0 0 4px #2F4F4F, 1px -2px 4px #2F4F4F',
		'text-shadow': '0px 0px 4px #696969'
	});
	
	$('.contacto a, .colaboradores a').css({
		'box-shadow': 'inset 0 0 4px #2F4F4F, -1px -1px 3px #696969',
		'-ms-text-shadow': '0px 0px 4px #2F4F4F'
	});
	$('.contacto a:hover, .colaboradores a:hover').css({
		'box-shadow': 'inset 0 0 8px #2F4F4F, -1px -1px 3px #696969',
		'-ms-text-shadow': '1px 1px 2px #2F4F4F',
		'color': '#0E0E3D'
	});
	
	$('.sombraCaja').css({
		'box-shadow': 'inset 0 0 4px #2F4F4F, 1px 1px 3px #2F4F4F',
		'border-radius': '4px' 
	});
	
	$("#eslogan h3").css('text-shadow','1px 1px 2px #009');
	$("#eslogan h3 span").css('text-shadow','1px 1px 2px #B22222');
	$(".title h3").css('text-shadow','1px 1px 2px #2F4F4F');
	
	/* STYLE TABLAS*/
	
	$('#junta tr th:first, #equipo tr th:first, .actividadInf tr th:first, #datostable .datos th:first, #inscripciontable th:first').css(
								{
		                   			'background-color':'#C8D9DB',
									'text-align':'center',
									'color': '#41316C',
									'font-weight': 'bold'
									});
	$('#junta tr th:odd, #equipo tr th:odd, .actividadInf tr th:odd').css('background-color','#FAAF2F');
	$('#junta tr td:odd, #equipo tr td:odd, .actividadInf tr td:odd').css('background-color','#525387');
	$('.actividadInf tr th:odd').css('color','#8B1943');
	$('.actividadInf tr td:odd').css('color','#C8D9DB');
	$('#inscripciontable tr td:odd').css({
		'background': '#FFC548'
		});
	$('#inscripciontable tr td:last').css({
		'background': '#E5E5E5',
		'border': '1px solid #999',
		'border-top-color': '#666'
		});
	$('#inscripciontable tr th:odd').css({
		'background': '#CCD357'
		});
	$('#cuentaCorriente tr td:odd').css('background-color','#8080C1');
	$('#datostable .datos td:even').css('background-color', '#D2D6E3');
	$('#datostable .datos th:odd').css('background-color', '#9797CC');
});

