/** IE bugs: a:link, a:visited, a:hover need to be styled as well; does not display separator... workaround? */
/** customize colors here */

#menulist_2,#menulist_3,#menulist_4,#menulist_5,#menulist_6,#menulist_7,#menulist_8{
	margin-top: 0em;
	margin-left:-0.5em;
	font-size: 0.9em;

	
	}
#menulist_3_1 , #menulist_3_2{
	font-size:0.9em;
	margin-left: 16.5em;
	}  

#menulist_3_2_1_3{
	font-size:1em;
	margin-left: 16.5em;
	
	}	

#menulist_3_1_1,#menulist_3_2_1, #menulist_3_2_2,#menulist_3_2_5,#menulist_3_2_4,#menulist_3_2_1_2{
 	font-size:0.9em;
	margin-left: 17em;
	left: -999em;
 }	
#menulist_3_1 li:hover #menulist_3_1_1,#menulist_3_2 li:hover #menulist_3_2_1 ,#menulist_3_2 li:hover #menulist_3_2_2 ,#menulist_3_2 li:hover #menulist_3_2_5,#menulist_3_2 li:hover #menulist_3_2_4, #menulist_3_2_1 li:hover #menulist_3_2_1_3, #menulist_3_2_1_2{
	font-size:1em;
	margin-left: 16.5em;
}
#menulist_3_1 li:hover #menulist_3_1_1, #menulist_3_2 li:hover #menulist_3_2_1,#menulist_3_2 li:hover #menulist_3_2_2,
#menulist_3_2 li:hover #menulist_3_2_5, #menulist_3_2 li:hover #menulist_3_2_4,#menulist_3_2_1 li:hover #menulist_3_2_1_2 {
	left: auto;
}
	
.menu ul li ul li{
	background-image:none !important;
	}
.menu ul li .sublevel_active .expanded{
	color:#FFFFFF !important;
}	
	
.menu ul li:hover ul li .sublevel_active .expanded, .menu ul li:hover ul li .sublevel_current .expanded	{
	color: #FFFFFF !important;
}

.menu ul .pie_submenu,.menu ul .pie_submenu:hover, .menu ul .top_submenu, .menu ul .top_submenu:hover{
	background-color: transparent;
	background-repeat:no-repeat;
	background-position:top center;
	margin: 0;
	}	
.menu ul .pie_submenu,.menu ul .pie_submenu:hover{
		background-image:url(../../images/bblanco_pie.png) !important;
	padding-top: 0.6em !important;
	}
	
 .menu ul .top_submenu, .menu ul .top_submenu:hover{
 	background-image:url(../../images/bblanco_top.png) !important;
 	padding-top: 0.35em !important;
 	*font-size:0.2em;
 	
 	margin: 0em;
 }

	
/* ###		mainlevel 		### */
a.mainlevel, a.mainlevel:link, a.mainlevel:visited {
	background-color:transparent;
	color: #FFFFFF;
	text-align:center;
	font-weight: bold;
	font-size: 100%;
	text-decoration: none;
	display: block;
	padding: 0.7em 0.5em 0.8em 0.5em;	/* top, right, bottom, left */
}


/* ###		mainlevel:hover		### */
a.mainlevel:hover {
	background-image:url(../../images/barraBlanca.png);
	background-repeat:repeat-x;
	background-position:top center;
	color: #1A75CF;
}


/* ###		mainlevel_active 		### */
a.mainlevel_active, a.mainlevel_active:link, a.mainlevel_active:visited {
	background-image:url(../../images/barraBlanca.png);
	background-repeat:repeat-x;
	background-position:center center;
	color:#1A75CF;
	background-color:transparent;
	text-align:center;
	
	font-weight: bold;
	font-size: 100%;
	text-decoration: none;
	display: block;
	padding: 0.7em 0.5em 0.8em 0.5em;	/* top, right, bottom, left */
}


/* ###		mainlevel_current 		### */
a.mainlevel_current, a.mainlevel_current:link, a.mainlevel_current:visited {
	background-color:transparent;
	background-image:url(../../images/barraBlanca.png);
	background-repeat:repeat-x;
	background-position:center center;
	color:#1A75CF;
	text-align:center;
	
	font-weight: bold;
	font-size: 100%;
	text-decoration: none;
	display: block;
	padding: 0.7em 0.5em 0.8em 0.5em;	/* top, right, bottom, left */
}

a.mainlevel .expanded	{
	background-image: url("../images/arrow_down.gif");
	display: block;
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 10px;
}

a.mainlevel:hover .expanded {
	background-image: url("../images/arrow_down_hover.gif");
}
a.mainlevel_active .expanded, a.mainlevel_current .expanded {
	background-image: url("../images/arrow_down_hover.gif");
	display: block;
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 10px;
}

/* ###		sublevel 		### */
a.sublevel {
		background-color: transparent;
	background-image:url("../../images/bblanco.png");
	background-position:center center;
	background-repeat:repeat-y;
	font-size: 90%;
	border-top: none;
	height: 1%;	/* this is required for the IE to cause the "hasLayout" property and make the whole anchor clickable - "Holly Hack" */
}
a.sublevel, a.sublevel:link,
a.sublevel:visited {
	
	color: #1A75CF;
	font-weight: bold;
	font-size: 100%;
	text-align: left;
	text-decoration: none;
	display: block;
	padding: 0.3em 0.5em 0.3em 0.5em;	/* top, right, bottom, left */
}



/* ###		sublevel:hover 		### */
a.sublevel:hover {
	background-color: transparent;
	background-image:url("../../images/fazul_hover.png");
	background-repeat:repeat repeat-y;
	background-position: center center;
	color: #ffffff;
}


/* ###		sublevel_active 		### */
a.sublevel_active {
	font-size: 90%;
	border-top: none;
	height: 1%;	/* this is required for the IE to cause the "hasLayout" property and make the whole anchor clickable - "Holly Hack" */
}
a.sublevel_active, a.sublevel_active:link, a.sublevel_active:visited {
	background-color: transparent;
	background-image:url("../../images/fazul.png");
	background-repeat:repeat repeat-y;
	background-position: center center;
	color: white;
	font-weight: bold;
	font-size: 100%;
	text-align: left;
	text-decoration: none;
	display: block;
	padding: 0.3em 0.5em 0.3em 0.5em;	/* top, right, bottom, left */
}


/* ###		sublevel_active:hover 		### */
a.sublevel_active:hover {
background-color: transparent;
	background-image:url("../../images/fazul_hover.png");
	background-repeat:repeat repeat-y;
	background-position: center center;
}



/* ###		sublevel_current 		### */
a.sublevel_current {
	font-size: 90%;
	border-top: none;
	height: 1%;	/* this is required for the IE to cause the "hasLayout" property and make the whole anchor clickable - "Holly Hack" */
}
a.sublevel_current, a.sublevel_current:link, a.sublevel_current:visited {
	background-color: transparent;
	background-image:url("../../images/fazul.png");
	background-repeat:repeat repeat-y;
	background-position: center center;
	color: white !important;
	font-weight: bold;
	font-size: 100%;
	text-align: left;
	text-decoration: none;
	display: block;
	padding: 0.3em 0.5em 0.3em 0.5em;	/* top, right, bottom, left */
}


/* ###		sublevel_current:hover 		### */
a.sublevel_current:hover {
	color:#ffffff;
}
a.sublevel .expanded{
	background-image: url("../images/arrow_right.gif") !important;
	margin-right:0.2em;	
	display: block;
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 10px;
}
a.sublevel:hover .expanded {
	background-image: url("../images/arrow_right_hover.gif") !important;
	color:#FFFFFF !important;
}
a.sublevel_active .expanded, a.sublevel_current .expanded {
	background-image: url("../images/arrow_right_hover.gif") !important;
	margin-right:0.2em;
	display: block;
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 10px;
}

/* ###		mainlevel ul ul a.sublevel 		### */
ul.mainlevel ul ul a.sublevel,
ul.mainlevel ul ul a.sublevel:link,
ul.mainlevel ul ul a.sublevel:visited {
	background-color:transparent;
	color: #1A75CF;
}



/* ###		mainlevel ul ul a.sublevel:hover 		### */
ul.mainlevel ul ul a.sublevel:hover {
	color: white;
}

/*	#####		span.sublevel		#####	*/
span.sublevel {
	font-size: 90%;
	border-top: none;
	height: 1%;	/* this is required for the IE to cause the "hasLayout" property and make the whole anchor clickable - "Holly Hack" */
}
span.sublevel {
	font-weight: bold;
	font-size: 100%;
	text-align: left;
	text-decoration: none;
	display: block;
	padding: 0.3em 0.5em 0.3em 0.5em;	/* top, right, bottom, left */
}
span.sublevel {
	display: block;
	width: 1em;
	border-width: 0px;
	margin-left: 1em;
	padding: 0;
	padding-top: 1px;
}
/*	#####		span.mainlevel		#####	*/
span.mainlevel {
	text-align:center;
	width:6.4em;
	font-weight: bold;
	font-size: 100%;
	text-decoration: none;
	display: block;
	padding: 0.3em 0.5em 0.3em 0.5em;	/* top, right, bottom, left */
}
span.mainlevel {
	border-width: 0px;
	margin-left: 1em;
	padding: 0;
	padding-top: 1px;
}

#active_menu {
	font-weight: bold;
}


ul.mainlevel{
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index: 100;
}
.mainlevel ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index: 100;
}

ul.mainlevel li {
	padding: 0;
	margin: 0;	
	float: left;
}

ul.mainlevel li:hover {
	background-image:url(../../images/barraBlanca.png);
	background-repeat:repeat-x;
	background-position:top center;
}
ul.mainlevel li:hover .expanded{
background-image: url("../images/arrow_down_hover.gif");
color:#1A75CF;
}
ul.mainlevel li li {
	position: relative;
	display: block;
	width: 200px;
}


ul.mainlevel ul {
	display: block;
	position: absolute;
	left: -999em;
	margin: -0.2em 0 0 0em;
	width: auto;
	height: auto;
	z-index: 101;
}
ul.sublevel_active ul {
	display: block;
	position: absolute;
	left: -999em;
	margin: -0.2em 0 0 0em;
	width: auto;
	height: auto;
	z-index: 101;
	
		}
ul.mainlevel li li ul {
	margin: -1.8em 0 0 10em;
	z-index: 102;
}


/** IE7.0 workaround */
ul.mainlevel li:hover{
	position: static;
}
ul.mainlevel li.hover {
	position: static;
}


/** general on-mouse-over display */

ul.mainlevel li:hover ul {
	left: auto;
}
ul.mainlevel li.hover ul {
	left: auto;
}

ul.mainlevel li:hover ul ul {
	left: -999em;
}
ul.mainlevel li.hover ul ul {
	left: -999em;
}

ul.mainlevel li:hover ul li:hover ul {
	left: auto;
}
ul.mainlevel li.hover ul li.hover ul {
	left: auto;
}


ul.mainlevel {
	clear: left;
}
ul.mainlevel li li {
	clear: left;
}
ul.mainlevel	{
	margin-left:1em;
}

/** separator */


/** IE5.0/win workaround: the ">" is handled like a "," */
ul.mainlevel > ul.mainlevel {
	position: absolute;
	top: 5em;	/* change the absolute position for IE5.0 here */
}
ul.mainlevel > ul.mainlevel li.hover ul {
	margin: 0.1em 0 0 0em;	/* top, right, bottom, left */
}
ul.mainlevel > ul.mainlevel li.hover ul ul {
	margin: -1.6em 0 0 10em;	/* top, right, bottom, left */
}
