/* myaccount menu
   ---------- */




.main_menu {
	       /* establish a menu-relative positioning context */
	float:left;                                     /* play nicely with others */
	margin:0;
	padding:0;
	border:0;
	height:30px;                                  /* the menu's overall height */
	width:100%;         /* we always want our menu to fill the available space */
	font-size: 1.1em;        /* this (and also below) sets the menu's font size */
	/*border-bottom:1px solid black;         give us a black border underneath */
}

.main_menu ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
	/*line-height:1.5em;           /* globally set the menu's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

.main_menu li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin:0;
}

.main_menu li.top {
	color: #FFEADC;
	font-weight:bold;
}

.main_menu li.myaccount {
	font-size: 0.9em;
	width: 190px;
	background: inherit;
	font-weight:bold;
}

.main_menu li.home {
	font-size: 0.9em;
	width: 190px;
	font-weight:bold;
}

.main_menu li.active {
	background: #7A3D17 url(../images/bar.gif) no-repeat center top; 
}


.main_menu ul li table {
	margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
	margin:0;               /* re-zero the table margins for everyone but IE5 */
	border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
	font-size:12px;        /* this sets the base font size for our entire menu */
}

.drop {
	display:block;
	padding:0px 0.33em;	       /* this sets the l/r margins for our menu item */
	margin:0;
	text-align:right;   /* this right alignment goes with the float:left below */
	cursor:pointer;      /* IE tries to switch back to an I-beam, don't let it */
	/*cursor:hand;            IE5 only knows about "hand", so set it both ways */
}

.drop span {        /* this simultaneously left and right aligns the text and */
	float:left;       /* the >> in the drop-down menus which link to sub-menus */
}


/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.main_menu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:1px;                               /* this is our box border width */
	font-weight:normal;

}

.main_menu ul li a,
.main_menu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
	color:#FFFFFF;
	padding: 7px 12px 6px 12px;
}

.main_menu ul li.myaccount a,
.main_menu ul li.myaccount a:visited {                   
	font-weight:normal;
	text-decoration:underline;
}

.main_menu ul li.home a,
.main_menu ul li.home a:visited {                   
	font-weight:normal;
	text-decoration:underline;
}




.main_menu ul li a:hover {                        /* selected top-level menu items */
	/*border-top:1px solid #000;    these 2 lines create the push-in illusion */
	background-color:#7A3D17;
	color:#FFFFFF;
	border-bottom:1px solid #7A3D17;
	padding: 7px 12px 5px 12px;
}

.main_menu ul li.user_bg a:hover {                        /* selected top-level menu items */
	background-color:#E0691A;
}

.main_menu ul li.myaccount a:hover{
background-color:#F9A726;
border-bottom:1px solid #F9A726;
padding: 7px 12px 5px 12px;
color:#FFFFFF;
}

.main_menu ul li.home a:hover{
background-color:#E0691A;
border-bottom:1px solid #E0691A;
padding: 7px 12px 5px 12px;
color:#FFFFFF;
}





/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

.main_menu ul li:hover ul,
.main_menu ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0;
	top:30px;              /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	width:11em;
	color:black;                        /* this sets the unselected-text color */
	background:#E0691A;         /* this sets our menu's effective "border" color */
	opacity: 0.92;
}

.main_menu ul li:hover ul.user,
.main_menu ul li a:hover ul.user {                           /* 2nd level drop-down box */
	background:#EB940B;         /* this sets our menu's effective "border" color */
	opacity: 0.92;
}

.main_menu ul li:hover ul.admin,
.main_menu ul li a:hover ul.admin {                           /* 2nd level drop-down box */
	background:#6E6310;         /* this sets our menu's effective "border" color */
	opacity: 0.92;
}


.main_menu ul li:hover ul.leftbutton,
.main_menu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:0px;
}

.main_menu ul li:hover ul.skinny,
.main_menu ul li a:hover ul.skinny {             /* 2nd level skinny drop-down box */
	width:8.08333em;   /* with a 12px default font, this is 97px width (97/12) */
}

.main_menu ul.rightmenu li:hover ul,
.main_menu ul.rightmenu li a:hover ul {    /* 2nd level neighborhood drop-down box */
	left:auto;
	right:0;         /* nudge the right menu right to line up under the border */
}

* html .main_menu ul.rightmenu li a:hover ul {         /* IE5/6 needs a tweak here */
	right:-1px;
}

.main_menu ul li:hover ul li a,
.main_menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0;
	padding:0;
	height:auto;
	color:#000;               /* this sets the unselected drop-down text color */
	background:#ECE3DD;       /* this sets the drop-down menu background color */
	width:11em;
	line-height:20px;
	z-index:10;
}

.main_menu ul li:hover ul li:hover a,
.main_menu ul li a:hover ul li a:hover {                /* 2nd level selected item */
	color:white;
	background:#7A3D17;
}

.main_menu ul li:hover ul.skinny li a,
.main_menu ul li a:hover ul.skinny li a,
.main_menu ul li:hover ul.skinny li a:hover,
.main_menu ul li a:hover ul.skinny li a:hover {     /* 2nd level un+selected items */
	width:8.08333em;
}

/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/

.main_menu ul li:hover ul li ul,
.main_menu ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
.main_menu ul li:hover ul li:hover ul,
.main_menu ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:11em;
	width:10.5em;
}

.main_menu ul li:hover ul li:hover ul li a,
.main_menu ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:10.5em;
	background:#FFEBDE;
}

.main_menu ul li:hover ul li:hover ul li a:hover,
.main_menu ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:10.5em;
	background:white;
}

#text {           /* the Mac's standard Safari browser will not see this code */
	height:1.215em;/*#            ...  but every other browser will and should */
} /* Safari barfs on the illegal pound sign (#) after the rule's property val */



/* - - - - - - - - - - - - - - - - - - - - -

Title : DESITAL menu style
Author : Hugo Vieira
URL : http://www.desital.pt

Version : v0.02

- - - - - - - - - - - - - - - - - - - - - */


