/*****************************************************************************************************
* Event/Tour Single CSS: 'bub_event' and 'bub_tour' post type
******************************************************************************************************/

/* Entry Header
--------------------------------------------- */

/* Post Title & Event Info */

.single-bub_event .entry-header,
.single-bub_tour .entry-header {
  margin: 0 0 20px;
}

.single-bub_event .entry-header h1.entry-title,
.single-bub_tour .entry-header h1.entry-title {
  margin: 0 0 5px;
}

.single-bub_event .bub-event-subtitle, 
.single-bub_tour .bub-event-subtitle {
  font-style: italic;
}


/* Featured Image
--------------------------------------------- */

.single-bub_event .featimg,
.single-bub_tour .featimg {
  margin: 0 0 20px;
}

.single-bub_tour .featimg img,
.single-bub_event .featimg img {
  max-height: 420px;
  object-fit: cover;
    /* Trigger 'object-fit' polyfill (IE, Safari). */
    font-family: 'object-fit: cover;';
  width: 100%;
}

/* Map
--------------------------------------------- */

.single-bub_event .bub-event-map__map {
  border: 1px solid var(--theme1-background-def);
}

.single-bub_event .bub-event-map__caption {
  text-align: center;
}

.single-bub_event .bub-event-map__caption a {
  background: var(--theme1-background-def);
  color: var(--theme2-color-def);
  display: block;
  padding: 0.5em 0.65em 0.55em;
  text-decoration: none;
}

.single-bub_event .bub-event-map__caption a:hover {
  filter: var(--theme2-filter-acc);
}


/* Content
--------------------------------------------- */

.bub-tour-events {
  margin: 10px 0 0;
}

.bub-tour-events__title {
  font-size: 1.1rem;
}


/* Sidebar 
--------------------------------------------- */

.single-bub_event .sidebar-primary,
.single-bub_tour .sidebar-primary {
  margin-top: 30px;
}

.single-bub_event .sidebar-primary .bub-event-map,
.single-bub_tour .sidebar-primary .bub-event-map {
  margin-bottom: 30px;
}

