/** navigation **/

#mainnav {	
	background-repeat:repeat;
	background-position:top;
	width:1100px;
	margin:0 0 1px 2px;
	padding:0;
	position:relative;
	z-index:100;
	font-size: 8pt;  /* חאהאול נאחלונ רנטפעא */
	font-family: Tahoma
}

#mainnav ul {
	margin:0 0 0 -1px;
	padding:0;
	float:left;
}

#mainnav ul li {
	float:left;
	margin:0 auto;
	padding:0 0 0 0;
	list-style-type:none;
	list-style-image:none;
	border-left:1px solid #384186;
}

#mainnav ul li {
	float:left;
	margin:0 auto;
	padding:0 0 0 0;
	list-style-type:none;
	list-style-image:none;
	border-left:1px solid #384186;
}

#mainnav ul li a {
	background-image:url(../i/nav/mainnav-background2.png);
	background-repeat:repeat-x;
	background-position:top;
	float:left;
	border-top:2px solid #4C80B2;
	padding:6px 0px 10px 0px;
	margin:0;
	text-transform:none;
	width:135px;
	color:#ffffff;
	font-size:1em;
}

#mainnav ul li a.last {
	width:136px;
}

#mainnav ul li a.blue {
	border-top:2px solid #104476;
	background-image:url(../i/nav/mainnav-background3.png);
	padding:6px 1px 10px 0px;
	width:134px;
}

#mainnav ul li a.active {
	border-top:2px solid #db0007;
}

#mainnav ul li a:hover {
	border-top:2px solid #db0007;
	color:#ffffff;
	text-decoration:none;
}

#mainnav ul li ul li {
	border:1px solid #444444;
	background-color:#444444;
	display:inline;
	margin:-1px 0 0 -1px;
	background-image:url(../i/nav/dropdown.gif);
	background-repeat:no-repeat;
	background-position:left;
	padding:0 0 0 4px;
	position:relative;
	z-index:20;
	text-align:left;
}

#mainnav ul li ul li.first {
	border-top:none;	
}

#mainnav ul li ul li a {
	background-color:#555555;
	background-image:none;
	float:none;
	border:0;
	border-top:1px solid #666666;
	border-right:1px solid #666666;
	border-left:1px solid #666666;
	border-bottom:1px solid #666666;
	padding:3px 8px 3px 9px;
	margin-left:-4px;
	text-transform:none;
	color:#ffffff;
	font-size:8pt;
	width:200px;
	display:block;
}

#mainnav ul li ul li a.drop {
	background-image:url(../i/nav/bullet9px.gif);
	background-repeat:no-repeat;
	background-position:right;
	border-top:1px solid #666666;
}

#mainnav ul li ul li a:hover {
	color:#ffffff;
	text-decoration:none;
	background-color:#666666;
	border-top:1px solid #666666;
}

/* drop down */

/* Get rid of the margin, padding and bullets in the unordered lists */
#dropnav, #dropnav ul {
	position:relative;
	z-index:10;
}

/* Set up the link size, color and borders */
#dropnav a, #dropnav a:visited {
	display:block; 
	text-decoration:none;
}

/* For Non-IE browsers and IE7 */
#dropnav li:hover {
	position:relative;
}

/* Make the hovered list color persist */
#dropnav li:hover > a {
	border-top:2px solid #db0007;
}

#dropnav li li:hover > a {
	border-top:1px solid #666666;
	color:#ffffff;
}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#dropnav li ul {
	display:none;
}

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#dropnav li:hover > ul {
	display:block; 
	position:absolute; 
	top:0px;
	left:190px; 
	padding:0 30px 30px 30px; 
	margin:14px 0 0 -1px;
}

#dropnav li:hover > ul ul {
	margin-top:0;
}

/* Position the first sub level beneath the top level liinks */
#dropnav > li:hover > ul {
	left:-29px; 
	top:14px;
}

/* get rid of the table */
#dropnav table {
	position:absolute; 
	border-collapse:collapse; 
	top:0; 
	left:0; 
	z-index:100; 
	font-size:1em;
}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #dropnav li a:hover {
	position:relative; 
}

/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */

* html #dropnav li ul {
	visibility:hidden; 
	display:block; 
	position:absolute; 
}

/* keep the third level+ hidden when you hover on first level link */
#dropnav li a:hover ul ul{
	visibility:hidden;
}

/* keep the fourth level+ hidden when you hover on second level link */
#dropnav li a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* keep the fifth level hidden when you hover on third level link */
#dropnav li a:hover ul a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* keep the sixth level hidden when you hover on fourth level link */
#dropnav li a:hover ul a:hover ul a:hover ul a:hover ul ul {
	visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#dropnav li a:hover ul {
	visibility:visible; 
	left:0px; 
	top:17px; 
	lef\t:0px; 
	to\p:17px;
	padding-top:5px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#dropnav li a:hover ul a:hover ul { 
	visibility:visible; 
	top:-6px; 
	left:149px;
}

/* make the fourth level visible when you hover over third level link */
#dropnav li a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}

/* make the fifth level visible when you hover over fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
