/* E24 Header */
.header-elevate {
  background-color: transparent;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  transition: top .3s ease-in-out, background-color 0s linear 0s;
  z-index: 1000000;
}


.single-elevate_session_24 .header-elevate {
  z-index: 1;
}

/* .page-template-e24-day-of-event .header-elevate {
  z-index: 1000;
} */

/* @media (min-width: 992px) {
  .page-template-online.scrolled .header-elevate {
    width: auto;
  }
} */
@media (max-width: 991px) {
  .menu-open .header-elevate {
    background-color: #a761ff;
    transition: top .3s ease-in-out, background-color 0s linear 0.5s;

  }
}

.header-elevate__container {
  background-color: #fff;
  border-radius: 72px;
  display: inline-flex;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  height: 46px;
  margin: 36px 0 0;
  padding: 0 18px;
}

body.online .header-elevate__container {
  margin-left: 50px;
}

@media (max-width: 991px) {
  .page-template-e24-day-after-event .header-elevate__container,
  .single-elevate_session_24 .header-elevate__container {
    width: 100%;
  }
}

.header-elevate .container {
  padding-left: 13px;
  padding-right: 13px;
}

.elevate-in-town-tokyo .header-elevate .container {
  display: none;
}

.elevate-menu_wrap {
  position: relative;
  margin-right: auto;
}

.page-template-e24-day-of-event .menu .menu-item,
.page-template-e24-day-after-event .menu .menu-item,
.single-elevate_session_24 .menu .menu-item {
  display: none;
}

.page-template-e24-day-of-event .header-elevate__container .logo,
.page-template-e24-day-after-event .header-elevate__container .logo,
.single-elevate_session_24 .header-elevate__container .logo {
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.menu {
  display: flex;
  align-items: center;
  align-content: center;
  margin: 0;
  padding-left: 10px;
}

.menu .menu-item {
  position: relative;
}

.menu .menu-item-has-children>a::after {
  content: "";
  background: url(../images/menu-arrow.svg) no-repeat 0 -7px scroll;
  display: inline-block;
  width: 13px;
  height: 9px;
  background-size: cover;
  margin-left: 4px;
  transition: all 0.2s ease;
}

.menu .menu-item-has-children:hover>a::after {
  transform: rotate(180deg);
}

.menu a {
  color: #000;
  font-feature-settings: 'clig' off, 'liga' off;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.14px;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 7px 15px;
}

.menu .menu-item:not(.menu-item-has-children):hover>a {
  background: #F0F3FF;
  border-radius: 8px;
}

.menu .menu-item:not(.menu-item-type-custom).current-menu-item a {
  font-weight: 600;
}

.menu .current-menu-parent>a,
.menu .current-menu-item>a {
  background-color: #000;
  color: #fff;
  border-radius: 8px;
}

.menu .menu-item-has-children.current-menu-parent>a::after,
.menu .menu-item-has-children.current-menu-item>a::after {
  filter: invert(1);
}

@media (max-width: 991px) {

  .menu .menu-item-has-children.current-menu-parent>a::after,
  .menu .menu-item-has-children.current-menu-item>a::after {
    filter: none;
  }

  .menu .current-menu-parent>a,
  .menu .current-menu-item>a {
    background-color: transparent;
  }
}

/* Second level */
.menu .menu-item .sub-menu {
  border-radius: 8px;
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: #fff;
  padding: 10px 6px;
  opacity: 0;
  /* Hide initially */
  transition: opacity 0.3s ease;
  /* Add fade effect */
}

.menu .menu-item:hover .sub-menu {

  display: block;
  opacity: 1;
  /* Show with fade effect */
}

.menu .menu-item .sub-menu .menu-item {
  width: 117px;
}

.menu .menu-item .sub-menu .menu-item a {
  display: block;
  font-weight: 300;
  font-size: 14px;
  /* padding: 10px;
  text-decoration: none;
  color: #333; */
}

.menu .menu-item .sub-menu .menu-item a:hover {
  /* background-color: #f0f0f0; */
}

/* Mobile menu */
.hamburger-menu {
  display: none;
  width: 20px;
  transform: rotate(0deg);
  cursor: pointer;
  z-index: 667;
  height: 17px;
  border: 0;
  background: none;
}

.hamburger-menu span {
  height: 2px;
  display: block;
  position: absolute;
  width: 100%;
  background-color: #333;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
  top: 0;
}

.hamburger-menu span:nth-child(2) {
  top: 7px;
}

.hamburger-menu span:nth-child(3) {
  top: 7px;
}

.hamburger-menu span:nth-child(4) {
  top: 14px;
}

.menu-open .hamburger-menu span {
  background-color: #fff;
}

.menu-open .hamburger-menu span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.menu-open .hamburger-menu span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-open .hamburger-menu span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-open .hamburger-menu span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.header-dropdown {
  position: fixed;
  z-index: 555;
  top: -100%;
  opacity: 0;
  width: 100%;
  visibility: hidden;
  transition: background 300ms ease, top 500ms cubic-bezier(0.18, 0.89, 0.32, 1.28), visibility 700ms ease, opacity 500ms ease;
  background: transparent;
  max-height: none;
  padding: 0 15px;
  text-align: center;
}

.header-dropdown .menu {
  margin: 0;
  padding: 0;
}

.header-dropdown .menu-item .sub-menu {
  position: relative;
  z-index: -1;
}

.header-dropdown .menu-item {
  width: 100%;
  background-color: #fff;
  border-radius: 109px;
  transition: border-radius 0.3s ease-out;
  margin-top: -1px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}

.header-dropdown .menu-item a {
  color: #000;
  display: inline-flex;
  font-feature-settings: 'clig' off, 'liga' off;
  font-size: 21px;
  font-weight: 500;
  line-height: 153%;
  letter-spacing: -0.2px;
  padding: 33px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.header-dropdown .menu-item.current-menu-parent>a {
  color: var(--brand-orange);
}

.header-dropdown .sub-menu .current-menu-item>a {
  color: var(--brand-orange);
}

.header-dropdown .menu-item a:hover {
  text-decoration: none;
}

.header-dropdown .menu-item:not(.menu-item-has-children):hover>a {
  background: #fff;
  border-radius: 109px;
}

.header-dropdown .current-menu-item>a {
  background-color: transparent;
  color: var(--brand-orange);
  border-radius: 109px;
  pointer-events: none;
}

.header-dropdown .current-menu-parent,
.header-dropdown .current-menu-item {
  color: var(--brand-orange);
}

.header-dropdown__actions {
  margin-top: 0;
}

.header-dropdown__actions .btn {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  padding: 34px;
  font-size: 21px;
  line-height: 153%;
  border-radius: 109px;
  font-weight: 400;
  letter-spacing: -0.2px;
  border: 0;
  height: auto;
}

.admin-bar .header-elevate {
  top: 32px;
}

.admin-bar.menu-open .header-dropdown {
  top: 105px;
}

.white-logo {
  display: none;
}

.dark-logo {
  display: block;
}

.menu-open .white-logo {
  display: block;
}

.menu-open .dark-logo {
  display: none;
}

.header-current-online {
  display: none;
}

@media (max-width: 991px) {
  .elevate-menu_wrap {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hamburger-menu,
  .header-elevate__container {
    display: flex;
  }

  body.online .hamburger-menu {
    display: none;
    display: flex;
  }
  body.online .header-elevate__container {
    display: inline-flex;
    display: flex;
    width: 100%;
    margin-left: 0;
  }
  body.online.during-event .header-elevate__container {
    margin-left: 0;
  }

  .header-current-online {
    display: flex;
    font-size: 19px;
    font-weight: 500;
    margin-left: 15px;
    margin-right: 15px;
  }
  .menu-open .header-current-online {
    color: #fff;
  }

  @media (max-width: 991px) {
    .during-event .header-elevate .container {
      flex-wrap: wrap;
    }
  }

  @media (max-width: 365px) {
    .header-current-online {
      margin-right: 7px;
      font-size: 17px;
    }
  }

  @media (max-width: 330px) {
    .header-current-online {
      font-size: 14px;
      margin-left: 5px;
      margin-right: 5px;
    }
  }

  /* !!! hide online */

  .header-elevate__container {
    height: 62px;
    padding: 0 25px;
  }

  .london .header-elevate__container,
  .nyc .header-elevate__container,
  .sydney .header-elevate__container {
    width: 100%;
  }

  .logo img {
    max-width: 195px;
    height: auto;
  }
}
@media (min-width: 991px) and (max-width: 1199px) {
  .london .menu a,
  .nyc .menu a,
  .sydney .menu a {
    font-size: 13px;
  }
}
@media (max-width: 991px) {
  .header-dropdown .menu {
    flex-direction: column;
    padding-left: 0;
  }
}

.wrapper {
  transition: background 300ms ease;
}

body.page-template-e24-day-of-event .wrapper {
  padding-top: 120px;
  background-color: #000;
}
body.page-template-e24-day-of-event .main {
  background-color: #fff;
}
body.page-template-e24-day-of-event .header__btn {
  display: none !important;
}
@media (max-width: 991px) {
  body.online.page-template-e24-day-of-event .header-elevate__container {
    margin-left: 0 !important;
  }
  .page-template-e24-day-of-event .header-elevate__container {
    width: 100%;
  }
  .page-template-e24-day-of-event .header-elevate__container,
  .page-template-e24-day-after-event .header-elevate__container,
  .single-elevate_session_24 .header-elevate__container {
    width: fit-content;
  }

  .page-template-e24-day-of-event .header-elevate__container button,
  .page-template-e24-day-after-event .header-elevate__container button,
  .single-elevate_session_24 .header-elevate__container button {
    display: none;
  }
}

.menu-open .header-elevate__container {
  background: transparent;
}

.menu-open .header-dropdown {
  top: 0;
  opacity: 1;
  visibility: visible;
  padding-top: 120px;
  height: 100vh;
  overflow: scroll;
  z-index: 100000;
}

.menu-open .header-dropdown::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: -100%;
  left: 0;
}

.dropdown-overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  z-index: -1;
  transition: all 0.23s ease-in-out;
}

.menu-open .dropdown-overlay {
  background-color: #a761ff;
  z-index: 500;
}

.header-dropdown .menu-item:hover .sub-menu {
  visibility: hidden;
  opacity: 0;
  padding: 0;
}

.header-dropdown .menu-item .sub-menu {
  height: 0;
  transition: opacity 0.3s linear, height 0.3s ease-out;
}

.header-dropdown .menu-item.sub-menu--open .sub-menu {
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
  padding: 0;
  background: transparent;
  transition: opacity 0.3s linear, height 0.3s ease-in;
  z-index: 5;
}

.header-dropdown .menu-item.sub-menu--open {
  border-radius: 64px;
  padding-bottom: 10px;
}

.header-dropdown .menu-item .sub-menu .menu-item {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  transition: border-radius 0.3s ease-in;
}

.header-dropdown .menu-item .sub-menu .menu-item:first-child {
  margin-top: -20px;
}

.header-dropdown .menu-item .sub-menu .menu-item a {
  font-size: 21px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.21px;
  padding: 0;
  background: none;
}

.header-dropdown .menu-item-has-children>a::after {
  transform: rotate(0);
  width: 15px;
  height: 11px;
}

.header-dropdown .menu-item-has-children:hover>a::after {
  transform: rotate(0);
}

.header-dropdown .menu-item-has-children.sub-menu--open>a::after {
  transform: rotate(180deg);
}

@media (max-width:768px) {
  .header-dropdown .menu-item.sub-menu--open .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .header-dropdown .menu-item .sub-menu .menu-item a {
    line-height: 24px;
  }
  .header-dropdown .menu-item a {
    color: #000;
    display: inline-flex;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 21px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -0.2px;
    padding: 20.5px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .header-dropdown__actions .btn {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 20.5px;
    font-size: 21px;
    line-height: 29px;
    border-radius: 109px;
    font-weight: 400;
    letter-spacing: -0.2px;
    border: 0;
    height: auto;
  }
}
@media (max-width:390px) {
  .header-dropdown .menu-item a {
    color: #000;
    display: inline-flex;
    font-feature-settings: 'clig' off, 'liga' off;
    font-size: 21px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.2px;
    padding: 18px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .header-dropdown__actions .btn {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 18px;
    font-size: 21px;
    line-height: 27px;
    border-radius: 109px;
    font-weight: 400;
    letter-spacing: -0.2px;
    border: 0;
    height: auto;
  }
}

.header__btn {
  border-radius: 24px;
  font-size: 16px;
  padding: 9px 31px 11px;
  margin-right: 50px;
  margin-top: 35px;
}
.header-elevate .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 992px) {
  .header-elevate .container {
    max-width: 100%;
  }
}

.page-template-e24-day-of-event .header-elevate {
  position: relative;
  top: -120px;
  margin-bottom: -82px;
}

.page-template-e24-day-after-event .header-elevate {
  position: relative;
  top: 0px;
  margin-bottom: -82px;
}

.page-template-e24-day-of-event .admin-bar .header-elevate {
  top: 32px;
}

.page-template-e24-day-after-event .admin-bar .header-elevate {
  top: 32px;
}