#nav2 {
	margin: 0;
	padding: 5px 4px 0;
	line-height: 100%;
	border-radius: 2em;

	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);

	background: #334E55; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#334E55', endColorstr='#334E55'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#334E55), to(#334E55)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #334E55,  #334E55); /* for firefox 3.6+ */

	border: solid 1px #6d6d6d;
}
#nav2 li {
	margin: 0 3px;
	padding: 0 0 8px;
	float: right;
	position: relative;
	list-style: none;
}
/* main level link */
#nav2 a {
	font-weight: bold;
	color:#e7e5e5; 
	text-decoration: none;
	display: block;
	padding:  8px 20px;
	margin: 0;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
/* main level link hover */
#nav2 .current a, #nav2 li:hover > a {
	background: #d1d1d1; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a1a1a1'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a1a1a1)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ebebeb,  #a1a1a1); /* for firefox 3.6+ */

	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
/* sub levels link hover */
#nav2 ul li:hover a, #nav2 li:hover li a {
	background: none;
	border: none;
	color: #666;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav2 ul a:hover {
	background: #0399d4 !important; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#04acec', endColorstr='#0186ba'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)) !important; /* for webkit browsers */
	background: -moz-linear-gradient(top,  #04acec,  #0186ba) !important; /* for firefox 3.6+ */

	color: #fff !important;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}
/* level 2 list */
#nav2 ul {
	background: #ddd; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fff,  #cfcfcf); /* for firefox 3.6+ */

	display: none;
	margin: 0;
	padding: 0;
	width: 210px;
	position: absolute;
	top: 35px;
	right: 0;
	border: solid 1px #b4b4b4;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
/* dropdown */
#nav2 li:hover > ul {
	display: block;
}
#nav2 ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav2 ul a {
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
}
/* level 3+ list  181 */
#nav2 ul ul {
	left: 250px;
	top: -3px;
}
/* rounded corners for first and last child */
#nav2 ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#nav2 ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;
	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}
/* clearfix */
#nav2:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav2 {
	display: inline-block;
}
html[xmlns] #nav2 {
	display: block;
}
* html #nav2 {
	height: 1%;
}
/* end menu*/
/*
=dropdown menu styling
---------------------------vertical-align:baseline;----------------*/
/*
start main styling
*/

html, body, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, legend, caption, tbody, tfoot, thead,  {
background:transparent none repeat scroll 0 0;
border:0 none;
font-size:100%;
margin:0;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:0;
padding:0;

}


.img1 {
background:transparent none repeat scroll 0 0;
border:0 none;
font-size:100%;
margin:0;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:0;
padding:0;

}

.clear {
	clear:both;
}

a#online-support {
	position:fixed;
	left:0;
	top:400px;
	z-index: 10000;
color:#FFFFFF;
}
a#online-support {
	_position:absolute;
	_left:0;
	_top:250px;
	_z-index: 10000;
}
#wrapper {
	width:940px;
	margin:0 auto;
}


#header1 {
	background:url(images/header1-bg.png) no-repeat;
	height:32px;
	position:relative;
	overflow:hidden;
	text-align:left;
	padding-left:25px;
	margin-bottom:11px;
}
#header2 {
	background:url(images/header2-bg.jpg) no-repeat;
	height:139px;
	margin-bottom:11px;
}
.working-info {
	padding-left:15px;
	line-height:31px;
	color:#fff;
	font-size:11px;
}
#mini-nav {
	position:absolute;
	right:5px;
	top:0;

	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;

}
#mini-nav li {
	float:left;
	display:inline;
	padding-right:1px;
	width: 30px;
	height: 30px;

	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

li.home a{
	background: url(images/mini-nav-buts.png) 0 0 no-repeat;	
	display: block;
	width: 30px;
	height:30px;
}

li.home a:hover {
	background: url(images/mini-nav-buts.png) 0 -29px no-repeat;
}

li.rss a{
	background: url(images/mini-nav-buts.png) -60px 0px no-repeat;	
	display: block;
	width: 30px;
	height:30px;
}

li.rss a:hover{
	background: url(images/mini-nav-buts.png) -60px -29px no-repeat;	
}

li.email a{
	background: url(images/mini-nav-buts.png) -30px 0px no-repeat;	
	display: block;
	width: 30px;
	height:30px;
}

li.email a:hover{
	background: url(images/mini-nav-buts.png) -30px -29px no-repeat;	
}


/*
=dropdown menu styling
-------------------------------------------*/
#main-nav-wrapper {
	height:42px;
	position: relative;
	z-index:200;
}
#main-nav {
	height:42px;
	background:url(images/main-nav-bg.png) no-repeat;
	margin-bottom:11px;
	list-style:none;
	padding-right:15px;
}
#main-nav a {
	text-decoration:none;
	color:#c9c9c9;
	padding:0 15px;
	line-height:42px;
	font-size:12px;
}
#main-nav ul a {
	line-height:35px;
}
#main-nav a:hover {
	color:#fff;
}
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	height:40px;
	margin:0 auto;
}
.sf-menu ul {
	position:		absolute;
	top:			/*-9999*/0px;/* hides all submenu 

items */
	width:			220px; /* set the width of 

sub menu */
	border:1px solid #949494;
	border-top:none;
	z-index:999;
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky 

bug' */
}

#main-nav li {
	float:			right;
	position:		relative;
}

.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	right:			0;
	top:			42px; /* match top ul list 

item height */ /* tanzim mikone ke koja zir-menu neshoon dade 

beshe */
	z-index:		999;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-9999px;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	right:			220px; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover,
ul.sf-menu li li.sfHover{
	background:#222;
}
ul.sf-menu li li:hover a,
ul.sf-menu li li.sfHover a{
	color:#fff;
	display:block;
	width:220px;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
.sf-menu a {
	text-decoration:none;
	outline:none;
	font-size:11px;
}
.sf-menu ul a, .sf-menu ul a:visited  { /* visited pseudo 

selector so IE6 applies text colour*/
	color:			#222;
	padding: 		0 12px;
	text-decoration:none;
}
.sf-menu ul ul {
	border-top:1px solid #949494;
	border-bottom:1px solid #949494;
}
.sf-menu li {
	background:#333;
}
.sf-menu > li {
	background:none;
}
.sf-menu > li > a:hover {
	background:none;
}
.sf-menu li li {
	background:#333;
}
.sf-menu li li li {
	background:#333;
}
/*-------------------------------------------*/

p{text-align:justify;line-height:16px; font-style:bold;}
a:link,a:active,a:focus,a:visited{color:#333333;text-decoration:none;}
a:hover{color:#F3912E;text-shadow: 0px 0px 3px #BFBFBF;text-decoration:none;}

#header-top	{

background:url(images/header.jpg) no-repeat top center;
	height:139px;
	text-align:left;
	padding-left:25px;
	margin-bottom:11px;

}


#company_title{color:#FFF;float:right;font-size:10px;line-height:20px;margin:0;padding:0;text-align:right;}
#content_container{background:#FFF ;border:0px solid #258;color:#666;margin:0 auto 0;padding:0;text-align:right;width:970px;}
#content_left{background-color:#FFF;float:left;margin:0;padding:15px;text-align:right;width:680px;}



p#copyright {
	text-align:center;
	clear:both;
	padding:25px 0 10px 0;
	font-size:12px;
	line-height: 19px;
}
p#copyright a {
	text-decoration:none;
	color:#444;
}
p#copyright a:hover {
	text-decoration:underline;
}

/*
original css
-------------------------------------------*/

#side_menu{background-color:#F5F5F5;border:1px solid #ececec;float:right;margin:10px 10px 5px 0px;;padding:15px 20px 15px 8px;text-align:right;width:219px;-moz-border-radius:5px;}
#side_menu ul{margin:0 0 10px;padding:0;white-space: nowrap;}
#side_menu ul li{line-height:25px;margin:0;padding:0;text-decoration:none;}

#top_menu{width:800px;background:#808080 url(images/top_menu_bg.gif) repeat-x; height:30px;line-height:30px;margin-top:0px;padding-top:0;text-align:center;-moz-border-radius:8px;}
#top_menu ul{list-style:none;margin:0;padding:0;}
#top_menu ul li{float:right;margin:0;padding:0;}
#top_menu ul li a,#top_menu ul li a:visited{color:#666;display:block;height:30px;line-height:30px;padding:0;text-align:center;text-decoration:none;width:100px;-moz-border-radius:7px;}
#top_menu ul li a.down,#top_menu ul li a.down:visited,#top_menu ul li a.down:hover{background-color:#FFF;border-right:1px solid #EBEBEB;color:#333;font-weight:700;width:99px;}
#top_menu ul li a:hover{background-color:#EBEBEB;color:#333;}

#welcome{height:145px ;padding:15px 340px 0px 0px;}
#welcome_box{height:20px;background-color:#f7f7f7; border:1px solid #EBEBEB; padding:0px 10px 0px 10px; float:right;line-height:20px;margin:0;text-align:right;-moz-border-radius:5px;}

#header-right { padding-right:30px; height:42px;
	background:url(images/main-nav-bg.png) no-repeat;}


.absmiddle{text-align:right;}
.breadcrumb{background-color:#F5F5F5;margin:0 0 10px;padding:10px;}
.clear{clear:both;}
.green{color:#006F0F;}
.header{width:200px; height:20px; padding:3px 10px 0px 0px; display:block; background:#E8E8E8; margin:5px 0px 5px 0px; color:#1a4d80;font-size:12px;-moz-border-radius:5px;}
.red{color:#BF0000;}
.small{font-size:11px;}
.warning{background-color:#FFFFDF;border:1px solid #FDFF3F;margin:0 0 10px;padding:10px;}
.contentbox{padding:10px;margin:0 0 10px;text-align:center;}
.errorbox{background-color:#FFBFBF;padding:10px;margin:0 0 10px;text-align:center;color:#7F0000;}
.successbox {border: 1px solid #66CC00;font-weight: bold;background-color: #DDFFC6;text-align: center;padding: 10px;color: #009933;}
.clientareatableactive{background-color:#DFFFE0}
.clientareatablepending{background-color:#EFEFEF}
.clientareatablesuspended{background-color:#FFF6CF}
.clientareatableterminated{background-color:#FFCFCF}
.clientticketreplyheader{background-color:#EBEBEB;color:#333;border-top:1px solid #CCC;border-right:1px solid #CCC;border-bottom:1px solid #EBEBEB;border-left:1px solid #CCC;}
.clientticketreply{background-color:#F5F5F5;margin:0 0 10px;padding:10px;border-right:1px solid #CCC;border-bottom:1px solid #CCC;border-left:1px solid #CCC;}
.adminticketreplyheader{background-color:#CFE6FF;color:#333;border-top:1px solid #CAE6FF;border-right:1px solid #CAE6FF;border-bottom:1px solid #CAE6FF;border-left:1px solid #CAE6FF}
.adminticketreply{background-color:#EEF6FF;padding:10px;margin:0 0 10px;border-right:1px solid #CAE6FF;border-bottom:1px solid #CAE6FF;border-left:1px solid #CAE6FF;}
.networkissueaffected{background-color:#EFEFEF;padding:10px;margin: 0 0 10px;}
.textgreen{color:#158F00;}
.textred{color:#9F0000;}
html,div,body,ul, li,{background-color:#FFFFFF;direction:rtl; 
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;

}
body,td,th{color:#666;font-family:Tahoma;font-size:11px;text-align:right;}
form{margin:0;padding:0;text-align:right;}
h1{border-bottom:1px solid #EBEBEB;color:#1a4d80;font-size:16px; font-weight:400;margin:0 0 12px;padding:0 0 3px;}
h2{border-bottom:1px solid #F5F5F5;color:#333;font-size:15px;font-weight:400;margin:0 0 5px;padding:10px 0 3px;}
h3{color:#666;font-siz:15px;font-weight:700;margin:0;padding:10px 0 5px;}
hr{background-color:#EBEBEB;border:0;border-top:1px solid #EBEBEB;height:0;margin:10px 0;overflow:hidden;}
input,select,textarea{color:#666;font-family:Tahoma;font-size:12px;margin:0;padding:2px;}
p{margin:0;padding:3px 0 8px;}
table.data{ height:17px; margin:0 0 5px;padding:0;border:1px solid #808080;-moz-border-radius:8px;}
table.data td{background-color:#FFF;border-bottom:1px solid #808080;}
table.data th{background-color:#888;border-bottom:1px solid #333;color:#FFF;font-weight:400;}
table.data tr.clientareatableactive td{background-color:#DFFFE0 !important;}
table.data tr.clientareatablepending td{background-color:#EFEFEF !important;}
table.data tr.clientareatablesuspended td{background-color:#FFF6CF !important;}
table.data tr.clientareatableterminated td{background-color:#FFCFCF !important;}
table.frame{margin:0 0 10px;padding:0;border:1px solid #EBEBEB;border-bottom:0;}
table.frame table td{background-color:#FFF;border-bottom:1px solid #EBEBEB;}
table.frame table td.fieldarea{background-color:#F5F5F5;color:#333;text-align:right;border-right:1px solid #EBEBEB;}


#footer {
	height:56px;
	background:url(images/footer-bg.png) no-repeat;
}
#footer-nav {
	overflow:hidden;
	width:680px;
	margin:0 auto;
}
#footer-nav li {
	display:inline;
}
#footer-nav li a{
	float:right;
	line-height:56px;
	padding:0 8px;
	text-decoration:none;
	color:#222;
	font-size:12px;
	background:url(images/footer-nav-seperator.png) no-repeat left center;
}
#footer-nav li a:hover {
	color:#555;
}
#footer-nav li.last a{
	background:none;
}



/* --------------------------------------------------------------
   PRINTABLE INVOICE STYLESHEET new version
-------------------------------------------------------------- */


#invoicetoptables {
    width: 100%;
    background-color: #cccccc;
    border-collapse: seperate;
}

td#invoicecontent {
    background-color: #ffffff;
    color: #000000;
}

.unpaid {
    font-size: 16px;
    color: #cc0000;
    font-weight: bold;
}

.paid {
    font-size: 16px;
    color: #779500;
    font-weight: bold;
}

.refunded {
    font-size: 16px;
    color: #224488;
    font-weight: bold;
}

.cancelled {
    font-size: 16px;
    color: #cccccc;
    font-weight: bold;
}

#invoiceitemstable {
    width: 100%;
    background-color: #cccccc;
    border-collapse: seperate;
}

td#invoiceitemsheading {
    background-color: #efefef;
    color: #000000;
    font-weight: bold;
    text-align: center;
}

td#invoiceitemsrow {
    background-color: #ffffff;
    color: #000000;
}

.creditbox {
    border: 1px dashed #cc0000;
    font-weight: bold;
    background-color: #FBEEEB;
    text-align: center;
    width: 100%;
    padding: 10px;
    color: #cc0000;
    margin-left: auto;
    margin-right: auto;
}
