#lang_sel {
	height: 26px;
	position: relative;
	z-index: 99;
}

/* 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;
	font-family: Calibri, Optima, Arial, STHeiti, SimHei, sans-serif !important;
}

#lang_sel li:before {
	content:'' !important;
}

#lang_sel ul ul {
	width:140px;
}

/* 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: 140px;
	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: #FFFFFF;
	border: 1px solid #556F42;
	background: #849972;
	padding-left: 10px;
	line-height: 26px;
}

/* hide the sub levels and give them an absolute position so that they take up no room */

#lang_sel ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 27px;
	left: 0;
	width: 140px;
	border-top: 1px solid #556F42;
}

/* style the table so that it takes no part 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: #EDF3E9;
	color: #000000;
	height: auto;
	line-height: 20px;
	padding: 3px 10px;
	border-width: 0 1px 1px 1px;
}

/* style the top level hover */

#lang_sel a:hover, #lang_sel ul ul a:hover {
	color: #FFFFFF;
	background: #849972;
}

#lang_sel :hover > a, #lang_sel ul ul :hover > a {
	color: #FFFFFF;
	background: #849972;
}

/* 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;
}