@import url("https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,500i");

#cssmenu{
  --color-main:#5a5a5a;
}

/*#cssmenu li:not(:last-of-type){margin-bottom:5px !important;}*/

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;

  padding: 0;

  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:after,
#cssmenu > ul:after {
  content: ".";

  display: block;

  clear: both;

  visibility: hidden;

  line-height: 0;

  height: 0;
}

#cssmenu #menu-button {
  display: none;
}

#cssmenu {
  width: auto;

  font-family: "Poppins", sans-serif;

  line-height: 1;
}

#cssmenu > ul > li {
  float: left;
  width: 100%;
}

#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: 10px 12px;

  font-size: 14px;

  text-decoration: none;

  text-transform: uppercase;

  color: var(--color-white);

  -webkit-transition: color 0.2s ease;

  -moz-transition: color 0.2s ease;

  -ms-transition: color 0.2s ease;

  -o-transition: color 0.2s ease;

  transition: color 0.2s ease;

  transition: 0.5s;

  font-weight: 600;
  text-align: left;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: var(--color-main);

  background-color: #fff;
}

#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}

#cssmenu > ul > li.has-sub > a::after {
  position: absolute;

  top: 40%;

  right: 10px;

  width: 8px;

  height: 8px;

  border-bottom: 1px solid #fff;

  border-right: 1px solid #fff;

  content: "";

  -webkit-transform: rotate(45deg) translateY(-50%);

  -moz-transform: rotate(45deg) translateY(-50%);

  -ms-transform: rotate(45deg) translateY(-50%);

  -o-transform: rotate(45deg) translateY(-50%);

  transform: rotate(45deg) translateY(-50%);

  -webkit-transition: border-color 0.2s ease;

  -moz-transition: border-color 0.2s ease;

  -ms-transition: border-color 0.2s ease;

  -o-transition: border-color 0.2s ease;

  transition: border-color 0.2s ease;
}

#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: var(--color-main);
}

#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  padding: 10px;
  background-color: var(--color-black);
  border-radius:10px;
}

#cssmenu li:hover > ul {
  /* left: auto; */
  left: 100%;
  top: -10px;
}

#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;
  background-color: orangered !important;

  -webkit-transition: height 0.2s ease;

  -moz-transition: height 0.2s ease;

  -ms-transition: height 0.2s ease;

  -o-transition: height 0.2s ease;

  transition: height 0.2s ease;
}

#cssmenu ul li:hover > ul > li {
  height: 38px;
  background-color: transparent !important;
}

#cssmenu ul ul li a {
  padding: 13px 12px;

  width: 225px;

  font-size: 13px;

  background: rgb(255, 255, 255, 0.9);

  text-decoration: none;

  color: #000;

  -webkit-transition: color 0.2s ease;

  -moz-transition: color 0.2s ease;

  -ms-transition: color 0.2s ease;

  -o-transition: color 0.2s ease;

  transition: color 0.2s ease;

  transition: 0.5s;
  font-weight: 550;
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #fff;

  background-color: var(--color-main);

  padding-left: 10px;
}

#cssmenu ul ul li.has-sub > a::after {
  position: absolute;

  top: 16px;

  right: 10px;

  width: 6px;

  height: 6px;

  border-bottom: 1px solid #000;

  border-right: 1px solid #000;

  content: "";

  -webkit-transform: rotate(-45deg);

  -moz-transform: rotate(-45deg);

  -ms-transform: rotate(-45deg);

  -o-transform: rotate(-45deg);

  transform: rotate(-45deg);

  -webkit-transition: border-color 0.2s ease;

  -moz-transition: border-color 0.2s ease;

  -ms-transition: border-color 0.2s ease;

  -o-transition: border-color 0.2s ease;

  transition: border-color 0.2s ease;
}

#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;
}

@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%;
  }

  #cssmenu ul {
    width: 100%;

    display: none;

    background-color: #333;
  }

  #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 > li > a {
    color: #fff;
  }

  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #fff;

    background-color: #ff0a0a;
  }

  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }

  #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: 12px;

    text-transform: uppercase;

    background-color: #000;
  }

  #cssmenu #menu-button::after {
    content: "";

    position: absolute;

    top: 20px;

    right: 20px;

    display: block;

    width: 15px;

    height: 2px;

    background: #fff;
  }

  #cssmenu #menu-button::before {
    content: "";

    position: absolute;

    top: 25px;

    right: 20px;

    display: block;

    width: 15px;

    height: 3px;

    border-top: 2px solid #fff;

    border-bottom: 2px solid #000000;
  }

  #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: 52px;

    width: 52px;

    cursor: pointer;
  }

  #cssmenu .submenu-button::after {
    content: "";

    position: absolute;

    top: 21px;

    left: 26px;

    display: block;

    width: 1px;

    height: 11px;

    background: #fff;

    z-index: 99;
  }

  #cssmenu .submenu-button::before {
    content: "";

    position: absolute;

    left: 21px;

    top: 26px;

    display: block;

    width: 11px;

    height: 1px;

    background: #fff;

    z-index: 99;
  }

  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}

/*----------------------

   Responsive

---------------------------------*/

#cssmenu2,
#cssmenu2 ul,
#cssmenu2 ul li,
#cssmenu2 ul li a,
#cssmenu2 #menu-button {
  margin: 0;

  padding: 0;

  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;
}

#cssmenu2:after,
#cssmenu2 > ul:after {
  content: ".";

  display: block;

  clear: both;

  visibility: hidden;

  line-height: 0;

  height: 0;
}

#cssmenu2 #menu-button {
  display: none;
}

#cssmenu2 {
  width: auto;

  font-family: "Poppins", sans-serif;

  line-height: 1;
}

#cssmenu2 > ul > li {
  float: left;
}

#cssmenu2.align-center > ul {
  font-size: 0;

  text-align: center;
}

#cssmenu2.align-center > ul > li {
  display: inline-block;

  float: none;
}

#cssmenu2.align-center ul ul {
  text-align: left;
}

#cssmenu2.align-right > ul > li {
  float: right;
}

#cssmenu2.align-right ul ul {
  text-align: right;
}

#cssmenu2 > ul > li > a {
  padding: 17px;

  font-size: 14px;

  text-decoration: none;

  text-transform: uppercase;

  color: #fff;

  -webkit-transition: color 0.2s ease;

  -moz-transition: color 0.2s ease;

  -ms-transition: color 0.2s ease;

  -o-transition: color 0.2s ease;

  transition: color 0.2s ease;

  transition: 0.5s;

  font-weight: 550;
}

#cssmenu2 > ul > li:hover > a,
#cssmenu2 > ul > li.active > a {
  color: var(--color-main);

  background-color: #fff;
}

#cssmenu2 > ul > li.has-sub > a {
  padding-right: 25px;
}

#cssmenu2 > ul > li.has-sub > a::after {
  position: absolute;

  top: 18px;

  right: 10px;

  width: 8px;

  height: 8px;

  border-bottom: 1px solid #fff;

  border-right: 1px solid #fff;

  content: "";

  -webkit-transform: rotate(45deg);

  -moz-transform: rotate(45deg);

  -ms-transform: rotate(45deg);

  -o-transform: rotate(45deg);

  transform: rotate(45deg);

  -webkit-transition: border-color 0.2s ease;

  -moz-transition: border-color 0.2s ease;

  -ms-transition: border-color 0.2s ease;

  -o-transition: border-color 0.2s ease;

  transition: border-color 0.2s ease;
}

#cssmenu2 > ul > li.has-sub:hover > a::after {
  border-color: var(--color-main);
}

#cssmenu2 ul ul {
  position: absolute;

  left: -9999px;
}

#cssmenu2 li:hover > ul {
  left: auto;
}

#cssmenu2.align-right li:hover > ul {
  right: 0;
}

#cssmenu2 ul ul ul {
  margin-left: 100%;

  top: 0;
}

#cssmenu2.align-right ul ul ul {
  margin-left: 0;

  margin-right: 100%;
}

#cssmenu2 ul ul li {
  height: 0;

  -webkit-transition: height 0.2s ease;

  -moz-transition: height 0.2s ease;

  -ms-transition: height 0.2s ease;

  -o-transition: height 0.2s ease;

  transition: height 0.2s ease;
}

#cssmenu2 ul li:hover > ul > li {
  height: 35px;
}

#cssmenu2 ul ul li a {
  padding: 12px 15px;

  width: 210px;

  font-size: 13px;

  background: #fff;

  text-decoration: none;

  color: #000;

  -webkit-transition: color 0.2s ease;

  -moz-transition: color 0.2s ease;

  -ms-transition: color 0.2s ease;

  -o-transition: color 0.2s ease;

  transition: color 0.2s ease;

  transition: 0.5s;
}

#cssmenu2 ul ul li:hover > a,
#cssmenu2 ul ul li a:hover {
  color: #fff;

  background-color: var(--color-main);

  padding-left: 10px;
}

#cssmenu2 ul ul li.has-sub > a::after {
  position: absolute;

  top: 13px;

  right: 10px;

  width: 4px;

  height: 4px;

  border-bottom: 1px solid #dddddd;

  border-right: 1px solid #dddddd;

  content: "";

  -webkit-transform: rotate(-45deg);

  -moz-transform: rotate(-45deg);

  -ms-transform: rotate(-45deg);

  -o-transform: rotate(-45deg);

  transform: rotate(-45deg);

  -webkit-transition: border-color 0.2s ease;

  -moz-transition: border-color 0.2s ease;

  -ms-transition: border-color 0.2s ease;

  -o-transition: border-color 0.2s ease;

  transition: border-color 0.2s ease;
}

#cssmenu2.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;
}

#cssmenu2 ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}

@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) {
  #cssmenu2 {
    width: 100%;
  }

  #cssmenu2 ul {
    width: 100%;

    display: none;

    background-color: #333;
  }

  #cssmenu2.align-center > ul,
  #cssmenu2.align-right ul ul {
    text-align: left;
  }

  #cssmenu2 ul li,
  #cssmenu2 ul ul li,
  #cssmenu2 ul li:hover > ul > li {
    width: 100%;

    height: auto;

    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }

  #cssmenu2 ul li a,
  #cssmenu2 ul ul li a {
    width: 100%;
  }

  #cssmenu2 > ul > li,
  #cssmenu2.align-center > ul > li,
  #cssmenu2.align-right > ul > li {
    float: none;

    display: block;
  }

  #cssmenu2 ul ul li a {
    padding: 20px 20px 20px 30px;

    font-size: 12px;

    color: #fff;

    background: none;
  }

  #cssmenu2 > ul > li > a {
    color: #fff;
  }

  #cssmenu2 ul ul li:hover > a,
  #cssmenu2 ul ul li a:hover {
    color: #fff;

    background-color: #ff0a0a;
  }

  #cssmenu2 ul ul ul li a {
    padding-left: 40px;
  }

  #cssmenu2 ul ul,
  #cssmenu2 ul ul ul {
    position: relative;

    left: 0;

    right: auto;

    width: 100%;

    margin: 0;
  }

  #cssmenu2 > ul > li.has-sub > a::after,
  #cssmenu2 ul ul li.has-sub > a::after {
    display: none;
  }

  #menu-line {
    display: none;
  }

  #cssmenu2 #menu-button {
    display: block;

    padding: 20px;

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    text-transform: uppercase;

    background-color: #000;
  }

  #cssmenu2 #menu-button::after {
    content: "";

    position: absolute;

    top: 20px;

    right: 20px;

    display: block;

    width: 15px;

    height: 2px;

    background: #fff;
  }

  #cssmenu2 #menu-button::before {
    content: "";

    position: absolute;

    top: 25px;

    right: 20px;

    display: block;

    width: 15px;

    height: 3px;

    border-top: 2px solid #fff;

    border-bottom: 2px solid #000000;
  }

  #cssmenu2 .submenu-button {
    position: absolute;

    z-index: 10;

    right: 0;

    top: 0;

    display: block;

    border-left: 1px solid rgba(120, 120, 120, 0.15);

    height: 52px;

    width: 52px;

    cursor: pointer;
  }

  #cssmenu2 .submenu-button::after {
    content: "";

    position: absolute;

    top: 21px;

    left: 26px;

    display: block;

    width: 1px;

    height: 11px;

    background: #fff;

    z-index: 99;
  }

  #cssmenu2 .submenu-button::before {
    content: "";

    position: absolute;

    left: 21px;

    top: 26px;

    display: block;

    width: 11px;

    height: 1px;

    background: #fff;

    z-index: 99;
  }

  #cssmenu2 .submenu-button.submenu-opened:after {
    display: none;
  }
}
