ul.jbar {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
  font-family: arial, sans-serif;
  letter-spacing: .02em;
  clear: both;
}

ul.jbar * {
  outline: 0;
}

ul.jbar a {
  font-size: 12px;
  line-height: 16px;
}

ul.jbar li {
  position: relative;
  margin: 0;
  padding: 0;
  text-shadow: 1px 1px 2px #292929;
  display: inline-block;
  float: center;
}

ul.jbar li a {
  width:150px; /* new */
  color: #cecece !important;
  text-decoration: none;
  padding: 3px 5px;
  background-color: #a25f2a !important;  /*3D3D3D*/
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#656464), to(#a25f2a));
  background: -moz-linear-gradient(center top, #656464, #a25f2a) repeat scroll 0 0 transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#656464', endColorstr='#a25f2a', GradientType=0);
  -webkit-background-clip: padding-box;
  text-shadow: 1px 1px 2px #292929;
  display: inline-block;
  line-height: 16px;
  height: 16px;
  vertical-align: middle;
  border-left: 1px solid #a25f2a;
  border-right: 1px solid #a25f2a;
}

ul.jbar li div.first {
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-left: none;
}

ul.jbar li div.last,
ul.jbar li div.last span.trigger {
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-right: none;
}

ul.jbar li .triggered {
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a25f2a), to(#656464));
  background: -moz-linear-gradient(center top, #a25f2a, #656464) repeat scroll 0 0 transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a25f2a', endColorstr='#656464', GradientType=0);
  color: #eee;
  border-left-color: transparent;
}

ul.jbar li div.has_down_arrow {
  padding-right: 16px;
}

ul.jbar li div.has_lonely_down_arrow {
  padding-right: 12px;
}

ul.jbar li div.has_trigger_down_arrow span.link_text {
  padding-right: 5px;
  border-right: 1px dotted #ccc;
}

ul.jbar li div.has_no_down_arrow:hover,
ul.jbar li div.has_lonely_down_arrow:hover,
ul.jbar li div.trigger:hover,
ul.jbar li .hovered {
  color: #fff !important;
}

ul.jbar span.down_arrow {
  font-size: 12px;
  width: 16px;
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

ul.jbar span.down_arrow em {
  text-align: left;
  display: block;
  padding: 0.30em 0 0 0.17em;
}

ul.jbar.jbar_browser_IE6 a.has_lonely_down_arrow span.down_arrow em {
  padding-left: 0.4em;
}

ul.jbar div.submenu_container {
  display: none;
  position: absolute;
  z-index: 1000;
  left: -1px;
  width: 150px;   /*150*/
  opacity: .97;
  text-align: left;
  padding-top: 12px;
  /* NEW */
  font-size: 12px;
  cursor: pointer;
}

/* стрелка вверх при открытии */
ul.jbar span.up_arrow {
  position: absolute;
  font-size: 13px !important;
  top: 0;
  color: #a25f2a;                    /*3D3D3D*/
  text-shadow: 0px -1px 1px #a25f2a; /*3D3D3D*/
  display: block;
}

/* Открытие панели , цвет бордера и фона */
ul.jbar ul {
  border: 3px solid #a25f2a;     /*3D3D3D*/
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0px 0px 7px #a25f2a; /*3D3D3D*/
  -moz-box-shadow: 0px 0px 7px #a25f2a;    /*3D3D3D*/
  box-shadow: 0px 0px 7px #a25f2a;         /*3D3D3D*/
  -webkit-background-clip: padding-box;
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: none;
}

ul.jbar ul li {
  margin: 0;
  padding: 0;
  text-shadow: none;
  float: none;
  display: block;
  overflow: hidden;
  width: 100%;
}
 /* Панель , бекграунд */
ul.jbar ul li div {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 6px;
  color: #fff !important;
  text-decoration: none;
  text-shadow: 1px 1px 2px #292929;
  background-color: #a25f2a;
  background-image: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  filter: -;
  zoom: 1;
  height: auto;
  border-left: none;
  border-right: none;
}

ul.jbar ul li div:hover {
  background-color: #fff !important;
  background-image: none;
  color: #333 !important;
  text-shadow: none;
}

div.jbar_IE_zIndex_fix {
  position: relative;
  display: inline;
  zoom: 1;
}