/* menu-css */
.header-menu li span,
.header-menu li a {
  display: inline-block;
  padding: 5px;
  transition: none;
  line-height: 1;
}

.header-primary .header-menu li span:is(:focus, :hover),
.header-primary .header-menu li a:is(:focus, :hover) {
  color: var(--c-primary);
}
.header-menu > li > span,
.header-menu > li > a {
  padding: 5px 10px;
  margin: 0px 7px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.header-secondary .header-menu > li > span,
.header-secondary .header-menu > li > a {
  padding: 2.4rem 11px;
  font-size: 14px;
}

/* @media screen and (min-width: 1200px) { */
.header-menu {
  display: flex;
  align-items: center;
}

/* } */
/* .header-menu > li > a::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
} */
/* .header-menu > li:is(:hover, :focus-within) a:before {
  width: 24px;
} */
.header-menu > li:first-child > span,
.header-menu > li:first-child > a {
  margin-right: 0;
  padding-right: 0;
}
.wrap-menu {
  width: 100%;
}
.header-menu li.megatab .level-0.sub-menu {
  padding: 0 !important;
}
.header-menu > li > .sub-menu {
  min-height: 0;
  height: 0;
}
.header-menu > li:is(:hover, :focus-within, :focus) > .sub-menu {
  min-height: auto;
  height: auto;
}

/* @keyframes bounceInDown {
  from,
  to {
    -webkit-animation-timing-function: cubic-bezier(1, 0.05, 0.31, 0.57);
    animation-timing-function: cubic-bezier(1, 0.05, 0.31, 0.57);
  }
  from {
    transform: translate3d(0, 0.2rem, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0rem, 0) scale(1);
    opacity: 1;
  }
} */
.sub-menu {
  overflow: hidden;
  position: absolute;
  top: 96%;
  right: 0;
  left: auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 300px;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s;
}
.header__dropdown .sub-menu {
  left: 0;
  right: auto;
}
.header-menu > li.simple-menu .sub-menu.no--mega > li {
  margin: 4px 5px;
  padding-left: 55px;
}

/* .header__dropdown .header-menu > li.simple-menu .sub-menu.no--mega > li {
  margin: 4px 5px;
  padding-right: 55px;
  padding-left: 0;
} */
.header-menu > li.simple-menu .sub-menu.no--mega > li:not(:last-child) {
  border-bottom: 1px solid #71717114;
}
.header-menu li:is(:hover, :focus-within, :focus) > .sub-menu {
  visibility: visible;
  margin-top: 0;
  z-index: 99;
  overflow: visible;
  opacity: 1;
}

.header-menu li > .sub-menu {
  border-radius: 2px;
}
.header-menu li > .mega-tabmenu .sub-menu,
.header-menu li > .mega-tabmenu.sub-menu {
  box-shadow: unset !important;
  padding: 0 !important;
  height: 100%;
}
.megatab .sub-menu,
.mega-menu > .sub-menu {
  width: auto;
  max-width: unset;
}
.header-menu li > .mega-tabmenu .sub-menu {
  /* flex-direction: column; */
  /* display: flex; */
  align-items: start;
}
.header-menu > .menu-item-has-children > span:after,
.header-menu > .menu-item-has-children > a:after {
  content: "\e901";
  font-family: "icomoon";
  margin-right: 9.7px;
  font-size: 7px;
}

.header--2 .header-menu > .menu-item-has-children > span:after,
.header--2 .header-menu > .menu-item-has-children > a:after {
  border: solid #000;
  border-width: 0 1px 1px 0;
}

.header-menu li {
  position: relative;
}
.header-menu li.megatab {
  position: static;
}

.header-menu li ul li ul {
  top: -5px;
  right: calc(100% - 0px);
}
.header__dropdown .header-menu li ul li ul {
  left: calc(100% + 5px);
}

/* .header-menu {
  position: relative;
} */
.header-menu > li {
  display: flex;
  flex-direction: column;
}
.header-menu > li.open-menu .level-0.sub-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  z-index: 100;
  height: auto;
  max-height: none;
  transition: 0.3s;
}
.level-0.sub-menu {
  width: 100%;
  height: auto;
}
.level-0.sub-menu > li {
  float: right;
  width: 100%;
  position: unset;
  height: 100%;
  min-height: inherit;
}
.level-0.sub-menu li ul {
  margin-top: 0;
  right: 0;
  top: 99%;
  border: none;
  width: 100%;
  position: static;
  transition: 0.3s;
}
.level-0.sub-menu > li > ul > li.active ul {
  visibility: visible;
  opacity: 1;
  height: 100%;
  /* display: flex;
  flex-direction: column; */
  flex-wrap: wrap;
}
.level-0.sub-menu > li > ul > li ul li {
  display: block;
}
.level-0.sub-menu > li > ul {
  width: 15%;
  float: right;
  left: 0;
  top: 100%;
  position: unset;
  margin-top: 0;
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
}
.level-0.sub-menu > li > ul > li > ul.sub-menu {
  width: 85%;
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  flex-wrap: wrap;
  transition: 0.3s;
  padding-top: 12px;
  visibility: hidden;
  opacity: 0;
  border: none;
  height: 0;
  max-height: 0;
  transition: none;
}
.header-menu li.megatab.open-menu .mega-tabmenu.sub-menu {
  opacity: 1;
  visibility: visible;
}
.level-0.sub-menu > li > ul > li.active > ul.sub-menu {
  /* visibility: visible;
  opacity: 1;
  z-index: 500;
  display: flex;
  height: 100%;
  max-height: none; */
  visibility: visible;
  opacity: 1;
  height: AUTO;
  max-height: none;
  z-index: 500;
}

.level-0.sub-menu > li > ul > li > ul.sub-menu > li > ul.sub-menu {
  /* border-right: 1px solid var(--c-primary); */
  height: 100%;
  flex-wrap: wrap;
  overflow: hidden;
}
.level-0.sub-menu > li > ul > li > ul.sub-menu > li > ul.sub-menu li {
  /* border-right: 1px solid #000; */
}
.level-0.sub-menu > li > ul > li > ul.sub-menu > li > ul.sub-menu li > a {
  position: relative;
  margin-left: 2px;
}
/* .level-0.sub-menu
  > li
  > ul
  > li
  > ul.sub-menu
  > li
  > ul.sub-menu
  li
  > a::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 13px;
  height: 1.5px;
  background-color: var(--c-primary);
  right: -9px;
  top: 13px;
  transform: rotate(111deg);
} */
.level-0.sub-menu > li > ul > li > ul.sub-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, -webkit-max-content));
  grid-template-columns: repeat(auto-fit, minmax(15rem, max-content));
  padding-right: 15px !important;
  padding-left: 15px !important;
  height: auto;
  max-height: none;
  /* grid-template-rows: minmax(0, 20rem); */

  /* width: 100%; */
  /* grid-auto-flow: column; */
  /* grid-auto-rows: minmax(0, 20rem); */
  -moz-column-gap: 2rem;
  column-gap: 2rem;
  row-gap: 2rem;
}
.level-0.sub-menu > li > ul > li > ul.sub-menu > li {
  /* flex: 0 0 33.33%;
  max-width: 33.33%; */
  /* padding: 0 31px;
  margin-bottom: 20px; */
  margin-top: 10px;
  position: relative;
  /* margin-right: 15px; */
  display: flex;
  flex-direction: column;
}
.level-0.sub-menu > li > ul > li > ul.sub-menu > li > a::before {
  /* content: "";
  position: absolute;
  right: -3px;
  bottom: 1px; */
  /* border-radius: 50%; */
  /* width: 7px;
  height: 6px;
  background: var(--c-secondary); */
  /* border-radius: 50%;  content: "";
  position: absolute;
  right: -3px;
  bottom: 1px;
  /* border-radius: 50%; */
  /* width: 7px;
  height: 6px;
  background: var(--c-secondary); */
}
.level-0.sub-menu > li > ul > li > a {
  display: flex;
  background-color: #fff;
  color: #000;
  position: relative;
  width: 100%;
  align-items: center;
  transition: none;
  padding: 14px 17px;
  border: none;
  transition: 0.2s;
  font-size: 14px;
  font-variation-settings: "wght" 400;
  font-weight: bold;
  border-left: 1px solid #f2f2f2;
}
.level-0.sub-menu > li > ul > li {
  /* border-bottom: 1px solid #cecece; */
  border-right: 1px solid #e9e9e9;
  position: static;
  display: flex;
  flex-grow: 1;
}

.sub-menu > li.menu-item-has-children > a:after,
.level-0.sub-menu > li > ul > li > a:after {
  content: "";
  border: solid #000;
  border-width: 1px 0 0 1px;
  display: inline-block;
  padding: 2px;
  transform: rotate(135deg);
  -webkit-transform: rotate(315deg) translateY(-50%);
  position: absolute;
  left: 11px;
  top: 50%;
  /* font-size: 3rem; */
  width: 0.8rem;
  height: 0.8rem;
}
/* .header__dropdown .sub-menu > li.menu-item-has-children > a:after,
.header__dropdown .level-0.sub-menu > li > ul > li > a:after {
  right: 11px;
  left: auto;
  border-width: 0 1px 1px 0;
} */
.tab--menu a:after {
  display: none !important;
}
.mega-tabmenu .sub-menu > li.menu-item-has-children > a:after {
  content: none;
}

.level-0.sub-menu > li > ul > li > ul.sub-menu > li > span,
.level-0.sub-menu > li > ul > li > ul.sub-menu > li > a {
  padding-bottom: 6px;
  background: var(--c-gray2);
  /* color: #fff; */
  border-radius: 5px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.7;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
  padding-top: 5px;
  font-size: 1.5rem;
}

.no--mega a {
  color: #0000009c;
  padding: 5px 0;
  display: inline-block;
  /* border-bottom: 1px dashed #dadada; */
  font-weight: normal;
  /* transition: 0.3s; */
  font-size: 14px;
  line-height: 1.4;
}

.no--mega a:is(:hover, :focus) {
  color: var(--c-primary);
}
.level-0.sub-menu a:is(:hover, :focus) {
  /* color: var(--c-secondary); */
}
.level-0.sub-menu > li > ul > li:last-child {
  /* border-bottom: none; */
}

.tab--menu > li > ul > li.active > a {
  background: #f9f9f9;
  color: var(--c-primary);
  /* border-top: 1px solid #e9e9e9; */
  /* border-bottom: 1px solid #e9e9e9; */
  vertical-align: middle;
}

.level-0.sub-menu > li > ul > li.active {
  /* border-left-color: #fff; */
}

/* Simple mega-menu */
.mega-menu .mega-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  /* width: 26rem; */
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0.4;
}
.mega--img {
  position: absolute;
  inset: 0;
}
.mega-menu > .sub-menu {
  width: auto;
  right: 0;
  left: 0;
  padding: 0;
  overflow: hidden;
  z-index: 91;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, -webkit-max-content));
  grid-template-columns: repeat(auto-fit, minmax(18rem, max-content));
  -moz-column-gap: 2rem;
  column-gap: 2rem;
  box-shadow: 0 10px 20px #0000001a;
  padding: 2rem 2rem 3rem;
}
.header-menu .mega-menu {
  position: static;
}

/* .mega-menu > ul > li {
  margin: 17px 0;
  padding: 0px 23px;
} */
.mega-menu a {
  /* transition: 0.3s; */
}
.mega-menu a:hover {
  color: var(--c-primary) !important;
}
.mega-menu .sub-menu .menu-item-has-children > a:after {
  content: none;
}

.mega-menu > .sub-menu .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  width: auto;
  transform: none;
  box-shadow: none;
  background: transparent;
  border: none;
}
.mega-menu > .sub-menu > li > a {
  border-bottom: 1px dashed #0040b021;
  padding: 9px;
  font-size: 14px;
  line-height: 1.4;
  font-size: 14px;
  line-height: 1.4;
  color: #303030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.mega-menu > .sub-menu > li > a:hover {
  background-color: #303030;
  color: #fff !important;
}
.mega-menu > .sub-menu > li > a::after {
  content: "\e902";
  font-family: "icomoon";
  font-size: 8px;
  opacity: 0.5;
}
.mega-menu > .sub-menu > li.menu-item-has-children > a {
  border-bottom: none;
  font-size: 15px;
  margin-bottom: 10px;
  background: #303030;
  color: #fff;
  text-align: center;
  /* border-radius: 0; */
  justify-content: center;
}
.mega-menu > .sub-menu > li.menu-item-has-children {
  /* background: #eeee;
  border-radius: 8px;
  padding: 5px 5px 10px; */
}
.mega-menu > .sub-menu > li.menu-item-has-children .sub-menu.no--mega a {
  padding: 11px 5px;
}
.header-menu > .simple-menu .sub-menu a {
  display: flex;
  font-size: 14px;
  padding: 7px;
}

@media screen and (max-width: 1200px) {
  .header-menu {
    padding: 0;
  }
}
.header__dropdown .header-menu > li {
}
.header__dropdown .header-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.header__dropdown .header-menu > li > a {
  color: var(--white);
  background-color: var(--color-gray-5);
  padding: 0 0.8rem;
  margin: 0;
  line-height: 1.9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 10.9rem;
  border-radius: 2px;
}
.header__dropdown .header-menu > .menu-item-has-children > span:after,
.header__dropdown .header-menu > .menu-item-has-children > a:after {
  border: solid #fff;
  border-width: 0 1px 1px 0;
}
