/* 
Theme Design by : Vahab Seyed Chorteh
Website : WWW.VAHABONLINE.IR
E-MAIL : MyVahab@Gmail.Com
Mobile : 09374655385
WebLog : WWW.MRVAHAB.IR
 */
#nav1 {
	float:right;
	height:33px;
}
#nav1 ul {
	list-style:none;
	margin:0;
	padding:0
}
#nav1 > ul > li {
	position:relative;
	float:right;
	display:inline;
	margin:0 0 0 10px;
	direction:rtl;
}
#nav1 > ul > li > a {
	color:#fff;
	font-size:16px;
	display:block;
	line-height:33px;
	text-shadow:0px 1px 1px #242c37;
	text-decoration:none;
	padding:0 19px;
	border-radius:4px 4px 0 0;
	background:url(../images/nav_bg.png) repeat-x left top;
}
#nav1 ul li a:hover {
	color:#fff;
	text-shadow:0px 1px 1px #7f4100;
	background:url(../images/nav_hoverbg.png) repeat-x left top;
}
#nav1 ul li.current > a {
	color:#fff;
	text-shadow:0px 1px 1px #7f4100;
	background:url(../images/nav_hoverbg.png) repeat-x left top;
}
#nav1 ul li:last-child {
	margin:0px;
}
#nav1 ul ul {
	padding:5px 0px;
	border-radius:0 0 5px 5px!important;
	position:absolute;
	right:-5000px;
	min-width:100%;
	z-index:100;
	opacity:0;
	background:#49586d;
}
#nav1 ul li:hover ul {
	right:0;
	opacity:1;
}
#nav1 ul ul li:hover ul {
	right:100%;
	opacity:1;
}
#nav1 ul ul li {
	white-space:nowrap;
	padding:0 0px;
	margin:0 0px;
	border-bottom:1px solid #ccc;
}
#nav1 ul ul > li:last-child {
	border-bottom:none;
}
#nav1 ul ul a {
	font-size:16px;
	color:#fff;
	display:block;
	padding:0 5px;
	text-decoration:none;
	line-height:32px;
	display:block;
}
#nav1 ul ul a:hover {
	color:#fff;
	border-radius:0px;
	background:url(../images/nav_hoverbg.png) repeat-x left top;
	text-shadow:none;
}
