/*
    Use this stylesheet to modify the layout of your
    conference.
*/

/* ----------- Styles for the conference header ----------- */

/*
The wrapper of the whole conference page.
*/
.conf {
  width: 100%;
  border: none;
  margin: auto;
}

/*
Wraps around the upper part of the conference header.
*/
.confTitleBox {
  color: white;
  min-height: 90px;
  border-top: 3px solid #234173;
  border-bottom: 1px solid #0f4c80;
  background: #1a64a0;
}

/*
Sets the width of the upper part of the conference header.
Is set to 950px and centered by default.
*/
.confTitle {
  width: 950px;
  margin: 0 auto;
}

/*
The box containing the logo. By the default the logo is placed
on the left of the conference title.
*/
.confLogoBox {
  float: left;
  padding-right: 10px;
}

/*
The box containing the logo when configured in banner mode.
*/
.confLogoBannerBox img {
  width: 100%;
  margin-bottom: 0.5rem;
}

/*
The style for the title text.
*/
.conference-title-link {
  font-size: 22pt;
  display: block;
  padding: 25px 0;
  color: white;
}

/*
Wrapper around the bottom part of the conference header
*/
.confSubTitleBox {
  background: #f5faff;
  border-bottom: 1px solid #d5e4f1;
  border-top: 1px solid #d5e4f1;
  padding: 0.5rem 0;
}

/*
The content of the lower part of the header. Is by default
centered and has a fixed width.
*/
.confSubTitleContent {
  width: 950px;
  margin: 0 auto;
  font-size: 11pt;
  color: #24425a;
}

/*
Style for links in the lower part of the header
*/
.confSubTitle a {
  font-size: 11pt;
}

/*
Styles for the date and place information.
*/
.datePlace {
  font-size: 12pt;
}

/*
Announcement styles
*/
.simpleTextAnnouncement {
  background: #f5faff url(/images/conf/sprites_blue.png) repeat-x scroll 0 -400px;
  border-top: 1px solid #c2d6e7;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 10pt;
  text-align: center;
  color: #0f283d;
  padding: 8px 0;
}

/* ----------- Styles for the main content ----------- */

/*
The wrapper around the menu and the page content.
By default centered with a fix width.
*/
#confSectionsBox {
  width: 950px;
  margin: 0 auto;
  margin-top: 30px;
}

/* ----------- Styles for the menu ----------- */

/* Styles for all menu Items */

/*
Wrapper around the menu
*/
.conf_leftMenu {
  float: left;
  width: 200px;
}

/*
Styles for the menu box
*/
#outer {
  border: 1px solid #ccc;
  background: #f6f6f6;
}

/*
The menu item
*/
#outer li a {
  font-family: verdana, arial, sans-serif;
  font-size: 10pt;
}

/*
The menu item when doing mouseover
*/
#outer li a:hover {
  background: #e0e0e0;
}

/*
A non selected menu item
*/
.menuConfTitle {
  text-align: left;
}

.menuConfTitle a {
  color: #275c86;
  padding: 7px 12px;
}

/*
A selected menu item
*/

.menuConfTitle.selected > a,
.menuConfMiddleCell.selected > a {
  color: #bd891a;
  background: #dadada;
  border-bottom: 1px solid #d0d0d0;
  border-top: 1px solid #d0d0d0;
}

/*
sub menu item
*/
li ul.inner li a {
  padding: 3px 12px 3px 30px;
  background: transparent url(/images/conf/left_menu_bullet.png) scroll no-repeat 15px center;
}

/*
Support box
*/

.support_box {
  background: #f6f6f6;
  border: 1px solid #ccc;
}

.support_box > h3 {
  color: #f3f3f3;
  background: #1a64a0;
}

/* ----------- Styles for the page content ----------- */

/*
Wrapper around the content
*/
.confBodyBox {
  margin-left: 230px;
}


/***** MICROBIOME SUMMIT — OVERRIDES *****/

/* 1) HEADER / BANNER — trim height (works for classic + modern layout) */

/* If you're using a WIDE BANNER image (what your screenshot shows) */
.confLogoBannerBox { height: 300px !important; overflow: hidden !important; }
.confLogoBannerBox img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Modern header (some instances use these classes) */
.event-header .banner { height: 220px !important; overflow: hidden !important; }
.event-header .banner img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* If you're using a LOGO instead of a big banner */
.confLogoBox img,
.event-header .logo img { max-height: 60px !important; height: auto !important; }

/* Title + padding smaller */
.conference-title-link { font-size: 20pt !important; padding: 12px 0 !important; line-height: 1.2 !important; }
.event-header .title, .event-header h1 { font-size: 20pt !important; line-height: 1.2 !important; margin: 0 !important; }

/* Lower row (dates/location) compact */
.confSubTitleBox { padding: 4px 0 !important; }

/* 2) MENU VARIANTS — pick ONE block (right OR top). Comment out the other. */

/* (A) RIGHT SIDEBAR */
.conf_leftMenu { float: right !important; }
.confBodyBox { margin-left: 0 !important; margin-right: 230px !important; }

/* (B) TOP MENU look — uncomment to use
.conf_leftMenu { float: none !important; width: auto !important; margin: 0 0 16px 0 !important; }
#outer { border: 0 !important; background: transparent !important; }
#outer ul { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; list-style: none; margin: 0; padding: 0; }
#outer li a { display: block; padding: 8px 12px; border-radius: 999px; background: #f0f4f8; }
#outer li a:hover { background: #e2e8f0; }
.confBodyBox { margin-left: 0 !important; }
*/

/* 3) “Important dates” box */
.dates-box { border:1px solid #d5e4f1; background:#f5faff; padding:12px 14px; border-radius:6px; max-width:400px; margin:16px auto; }
.dates-box h3 { margin:0 0 8px; font-size:1.05rem; color:#234173; }
.dates-box ul { margin:0; padding-left:18px; }

/* 4) Programme table */
table.prog { width:100%; max-width:900px; margin:8px auto 16px; border-collapse:collapse; }
table.prog th, table.prog td { border:1px solid #e2e8f0; padding:8px 10px; text-align:left; }
table.prog thead th { background:#f5faff; color:#24425a; }

/* 5) Sponsors grid */
.sponsor-grid { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; align-items:center; margin:10px 0; }
.sponsor-grid img { height:70px; max-width:180px; object-fit:contain; filter:grayscale(10%); }
.sponsor-grid img:hover { filter:none; }

/* 6) Venue gallery */
.gallery { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; margin:10px 0; }
.gallery img { width:100%; height:180px; object-fit:cover; border-radius:6px; }

/* 7) Speakers cards */
.speakers { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; }
.spk { display:flex; gap:12px; padding:12px; border:1px solid #e2e8f0; border-radius:8px; background:#fff; }
.spk img { width:96px; height:96px; border-radius:50%; object-fit:cover; flex:0 0 auto; }
.spk h4 { margin:0 0 4px; color:#234173; }
.spk p { margin:0; }


/* === 3-column responsive grid for people lists === */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.person {
  flex: 0 1 calc(33.33% - 20px); /* 3 per row */
  text-align: center;
}

.person img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.person p {
  margin: 0;
  line-height: 1.4;
}

/* Hide the duplicate title in the header (the span itemprop="title") */
.confTitleBox .confTitle h1 > a > span[itemprop="title"],
.confTitle a span[itemprop="title"] {
  display: none !important;
}

/* Style for the contacts and press page */
.page-ContactsPress h2, .page-ContactsPress h3 {
  color: #1a64a0;
}

.page-ContactsPress form button:hover {
  background-color: #234173;
}


/* Venue page cards + layout */
.venue-card {
  background:#f5faff;
  border-left:4px solid #1a64a0;
  padding:12px 16px;
  border-radius:6px;
  margin-bottom:16px;
}
.btn-primary {
  display:inline-block;
  background:#1a64a0; color:#fff;
  padding:8px 14px; border-radius:6px;
  text-decoration:none; font-weight:600;
}
.btn-primary:hover { background:#234173; }

.map-embed { margin:8px 0 6px; border-radius:6px; overflow:hidden; }

.two-col {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px; align-items:start;
}

/* Hotels table */
table.hotels { width:100%; border-collapse:collapse; margin:8px 0 12px; }
table.hotels th, table.hotels td { border:1px solid #e2e8f0; padding:8px 10px; text-align:left; }
table.hotels thead th { background:#f5faff; color:#24425a; }


/* --- Banner gradient background --- */
.confTitleBox {
  background: linear-gradient(90deg, rgba(2, 52, 82, 0.9) 0%, rgba(110, 187, 233, 0.9) 100%);
  color: white;
  min-height: 100px;
  padding: 0;
}

.confLogoBannerBox img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border: none;
}


.simpleTextAnnouncement .social-inline img {
  height:18px; width:18px; vertical-align:middle; margin:0 6px;
}


header, #header, #header-bar, .header-bar, .navbar {
  display: none !important;
}


/* ===== FORCE VERTICAL SPEAKER CARDS (OVERRIDES) ===== */

/* Grid stays responsive */
.speakers {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
}

/* Card */
.spk {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 16px !important;
}

/* Kill any residual row/flex from older CSS */
.spk-top {
  display: block !important;
  width: 100% !important;
}

/* Photo on top */
.spk-photo {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 12px auto !important;
  display: block !important;
}

/* Text */
.spk-meta { text-align: center !important; }
.spk-name { 
  color: #234173 !important; 
  font-weight: 700 !important; 
  margin: 6px 0 4px !important; 
  font-size: 1.05rem !important; 
}
.spk-affil { 
  margin: 0 !important; 
  font-size: 0.95rem !important; 
  color: #333 !important; 
  line-height: 1.35 !important; 
}
.spk-country { 
  margin-top: 4px !important; 
  font-size: 0.9rem !important; 
  color: #444 !important; 
}

/* Button centered at the very bottom */
.bio-btn {
  position: static !important;
  writing-mode: initial !important;   /* undo the vertical pill */
  transform: none !important;
  margin: 12px auto 0 auto !important;
  display: inline-block !important;
  background-color: #1a64a0 !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
}
.bio-btn:hover { background:#234173 !important; }


:root {
  --day-header-bg: #f3e7bc;
  --border: #e6e6e6;
  --time-bg: #f7f7f7;
  --text: #222;
  --muted: #6b7280;
  --keynote: #e7f1ff;
  --session: #cfeaf9;
  --break: #f2f2f2;
  --lunch: #faefef;
  --poster: #fff5e6;
  --panel: #ffe3ef;
  --panel-border: #b71e6b;
}

.day-header {
  background: var(--day-header-bg);
  text-align: center;
  font-weight: 700;
  padding: 10px;
  border-bottom: 1px solid #e8e0bf;
  margin-bottom: 10px;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
}

.program-table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  vertical-align: top;
}

.time {
  width: 120px;
  background: var(--time-bg);
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
}

.slot {
  background: #fff;
}

.break {
  background: var(--break);
  font-weight: 600;
}

.keynote {
  background: var(--keynote);
}

.session {
  background: var(--session);
}

.lunch {
  background: var(--lunch);
  font-weight: 600;
}

.poster {
  background: var(--poster);
}

.panel {
  background: var(--panel);
  border-top: 2px solid var(--panel-border);
  border-bottom: 2px solid var(--panel-border);
  font-weight: 600;
}

.name {
  font-weight: 600;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

a {
  color: #0b5cab;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .time {
    display: block;
    width: auto;
    background: none;
    border: none;
    font-weight: bold;
    padding-bottom: 0;
  }
}

  /* Base table styling */
  .hotels {
    width: 100%;
    border-collapse: collapse;
  }

  .hotels th, .hotels td {
    padding: 10px 12px;
    border: 1px solid #ddd;
  }

  .hotels th {
    text-align: center;
    background-color: #f7f9fc;
  }

  /* Hotel column layout */
  .hotel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .hotels .hotel-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
  }

  .muted {
    color: #666;
    font-size: 0.92em;
    margin-top: 4px;
  }

  .hotel-right {
    line-height: 1.3;
    font-size: 1em;
    margin-top: 6px;
  }

  .code {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
    margin-top: 4px;
  }

  /* ✅ Center text for Distance and Booking cells */
  .hotels td:nth-child(2),
  .hotels td:nth-child(3) {
    text-align: center;
    vertical-align: middle;
  }

  /* Keep the code and links centered as a group */
  .hotels td:nth-child(3) a,
  .hotels td:nth-child(3) small,
  .hotels td:nth-child(3) span {
    display: inline-block;
    text-align: center;
  }
  
  .sponsor-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 30px auto 50px;
}

.sponsor-logos.left-align {
  justify-content: flex-start;
}

.sponsor-item {
  text-align: left;
}

.sponsor-logo {
  max-width: 220px;
  height: auto;
  transition: transform 0.25s ease;
}

.sponsor-logo:hover {
  transform: scale(1.05);
}

.sponsor-name {
  margin-top: 8px;
  font-size: 15px;
  color: #000;
}