#menu ul,
#menu li,
#menu span,
#menu a {
  margin: 0;
  padding: 0;
  position: relative;
}

#menu {
  height: 49px;
  background: #141414;
  background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
  background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
  background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#32323a', EndColorStr='#141414', GradientType=0);
  border-bottom: 2px solid #0fa1e0;
}

#menu:after,
#menu ul:after {
  content: '';
  display: block;
  clear: both;
}

#menu a {
  background: #141414;
  background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
  background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
  background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
  background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#32323a', EndColorStr='#141414', GradientType=0);
  color: #ffffff;
  display: inline-block;
  font-family: Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  line-height: 49px;
  padding: 0 20px;
  text-decoration: none;
}

#menu ul {
  list-style: none;
}

#menu > ul {
/* display:inline-block !important; 
text-align:center !important;
height:49px; */
  float: left; 
}

/*#menu ul li {
display:inline-block !important;
text-align:center !important;
}*/

#menu > ul > li {
/* display:inline-block !important;
text-align:center !important;
height:49px; */
  float: left; 
}

#menu > ul > li:hover:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #0fa1e0;
  margin-left: -10px;
}

#menu > ul > li.active > a {
  box-shadow: inset 0 0 3px #000000;
  -moz-box-shadow: inset 0 0 3px #000000;
  -webkit-box-shadow: inset 0 0 3px #000000;
  background: #070707;
  background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
  background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
  background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
}

#menu > ul > li:hover > a {
  background: #070707;
  background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
  background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
  background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
  background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
  filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
  box-shadow: inset 0 0 3px #000000;
  -moz-box-shadow: inset 0 0 3px #000000;
  -webkit-box-shadow: inset 0 0 3px #000000;
}

div#menu.menu ul li a.onlinestate {
color:#009900;
}

#menu > ul > li:hover > a.onlinestate {
background:#000000;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

div#menu.menu ul li a.offlinestate {
color:#FF0000;
}

#menu > ul > li:hover > a.offlinestate {
 background:#000000;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

div#menu.menu ul li a.loadingstate {
color:#FF9900;
}

#menu > ul > li:hover > a.loadingstate {
background:#000000;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}



/* left */

#menu .sub-left {
  z-index: 1;
}

#menu .sub-left:hover > ul {
  display: block;
}

#menu .sub-left ul {
  display: none;
  position: absolute;
  width: 200px;
  top: 100%;
  left: 0;
}


#menu .sub-left ul li {
  *margin-bottom: -1px;
}

#menu .sub-left ul li a {
  background: #0fa1e0;
  border-bottom: 1px dotted #6fc7ec;
  filter: none;
  font-size: 11px;
  display: block;
  line-height: 120%;
  padding: 10px;
}

#menu .sub-left ul li:hover a {
  background: #0c7fb0;
}

#menu .sub-left .sub-left:hover > ul {
  display: block;
}

#menu .sub-left .sub-left ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}

#menu .sub-left .sub-left ul li a {
  background: #0c7fb0;
  border-bottom: 1px dotted #6db2d0;
}

#menu .sub-left .sub-left ul li a:hover {
  background: #095c80;
}

#menu .sub-left .sub-left .sub-left:hover > ul {
  display: block;
}

#menu .sub-left .sub-left .sub-left ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}

#menu .sub-left .sub-left .sub-left ul li a {
  background: #0c7fb0;
  border-bottom: 1px dotted #6db2d0;
}

#menu .sub-left .sub-left .sub-left ul li a:hover {
  background: #095c80;
}


/* right */

#menu .sub-right {
  z-index: 1;
}

#menu .sub-right:hover > ul {
  display: block;
}

#menu .sub-right ul {
  display: none;
  position: absolute;
  width: 200px;
  top: 100%;
  right:0;
}

#menu .sub-right ul li {
  *margin-bottom: -1px;
}

#menu .sub-right ul li a {
  background: #0fa1e0;
  border-bottom: 1px dotted #6fc7ec;
  filter: none;
  font-size: 11px;
  display: block;
  line-height: 120%;
  padding: 10px;
}

#menu .sub-right ul li:hover a {
  background: #0c7fb0;
}

#menu .sub-right .sub-right:hover > ul {
  display: block;
}

#menu .sub-right .sub-right ul {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  float:right;
}

#menu .sub-right .sub-right ul li a {
  background: #0c7fb0;
  border-bottom: 1px dotted #6db2d0;
}

#menu .sub-right .sub-right ul li a:hover {
  background: #095c80;
}
