/*

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 changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/

/* OFFICE-STYLE FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */

.menulist, .menulist ul {
 margin: 0px;
 padding-left:1px;
 width: 180px;
 list-style: none;
 font-family: Tahoma;
 font-size: 14px;
 padding-left:;
}



/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
 z-index:20;
 border: 1px solid #C6D3E7;
 margin-bottom: -1px;
 
}

.menulist ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px 4px 3px 15px;
 color: #9EAAB8;
 text-decoration: none;
 margin: 0;
 font-family: Tahoma;
 font-size: 14px;
}
/* HACKS: MSIE6 doesn't support transparent borders, mimic with margins */


/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #0C4666;
 background-color: #DEDEDE;
 padding: 2px 5px 4px 14px;
 _padding:; /*Para IE6*/
 margin: 0;
}


.cab_submenu a{
 display: block;
 padding: 3px 4px 3px 15px;
 color: #006973;
 background-color: #DEDEDE;
 text-decoration: none;
 margin: 0;
 font-family: Tahoma;
 font-size: 14px;
 cursor:default;
 font-weight:bold;
}

.cab_submenu a:hover, .cab_submenu a.highlighted:hover, .cab_submenu a:focus {
 color: #006973;
 background-color: #DEDEDE;
 padding: 3px 4px 3px 15px;
 margin: 0;
}

.sub_submenu a{
 display: block;
 padding: 3px 4px 3px 25px;
 color: #9EAAB8;
 text-decoration: none;
 margin: 0;
 font-family: Tahoma;
 font-size: 14px;
}

.sub_submenu a:hover, .sub_submenu a.highlighted:hover, .sub_submenu a:focus {
 color: #0C4666;
 background-color: #DEDEDE;
 padding: 2px 5px 4px 24px;
 margin: 0;
}


/*
 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);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
 float: right;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist li {
 float: left;
 width: 100%;
}

* html .menulist li {
 float: left;
 height: 1%;
}
* html .menulist a {
 height: 1%;
}
/* End Hacks */




/*Nuevo estilo para el acordeon*/


.menulist2, .menulist2 ul {
 margin: 0px;
 padding-left:-1px;
 width: 180px;
 list-style: none;
 font-family: Tahoma;
 font-size: 14px;
}



/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist2 li {
 position: relative;
 z-index:10;
 border-left:0;
 border-right:0;
 margin-bottom: -1px;
 margin-left:0px;
}

.menulist2 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist2 a {
 display: block;
 padding: 3px 4px 3px 15px;
 color: #9EAAB8;
 text-decoration: none;
 margin: 0;
 font-family: Tahoma;
 font-size: 14px;
}
/* HACKS: MSIE6 doesn't support transparent borders, mimic with margins */


/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist2 a:hover, .menulist2 a.highlighted:hover, .menulist2 a:focus {
 color: #0C4666;
 background-color: #DEDEDE;
 padding: 2px 5px 4px 14px;
 border-right:1px solid #DEDEDE;  /* Arreglo para IE7*/
 margin: 0;
}

