#lang_sel {height:32px; position:relative; z-index:99;  font-family:arial, sans-serif;}

/* hack to correct IE5.5 faulty box model */

* html #lang_sel {width:12em; w\idth:12em;}

/* remove all the bullets, borders and padding from the default list styling */

#lang_sel ul, #lang_sel li {padding:0 !important; margin:0 !important; list-style-type:none !important;}

#lang_sel li:before{content:'' !important;}

#lang_sel ul ul {width:250px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */

#lang_sel li {float:left;width:260px;position:relative;}

/* style the links for the top level */

#lang_sel a, #lang_sel a:visited {display:block;font-size:12px;text-decoration:none !important; color:#fff; border:1px solid #999; background:#09c; padding-left:10px; line-height:18px;}

/* a hack so that IE5.5 faulty box model is corrected */

* html #lang_sel a, * html #lang_sel a:visited {width:260px; w\idth:138px;}



/* hide the sub levels and give them a positon absolute so that they take up no room */

#lang_sel ul ul {visibility:hidden;position:absolute;height:0;top:19px;left:0; width:260px;border-top:1px solid #999;}

/* another hack for IE5.5 */

* html #lang_sel ul ul {top:18px;t\op:19px;}



/* style the table so that it takes no ppart in the layout - required for IE to work */

#lang_sel table {position:absolute; top:0; left:0; border-collapse:collapse;;}



/* style the second level links */

#lang_sel ul ul a, #lang_sel ul ul a:visited {background:#eee; color:#000 !important; height:auto; line-height:1em; padding:3px 10px;border-width:0 1px 1px 1px;}

/* yet another hack for IE5.5 */

* html #lang_sel ul ul a, * html #lang_sel ul ul a:visited {width:150px;w\idth:128px;}



/* style the top level hover */

#lang_sel a:hover, #lang_sel ul ul a:hover{color:#000; background:#ccc;}

#lang_sel :hover > a, #lang_sel ul ul :hover > a {color:#000; background:#ccc;}



#lang_sel a.lang_sel_sel{

    background:url(img/nav-arrow-down.png) #999 right no-repeat;

    color:#fff;

}

#lang_sel a.lang_sel_sel:hover{

    text-decoration: none;

    color:#000;

}



/* make the second level visible when hover on first level list OR link */

#lang_sel ul li:hover ul,

#lang_sel ul a:hover ul{visibility:visible; }