/*!
Theme Name: APEX FTE Asia Expo 2026
Author: Chris House
Description: >-
  Child of APEX
Template: apex
Version: 1.0
*/

/* -------------------------- Parent menu item -------------------------- */ #secondary-menu li.menu-item-has-children { position: relative; } /* Add arrow indicator for parent menu items with children */ #secondary-menu li.menu-item-has-children > a::after { content: " ▼"; /* Small down arrow */ font-size: 0.7em; margin-left: 5px; transition: transform 0.3s ease; } /* Rotate arrow on hover */ #secondary-menu li.menu-item-has-children:hover > a::after { transform: rotate(180deg); } /* -------------------------- Submenu container -------------------------- */ #secondary-menu .sub-menu { position: absolute !important; top: 100% !important; left: 0 !important; width: 100%; /* Match parent width */ background-color: #161930 !important; margin: 0 !important; padding: 10px 0 !important; list-style: none !important; z-index: 9999 !important; display: none !important; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); opacity: 0; transform: translateY(-10px); transition: all 0.3s ease-in-out; } /* Show submenu on hover with smooth animation */ #secondary-menu li.menu-item-has-children:hover > .sub-menu { display: block !important; opacity: 1; transform: translateY(0); } /* -------------------------- Submenu links -------------------------- */ #secondary-menu .sub-menu li a { display: block; padding: 10px 20px; color: #fff; text-decoration: none; font-weight: 500; transition: background-color 0.3s ease, color 0.3s ease; } /* Submenu link hover effect */ #secondary-menu .sub-menu li a:hover { background-color: #1D2240; color: #fff; } /* Optional: Add subtle spacing between submenu items */ #secondary-menu .sub-menu li + li { margin-top: 5px; }

.session-details h3 a {
    color: #0000EE;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.session-details h3 a:hover,
.session-details h3 a:focus {
    color: #1D2240;
    text-decoration: none;
    outline: none;
}

.event-speakers .speaker-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center all cards in the row */
    gap: 20px;
}

/* Speaker card */
.speaker {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers image + text */
    text-align: center;
    padding: 15px;
    cursor: pointer;

    /* 4 per row with fixed width */
    flex: 0 1 215px;       /* ensures 4 fit per row */
    max-width: 215px;
    box-sizing: border-box;

    transition: transform 0.2s ease;
}

/* Hover effect */
.speaker:hover {
    transform: translateY(-4px);
}

.speaker:hover .hover-overlay {
    opacity: 1;
}

/* Speaker photo */
.speaker-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0; /* flex takes care of centering */
}

/* Info container */
.speaker-info {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center; /* center text with image */
    flex-grow: 1;
}

/* Name, Title, Company */
.speaker-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 6px;
}

.speaker-title,
.speaker-company {
    font-size: 14px;
    margin-top: 4px;
}


.speaker-title {
    color: #555;
}

.speaker-company {
    color: #222;
    font-weight: 700;
}


.event-home-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.event-home-title .event-header-left {
  padding-right: 0;
  flex: 1;
}
.event-home-title .button-primary {
  max-width: none;
  justify-content: flex-end;
}
.event-home-title .event-date-location-cont {
  width: 100%;
}
@media (max-width: 860px) {
  .event-home-title {
    font-size: 28px;
  }
}
.event-home-event-title {
  flex: 2;
}
@media (max-width: 860px) {
  .breadcrumb-cont-expo {
    padding-bottom: 0;
  }
}
.expo-featured-main-cont {
  width: 100%;
  flex-wrap: nowrap;
}
.expo-featured-main-cont .news-featured-item {
  background-position: center;
}
@media (max-width: 860px) {
  .expo-featured-main-cont .news-featured-item {
    background-position: top;
    width: 100%;
  }
}
@media (max-width: 860px) {
  .expo-featured-main-cont {
    flex-wrap: wrap;
  }
}
.event-home-featured {
  top: 0;
  margin-top: -271px;
}
@media (max-width: 860px) {
  .event-home-featured {
    margin-top: 22px;
  }
}
.site-main-expo .section-heading {
  font-size: 28px;
}
.site-main-expo .home-magazine {
  padding: 0 0 22px 0;
}
.expo-featured-cont {
  height: 358px;
}
@media (max-width: 860px) {
  .expo-featured-cont {
    height: auto;
    padding-right: 37px;
    padding-left: 37px;
  }
}
.news-featured-item-expo-middle {
  margin: 0 22px;
}
@media (max-width: 860px) {
  .news-featured-item-expo-middle {
    margin: 22px 0;
  }
}

/* SPEAKERS CAROUSEL - INITIAL HIDE */
.speakers-carousel {
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show only when Slick is initialized */
.speakers-carousel.slick-initialized {
  display: block !important;
  visibility: visible;
  opacity: 1;
}

/* SPEAKER CARD */
.speaker-item-event-home {
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.speaker-item-event-home img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.speaker-item-event-home img:hover {
  transform: scale(1.05);
}

/* NAME + TITLE */
.event-home-speaker-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0 5px;
  color: #222;
}

.expo-speaker-title {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
  font-family: "Open Sans", arial, sans-serif;
  padding-top: 8px;
}

/* SPEAKER SECTION LAYOUT */
.speakers-cont-event-home {
  padding-top: 46px;
  margin-bottom: 96px;
  margin-top: 96px;
}

.speakers-cont-event-home .button-primary {
  max-width: none;
}

/* RESPONSIVE PADDING FIXES */
@media (max-width: 1120px) {
  .speakers-cont-event-home {
    padding-left: 10px;
  }
}

@media (max-width: 860px) {
  .speakers-cont-event-home {
    padding-left: 37px;
    margin-bottom: 46px;
  }
}

/* REMOVE ANY LEFTOVER FLEXBOX */
.speakers-event-home,
.speaker-item-event-home {
  width: auto !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
  display: block !important;
}

/* Main wrapper section for sponsors */
.sponsors-cont-event-home {
  margin-top: 96px;
}

.sponsors-cont-event-home .section-heading {
  font-size: 28px;
}

.sponsors-cont-event-home .button-primary {
  max-width: none;
}

/* Responsive container padding */
@media (max-width: 1120px) {
  .sponsors-cont-event-home {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 860px) {
  .sponsors-cont-event-home {
    padding-left: 37px;
    padding-right: 37px;
    margin-top: 0;
  }
}

/* Group section (Diamond, Platinum, etc.) */
.sponsor-group {
  overflow-y: hidden;
}

/* Flex layout for sponsor logos */
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  overflow-y: hidden;
}

/* Individual sponsor item (logo block) */
.event-home-sponsor-item {
  padding-right: 46px;
  padding-left: 46px;
  margin-bottom: 46px;
  width: calc(100% / 5);
  max-width: 20%;
  box-sizing: border-box;
  display: block;
}

/* Logo image styling */
.event-home-sponsor-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustment for mobile */
@media (max-width: 860px) {
  .event-home-sponsor-item {
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.events-sessions-cont-event-home {
  margin-top: 113px;
  background: none;
}
.events-sessions-cont-event-home .events-carousel {
  margin: 0;
}
@media (max-width: 860px) {
  .events-sessions-cont-event-home {
    margin-top: 46px;
  }
}
.ticket-info-event-home {
  background-image: url("/wp-content/themes/apex/images/clouds-bg.jpg");
  background-size: cover;
}
.event-home-general-info-cont.grid-cont {
  margin-top: 0;
}
@media (max-width: 1120px) {
  .event-home-general-info-cont.grid-cont {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 860px) {
  .event-home-general-info-cont.grid-cont {
    padding-left: 37px;
    padding-right: 37px;
  }
}
.event-home-general-info {
  display: flex;
  align-items: center;
}
@media (max-width: 860px) {
  .event-home-general-info {
    flex-direction: column;
  }
}
.event-gen-info-left {
  width: 50%;
  background-size: cover;
  height: 424px;
  background-position: center;
}
@media (max-width: 860px) {
  .event-gen-info-left {
    width: 100%;
    height: 275px;
  }
}
.event-gen-info-right {
  width: 50%;
  padding-left: 140px;
  max-width: 400px;
}
@media (max-width: 860px) {
  .event-gen-info-right {
    width: 100%;
    order: 1;
    padding-left: 0;
    padding-bottom: 22px;
  }
}
.event-news-cont {
  margin-top: 96px;
}
.event-news-cont .section-heading {
  font-size: 28px;
}
.event-news-cont .button-primary {
  max-width: none;
}
@media (max-width: 1120px) {
  .event-news-cont {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 860px) {
  .event-news-cont {
    padding-left: 37px;
    padding-right: 37px;
    margin-top: 46px;
  }
}
.event-news-event-home {
  display: flex;
}
@media (max-width: 860px) {
  .event-news-event-home {
    flex-direction: column;
  }
}
.event-news-event-home-item {
  width: 25%;
  padding-right: 46px;
  text-decoration: none;
}
.event-news-event-home-item .event-news-image {
  background-size: cover;
}
@media (max-width: 860px) {
  .event-news-event-home-item {
    width: 100%;
    padding-right: 0;
  }
}
.event-news-image {
  width: 100%;
  height: 164px;
}
.event-news-title {
  font-family: Termina;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.71;
  color: #1d2240;
  padding-top: 32px;
}
@media (max-width: 860px) {
  .event-news-title {
    padding-top: 7px;
    padding-bottom: 22px;
  }
}
.ticket-info-event-home {
  margin-top: 113px;
}
@media (max-width: 860px) {
  .ticket-info-event-home {
    margin-top: 46px;
  }
}
.reg-info-event-home {
  text-align: center;
  padding: 96px 0;
}
.reg-info-event-home h4 {
  font-family: Termina;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.38;
  color: #1d2240;
}
@media (max-width: 860px) {
  .reg-info-event-home h4 {
    font-size: 28px;
  }
}
.reg-info-event-home .ticket-info-text {
  max-width: 425px;
  margin: 24px auto;
}
.reg-info-event-home .button-primary {
  margin: 0 auto;
}
@media (max-width: 860px) {
  .reg-info-event-home {
    padding: 46px 10px;
  }
}
.event-date-loc-cont-event-home > span {
  font-size: 12px;
  margin-right: 34px;
  white-space: nowrap;
}
.exhibitors-cont-event-home {
  margin-top: 96px;
}
.exhibitors-cont-event-home > h2 {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.25;
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 860px) {
  .exhibitors-cont-event-home > h2 {
    padding-left: 37px;
    padding-right: 37px;
  }
}
.expo-exhibitor-cont {
  display: flex;
  flex-wrap: wrap;
}
.expo-exhibitor-cont > * {
  width: 220px;
  min-width: 220px;
  padding: 22px 22px 22px 22px;
}
.expo-exhibitor-cont > * img {
  width: auto;
  height: auto;
  max-height: 190px;
  max-width: 190px;
}
@media (max-width: 860px) {
  .expo-exhibitor-cont {
    padding: 0 37px;
  }
}
.expo-exhibitor-item {
  width: 25%;
  min-width: 25%;
  padding: 0 22px 44px 22px;
  text-decoration: none;
}
@media (max-width: 860px) {
  .expo-exhibitor-item {
    width: 100%;
  }
}
.expo-exhibitor-logo {
  width: 100%;
}
.do-you-have-expo {
  padding: 46px 10px;
  margin-top: 46px;
}
.do-you-have-expo p {
  margin-bottom: 0;
}
.sponsors-cont-event-home {
  margin-top: 96px;
}
.dailies-cont {
  display: flex;
}
.dailies-item {
  display: block;
  flex: 1;
  min-width: 25%;
  height: 300px;
  background-size: cover;
  margin: 0 15px;
}
.leader-item {
  text-decoration: none;
}
.expo-airline-cont,
.expo-exhibitor-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.expo-airline-item,
.expo-exhibitor-item {
  width: 220px;
  height: auto;
  padding: 10px 20px;
}
.expo-home-breadcrumb {
  padding-top: 65px;
}
.expo-view-all {
  width: 100%;
  max-width: 100%;
  margin-top: 56px;
}
.home-airline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-airline-item img {
  padding-bottom: 0;
}
.home-airline-item p {
  margin-top: 0;
}
.button-large {
  font-size: 22px;
}
.button-section {
  margin-top: 85px;
  text-align: center;
  max-width: 100%;
  justify-content: center;
}
@media (max-width: 860px) {
  .secondary-bar {
    display: block;
  }
}
@media (max-width: 860px) {
  #secondary-menu {
    flex-direction: column;
  }
  #secondary-menu .menu-item {
    border-left: none;
  }
}
@media (max-width: 860px) {
  .event-header-left {
    order: 3;
  }
}
.ad-cont-event-home-a {
  margin: 96px auto;
}
.ad-cont-event-home-a:after {
  content: "Sponsor Here";
}
@media (max-width: 860px) {
  .ad-cont-event-home-a {
    margin: 46px auto 0 auto;
  }
}
.expo-schedule-cont {
  display: flex;
  flex-direction: column;
}
.expo-day-list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.expo-day-tab {
  color: white;
  font-size: 20px;
  background-color: #0484bd;
  padding: 20px 30px;
  margin: 0 1px;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s;
}
.expo-day-tab.active,
.expo-day-tab:hover {
  opacity: 1;
  transform: scale(110%);
}
.expo-track-list {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}
.expo-track-list.active {
  display: flex;
}
.expo-track-tab {
  background-color: rgba(29, 34, 64, 0.75);
  padding: 15px 20px;
  margin: 0 1px;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.expo-track-tab.active,
.expo-track-tab:hover {
  background-color: #1d2240;
}
.expo-chart {
  margin-top: 10px;
  display: none;
}
.expo-chart.active {
  display: block;
}
.timeslot-row {
  display: flex;
  margin-bottom: 3px;
  align-items: stretch;
}
.timeslot {
  padding: 10px 20px;
  background-color: #0484bd;
  color: white;
  width: 10%;
  text-align: center;
  min-width: 115px;
}
.timeslot-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1px;
  background-color: #eeeeee;
  padding: 5px 15px;
  font-size: 14px;
  transition: all 0.2s;
  color: #1d2240;
  text-decoration: none;
}
.timeslot-item.active {
  background-color: #1d2240;
  color: white;
}
.author-content {
  justify-content: flex-start;
}
.expo-speaker-content {
  flex-direction: column;
}
.expo-speaker-sessions {
  margin-bottom: 50px;
}
.expo-speaker-info {
  display: flex;
  flex-direction: column;
}
.expo-speaker-info-company {
  font-size: 14px;
  font-weight: 400;
}
.button-section-margin-bottom {
  margin-top: 0;
  margin-bottom: 85px;
}
#main .um-profile-photo a.um-profile-photo-img,
#main .um .um-profile-photo a.um-profile-photo-img,
#main .um .um-profile-photo img,
#main .um .um-profile-photo span.um-profile-photo-overlay {
  border-radius: 0 !important;
}

