
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 0.8;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;

  line-height: 1;
  float:right;
  z-index: 999;
      padding-top: 7px;

}
#cssmenu ul>li{
  position: relative;
}
#cssmenu ul>li:hover:before{
  content: "";
  width: 85%;
 background: rgba(255, 0, 0, 1);
  height:2px;
  position: absolute;
  bottom: 0;
  left:0;
  right:0;
  margin:0 auto;
  text-align: center;
}

#cssmenu > ul > li:hover .menu-line{
  display: inline !important;
}


#cssmenu > ul > li {
  float: left;
}
#cssmenu > ul {
  float: right;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding: 14px 13px;
  font-size: 15px;
  text-decoration: none;
  color: #55616b;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  text-transform: uppercase;
  font-weight: 800;

}
/*
#cssmenu > ul > li > a:before{
   content: url("../img/menu-line.png");
    position: absolute;
    top: 23px;
    right: 1px;
}
*/
#cssmenu > ul > li > a:hover {
  color:#be2025;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #be2025;
}


#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #009ae1;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding-top:25px;
}
#cssmenu ul ul li:first-child{
  position: relative;
}
#cssmenu ul ul li:first-child:before{
  content: "";
  width: 16px;
  height: 10px;
  background: url('../img/drop-caret.png');
  position: absolute;
  top:-8px;
  left:20px;
}

#cssmenu ul>li>ul>li:hover:before{
  display: none;
}
#cssmenu ul>li>ul>li:first-child:hover:before{
  display: block;
}

#cssmenu ul ul li:hover:before{
    right:initial;
    right:auto;
}

#cssmenu ul ul li:hover:first-child:before{

}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}
#cssmenu ul ul li:first-child a {
  -webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
#cssmenu ul ul li:last-child a {
  -webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
#cssmenu ul li:hover > ul > li {
  height: 42px;
  
}
#cssmenu ul ul li a {
  padding: 15.3px 25px;
  margin:0;
  width: 214px;
  font-size: 14px;
  background: #ff0000;
  text-decoration: none;
  color: #ffffff;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  border-bottom:1px solid #e10303;
  font-weight: 800;
 
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffffff;
  background: #e10303;
   transition:all .30s ease-in-out;
}
#cssmenu ul> li:hover ul>li a{
  color:#fff;
}
#cssmenu ul>li>ul>li:hover a{
  color:#fff;
}
#cssmenu ul ul li.has-sub:first-child > a::after {
  position: absolute;
  content:url('../img/menu-icon.png');
  top: 13px;
  right: 10px;
  width: 76px;
  height: 4px;
}
#cssmenu ul ul li.has-sub:nth-child(2) > a::after {
  position: absolute;
  content:url('../img/menu-icon2.png');
  top: 13px;
  right: 10px;
  width: 76px;
  height: 4px;
}
#cssmenu ul ul li.has-sub:nth-child(3) > a::after {
  position: absolute;
  content:url('../img/menu-icon3.png');
  top: 13px;
  right: 10px;
  width: 76px;
  height: 4px;
}


#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}




/* kn-custom */
#cssmenu > ul > li:hover a{color:#be2025;transition:all .30s ease-in-out;}

@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
    background: #9BAED3;
  }
  #cssmenu > ul > li > a{
    color:#fff !important;
  }
  #cssmenu ul ul li:first-child:before{
    display: none;
  }
  #cssmenu ul>li:hover:before{
    display: none;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 20px 20px 20px 30px;
    font-size: 12px;
    color: #fff;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #000000;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
      #cssmenu > ul > li > a{   
    padding: 14px 17px;
 
    font-size: 13px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 20px;
    color:#fff;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;

    font-weight: bold;
  }
  #cssmenu ul ul li a{
    border:none;
  }
   #cssmenu #menu-button::before {
        content: '';
   
        position: absolute;
    z-index: 999;
   top:15px;
    right: 20px;
    width: 24px;
    height: 30px;
    display: block;
    text-align: center;
    background: url(../img/menu.svg) top right no-repeat;
    transition: all .25s ease;
  }
  #cssmenu .menu-opened::before{
        background: url(../img/menu.svg) top left no-repeat !important;
  }

  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.15);
    height: 38px;
    width: 52px;
    cursor: pointer;

  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #fff;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 21px;
    display: block;
    width: 11px;
    height: 1px;
    background: #fff;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}
