/*** ESSENTIAL STYLES ***/
.mega-contener {
	clear: both;
}
.mega-right {
  margin-right: 14px;
  float: right;
  width: 7px;
}
.mega-menu, .mega-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}

.mega-menu > li > ul { display:block !important; visibility:visible !important; top:0 !important}
.mega-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
.mega-menu ul li {
	width:			100%;
}
.mega-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.mega-menu li {
	float:			left;
	position:		relative;
}
.mega-menu a {
	display:		block;
	position:		relative;
	color:#fff;
	text-shadow:0 1px 0 #333;
}
.mega-menu li:hover ul,
.mega-menu li.megaHover ul {
	left:			0;
	top:			34px; /* match top ul list item height */
	z-index:		99;
	width:auto
}
ul.mega-menu li:hover li ul,
ul.mega-menu li.megaHover li ul {
	top:			-999em;
}
ul.mega-menu li li:hover ul,
ul.mega-menu li li.megaHover ul {
	left:			100%; /* match ul width */
	top:			0;
}
ul.mega-menu li li:hover li ul,
ul.mega-menu li li.megaHover li ul {
	top:			-999em;
}
ul.mega-menu li li li:hover ul,
ul.mega-menu li li li.megaHover ul {
	left:			100%; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.mega-menu {
	float:			left;
	margin-bottom:	1em;
}
.mega-menu a {
	display:block;
	border: 0;
	text-decoration:none;
}
.mega-menu a, .mega-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#fff;
	white-space:nowrap;
}

/*** arrows **/
.mega-menu a.mega-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.mega-sub-indicator {
	position:		absolute;
	display:		block;
	right:			10px;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../img/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .mega-sub-indicator {  /* give all except IE6 the correct values */
	top: 11px;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .mega-sub-indicator,
a:hover > .mega-sub-indicator,
a:active > .mega-sub-indicator,
li:hover > a > .mega-sub-indicator,
li.megaHover > a > .mega-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.mega-menu ul .mega-sub-indicator { background-position:  -10px 0; }
.mega-menu ul a > .mega-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.mega-menu ul a:focus > .mega-sub-indicator,
.mega-menu ul a:hover > .mega-sub-indicator,
.mega-menu ul a:active > .mega-sub-indicator,
.mega-menu ul li:hover > a > .mega-sub-indicator,
.mega-menu ul li.megaHover > a > .mega-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.mega-shadow ul {
	padding: 0 8px 9px 0;
	-moz-border-bottom-left-radius: 17px;
	-moz-border-top-right-radius: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.mega-shadow ul.mega-shadow-off {
	background: transparent;
}
li.mega-search {
  background: inherit;
  float: right;
  line-height: 25px;
}
li.mega-search input {
  -moz-border-radius: 0 5px 5px 0;
  padding: 3px 0;
  padding-left: 20px;
  margin: 6px 6px 0 0;
  background: #fff url('../img/search.gif') no-repeat left center;
  border:1px solid #777
}

/* hack IE7 */
.mega-menu a, .mega-menu a:visited {height:34px !IE;}
.mega-menu li li {
	width:200px;
	background:#726f72 !IE;
}
