/* Events Pages
---------------------------------------------------------------------- */
[id^='tribe-events-day'] a {
  padding: 0 !important;
}
[class*='cell_'] [id^='tribe-events-day'],
[class*='cell_'] [id^='tribe-events-day'] a {
  color: white !important;
}
/* @media only screen and (min-width: 1024px) {
  #tribe-events-pg-template {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 2em;
    padding-right: 2em;
  }
  #tribe-events-pg-template aside {
    padding-left: 2em;
    flex: 1 360px;
    max-width: 360px;
  }
  #tribe-events-pg-template #tribe-events-content {
    flex: 1 calc(100% - 360px);
    max-width: calc(100% - 360px);
  }
} */
.tribe-events-photo-event .list-date {
  width: 27% !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
}
.tribe-events-photo-event .tribe-events-list-event-title {
  float: right !important;
  width: 68% !important;
  font-size: 19px !important;
}

.single-tribe_events {
  --tec-font-size-10: 1.7rem;
}
.single-tribe_events .tribe-events-single .tribe-events-event-meta {
  width: 100%;
  /* background-color: #e5e5e5;
  border: 1px solid #eee;
  padding: 30px; */
}
.tribe-events-venue-map {
  width: 58%;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown__button {
  --tec-spacer-2: 0;
}
@media screen and (max-width: 767px) {
  .single-tribe_events .secondary .tribe-events-venue-map {
    width: 90%;
  }
}
.single-tribe_events .cell_red {
  background-color: #be0f34 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.single-tribe_events .cell_blue {
  background-color: #001ca8 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.single-tribe_events .cell_green {
  background-color: #00ae42 !important;
  color: #ffffff !important;
  padding: 5px !important;
}

.tribe-events-day .cell_red.tribe-events-page-title {
  background-color: #be0f34 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.tribe-events-day .cell_blue.tribe-events-page-title {
  background-color: #001ca8 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.tribe-events-day .cell_green.tribe-events-page-title {
  background-color: #00ae42 !important;
  color: #ffffff !important;
  padding: 5px !important;
}

/* list view date bar and widget list date badge */
.cell_red.list-date {
  background-color: #be0f34 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.cell_blue.list-date {
  background-color: #001ca8 !important;
  color: #ffffff !important;
  padding: 5px !important;
}
.cell_green.list-date {
  background-color: #00ae42 !important;
  color: #ffffff !important;
  padding: 5px !important;
}

/* calendar view */
.tribe-events-calendar .cell_red > div[id^='tribe-events-daynum'] {
  background-color: #be0f34 !important;
}
.tribe-events-calendar .cell_blue > div[id^='tribe-events-daynum'] {
  background-color: #001ca8 !important;
}
.tribe-events-calendar .cell_green > div[id^='tribe-events-daynum'] {
  background-color: #00ae42 !important;
}
.tribe-events-calendar div[id^='tribe-events-daynum'] a {
  background-color: transparent !important;
}
/* color background of current day's block */
.tribe-events-calendar
  #tribe-events-content
  .tribe-events-calendar
  td.tribe-events-present {
  background-color: #eeeeee;
}

/* photo view */
.tribe-events-photo .tribe-events-loop .list-date {
  float: left;
  overflow: hidden;
  font-weight: bold;
  margin: 10px 13px 10px 0;
  padding: 3px;
  width: 45px;
  text-align: center;
  display: inline;
  background: #666;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.tribe-events-photo .tribe-events-loop .list-date .list-dayname {
  background: #ffffff;
  color: #666;
  padding: 3px;
  font-size: 9px;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.tribe-events-photo .tribe-events-loop .list-date .list-daynumber {
  color: #ffffff;
  font-size: 15px;
  width: 100%;
  line-height: 22px;
  display: block;
  text-align: center;
}
.tribe-events-photo .tribe-events-loop .cell_red .list-date {
  background-color: #be0f34 !important;
}
.tribe-events-photo .tribe-events-loop .cell_blue .list-date {
  background-color: #001ca8 !important;
}
.tribe-events-photo .tribe-events-loop .cell_green .list-date {
  background-color: #00ae42 !important;
}

/* week view */
.tribe-events-week .cell_red {
  background-color: #be0f34 !important;
}
.tribe-events-week .cell_blue {
  background-color: #001ca8 !important;
}
.tribe-events-week .cell_green {
  background-color: #00ae42 !important;
}

/* mini cal widget */
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-calendar-month__day {
  border-radius: 0 !important;
  border: 1px solid white !important;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-calendar-month__day
  .tribe-events-calendar-month__mobile-events-icon--event {
  background-color: white;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-calendar-month__day
  time.tribe-events-calendar-month__day-date-daynum {
  color: white;
  padding: 5px 0 15px;
}
/* New updates to latest templating feature Nov 2023 */
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-header {
  background-color: #666 !important;
  color: #ffffff !important;
  margin-left: 0;
  margin-right: 0;
  padding-top: 15px;
  text-transform: uppercase;
  font-weight: bold;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-calendar-month__header-row {
  --tec-color-text-day-of-week-month: white;
  background-color: #666 !important;
  color: #ffffff !important;
  padding-top: 15px;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode
  .tribe-events-l-container,
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month {
  --tec-spacer-4: 0;
  --tec-color-accent-primary: transparent;
  padding-left: 0;
  padding-right: 0;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month
  .tribe-events-calendar-month__day-cell--mobile {
  padding-top: 5px;
}
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month
  .tribe-events-calendar-month__day.tribe-events-calendar-month__day--past {
  opacity: 0.35;
}
/* Different cells */
.tribe-mini-calendar .cell_red,
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month
  .tribe-events-calendar-month__day.cell_red,
.tribe-events-calendar-list .cell_red,
.tribe-events-calendar-month-mobile-events__day-marker .cell_red,
.tribe-events-pro-photo__event-date-tag-datetime.cell_red,
.tribe-events-calendar-day__event-title.cell_red {
  background-color: #be0f34 !important;
  color: #ffffff !important;
}
.tribe-mini-calendar .cell_blue,
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month
  .tribe-events-calendar-month__day.cell_blue,
.tribe-events-calendar-list .cell_blue,
.tribe-events-calendar-month-mobile-events__day-marker .cell_blue,
.tribe-events-pro-photo__event-date-tag-datetime.cell_blue,
.tribe-events-calendar-day__event-title.cell_blue {
  background-color: #001ca8 !important;
  color: #ffffff !important;
}
.tribe-mini-calendar .cell_green,
.tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month
  .tribe-events-calendar-month__day.cell_green,
.tribe-events-calendar-list .cell_green,
.tribe-events-calendar-month-mobile-events__day-marker .cell_green,
.tribe-events-pro-photo__event-date-tag-datetime.cell_green,
.tribe-events-calendar-day__event-title.cell_green {
  background-color: #00ae42 !important;
  color: #ffffff !important;
}
@media only screen and (max-width: 767px) {
  .tribe-events-calendar-month .cell_red {
    background-color: #be0f34 !important;
    color: #ffffff !important;
  }
  .tribe-events-calendar-month .cell_blue {
    background-color: #001ca8 !important;
    color: #ffffff !important;
  }
  .tribe-events-calendar-month .cell_green {
    background-color: #00ae42 !important;
    color: #ffffff !important;
  }
  .tribe-events .tribe-events-calendar-month__day {
    --tec-border-radius-default: 0;
    border: 1px solid white;
  }
  .tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
    --tec-color-accent-primary: white;
  }
}
@media only screen and (min-width: 768px) {
  .tribe-events-calendar-month
    .cell_red
    .tribe-events-calendar-month__day-date {
    background-color: #be0f34 !important;
    color: #ffffff !important;
  }
  .tribe-events-calendar-month
    .cell_blue
    .tribe-events-calendar-month__day-date {
    background-color: #001ca8 !important;
    color: #ffffff !important;
  }
  .tribe-events-calendar-month
    .cell_green
    .tribe-events-calendar-month__day-date {
    background-color: #00ae42 !important;
    color: #ffffff !important;
  }
}
.tribe-events-calendar-day__event-title.cell_blue,
.tribe-events-calendar-day__event-title.cell_red,
.tribe-events-calendar-day__event-title.cell_green {
  padding: 5px;
}
.tribe-events-calendar-day__event-title.cell_blue a,
.tribe-events-calendar-day__event-title.cell_red a,
.tribe-events-calendar-day__event-title.cell_green a {
  --tec-color-text-events-title: white;
}
.tribe-events-calendar-month
  .cell_green
  .tribe-events-calendar-month__day-date
  time,
.tribe-events-calendar-month
  .cell_green
  .tribe-events-calendar-month__day-date
  time
  a,
.tribe-events-calendar-month
  .cell_blue
  .tribe-events-calendar-month__day-date
  time,
.tribe-events-calendar-month
  .cell_blue
  .tribe-events-calendar-month__day-date
  time
  a,
.tribe-events-calendar-month
  .cell_red
  .tribe-events-calendar-month__day-date
  time,
.tribe-events-calendar-month
  .cell_red
  .tribe-events-calendar-month__day-date
  time
  a {
  color: #ffffff !important;
}
.tribe-mini-calendar-event .list-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  min-width: 53.8px;
}
.tribe-mini-calendar-event .list-date .list-dayname {
  font-size: 11px;
}
.tribe-mini-calendar-event .list-date .list-dayname,
.tribe-events-pro-photo__event-date-tag-datetime
  span.tribe-events-pro-photo__event-date-tag-month {
  background: #fff;
  color: #666;
  display: block;
  letter-spacing: 0.5px;
  padding: 3px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}
.tribe-mini-calendar-event .list-date .list-daynum {
  font-size: 15px;
}
.tribe-mini-calendar-event .list-date .list-daynum,
.tribe-events-pro-photo__event-date-tag-datetime
  span.tribe-events-pro-photo__event-date-tag-daynum {
  color: #fff;
  display: block;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}
/* .tribe-events-pro-photo__event-date-tag-datetime.cell_blue span,
.tribe-events-pro-photo__event-date-tag-datetime.cell_red span,
.tribe-events-pro-photo__event-date-tag-datetime.cell_green span {
  --tec-font-size-7: 11px;
} */
.tribe-events-pro-photo__event-date-tag-datetime.cell_blue,
.tribe-events-pro-photo__event-date-tag-datetime.cell_red,
.tribe-events-pro-photo__event-date-tag-datetime.cell_green {
  padding: 3px;
}

.tribe-events
  .tribe-events-calendar-month-mobile-events
  .tribe-events-c-day-marker {
  flex-direction: column-reverse;
  align-items: flex-start;
}
.tribe-events
  .tribe-events-calendar-month-mobile-events
  .tribe-events-c-day-marker:after {
  display: none !important;
}
.tribe-events
  .tribe-events-calendar-month-mobile-events__mobile-day
  .type-tribe_events-wrapper {
  display: flex !important;
  gap: 20px;
  width: 100%;
  border-top: 1px solid var(--tec-color-border-secondary);
  margin-bottom: 10px;
}
.tribe-events
  .tribe-events-calendar-month-mobile-events__mobile-event-details
  a.tribe-events-calendar-month-mobile-events__mobile-event-title-link {
  ---tec-color-text-events-title: #008285;
  color: var(---tec-color-text-events-title);
}
.post-type-archive-tribe_events .tribe-single-date-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  min-width: 53.8px;
}

.post-type-archive-tribe_events
  .tribe-single-date-event
  span.tribe-events-calendar-list__event-date-tag-daynum {
  color: white;
}
.post-type-archive-tribe_events
  .tribe-single-date-event
  span.tribe-events-calendar-list__event-date-tag-weekday {
  background-color: white;
  padding: 5px;
  width: 100%;
}
.tribe-events .tribe-events-calendar-list__event-row {
  gap: 10px;
}
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-header--has-event-search {
  padding-right: 15px;
}
.tribe-events .tribe-events-calendar-list__month-separator {
  padding-right: 15px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  --tec-spacer-13: 0;
  --tec-grid-gutter-page: 0;
}
body.tribe-events-page-template .site-inner {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 and 1/3 layout for the content and sidebar */
  gap: 1rem; /* Space between the columns */
  max-width: 1200px;
  margin: 0 auto; /* Center the site-inner */
}

body.tribe-events-page-template .site-inner::before {
  /* Override clearfix hack */
  content: normal; /* Reset content */
  display: none; /* Hide the pseudo-element */
}

/* For desktop screens */
@media (min-width: 1024px) {
  body.tribe-events-page-template .site-inner > .tribe-events-view {
    /* Content styles */
    padding: 10px; /* Spacing inside the content area */
  }

  body.tribe-events-page-template .site-inner > .sidebar {
    /* Sidebar styles */
    padding: 10px; /* Spacing inside the sidebar */
  }
}

/* Optional: Adjustments for mobile screens */
@media (max-width: 1023px) {
  body.tribe-events-page-template .site-inner {
    display: block; /* Stack the children on small screens */
  }
}
