#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;
  padding: 0;
  position: relative;
}
#nav_menu{
    position: relative;
    z-index: 2;
    background: #888888;
    margin: 0 auto;
    width: 100%;
    height: auto;
}
#cssmenu {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
#cssmenu:after,
#cssmenu ul:after {
  content: '';
  display: block;
  clear: both;
}
#cssmenu h2{
    font-size: inherit;
    margin: 0px;
    line-height: inherit;
    font-weight: 500;
}
#cssmenu a {
    color: #ffffff;
    display: block;
    padding: 0px 12px;
    text-decoration: none;
    text-transform: initial;
}
#cssmenu ul{
    list-style: none;
    margin: 0 auto;
    position: relative;
}
#cssmenu > ul > li {
	display: inline-block;
    float: left;
    margin: 0px 0px;
    margin-right: 0px;
    -webkit-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;	
}
#cssmenu.align-center {
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 25px;
    -webkit-transition: all 0.4s;
    font-weight: 500;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
border-right: 1px #858585 solid;
    border-left: 1px #858585 solid;
}
#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 #0fa1e0;
  margin-left: -10px;*/

}
#cssmenu > ul > li:first-child{

}
#cssmenu > ul > li:first-child > a {
    border-right: 0px;
    border-left: 0px;
}
#cssmenu.align-right > ul > li:first-child > a,
#cssmenu.align-center > ul > li:first-child > a {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}
#cssmenu > ul > li:last-child > a {
	background: none;
	border-right:0px;
}
#cssmenu > ul > li.active > a{
       background: #393e40;
}
#cssmenu > ul > li:hover{
	background: #393e40;
}


#cssmenu .has-sub {
  z-index: 9999;
}
#cssmenu .has-sub:hover > ul {
  display: block;
}
#cssmenu .has-sub ul {
	display: none;
	margin-top: 0px;
	position: absolute;
	width: 230px;
	top: 100%;
	left: 0;
	padding: 0px 0px; 
}
#cssmenu.align-right .has-sub ul {
  left: auto;
  right: 0;
}
#cssmenu .has-sub ul li {
  *margin-bottom: -1px;
}
#cssmenu .has-sub ul li a {
    background: #f8171f;
    border-bottom: 1px solid #fd2830;
    font-size: 13px;
    filter: none;
    display: block;
    line-height: 120%;
    padding: 10px;
    color: white;
    text-align: left;
}
#cssmenu .has-sub ul li:hover a {
	-webkit-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;	
}
#cssmenu ul ul li:hover > a {
    background: #d4151c;
    color: white;
}
#cssmenu .has-sub .has-sub:hover > ul {
  display: block;
}

#cssmenu ul li ul li:first-child > a {
}	
#cssmenu ul li ul li:last-child > a {
}	

#cssmenu .has-sub .has-sub ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}
#cssmenu.align-right .has-sub .has-sub ul,
#cssmenu.align-right ul ul ul {
  left: auto;
  right: 100%;
}
#cssmenu .has-sub .has-sub ul li a {
    background: #888888;
    border-bottom: 1px solid #0b83d2;
}
#cssmenu .has-sub .has-sub ul li a:hover {
    background: #d4151c;
    color: white;
}
#cssmenu ul ul li.last > a,
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul ul li.last > a,
#cssmenu ul ul ul li:last-child > a,
#cssmenu .has-sub ul li:last-child > a,
#cssmenu .has-sub ul li.last > a {
  border-bottom: 0;
}
