#lang_sel {
	float: right;
	padding: 10px;
	font-family:arial, sans-serif;
	height: 20px;
	width: 65px;
	text-align: right;
}

/* hack to correct IE5.5 faulty box model */
* html #lang_sel {
	margin-bottom: 5px;
}

/* 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 {
}

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

/* style the links for the top level */
#lang_sel a, #lang_sel a:visited {
	padding-left: 5px;
	float: left;
	color:#fff; 
	background:#09c; 
}

/* a hack so that IE5.5 faulty box model is corrected */
* html #lang_sel a, * html #lang_sel a:visited {
	float: left;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#lang_sel ul ul {
/*	visibility:hidden; */
	height:0;
}

/* another hack for IE5.5 */
* html #lang_sel ul ul {
}

/* 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 {
	float: left;
	padding-left: 6px;
	background:#FFF; 
	color:#000 !important; 
}

/* yet another hack for IE5.5 */
* html #lang_sel ul ul a, * html #lang_sel ul ul a:visited {
	float: left;
}

/* style the top level hover */
#lang_sel a:hover, #lang_sel ul ul a:hover{
	color:#000; 
	background:#eee;
}

#lang_sel :hover > a, #lang_sel ul ul :hover > a {
	padding-left: 5px;
	color:#000; 
	background:#eee;
}

#lang_sel a.lang_sel_sel{
	padding-left: 5px;
    background: #eee;
    color:#fff;
}
#lang_sel a.lang_sel_sel:hover{
	padding-left: 5px;
    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;
}

