#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;
  padding: 0;
  position: relative;
}
#cssmenu {
	text-transform:uppercase;
  height: 38px;
  border-radius: 0px 0px 0 0;
  -moz-border-radius: 0px 0px 0 0;
  -webkit-border-radius: 0px 0px 0 0;

  border-bottom: 0px solid #333;
  
  width:100%;
}
#cssmenu:after,
#cssmenu ul:after {
  content: '';
  display: block;
  clear: both;
}
#cssmenu a {
  color: #ffffff;
  display: inline-block;
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 14px;

  line-height: 38px;
  padding: 0 26px;
  text-decoration: none;
  text-align:left;
}
#cssmenu ul {
  list-style: none;
  
}
#cssmenu > ul {
  float: left;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu > 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 #333;
  margin-left: -10px;
}
#cssmenu > ul > li:first-child > a {

}
#cssmenu > ul > li:last-child > a {

}
#cssmenu > 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: #3B3B3B;

}
#cssmenu > ul > li:hover > a {
  background: #04A7E5;

}
#cssmenu .has-sub {
  z-index: 1;
}
#cssmenu .has-sub:hover > ul {
  display: block;
}
#cssmenu .has-sub ul {
  display: none;
  position: absolute;
  width: 250px;
  top: 100%;
  left: 0;
}
#cssmenu .has-sub ul li {
  margin-bottom: -1px;
}
#cssmenu .has-sub ul li a {
  background: #3D3D3D;
  color:#fff;
  border-bottom: 1px dotted #42599D;
  filter: none;
  font-family: Calibri, "Trebuchet MS", sans-serif;
  font-size: 14px;
  display: block;
  line-height: 120%;
  padding: 10px;
}
#cssmenu .has-sub ul li:hover a {
  background: #3B3B3B;
}
#cssmenu .has-sub .has-sub:hover > ul {
  display: block;
}
#cssmenu .has-sub .has-sub ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}
#cssmenu .has-sub .has-sub ul li a {
  background: #00437d;
  border-bottom: 1px dotted #42599D;
}
#cssmenu .has-sub .has-sub ul li a:hover {
  background: #345105;
}