/* Starter CSS for Menu */
#navb1 {
  padding: 0;
  margin: 0;
  border: 0;
  width: auto;
}
#navb1 ul,
#navb1 li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#navb1 ul {
  position: relative;
  z-index: 597;
}
#navb1 ul li {
  float: left;
  min-height: 1px;
  vertical-align: middle;
}
#navb1 ul li.hover,
#navb1 ul li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}
#navb1 ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 598;
  width: 100%;
}
#navb1 ul ul li {
  float: none;
}
#navb1 ul ul ul {
  top: 0;
  left: 190px;
  width: 190px;
}
#navb1 ul li:hover > ul {
  visibility: visible;
}
#navb1 ul ul {
  bottom: 0;
  left: 0;
}
#navb1 ul ul {
  margin-top: 0;
}
#navb1 ul ul li {
  font-weight: normal;
}
#navb1 a {
  display: block;
  line-height: 1em;
  text-decoration: none;
}
/* Custom CSS Styles */
#navb1 {
  /* background: #000000; */
  border-bottom: 4px solid #000000;
  font-size: 12px;
  color: #ffffff;
}
#navb1 > ul {
  *display: inline-block;
}
#navb1:after,
#navb1 ul:after {
  content: '';
  display: block;
  clear: both;
}
#navb1 ul {
  text-transform: uppercase;
}
#navb1 ul ul {
  border-top: 4px solid #289D99;
  text-transform: none;
  min-width: 190px;
}
#navb1 ul ul a {
  /* background: #289D99; */
  color: #ffffff;
  border: 1px solid #000000;
  border-top: 0 none;
  line-height: 150%;
  padding: 16px 20px;
  font-size: 12px;
}
#navb1 ul ul ul {
  border-top: 0 none;
}
#navb1 ul ul li {
  position: relative;
}
#navb1 ul ul li:first-child > a {
  border-top: 1px solid #000000;
}
#navb1 ul ul li:hover > a {
  background: #000000;
  color: #ffffff;
}
#navb1 ul ul li:last-child > a { 
  -moz-border-radius: 0 0 3px 3px;
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -moz-box-shadow: 0 1px 0 #289D99;
  -webkit-box-shadow: 0 1px 0 #000000;
  box-shadow: 0 1px 0 #000000; 
}
#navb1 ul ul li:last-child:hover > a {
  -moz-border-radius: 0 0 0 3px;
  -webkit-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
/* #navb1 ul ul li.has-sub > a:after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -8px;
} */
#navb1 ul li:hover > a,
#navb1 ul li.active > a {
  background: #289D99;
  color: #ffffff;
}
/* #navb1 ul li.has-sub > a:after {
  content: '+';
  margin-left: 100%;
} */
#navb1 ul li.last ul {
  left: auto;
  right: 0;
}
#navb1 ul li.last ul ul {
  left: auto;
  right: 99.5%;
}
#navb1 a {
  /* background: #289D99; */
  color: #ffffff;
  padding: 0 20px;
}
#navb1 > ul > li > a {
  line-height: 48px;
  font-size: 12px;
}
@media(max-width:576px){
#navb1 ul li.current-menu-ancestor a{background:#289D99;}

#navb1 ul li.current-menu-ancestor a + ul li.current-menu-ancestor a + ul li a,
#navb1 ul li.current-menu-ancestor a + ul li a{
  background: #323232;
}
#navb1 ul li.current-menu-ancestor a + ul li.current-menu-ancestor a{
  background: #289D99;
}
#navb1 ul li.current-menu-ancestor > ul > li.active > a{background:#289D99 !important;}
}