/** menu css **/
#cssmenu .navbar-brand {
  float: left;
}
nav#cssmenu {
  display: flex;
  justify-content: space-between;
}
#cssmenu:after,
#cssmenu > ul:after {
  display: none !important;
}
#cssmenu {
  padding: 0;
}
/* .topbarcontact ul li:last-child {
  padding-right: 0;
} */
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #head-mobile {
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu ul {
  margin: 0;
  padding: 0px;
  float: right;
  z-index: 999999;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #head-mobile {
  display: none;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu > ul > li > a {
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  padding: 14px 0px;
  position: relative;
  transition: all 200ms linear;
  text-align: center;
}
#cssmenu > ul > li.active a {
  background: rgb(17, 17, 17);
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.2721463585434174) 0%,
    rgb(45 119 154) 50%,
    rgba(17, 17, 17, 0.2721463585434174) 100%
  );
  /* font-weight: 400; */
}

#cssmenu > ul > li > a:hover {
  background: rgb(17, 17, 17);
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.2721463585434174) 0%,
    rgb(45 119 154) 50%,
    rgba(17, 17, 17, 0.2721463585434174) 100%
  );
}
#cssmenu > ul > li > a.actived:after {
  bottom: 0;
  opacity: 1;
}
#cssmenu > ul > li > a:after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #000;
  opacity: 0;
  transition: all 200ms linear;
}
#cssmenu > ul > li a:hover:after {
  bottom: 0;
  opacity: 1;
}
#cssmenu > ul > li > a.active {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #000;
  opacity: 1;
  transition: all 200ms linear;
}
#cssmenu > ul > li:last-child > a {
  border: 0px;
}
/* #cssmenu > ul > li:hover > a,#cssmenu ul li.active a{color:#004680} */
#cssmenu ul li.active ul li a {
  color: #fff;
}
/* #cssmenu > ul > li:hover,#cssmenu ul li.active:hover,#cssmenu ul li.active,#cssmenu ul li.has-sub.active:hover{color:#004680;} */
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 20px;
  right: 14px;
  display: block;
  width: 12px;
  height: 8px;
  background: url("../images/dropdown_icon.svg");
  content: "";
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background-repeat: no-repeat;
}
#cssmenu > ul > li.active.has-sub > a:before,
#cssmenu > ul > li.has-sub:hover a:before {
  position: absolute;
  top: 20px;
  right: 14px;
  display: block;
  width: 12px;
  height: 8px;
  background: url("../images/dropdownb_icon.svg");
  content: "";
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background-repeat: no-repeat;
}
#cssmenu > ul > li.has-sub:hover ul li a:before {
  display: none;
}
/* #cssmenu ul ul {
  position: absolute;
  left: -9999px;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  background: #111111;
  transition: all 0.25s ease;
  border-bottom: 1px solid #ccc;
}
#cssmenu li:hover > ul {
  left: auto;
  margin: 0;
}
#cssmenu li:hover > ul > li {
  height: 45px;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu ul ul li:hover,
#cssmenu ul ul li.has-sub:hover,
#cssmenu ul li.has-sub ul li.has-sub ul li:hover {
  background: #3b9dcc;
}
#cssmenu ul ul li a {
  padding: 0px 15px;
  width: 253px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  text-transform: capitalize;
  line-height: 45px;
  margin: 0;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #fff;
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 17px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #ddd;
  content: "";
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 14px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #ddd;
  content: "";
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}
#cssmenu ul ul li.has-sub:hover,
#cssmenu ul li.has-sub ul li.has-sub ul li:hover {
  background: #363636;
}
#cssmenu ul ul ul li.active a {
  border-left: 1px solid #333;
}
#cssmenu > ul > li.has-sub > ul > li.active > a,
#cssmenu > ul ul > li.has-sub > ul > li.active > a {
  border-top: 1px solid #333;
}

#cssmenu ul {
  float: right;
  z-index: 9999;
} */

@media screen and (max-width: 1023px) {
  .button {
    width: 35px;
    height: 35px;
    position: absolute;
    right: 20px;
    cursor: pointer;
    z-index: 12399994;
    border: #3b9dcc 1px solid;
    text-align: center;
    border-radius: 4px;
    top: 22px;
  }
  .button::before {
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: absolute;
    top: 11px;
    right: 0;
    display: block;
    height: 2px;
    width: 20px;
    background: #3b9dcc;
    content: "";
    left: 0;
    margin: auto;
  }
  .button::after {
    position: absolute;
    top: 19px;
    right: 0px;
    display: block;
    height: 4px;
    width: 20px;
    border-bottom: 2px solid #3b9dcc;
    content: "";
    left: 0px;
    margin: auto;
  }
  .button.menu-opened::before {
    top: 15px;
    background: #3b9dcc;
    width: 19px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .button.menu-opened::after {
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    top: 15px;
    border: 0;
    height: 2px;
    width: 19px;
    background: #3b9dcc;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #cssmenu .button {
    width: 35px;
    height: 35px;
    position: absolute;
    right: 2px;
    cursor: pointer;
    z-index: 12399994;
    border: #3b9dcc 1px solid;
    text-align: center;
    border-radius: 4px;
    top: 14px;
  }
  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    height: 100%;
    display: none;
    background: #111111;
    margin: 10px 0 0;
  }
  #cssmenu ul li {
    width: 100%;
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
    border-bottom: 0;
    padding: 6px 10px;
    clear: both;
    display: block;
    font-size: 16px;
    color: #fff;
  }
  #cssmenu > ul > li {
    float: none;
    color: #fff;
  }
  #cssmenu ul ul li a {
    padding-left: 25px;
  }
  /* #cssmenu ul ul li {
    background: #3b9dcc !important;
  }
  #cssmenu ul ul li:hover {
    background: #3b9dcc !important;
  } */
  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }
  #cssmenu ul ul li a {
    color: #ddd;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color: #fff;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul > li.has-sub > a:after,
  #cssmenu ul ul > li.has-sub > a:before {
    display: none;
  }
  #cssmenu #head-mobile {
    display: block;
    padding: 23px;
    color: #ddd;
    font-size: 12px;
    font-weight: 700;
  }
  .button.menu-opened:after {
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    top: 16px;
    border: 0;
    height: 2px;
    width: 19px;
    background: #3b9dcc;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .button.menu-opened:before {
    top: 16px;
    background: #3b9dcc;
    width: 19px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid #000000;
    height: 41px;
    width: 37px;
    cursor: pointer;
    background: #8b8b8b;
  }
  #cssmenu .submenu-button.submenu-opened {
    background: #3b9dcc;
  }
  #cssmenu ul ul .submenu-button {
    height: 36px;
    width: 36px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 20px;
    right: 14px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: "";
  }
  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background: #fff;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 17px;
    right: 17px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: "";
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
  #cssmenu ul ul ul li.active a {
    border-left: none;
  }
  #cssmenu > ul > li.has-sub > ul > li.active > a,
  #cssmenu > ul ul > li.has-sub > ul > li.active > a {
    border-top: none;
  }
  #cssmenu > ul > li:hover > a,
  #cssmenu ul li.active a {
    color: #fff;
  }
  .logo {
    margin-left: 15px;
  }
  .logo a img {
    width: 110px;
  }
}
