﻿/*
 * Control height position of second level links.
 */

.menu
{
	text-align: left;
}

.menu ul.secondLevel
{
	margin: 18px 0px 0px !important;
}

/*
 * Generic.
 */

.menu li a#link_home, 
.menu li a#link_buying, 
.menu li a#link_selling, 
.menu li a#link_renting, 
.menu li a#link_companyProfile, 
.menu li a#link_contactUs 
{
  background-position: left;
  background-repeat: no-repeat;
  display: block;
  
  height: 24px;
}

.menu li a#link_home:hover, .menu li a#link_home.curr, 
.menu li a#link_buying:hover, .menu li a#link_buying.curr, 
.menu li a#link_selling:hover, .menu li a#link_selling.curr, 
.menu li a#link_renting:hover, .menu li a#link_renting.curr, 
.menu li a#link_companyProfile:hover, .menu li a#link_companyProfile.curr, 
.menu li a#link_contactUs:hover, .menu li a#link_contactUs.curr
{
  background-color: transparent;
  background-position: right;
}

/*
 * Individual Links.
 */

.menu li#nav_home a#link_home 
{
  background-image: url("../images/nav/home.gif");
  
  width: 30px;
}

.menu li#nav_buying a#link_buying 
{
  background-image: url("../images/nav/buying.gif");
  
  width: 34px;
}

.menu li#nav_selling a#link_selling
{
  background-image: url("../images/nav/selling.gif");
  
  width: 36px;
}

.menu li#nav_renting a#link_renting
{
  background-image: url("../images/nav/renting.gif");
  
  width: 40px;
}

.menu li#nav_companyProfile a#link_companyProfile
{
  background-image: url("../images/nav/companyProfile.gif");
  
  width: 85px;
}

.menu li#nav_contactUs a#link_contactUs
{
  background-image: url("../images/nav/contactUs.gif");
  
  width: 55px;
}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	/*margin: 52px 0px 0px 19px;*/
	padding: 0;
	/*width: 641px;
	_width: 641px;*/
	font-size:11px;
	font-weight: 100;
	display: inline;
	float: right;
	position:relative;
	z-index:2;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.menu ul ul {
	width: 160px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float: left;
    position: relative;
	width: 160px;
}

/* Images. */
.menu li#nav_home 
{ 
	background: none;
	padding: 0px 11px 0px 11px;
	width: 30px; 
}
.menu li#nav_buying 
{ 
	background: none;
	padding: 0px 11px 0px 11px;
	width: 34px; 
}
.menu li#nav_selling 
{ 
	background: none;
	padding: 0px 11px 0px 11px;
	width: 36px; 
}
.menu li#nav_renting 
{ 
	background: none;
	padding: 0px 11px 0px 11px;
	width: 40px; 
}
.menu li#nav_companyProfile 
{ 
	background: none;
	padding: 0px 11px 0px 11px;
	width: 85px; 
}
.menu li#nav_contactUs 
{ 
	background: none;
	padding: 0px 20px 0px 11px;
	width: 55px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	font-size:12px;
	text-decoration:none; 
	color:#848685;
	/*font-weight: bold;*/
	/*width:139px;*/
	height:20px;
	display:block;
	/*padding: 0px 0px 0px 10px;*/
}

/* Display nav separators between each top level link. */
.menu li
{
  /*background-image: url("../images/nav_separator.jpg");*/
  background-position: left 3px ;
  background-repeat: no-repeat;
}
.menu li:first-child, .menu li.first-child
{
  /*background: none;*/
  /*background-color: #0e3e90;*/
  padding: 0px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	/*width: 160px;
	w\idth: 160px;*/
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: #013185;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background: #013185;
}
.menu ul ul :hover > a.drop {
	/*background: #013185;*/
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #013185;
  border-left: 2px solid #666666;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background: #013185;
  border-left: 2px solid #A0A1A5;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	margin-top: 18px;
	_margin-top: 19px;
	width: 160px;
	height: 0;
	visibility: hidden;
	position: absolute;
	top: 6px;
	left: 6px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 5px;
	t\op: 5px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	margin: 0;
	width: 160px;
	left: 170px; 
	position: absolute;
	top: 0;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -170px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position: absolute;
	top: 0;
	left: 0;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	padding: 0px 13px; 
	/*width: 160px;*/
	height: 26px !important;
	font-size: 11px;
	line-height: 26px;
	/*font-weight: 600;*/
	color: #FFFFFF;
  background: #013185;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	/*width: 160px;
	w\idth: 160px;*/
}

/* style the top level hover */
.menu a:hover{
  color: #1E1E1E; 
  background: #013185; /*E2E2E2*/
}
.menu ul ul a:hover{
  color: #fdc405; 
  background: #013185;
}
.menu :hover > a {
  color: #fdc405; /*2E2E2E*/
  /*background: #013185;*/
}
.menu ul ul :hover > a {
  color: #fdc405; /*2E2E2E*/
  background: #013185;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
  visibility: visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
  visibility: hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
  visibility: visible;
}

.menu ul ul li {
  margin: 0;
  padding: 1px 0px 0px 0px;
  background-color: #0E3E90;
}

/*
 * Style for menu item corresponding to the current page.
 */
.menu a.curr
{
  color: #1E1E1E;
  font-weight: bold;
}