/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
 text-align: center;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 22px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: 0px;
 left: 220px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
 
 border: 1px solid #330;
 
*/
.menulist li {
 float: left;
 display: block;
 position: relative;
 background: #008ca2;
 margin-right: -1px;
 width: 110px;
 height: 20px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 border: 1px solid #FF0000;
 margin-right: 0;
 margin-bottom: -1px;
 text-align: left;
 width:220px;
 padding:0px;
 height:18px;
}

.menulist ul li ul li{
  width:110px;
 }
 
.menulist ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu 
 
*/
.menulist a {
 font-family: Arial, Helvetica, Verdana, sans-serif;
 font-size: 12px;
 font-weight: bold;
 display: block;
 padding: 3px;
 text-decoration:  none;
 color: #FFFFFF;

}

.menulist ul li a {
	font-size:10px;
	}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus 
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #FFFFFF;
 background-color: #FF0000;
}
.menulist  a.highlighted {
 color: #FFFFFF;
 background-color: #008ca2;

}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display:  none;
}
.menulist ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */


/*----------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------*/
/* VERTICAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist2, .menulist2  ul {
 margin-top: 0pt;
 margin-right: 0pt;
 margin-bottom: 0pt;
 margin-left: 0pt;
 padding-top: 0pt;
 padding-right: 0pt;
 padding-bottom: 0pt;
 padding-left: 0pt;
 text-align: left;
 list-style-type: none;
 list-style-image: none;
 list-style-position: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist2 ul {
 display: none;
 position: absolute;
 top: 0px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist2 ul ul {
 top: 0px;
 left: 155px;
 padding: 0px;
}










.menulist2 li {
 position: relative;
 width: 80px;
 margin-bottom: -1px;
 float: left;
 padding-top: 0pt;
 padding-right: 2pt;
 padding-bottom: 1pt;
 padding-left: 0pt;
 margin: 0px;
 font-weight: bold;
}




/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist2 ul li {
 float: none;
 border: 1px solid #555555;
 margin-right: 0;
 margin-bottom: -1px;
 text-align: left;
 background: #ffffff;
 width: 130px;
 left: 4em;
 border-left: 1px solid #ffffff; 
 font-weight: normal;
}
/*Quitado:   position: relative;*/
/*Anadido:  padding: 0px;*/


/* Links inside the menu*/
.menulist2 a, .menulist2 a:hover, .menulist2 a.highlighted:hover, .menulist2 a:focus, .menulist2 a:visited, .menulist2  a.highlighted {
 display: block;
 font-family: Arial, Helvetica, Verdana, sans-serif;
 font-size: 11px;
 padding: 0px;
 margin-bottom: -1px;
 color: #FF0000;
 text-decoration: none;
}


.menulist2 ul li a:hover{
 background:#ff0000;
 color:#ffffff;
}

/* Only style submenu indicators within submenus. */
.menulist2 a .subind {
 display:  none;
}
.menulist2 ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist2 a {
 float: left;
}
.menulist2 ul a {
 float: none;
}
/* \*/
.menulist2 a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist2  ul li {
 float: left;
}
* html .menulist2  ul a {
}
/* End Hack */




/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/

/* VERTICAL HOME MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulist3, .menulist3  ul {
 margin: 0;
 padding: 0;
 list-style: none;
 text-align: left;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist3 ul {
 display: none;
 position: absolute;
 top: 20px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 200px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist3 ul ul {
 top: 0px;
 left: 155px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
 
 border: 1px solid #330;
 
*/
.menulist3 li {
 float: left;
 position: relative;
 background: #008ca2;
 margin-right: -1px;
 width: 180px;
 display: block;
 
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist3 ul li {
 float: none;
 border: 1px solid #FF0000;
 margin-right: 0;
 margin-bottom: -1px;
 text-align: left;
}

.menulist3 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu 
 
*/
.menulist3 a {
 font-family: Arial, Helvetica, Verdana, sans-serif;
 font-size: 12px;
 font-weight: bold;
 display: block;
 padding: 3px;
 text-decoration:  none;
 color: #FFFFFF;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus 
*/
.menulist3 a:hover, .menulist3 a.highlighted:hover, .menulist3 a:focus {
 color: #FFFFFF;
 background-color: #FF0000;
}
.menulist3  a.highlighted {
 color: #FFFFFF;
 background-color: #008ca2;

}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist3 a#xyz {
      background-image: url(out.gif);
    }
    .menulist3 a#xyz:hover, .menulist3 a.highlighted#xyz, .menulist3 a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist3 a .subind {
 display:  none;
}
.menulist3 ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist3 a {
 float: left;
}
.menulist3 ul a {
 float: none;
}
/* \*/
.menulist3 a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist3  ul li {
 float: left;
 height: 1%;
}
* html .menulist3  ul a {
 height: 1%;
}
/* End Hack */



/*---------------------------------------------*/
/*          Menus listas de Aris               */
/*--------------------------------------------*/


/* All <ul> tags in the menu including the first level */
.menulist4, .menulist4  ul {
 margin: 0;
 padding: 0;
 list-style: none;
 text-align: left;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist4 ul {
 display: none;
 position: absolute;
 top: 0px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 50px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist4 ul ul {
 top: 0px;
 left: 130px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
 
 border: 1px solid #330;
 
*/
.menulist4 li {
 float: none;
 display: block;
 position: relative;
 margin-right: -1px;
 width: 50px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist4 ul li {
 float: left;
 border: 1px solid #666666;
 margin-right: 0;
 margin-bottom: -1px;
 text-align: left;
 width:130px;
 padding:0px;
 top: -10px;
}

.menulist4 ul li ul li{
  width:180px;
 }
 
.menulist4 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu 
 
*/
.menulist4 a {
 display: block;
 padding: 3px;
 text-decoration:  none;
 FONT-WEIGHT: bold; 
 FONT-SIZE: 13px; 
 COLOR: #000000; 
 FONT-FAMILY: Arial, Helvetica, Verdana, sans-serif
}

.menulist4 ul li a {
 FONT-WEIGHT: bold; 
 FONT-SIZE: 10px; 
 COLOR: #008ca2; 
 FONT-FAMILY: Arial, Helvetica, Verdana, sans-serif
	}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus 
*/
.menulist4 a:hover, .menulist4 a.highlighted:hover, .menulist4 a:focus {
 color: #008ca2;
}

.menulist4  a.highlighted {
 color: #008ca2;
}

.menulist4 ul li a:hover, .menulist4 ul li a.highlighted:hover, .menulist4 ul li a:focus {
 color: #FFFFFF;
 background-color: #008ca2
}

.menulist4  ul li a.highlighted {
 color: #FFFFFF;
 background-color: #008ca2
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist4 a .subind {
 display:  none;
}
.menulist4 ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist4 a {
 float: left;
}
.menulist4 ul a {
 float: none;
}
/* \*/
.menulist4 a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist4  ul li {
 float: left;
 height: 1%;
}
* html .menulist4 ul a {
 height: 1%;
}
/* End Hack */



/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------*/

/* 	MENU INFERIOR */

.menuInferior, .menuInferior a, .menuInferior a:hover, .menuInferior a:visited {
	FONT-WEIGHT: bold; 
	FONT-SIZE: 9pt; 
	COLOR: #008ca2; 
	FONT-FAMILY: Arial, Helvetica, Verdana, sans-serif;
	text-decoration:  none;
	
}
