#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;
  padding: 0;
  position: relative;
}
#nav_menu{
  position: relative;
}
#cssmenu {
width: 100%;
    margin: 0 auto;
    position: inherit;
    bottom: 0px;
}
#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;
  float: right;
  padding-top: 21px;
}
#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: #1866b1;
  font-size: 15px;
  text-transform: uppercase;
  padding: 10px 17px;
  -webkit-transition: all 0.4s;
  font-weight: 500;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  font-family: Roboto;
}
#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 {
  background-color: #1866b1;
  color: #fff;
  position: relative;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 10px;
}

#cssmenu > ul > li:first-child > a:after {
  content: '';
  display: block;
  height: 27px;
  width: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: url(../images/menubg_01.png) left bottom no-repeat;
  background-size: 100% 27px;
}
#cssmenu > ul > li:first-child > a:before {
  content: '';
  display: block;
  height: 27px;
  width: 50%;
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  background: url(../images/menubg_02.png) left bottom no-repeat;
  background-size: 100% 27px;
}

#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{
}
#cssmenu > ul > li a:hover{
  background-color: #1866b1;
  color: #fff;
  position: relative;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 10px;
}
#cssmenu > ul > li.sub1 a:hover:after{
  content: '';
  display: block;
  height: 27px;
  width: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: url(../images/menubg_01.png) left bottom no-repeat;
  background-size: 100% 27px;
}
#cssmenu > ul > li.sub1 a:hover:before{
  content: '';
  display: block;
  height: 27px;
  width: 50%;
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  background: url(../images/menubg_02.png) left bottom no-repeat;
  background-size: 100% 27px;
}


#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: 250px;
  top: 100%;
  left: 0;
  padding: 1px 0px 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: #792d39;
  border-bottom: 1px solid #8a3341;
  font-size: 13px;
  filter: none;
  display: block;
  line-height: 120%;
  padding: 12px 5px 12px 30px;
  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: #c8a741;
    color: white;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0px;
}
#cssmenu .has-sub .has-sub:hover > ul {
  display: block;
  padding-top: 0px;
}


#cssmenu ul li ul li:first-child > a {
}	
#cssmenu ul li ul li:last-child > a {
}
#cssmenu ul li ul li:before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background-color: #c8a741;
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top: -3.5px;
}

#cssmenu ul li ul:hover li:before {
    background-color: white;
}

#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: #444444;
  border-bottom: 1px solid #545454;
}
#cssmenu .has-sub .has-sub ul li a:hover {
}

#cssmenu .has-sub ul li a:hover:after{
  background: none;
}
#cssmenu .has-sub ul li a:hover:before{
  background: none;
}
#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;
}
