.mega-menu{
  transform: translateX(-100%);
  position: fixed;
  top: 0;
  width: calc(100% - 10px);
  min-height: 100vh;
  transition: transform 350ms;
  z-index: 200;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-evenly;
  background-color: var(--lightPurple);
  color: var(--colorWhite);
}

@media screen and (min-width: 64em) {
  .mega-menu{
    width: calc(100% - 100px);
    right: 0;
    transform: translateX(100%);
  }
  .desktopHide,
  .top_nav_mobile_tint{
    display:none !important;
  }
}


.mega-menu.active{
  transform: none;
}

.mega-menu .nav__close-btn {
  position: absolute;
  display: flex;
  align-items: center;
  right: 40px;
  top: 41px;
  cursor: pointer;
  z-index: 2;
  padding: 10px;
  outline: 0;
  font-family: inherit;
  background: none !important;
  border: none;
  font-size: 100%;
}


.mega-menu .nav__close-btn:hover {
  opacity: 0.8;
}

.mega-menu .nav__close-btn span {
  padding-right: 10px;
  font-size: 16px;
  color: var(--colorWhite);
  font-weight: 500;
}


.mega-menu .nav__close-btn span img:not(.lazy):before {
  content: "Image not found";
  display: block;
  background: var(--ac_secondary_color);
  padding: 10px;
}


.mega-menu .nav__buttons {
  display: flex;
  gap: 18px;
  position: absolute;
  top: 37px;
  left: 80px;
  z-index: 2;
  background-color: var(--lightPurple);
}


.mega-menu .nav__buttons a {
  white-space: nowrap;
  cursor: pointer;
  font-size: 1rem;
  padding: 16px 20px 15px;
  transition: background 200ms, color 200ms, border 200ms;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 25px;
  font-weight: 500;
  font-family: var(--GeneralSans);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
  display: inline-block;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mega-menu .nav__buttons a.hs-button {
  color: var(--colorWhite);
  background-color: transparent;
  border: 1px solid var(--colorWhite);
}

.mega-menu .nav__buttons a.hs-sec-btn:hover {
  background-color: var(--colorWhite);
  color:var(--secondary_color);
}

.mega-menu .nav__content-wrapper {
  padding: 160px 60px 40px 80px;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: var(100% - 160px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow-y: auto;
  margin-top:100px;
}


.mega-menu .nav__big-links-outer {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.mega-menu .nav__big-links-outer h3 {
  font-size: 2.25rem;
  line-height: 33px;
  font-family: var(--vtc_letterer_proregular);
  margin-bottom: 0.5em;
  color: var(--colorWhite);
}

@media (min-width: 1440px) {
  .mega-menu .nav__content-wrapper {
    padding: 160px 210px 40px 80px;
  }
}


.mega-menu .nav__big-links {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 50px;
}

.mega-menu .nav__big-links a {
  font-size: 3.625rem;
  line-height: 1;
  display: block;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: left;
  text-transform: uppercase;
  color: var(--colorWhite);
  text-decoration: none;
  transition: color 200ms;
  font-family: var(--chunkfiveregular);
}

@media (min-width: 1500px) {
  .mega-menu   .nav__big-links a {
    font-size: 4.5rem;
  }
}

.mega-menu .nav__big-links a:hover {
  opacity: 0.8;
}

.mega-menu .nav__footer-links {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 15px;
}

.mega-menu .nav__footer-links a {
  color: var(--colorWhite);
  font-size:1rem;
}
.mega-menu .nav__footer-links a:hover{
  opacity:0.8;
}

.mega-menu .nav__menu-wrapper {
  position: relative;
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.mega-menu .nav__menu-inner-wrapper a {
  display: flex;
  background: transparent;
  padding: 8.5px 0px;
  text-decoration: none;
  font-size: 20px;
  line-height: 27.9px;
  color: var(--colorWhite);
}

.mega-menu .nav__menu-inner-wrapper a:hover {
  opacity: 0.8;
}

.mega-menu .nav__social-icons {
  position: absolute;
  bottom: 0;
  display: flex;
  flex: 1;
}

.mega-menu .nav__social-icons a {
  padding: 0px 17px;
  background: transparent;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 0 4px;
  line-height: 22px !important;
  text-align: center;
  position: relative;
  transition: opacity 200ms, background 200ms;
}
.mega-menu .nav__social-icons a:hover{
  opacity:0.8;
}

.mega-menu .nav__social-icons a:first-child {
  margin-left: 0;
}

.mega-menu .nav__social-icons a img {
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

.mega-menu .nav__social-icons a:last-child {
  margin-right: 0;
}


.mega-menu .nav__menu-inner-wrapper a.nav__link-main {
  font-weight: 600;
  font-size: 22px;
}

.mega-menu .nav__menu-inner-wrapper a.nav__link-sub {
  font-weight: 500;
}

.top-nav-mobile {
  height: 100svh;
  transform: translateX(113%);
  transition: transform 0.3sease-in;
  position: fixed;
  z-index: 21;
  margin: 0;
  padding: 24px 28px;
  top: 0;
  right: 0;
  width: 90%;
  display: flex;
  flex-direction: column;
  background-color: var(--lightPurple);
  color:var(--colorWhite);
}

.top-nav-mobile.active{
  transform: translateY(0);
  transition: transform 300msease-out;
  transition-delay: 200ms;

}

.top-nav-mobile__buttons {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}


.top-topbar__link-button {
  width: 23px;
  height: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}




@media(max-width:1240px){
  .mega-menu .nav__big-links a {
    font-size: 3rem;
  }
  .mega-menu .nav__menu-wrapper {
    column-gap: 20px;
  }
  .mega-menu .nav__content-wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .mobileHide{
    display:none !important;
  }
  .mega-menuMob.active {
    transform: translateY(0);
    transition: transform 300ms ease-out;
    transition-delay: 200ms;
  }

  .mega-menuMob {
    background-color: var(--lightPurple);
    color: var(--colorWhite);
    height: 100svh;
    transform: translateX(113%);
    transition: transform 0.3s ease-in;
    position: fixed;
    z-index: 102;
    margin: 0;
    padding: 24px 28px;
    top: 0;
    right: 0;
    width: 90%;
    display: flex;
    flex-direction: column;
    overflow-y:auto;
  }
  .top-nav-mobile__bottom {
    display: flex;
    gap: 15px;
    flex-direction: column;
    margin-top: auto;
  }
  .top-nav-mobile__social-icons {
    display: flex;
    justify-content: space-between;
  }
  a.social-icon {
    background: transparent;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0 4px;
    line-height: 22px ;
    text-align: center;
    position: relative;
    transition: opacity 200ms, background 200ms;
  }
  a.social-icon:first-child {
    margin-left: 0;
  }
  a.social-icon img, a.social-icon svg {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
  }
  .top-nav-mobile__social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .top-nav-mobile__social-button a.hs-sec-btn,
  .top-nav-mobile__social-button a.hs-button {
    width: 100%;
  }


  button.top-nav-mobile__search-button {
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1;
    cursor: auto;
  }

  button.top-nav-mobile__close {
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1;
    cursor: auto;
  }

  .top-nav-mobile__buttons a img {
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 50%;
  }

  button.top-nav-mobile__close img {
    width: 17px;
    height: 17px;
  }

  .mega-menuMob .is-drilldown {
    width: 100%;
    max-width: 100% !important;
    height: 100% !important;
    position: relative;
    overflow: hidden;
  }

  .is-drilldown {
  }

  .mega-menuMob .is-drilldown ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mega-menuMob .is-drilldown > ul {
    height: 100%;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    position: relative;
    display: flex;
    margin-bottom: 20px;
  }

  .mega-menuMob .is-drilldown > ul > li {
    display: block;
    margin: 0;
  }



  .mega-menuMob .is-drilldown > ul > li > a {
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s, opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    display: block;
    opacity: 1;
    transform: translateY(0);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 12px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    letter-spacing: -0.015em;
    line-height: 1.1;
    font-family: var(--chunkfiveregular);
    text-transform: uppercase;
    color: #fff;
  }

  .mega-menuMob .is-drilldown > ul > li > a:after {
    border: none;
    width: 16px;
    height: 14px;
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 0;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='14.707' viewBox='0 0 14.5 14.707'%3E%3Cg id='arrow-right_6_' data-name='arrow-right (6)' transform='translate(0.5 0.354) rotate(180 7.25 7.354)'%3E%3Cline id='Line_83' data-name='Line 83' x1='14' transform='translate(0 7)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3Cpath id='Path_3427' data-name='Path 3427' d='M19,5l-7,7,7,7' transform='translate(-12 -5)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A");
    url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='14.707' viewBox='0 0 14.5 14.707'%3E%3Cg id='arrow-right_6_' data-name='arrow-right (6)' transform='translate(0.5 0.354) rotate(180 7.25 7.354)'%3E%3Cline id='Line_83' data-name='Line 83' x1='14' transform='translate(0 7)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3Cpath id='Path_3427' data-name='Path 3427' d='M19,5l-7,7,7,7' transform='translate(-12 -5)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A);;
    ;
    display: block;;
  }

  .mega-menuMob .is-drilldown > ul > li > ul {
    background-color: #777AAE !important;
    color: white;
    transform: translateX(-110%);
    transition: transform 0.6s !important;
    min-height: 100%;
    width: 100%;
    left: 0;
    height: 100vh;
    z-index: 999999;
    position: absolute;
    top: 0;
  }

  .mega-menuMob .is-drilldown > ul > li.menuActive > ul {
    transform: translateX(0%);
    display: block;
  }

  .mega-menuMob .is-drilldown > ul > li > ul > li {
    margin: 0;
  }

  .mega-menuMob .is-drilldown > ul > li > ul > li > a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    font-family: var(--GeneralSans);
    padding: 12px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    letter-spacing: -0.015em;
    line-height: 1.1;
    display: block;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s, opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    color: #fff;
  }

  .mega-menuMob .is-drilldown > ul > li > ul > li.js-drilldown-back > a:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.75rem;
    background: transparent;
    width: 14px;
    height: 14px;
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='14.707' viewBox='0 0 14.5 14.707'%3E%3Cg id='arrow-right_6_' data-name='arrow-right (6)' transform='translate(0.5 0.354)'%3E%3Cline id='Line_83' data-name='Line 83' x1='14' transform='translate(0 7)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3Cpath id='Path_3427' data-name='Path 3427' d='M19,5l-7,7,7,7' transform='translate(-12 -5)' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A");
  }
  .top_nav_mobile_tint {
    height: 100vh;
    width: 100vw;
    background-color: rgba(9, 9, 9, 0.3294117647);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    opacity: 0;
    visibility:hidden;
    transition: all 0.6s ease;
    display:block;
  }
  .active.top_nav_mobile_tint{
    opacity:1;
    visibility:visible;
  }
  
  .mega-menuMob ul li:first-child ul li.is-submenu-item:nth-child(2) >a:hover {
    color: var(--colorWhite);
    opacity: 0.8;
  }

  .mega-menuMob ul ul li.is-submenu-item >a:hover {
    color: rgba(24, 29, 38, 0.8);
  }
  .mega-menuMob {
    height: 100%;
    overflow: auto;
  }
  .mega-menuMob .is-drilldown {
    overflow: visible;
    height: auto !important;
  }
}
