/*
  Event site overrides to default Bootstrap theme styles in /bootstrap/theme.css
*/

@import url('https://www.blackhat.com/bootstrap/fonts-2024.css');

h1, h2, h3, h4, h5 {
  font-weight: 500;
}

/* Header: Date / location information beneath the 'Register Now' button */
.event-date-location {
  color: #fff;
}
.event-header-info .event-date-location {
  font-weight: 600; /* Bold the dates in the date/location */
}
.event-header-info .event-date-location span {
  font-weight: 400; /* Restore normal font weight for location in date/location */
}

body {
  background: #000 url(https://www.blackhat.com/images/backgrounds/2025-a.jpg) center -160px no-repeat; /* Negative top margin so upper background doesn't bleed behind text, for legibility. */
}

main {
  background: url(https://www.blackhat.com/images/backgrounds/2025-b.jpg) bottom center no-repeat;
  min-height: 1200px;
  padding-bottom: 570px;
}

main h1 {
  background: none;
}

/* <main> having a background seems to reset height for featured:before. Hide it on this event site, and use a traditional border for .featured instead. */
main .container .d-flex .featured {
  border: 1px solid #444;
}
main .container .d-flex .featured:before {
  display: none;
}

/* Header overrides */
/* Event site header - For the logo + event name */
.event-header-logo {
  line-height: 22px;
  margin-bottom: .1em;
  text-shadow: none;
}

.event-reg {
  margin-bottom: 0;
}
.event-date-location {
  background: none;
  box-shadow: none;
  line-height: 28px;
}
.event-date-location span {
  line-height: 22px;
}
.event-date-location hr, 
.event-date-location hr:before, 
.event-date-location hr:after {
  display: none;
  height: 0;
}

.event-intro {
  background: rgba(0,0,0,.66);
}

/* Header: 'Register Now' button */
.main-action-button, 
.main-action-button:active,
.main-action-button:focus,
.main-action-button:hover {
  box-shadow: none;
}

/* special callout for Know Before You Go, on the landing page (main shared styles are in theme.css) */
.special-callout {
  background-image: url(https://www.blackhat.com/images/backgrounds/2025-a.jpg);
  .large.special-font-regular {
    text-transform: uppercase;
  }
}

/* Small screens/devices only */
@media (max-width: 991px) {
  .event-date-location {
    margin-bottom: 1em;
  }
}

/* Large screens/devices only */
@media (min-width: 992px) {
  .event-header-logo span {
    font-size: .8em;
    margin-right: 1%;
  }

  /* Remove default borders between main menu top-level nav items */
  #main-menu li.nav-item a.nav-link {
    border-left: none;
  }
}
@media (min-width: 1200px) {
  .price-box-wrapper .span-4 {
  /* span-4 is the container for the price boxes in the schedule viewer (detailed view) */
    min-width: auto;
    width: 30%; /* 95% for 1, 48.2% for 2, 30% for 3, 22% for 4 */
  }
}

/* Darken the time-zone indicator, vs. the lightness of the 2023 theme */
#event-main-nav-append {
  background: #000;
}
@media (min-width: 576px) {
  #event-main-nav-append:before {
    background: linear-gradient(to left, #000, transparent);
  }
  #event-main-nav-append:after {
    background: linear-gradient(to right, #000, transparent);
  }
}

#informa-footer {
  margin-top: 0;
}

span.booth-bmr-bml {
  display: none;
}