/* Show dropdown menu on hover */
ul.nav li.dropdown:hover > ul.dropdown-menu {
display: block;
}
/* Offset Level 2 dropdown */
ul.nav li.dropdown:hover > ul.dropdown-menu {
top:90%;
}
/* Offset level 3 dropdowns */
ul.dropdown-menu ul.dropdown-menu {
top: 0 !important;
margin-top:-5px;
left:95%;
}
.navbar ul.dropdown-menu ul.dropdown-menu {
left:100%;
}
.dropdown-menu {
max-width: 999px;
}

/* right-caret for multi-level dropdows */
.caret-right {
display: inline-block;
width: 0;
height: 0;
text-indent: -99999px;
*text-indent: 0;
vertical-align: top;
border-top: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 4px solid #000000;
margin-top:6px;
margin-left:4px;
opacity: 0.5;
}
a:hover > .caret-right, .active > .caret-right {
border-left: 4px solid #ffffff;
opacity: 1.0;
}

/* Remove up-arrow on navbar dropdowns */
.navbar .dropdown-menu .dropdown-menu:before {
border-bottom: 7px solid transparent;
border-left: none;
border-right: 7px solid rgba(0, 0, 0, 0.2);
border-top: 7px solid transparent;
left: -7px;
top: 10px;
}
.navbar .dropdown-menu .dropdown-menu:after {
margin-top: 0;
border-top: 6px solid transparent;
border-left: none;
border-right: 6px solid #fff;
border-bottom: 6px solid transparent;
left: 10px;
top: 11px;
left: -6px;
}

/* Separator handling pills and tabs menu's Joomla style */
.nav > li > span.separator {
display: block;
}
.nav-tabs > li > span.separator, .nav-pills > li > span.separator {
padding-right: 12px;
padding-left: 12px;
margin-right: 2px;
line-height: 14px;
}
.nav-tabs > li > span.separator {
padding-top: 8px;
padding-bottom: 8px;
line-height: 18px;
border: 1px solid transparent;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.nav-pills > li > .separator {
padding-top: 8px;
padding-bottom: 8px;
margin-top: 2px;
margin-bottom: 2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.nav-tabs.nav-stacked > li > span.separator {
border: 1px solid #ddd;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.nav-tabs.nav-stacked > li:first-child > span.separator {
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.nav-tabs.nav-stacked > li:last-child > span.separator {
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}
.nav-tabs.nav-stacked > li > span.separator:hover {
border-color: #ddd;
z-index: 2;
}
.nav-pills.nav-stacked > li > span.separator {
margin-bottom: 3px;
}
.nav-pills.nav-stacked > li:last-child > span.separator {
margin-bottom: 1px;
}
.nav-stacked > li > span.separator {
margin-right: 0;
}
/* Separator handling dropdown menu's */
.dropdown-menu .separator {
display: block;
padding: 3px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: #555555;
white-space: nowrap;
}
/* Separator handling navbar */
.navbar .nav > li > span.separator {
float: none;
padding: 10px 10px 11px;
line-height: 19px;
color: #999999;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
/* Divider in bootstrap nav-list */
.nav-list .divider {
background-color: #E5E5E5;
border-bottom: 1px solid #FFFFFF;
height: 1px;
margin: 8px 1px;
overflow: hidden;
}
.nav-list span.separator {
display: block;
padding: 3px 15px;
margin-left: -15px;
margin-right: -15px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
