/*** ESSENTIAL STYLES ***/
.rex-navi1, .sf-menu * {
  margin:			0;
  padding:		0;
  list-style:		none;
}
.rex-navi1 {
  line-height:	1.0;
}
.rex-navi1 ul {
  position:		absolute;
  top:			-999em;
  width:			10em; /* left offset of submenus need to match (see below) */
}
.rex-navi1 ul li {
  width:			100%;
}
.rex-navi1 li:hover {
  visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.rex-navi1 li {
  float:			left;
  position:		relative;
}
.rex-navi1 a {
  display:		block;
  position:		relative;
}
.rex-navi1 li:hover ul,
.rex-navi1 li.sfHover ul {
  left:			0;
  top:			2.35em; /* match top ul list item height */
  z-index:		99;
}
ul.rex-navi1 li:hover li ul,
ul.rex-navi1 li.sfHover li ul {
  top:			-999em;
}
ul.rex-navi1 li li:hover ul,
ul.rex-navi1 li li.sfHover ul {
  left:			10em; /* match ul width */
  top:			0;
}
ul.rex-navi1 li li:hover li ul,
ul.rex-navi1 li li.sfHover li ul {
  top:			-999em;
}
ul.rex-navi1 li li li:hover ul,
ul.rex-navi1 li li li.sfHover ul {
  left:			10em; /* match ul width */
  top:			0;
}

/*** DEMO SKIN ***/
.rex-navi1 {
  float:			left;
  /*margin-bottom:	1em;*/
}
.rex-navi1 a {
  border-left:  1px solid #fff;
  padding:      .68em .60em;
  text-decoration: none;
}
.rex-navi1 a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
  color:			  #000;
}

.rex-navi1 a.rex-current, .rex-navi1 a.rex-active {
  background: #78D0F3 url('/images/menu_current.jpg');
  color: #ffffff !important;
}

.rex-navi1 li {
  /*background:		#BDD2FF;*/
  background: #78D0F3;
}

.rex-navi1 li#rex-article-50 {
  border-right:  1px solid #fff;
}

.rex-navi1 li li {
  /*background:		#AABDE6;*/
  background: #78D0F3;
}
.rex-navi1 li li a {
  border-top:   1px solid #CFDEFF;
}

.rex-navi1 li li li {
  /*background:		#9AAEDB;*/
  background: #78D0F3;
}
.rex-navi1 li li li a {
  border-top:   1px solid #CFDEFF;
}

.rex-navi1 li:hover, .sf-menu li.sfHover,
.rex-navi1 a:focus, .sf-menu a:hover, .sf-menu a:active {
  /*background:		#CFDEFF;*/
  background: #3b77c0;
  color: #fff;
  outline:		0;
}

/*** arrows **/
.rex-navi1 a.sf-with-ul {
  padding-right: 	1.75em;
  min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
  position:		absolute;
  display:		block;
  right:			.75em;
  top:			1.05em; /* IE6 only */
  width:			10px;
  height:			10px;
  text-indent: 	-999em;
  overflow:		hidden;
  background:		url('/images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
  top:			.8em;
  background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
  background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.rex-navi1 ul .sf-sub-indicator { background-position:  -10px 0; }
.rex-navi1 ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.rex-navi1 ul a:focus > .sf-sub-indicator,
.rex-navi1 ul a:hover > .sf-sub-indicator,
.rex-navi1 ul a:active > .sf-sub-indicator,
.rex-navi1 ul li:hover > a > .sf-sub-indicator,
.rex-navi1 ul li.sfHover > a > .sf-sub-indicator {
  background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
  background:	url('/images/shadow.png') no-repeat bottom right;
  padding: 0 8px 9px 0;
  -moz-border-radius-bottomleft: 17px;
  -moz-border-radius-topright: 17px;
  -webkit-border-top-right-radius: 17px;
  -webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
  background: transparent;
}
