// JavaScript Document
$(document).ready(function(){
	
	function table_1() {
	//var font_color_1 = "#a1a1a0";
	var font_color_1 = "#686868";
	var font_color_2 = "#000";
	var backround_color_1 = "#cbccca";
	var backround_color_2 = "#fff";	
	
	$("#content").find("#tists_result_q li:odd").addClass("tists_result_even");
	$("#content").find("#tists_result_q li:even").addClass("tists_result_odd");
	
	$("#content").find("#tists_result_q li:odd").find("p").css({ color: font_color_2, fontWeight: "bold", textAlign: "center"  });
	$("#content").find("#tists_result_q li:odd").find("a").css({ color: "#38a16c", fontWeight: "bold"  });
	
	// paddingBottom: 0, lineHeight: "normal", marginBottom: 0, marginTop: 0
	//, textAlign: "center", textDecoration: "underline", lineHeight: "normal", marginBottom: 0, marginTop: 0
	//
	//$("#content").find("#tists_result_q li:odd").find("strong").css({ color: font_color_2, fontWeight: "bold", textAlign: "center" });
	
	
	$("#content").find("#tists_result_q li:even").find("p").css({ color: font_color_1, fontWeight: "bold", textAlign: "center" });
	$("#content").find("#tists_result_q li:even").find("a").css({ color: "#38a16c", fontWeight: "bold", textAlign: "center", textDecoration: "underline" });
	
	
	 $("#content").find("#tists_result_q li").find("strong").addClass("title_table_results");
	
	 $("#content").find("#tists_result_q").find("p:has(img)").css({ padding: 10 });
	 
	 $("#content").find("#tists_result_q").find("table td").attr("valign", "top");
	 
	 $("#content").find("#tists_result_q li:first").corner("top");
	 $("#content").find("#tists_result_q li:last").corner("bottom");
	 
	/*$("#content").find("#table_results tr:even").css({ backgroundColor: "#fff", paddingLeft: 5, paddingRight: 5 });
	$("#content").find("#table_results tr:even").find("p").css({ color: font_color_1, fontWeight: "bold", textAlign: "center", paddingBottom: 10 });
	$("#content").find("#table_results tr:even").find("a").css({ color: font_color_1, fontWeight: "bold", textAlign: "center", textDecoration: "underline" });
	
	$("#content").find("#table_results tr:odd").css({ backgroundColor: "#cbccca", paddingLeft: 5, paddingRight: 5  });
	$("#content").find("#table_results tr:odd").find("p").css({ color:font_color_2, fontWeight: "bold", textAlign: "center", paddingBottom: 10 });
	$("#content").find("#table_results tr:odd").find("a").css({ color:font_color_2, fontWeight: "bold", textAlign: "center", textDecoration: "underline" });
	
	$("#content").find("#table_results tr:first").css({ backgroundColor: "#fff", paddingLeft: 5, paddingRight: 5 });
	$("#content").find("#table_results tr:first").find("p").css({ color: font_color_1, fontWeight: "bold", textAlign: "center", paddingBottom: 10 });
	$("#content").find("#table_results tr:first").find("strong").css({ color: font_color_1, fontWeight: "bold", textAlign: "center", textDecoration: "underline" });
	
    $("#content").find("#table_results td[rowspan]").find("p:has(img)").css({ padding: 10 });*/
	
	$("#tists_result_q").css({display: "block"});
	
	}
	


	table_1();
});