/**********************************************************
    D O N 'T   M O D I F Y   T H I S   F I L E  !!!
**********************************************************/


/* MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     MAINLINKS     */
.main_links {
	z-index: 20;
	width: 990px;
	position:relative;
	top:10px;
}
.rtl .main_links  {
	left:auto;
	right: -10px;
}
.main_links a:hover {
	text-decoration: none;
}

/* LEVEL 0 */
.main_links  li, .main_links  a {
	position: relative;
	display: block;
}
.main_links li.level0{
	background-position:12px 7px;
	background-repeat: no-repeat;
	border: 1px solid white;
	border-bottom: none;
	float: left;
	list-style: none;
	height: 30px;
}
.rtl .main_links li.level0 {
	float: right;
}






.main_links a.level0{
	float: left;
	border-left: 1px solid #0099cc;
	height:17px;
	margin-top: 7px;
	padding: 0 9px;
}
.main_links li.hover, .main_links li.level0:hover{
	left: 2px;
	z-index: 12;
	border-color: black;
    background: white !important;
}
.main_links li.hover a.level0, .main_links li:hover a.level0 {
	border-left-color: white;
}

.main_links li.hover a.level0, .main_links li:hover a.level0 {
	border-bottom: 9px solid white;
	z-index:12;
}

.main_links li.level0 a.first, .rtl .main_links li.level0 a.last {
	border-left-color: white !important;
}
.rtl .main_links li.level0 a.first {
	border-left-color: #0099cc !important;
}



.main_links a.level0 span{
	display: none;
}
.main_links  li a img {
	visibility: hidden;
}
.main_links  li.hover a img, 
.main_links li:hover a img, 
.main_links a.selected img {
	visibility: visible;
	background: white;
}
.main_links li a.selected, .main_links li a.selected {
	padding: 0 8px 0 10px;
}	
.main_links li:hover a.selected, .main_links li.hover a.selected {
	padding: 0 10px 0 8px;
}	

/* in case of no children do nothing */
.main_links li.noChildren {
	border-color: transparent !important;
    left: 0px !important;
}
.main_links li.noChildren a.level0 {
	border-left-color: #0099cc;
	border-bottom: none;
	padding: 0 7px 0 11px;
}





/* LEVEL 1 */
.main_links ul.level1 {
	padding-top: 4px;
	min-width: 200px;
    width: 100%;			/* needed in case text headline is wider then nested ul */
	background: white;
	z-index: 10;
	border: 1px solid black;
	position: absolute;
	display: none;
	top: 30px;
	left: -1px;
}

.main_links .last ul.level1, .rtl .main_links  ul.level1 {
	right: -1px;
	left: auto;
}
.rtl .main_links .last ul.level1 {
	left: -1px;
	right: auto;
}



.main_links li.hover ul.level1, .main_links li:hover ul.level1  {
	display: block;
}

.main_links  a.level1{
	padding: 3px 9px 3px 9px;
	color: #663366;
}
.main_links li.level1 a:hover {
	font-weight: bold;
	color: white;
	background: #663366;
}

/* LEVEL 2 */
.main_links  a.level2 {
	padding: 3px 3px 3px 18px !important;
/*	padding: 1px 1px 1px 18px !important;*/
	color: #FF66CC;
/*	font-size: 90%;*/
}





