.tooltipster-base.tribe-events-tooltip-theme .tooltipster-box {
background-color: transparent!important;
} /* added because the background colours for Month View were not displaying properly */
 
:root {
--global-palette7: #ffDE59;
}

.tribe-events {
padding: 50px;
}

@media screen and (max-width: 2000px) {
	.tribe-events-view, .tribe-events-view--shortcode {
		width: 100% !important;
    		margin: unset !important;
	}
}

/* remove end time in Month View to save clutter */
.tribe-events-calendar-month__calendar-event-datetime-separator,
.tribe-events-calendar-month__calendar-event-datetime time:last-of-type {
display: none;
}

add_filter( 'tribe_events_event_schedule_details_formatting', 'tribe_remove_end_date' );
function tribe_remove_end_date ( $settings ) {
  $settings['show_end_time'] = false; 
  return $settings;
}

@media all and (max-width:760px){
  .wp-block-gallery .wp-block-image {
    width:100% !important;
  }
}

.unclickable > a {
pointer-events: none;
}

/* Makes underlines appear on links on Organizer pages */
.tribe-events-pro-organizer__meta-content.tribe-common-b1 a,
.tribe-events-pro-organizer__meta-details a {
  text-decoration: underline !important;
}

/* Puts a light purple background on the current day in Month View */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day--current {
background-color: rgba(152, 25, 142, 0.1);
}
/* Overrides Kadence theme preventing no gap between columns */
.no-gap-columns {
  gap: 0 !important;
  margin: 0 !important;
}



/* Never crop the monthly shortcode image */
.monthly-current .monthly-featured-wrap { overflow: visible !important; }
.monthly-current img.monthly-featured {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
}


/* Responsive image behaviour for the monthly shortcode used on from the Dark Skies bench page*/
.monthly-current .monthly-featured-wrap {
  overflow: visible;
  margin-bottom: 1.5rem;
}

/* On larger screens, float the image and wrap text on from the Dark Skies bench page*/
@media (min-width: 900px) {
  .monthly-current .monthly-featured-wrap {
    float: right;
    width: 50%;               /* adjust for your taste */
    max-width: 500px;         /* cap so it doesn't dominate */
    margin: 0 0 1rem 2rem;    /* space between image and text */
  }
  .monthly-current .monthly-content {
    overflow: hidden;         /* clears the float cleanly */
  }
}
/* Make caption play nicely "/
.monthly-featured-wrap {
  overflow: visible !important;
  margin-bottom: 1.5rem;
}

.monthly-featured-wrap img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

.monthly-caption {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-top: .5rem;
}

.monthly-caption a {
  color: var(--wp--preset--color--primary, #006400);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}
/* Where images are used as buttons, brightens and enlargens on hover */
.image-button {
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.image-button:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}