/**
 * Theme Name:  Astra extensions
 * Template:    astra
 */

a.tribe-events-link,
a.tribe-events-link:link,
a.tribe-events-link:visited,
a.tribe-events-link:hover,
a.tribe-events-link:active,
a.tribe-events-link:focus {
  color: var(--ast-global-color-0) !important;
  text-decoration: underline !important;
}

.tribe-events h1,
.tribe-events h2,
.tribe-events h3,
.tribe-events h4,
.tribe-events h5,
.tribe-events h6,
.tribe-events .tribe-common-h1,
.tribe-events .tribe-common-h2,
.tribe-events .tribe-common-h3,
.tribe-events .tribe-common-h4,
.tribe-events .tribe-common-h5,
.tribe-events .tribe-common-h6 {
  --tec-color-text-primary: var(--ast-global-color-2) !important;
}

.tribe-common button {
  outline: none !important;
}

.tribe-common input,
.tribe-common textarea {
  outline-color: var(--ast-global-color-0) !important;
}

.tribe-events-l-container {
  padding: var(--tec-spacer-6) 0 !important;
}

.tribe-extensions.tribe-events-calendar-list__event-row {
  margin: 0 !important;
  border-bottom: 1px solid var(--ast-border-color) !important;
}

.tribe-extensions.tribe-events-calendar-list__event-row:last-child {
  border-bottom: none !important;
}

.tribe-extensions.tribe-events-calendar-list__event-row--new_date {
  margin-top: var(--tec-spacer-7) !important;
}

.tribe-extensions .tribe-events-calendar-list__event-wrapper {
  padding: 0 !important;
}

.tribe-extensions .tribe-events-calendar-list__event {
  margin: 0 !important;
  padding-left: 24px !important;
}

.tribe-extensions .tribe-events-calendar-list__event-header {
  margin: 0 0 var(--tec-spacer-1) !important;
}

.tribe-extensions .tribe-events-calendar-list__event-date-tag {
  border-bottom: unset !important;
}

.tribe-extensions .tribe-events-calendar-list__event-date-tag-datetime {
  padding-top: 0 !important;
}

.tribe-extensions .tribe-events-calendar-list__event-date-tag-weekday {
  color: var(--tec-color-text-primary) !important;
  margin-bottom: 0 !important;
}

.tribe-extensions .tribe-events-calendar-list__event-datetime-wrapper {
  order: unset !important;
}

.tribe-extensions .tribe-events-calendar-list__event-description {
  margin-top: var(--tec-spacer-1) !important;
}

.tribe-extensions .tribe-events-calendar-list__event-description a,
.tribe-extensions .tribe-events-calendar-list__event-description a:link,
.tribe-extensions .tribe-events-calendar-list__event-description a:visited,
.tribe-extensions .tribe-events-calendar-list__event-description a:hover,
.tribe-extensions .tribe-events-calendar-list__event-description a:active,
.tribe-extensions .tribe-events-calendar-list__event-description a:focus {
  color: var(--ast-global-color-0) !important;
  text-decoration: underline !important;
}

.tribe-extensions .tribe-events-calendar-list__event-title {
  order: unset !important;
  margin-top: 0 !important;
}

.tribe-extensions .tribe-events-calendar-list__event-title a:hover {
  color: var(--ast-global-color-0) !important;
}

.tribe-extensions .tribe-events-calendar-list__event-venue {
  margin: 0 !important;
}

.tribe-extensions .tribe-events-calendar-list__event-props {
  display: grid !important;
  grid-template-columns: auto 1fr;
}

.tribe-extensions .tribe-events-calendar-list__event-props-label {
  display: inline-block !important;
  color: var(--ast-global-color-2) !important;
  font-weight: var(--tec-font-weight-bold) !important;
}

.tribe-extensions .tribe-events-calendar-list__event-props-title {
  margin-left: var(--tec-spacer-0) !important;
}

.tribe-extensions.tribe-events-calendar-list__month-separator--first-month {
  margin-top: var(--tec-spacer-5) !important;
}

.tribe-events-pg-template {
  margin: 0 !important;
  padding: var(--tec-spacer-6) 0 !important;
}

.tribe-extensions .tribe-events-back {
  margin-bottom: var(--tec-spacer-6) !important;
}

.tribe-extensions .tribe-events-back a {
  color: var(--ast-global-color-2) !important;
}

.tribe-extensions .tribe-events-back {
  color: var(--ast-global-color-2) !important;
}

.tribe-extensions .tribe-events-schedule {
  margin: 0 !important;
}

.tribe-extensions .tribe-events-single-event-title {
  color: var(--ast-global-color-2) !important;
}

.tribe-extensions .tribe-events-single-event-description {
  margin-bottom: var(--tec-spacer-1);
}

.tribe-extensions .tribe-events-single-event-description p:last-child {
  margin: 0 !important;
}

.tribe-extensions .tribe-events-c-subscribe-dropdown__container {
  text-align: right !important;
}

@media only screen and (max-width: 767px) {
  .tribe-extensions .tribe-events-calendar-list__event-props {
    display: block !important;
  }

  .tribe-extensions .tribe-events-calendar-list__event-props-title {
    margin-left: 0 !important;
  }
}
