ul#topnav {
	 margin:25px 0 0 0 !important; padding: 0;
	float:right;
	list-style: none;
	font-size: 1.1em;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position:relative;
}
ul#topnav li a {
	float: left; 
	text-indent: -9999px;
	height: 31px;
	padding:0px 23px;
}
ul#topnav li:hover a, ul#topnav li a:hover { background-position: left bottom; }


ul#topnav a.buy {
	background: url(../../images/frontend/buy.png) no-repeat;
	width: 32px; 
}
ul#topnav a.sell {
	background: url(../../images/frontend/sell.png) no-repeat;
	width: 36px; 
}
ul#topnav a.rent {
	background: url(../../images/frontend/rent.png) no-repeat;
	width: 41px; 
}
ul#topnav a.resource {
	background: url(../../images/frontend/resources.png) no-repeat;
	width: 88px; 
}
ul#topnav a.agent {
	background: url(../../images/frontend/agents.png) no-repeat;
	width: 60px; 
}

ul#topnav a.about {
	background: url(../../images/frontend/about.png) no-repeat;
	width: 53px; 
}


ul#topnav li .sub {
	position: absolute;	
	top: 44px; left: 0;
	/*background: #344c00 url(../sub_bg.png) repeat-x;*/
	padding: 20px 10px 20px;
	float: left;
	 -moz-box-shadow: 0 6px 4px rgba(0, 0, 0, 0.2);
    background-color: #FFFFFF;
	display: none;
	z-index:9999;
	
}
ul#topnav li .row {clear: both; float: left; width: 100%; margin-bottom: 10px;}
ul#topnav li .sub ul{
	list-style: none;
	margin: 0; padding: 0;
	width: 180px;
	float: left;
}
ul#topnav .sub ul li {
	width: 100%;
	color: #fff;
	border-top:1px solid #C6C7C7;
}

ul#topnav .sub ul li.frist {

	border-top:none !important;
}

ul#topnav .sub ul li h2 {
	padding: 0;  margin: 0;
	font-size: 1.3em;
	font-weight: normal;
}
ul#topnav .sub ul li h2 a {
	padding: 5px 0;
	background-image: none;
	color: #e8e000;
}
ul#topnav .sub ul li a {
	float: none; 
	text-indent: 0; /*--Reset text indent--*/
	height: auto;
    padding: 7px 5px 7px 0px;
	display: block;
	text-decoration: none;
	color: #0052a6;
}
ul#topnav .sub ul li a:hover {color: #ddd; background-position: 5px 12px ;}


.dashboard_header .sub {
	position: absolute;	
	top: 44px; right: 8px;
	background: #344c00 url(../sub_bg.png) repeat-x;
	padding: 10px;
	float: left;
	 -moz-box-shadow: 0 6px 4px rgba(0, 0, 0, 0.2);
    background-color: #FFFFFF;
	display: none;
	z-index:9999;
	border:1px solid #666; border-top:none;
	-moz-border-radius: 0 0 10px 10px; -webkit-border-radius: 0 0 10px 10px; -khtml-border-radius: 0 0 10px 10px; 
}
.dashboard_header .sub ul{
	list-style: none;
	margin: 0; padding: 0;
	width: 120px;
	float: left;
}
.dashboard_header .sub ul li {
	width: 100%;
	color: #fff;
	border-top:1px solid #C6C7C7;
	margin-left:0;
}

.dashboard_header .sub ul li.frist {

	border-top:none !important;
}

.dashboard_header .sub ul li a {
	float: none; 
	text-indent: 0; /*--Reset text indent--*/
	height: auto;
    padding: 7px 5px 7px 0px;
	display: block;
	text-decoration: none;
	color: #0052a6;
}
.dashboard_header .sub ul li a:hover {color: #ddd; background-position: 5px;}

.stButton span { color:#fff !important;}