/* HORIZONTAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.lngselect, .lngselect  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.lngselect ul {
 display: none;
 position: absolute;
 top: 1.0em; 
 margin-top: 8px; /* I'm using ems and px to allow people to zoom their font */
 left: -1px;
 /*width: 200px;*/
 text-align: left;
}

/* Second and third etc. level submenus - position across from parent instead */
.lngselect ul ul {
 top: 3px; 
 margin-top: 0;
 left: 192px;
}

/*
 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.
*/
.lngselect li {
  font-size: 0.8em;
  float: left;
  display: block;
  color: Black;
  position: relative;
  /*width: 150px;*/
  font-weight: normal;
  /*border: 1px solid #808080;*/
  margin: 0px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.lngselect ul li {
 font-size: 1em;
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
 margin-top: -1px;
 background-color: #fff;
 /*border: 1px solid #025394;*/
 border-left: 1px solid #025394;
 border-right: 1px solid #025394;
 border-bottom: 1px solid #025394;
 width: 200px;
 /*background-image: url(../images/blank.gif);*/
}
.lngselect ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.lngselect a {
 font-size: 1.0em;
 display: block;
 padding: 2px 6px 2px 6px;
 color: Black;
 text-decoration: none;
 font-weight: bold;
 color: #025394;
}

.lngselect ul li a {
 color: Black;
} 

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.lngselect a:hover, .lngselect a.highlighted:hover, .lngselect a:focus {
 color: White;
 background-color: #025394;
 /*background-image: url(../images/fade_grey.jpg);*/
}
.lngselect a.highlighted {
 color: White;
 background-color: #025394;
 /*background-image: url(../images/fade_grey.jpg);*/
}

#basicmenu a:hover, #basicmenu a.highlighted:hover, #basicmenu a:focus {
 color: White;
 background-color: #ec008c;
 /*background-image: url(../images/fade_magenta.jpg);*/
}

#basicmenu a.highlighted {
 color: White;
 background-color: #ec008c;
 /*background-image: url(../images/fade_magenta.jpg);*/
}
/*
 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:
    .lngselect a#xyz {
      background-image: url(out.gif);
    }
    .lngselect a#xyz:hover, .lngselect a.highlighted#xyz, .lngselect a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.lngselect a .subind {
 display: none;
}
.lngselect ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.lngselect a {
 float: left;
}
.lngselect ul a {
 float: none;
}
/* \*/
.lngselect a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*+html .lngselect ul li {
 float: left;
 height: 1%;
}
*+html .lngselect ul a {
 height: 1%;
}
* html .lngselect ul li {
 float: left;
 height: 1%;
}

* html .lngselect ul a {
 height: 1%;
}
/* End Hacks */