ul.megamenu {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media all and (min-width: 768px) {
  ul.megamenu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
  }
}
ul.megamenu li.level0 {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 {
    display: inline-block;
  }
}
ul.megamenu li.level0 a.level0 {
  text-decoration: none;
  font-weight: bold;
  color: var(--default-text-color);
  text-transform: uppercase;
  display: block;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  padding: 10px 0;
  border-top: 1px solid #EDEEF0;
  font-size: 16px;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 a.level0 {
    display: inline-block;
    border-top: none;
  }
}
ul.megamenu li.level0 a.level0 span {
  padding: 0 20px;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 a.level0 span {
    border-right: 1px solid var(--default-text-color);
  }
}
ul.megamenu li.level0 .sub0 {
  z-index: 2500;
  background-color: transparent;
  display: none;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(-40px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 > ul {
    background-color: var(--white-color);
    box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1), 0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}
ul.megamenu li.level0 .sub0 ul {
  list-style: none;
  margin: 0;
  box-sizing: border-box;
  padding: 0 10px;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 ul {
    padding: 10px 10px 0 10px;
  }
}
ul.megamenu li.level0 .sub0 ul li.level1 {
  margin: 0;
  padding: 0;
  position: relative;
  border-bottom: 1px solid var(--light-gray);
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 ul li.level1 {
    border-bottom: 1px solid var(--medium-gray);
  }
}
ul.megamenu li.level0 .sub0 ul li.level1 a.level1 {
  text-decoration: none;
  padding: 10px 20px;
  margin: 0;
  white-space: nowrap;
  display: block;
  color: var(--default-text-color);
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 ul li.level1 a.level1 {
    color: var(--default-text-color);
  }
}
ul.megamenu li.level0 .sub0 ul li.level1 a.level1:hover {
  color: var(--secondary-color);
}
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 {
  position: relative;
}
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2 a.level2 {
  text-decoration: none;
  padding: 5px 20px 10px 30px;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  display: block;
  color: var(--default-text-color);
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2 a.level2 {
    color: var(--white-color);
  }
}
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2 a.level2::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: normal;
  font-size: 12px;
  color: var(--default-text-color);
  margin-right: 8px;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2 a.level2::before {
    color: var(--white-color);
  }
}
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2:hover a,
ul.megamenu li.level0 .sub0 ul li.level1 .sub1 ul li.level2.current a {
  color: var(--secondary-color);
}
ul.megamenu li.level0 .sub0 ul li.level1.current a {
  color: var(--secondary-color);
}
ul.megamenu li.level0 .sub0 ul li.level1:last-of-type {
  border-bottom: none;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0 .sub0 .bottom-shape .left-shape {
    width: calc(100% - 20px);
    height: 20px;
    background-color: var(--white-color);
    float: left;
  }
  ul.megamenu li.level0 .sub0 .bottom-shape .right-shape {
    width: 0px;
    height: 0px;
    border-bottom: 20px solid transparent;
    border-left: 20px solid var(--white-color);
    float: right;
  }
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0:hover a.level0,
  ul.megamenu li.level0.current a.level0 {
    color: var(--secondary-color);
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0:hover .sub0 {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}
ul.megamenu li.level0.childs a.level0 span::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: normal;
  font-size: 12px;
  margin-left: 5px;
  vertical-align: text-top;
  position: absolute;
  right: 20px;
}
@media all and (min-width: 768px) {
  ul.megamenu li.level0.childs a.level0 span::after {
    position: relative;
    right: 0;
  }
}
ul.megamenu li.level0:last-of-type a.level0 span {
  border-right: none;
}
