#mynavbar>li {
  padding: 50px 0;

}

.header-top.fixedToTop #mynavbar>li {
  padding:27px 0;
}

#mynavbar>li>a {
  position: relative;
}

#mynavbar>li.mega-dropdown-main>a::after {
  content: "";
  height: 8px;
  width: 100%;
  background-color: var(--bs-green);
  position: absolute;
  bottom: -60px;
  right: 0%;
  transform: scaleX(0);
  /* transition: transform 250ms ease-in-out; */
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  opacity: 1;
  visibility: hidden;
}

/* #mynavbar>li.mega-dropdown-main:hover a::after, */
#mynavbar>li.mega-dropdown-main.-active a::after {
  transform: scaleX(1);
  width: 100%;
  opacity: 1;
  visibility: visible;
  bottom: -50px;
}

/* .header-top.fixedToTop #mynavbar>li.mega-dropdown-main:hover a::after, */
.header-top.fixedToTop #mynavbar>li.mega-dropdown-main.-active a::after {
  bottom:-27px;
}

.mega-dropdown-main {
  position: static;
}

.mega-dropdown {
  padding: 0;
  width: 100%;
}

/* .mega-dropdown::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1px;
  width: 50%;
  height: calc(100% + 2px);
  background-color: #fff;
  transform: translateX(-100%);
  border-top: 1px solid #F0F2F2;
}

.mega-dropdown::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 1px;
  width: 50%;
  height: calc(100% + 2px);
  background-color: #fff;
  transform: translateX(100%);
  border-top: 1px solid #F0F2F2;
} */

.mega-list {
  padding: 0 0 19px 0;
}

.mega-list a {
  display: inline-block;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
  color: #262F38;
  padding: 4px 0;
  -webkit-transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
  text-decoration: none;
}

.mega-list a:hover {
  text-decoration: underline;
}

.mega-title {
  background: transparent none repeat scroll 0 0 !important;
  border-bottom: 1px solid #e1e7ec;
  font-size: 13px;
  color: #666 !important;
  font-weight: bold;
  padding: 9px 19px !important;
  margin-bottom: 12px;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #mynavbar .dropdown-menu {
    /* transform: translateY(15px) translateZ(0); */
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, -webkit-transform .2s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
    left: 0;
    top: 100%;
    border-radius: 0;
  }

  /* #mynavbar .dropdown:hover>.dropdown-menu, */
  #mynavbar .dropdown.-active>.dropdown-menu {
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  /* #mynavbar .dropdown:hover, */
  #mynavbar .dropdown.-active {
    border-color: var(--bs-blue);
  }

  #mynavbar .dropdown>.nav-link:active {
    pointer-events: none;
  }

  .dropdown-menu {
    margin: 0;
  }
}



.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  transform: scaleY(0);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, transform 0s linear 300ms, opacity 300ms;
  height: 0;
  top: 100%;
  width: 100%;
  z-index: 920;
  background-color: white;
  left: 0;
  padding-bottom: 3rem;
  min-height: 37rem;
  overflow: hidden;
  max-height: 100%;
  min-height: 508px;
  overflow-y: auto;
}

.sub-menu>.menu-item {
  width: 400px;
  display: block;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  margin: 8px 0;
}

.sub-menu>.menu-item:first-child {
  margin-top: 48px;
}

.mega-dropdown-main:hover .sub-menu,
.mega-dropdown-main.-active .sub-menu {
  height: auto;
  transform: scaleY(1);
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, transform 0s linear 0s, opacity 300ms;
}

.sub-menu>.menu-item>a {
  display: flex;
  align-items: center;
  color: #001A37;
  font-size: 18px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 16px;
  min-height: 43px;
  position: relative;
  border-left: 4px solid transparent;
  border-radius: 8px;
}

.menu-item-content {
  transform: scaleY(0);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, transform 0s linear 300ms, opacity 300ms;
  display: flex;
  flex-direction: row;
  position: absolute;
  right: 0;
  top: 0;
  left: 400px;
  bottom: 0;
  overflow: hidden;
  background-color: #fff;
  box-shadow: inset -5px 7px 9px -10px rgba(33, 39, 33, 0.15);
  border-bottom-right-radius: 0.4rem;
  width: calc(100% - 400px);
}

.sub-menu>.menu-item:hover .menu-item-content,
.sub-menu>.menu-item.-active .menu-item-content {
  transform: scaleY(1);
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, transform 0s linear 0s, opacity 300ms;
}

.sub-menu>.menu-item:hover>a,
.sub-menu>.menu-item.-active>a {
  color: #001A37;
  background-color: #F6F7F7;
  border-color: #FF7D34;
}

.menu-floor {
  background-color: #E2E6E6;
  height: 148px;
}


.menu-item-content .menu-item-content__left {
  background-color: #F6F7F7;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
}

.menu-floor {
  grid-row: 5 / span 5;
  grid-column: 1 / span 9;
  align-self: end;
  z-index: 2;
}

.menu-product-img {
  grid-row: 3 / span 9;
  grid-column: 1 / span 9;
  z-index: 3;
  justify-self: center;
  max-width: 705px;
}

.menu-sun {
  grid-row: 3 / span 6;
  grid-column: 5 / span 5;
  z-index: 1;
  max-width: 406px;
  height: 406px;
}