/* The Events Calendar 6.10.2 palette. Declare aliases here too so their
   computed values use this palette rather than the plugin's root colors. */
body.tribe-events-page-template,
.tribe-common,
#tribe-events-pg-template,
.tribe-events-single {
  --tec-color-text-primary: #e9dfcf;
  --tec-color-text-primary-light: rgba(233,223,207,.72);
  --tec-color-text-secondary: #b3afa6;
  --tec-color-text-disabled: #777168;
  --tec-color-text-events-title: var(--tec-color-text-primary);
  --tec-color-text-event-title: var(--tec-color-text-events-title);
  --tec-color-text-event-title-list: var(--tec-color-text-events-title);
  --tec-color-text-events-title-day: var(--tec-color-text-events-title);
  --tec-color-text-events-title-latest-past: var(--tec-color-text-events-title);
  --tec-color-text-events-title-month-multiday: var(--tec-color-text-events-title);
  --tec-color-text-events-title-widget-list: var(--tec-color-text-events-title);
  --tec-color-text-event-date: var(--tec-color-text-primary);
  --tec-color-text-secondary-event-date: var(--tec-color-text-secondary);
  --tec-color-text-secondary-event-date-month: var(--tec-color-text-secondary);
  --tec-color-text-secondary-event-date-month-mobile: var(--tec-color-text-secondary);
  --tec-color-text-day-of-week-month: var(--tec-color-text-secondary);
  --tec-color-text-day-of-week-week: var(--tec-color-text-secondary);
  --tec-color-text-events-bar-input: var(--tec-color-text-primary);
  --tec-color-text-events-bar-input-placeholder: var(--tec-color-text-secondary);
  --tec-color-text-events-bar-submit-button: #fff3e7;
  --tec-color-text-events-bar-submit-button-hover: #fff3e7;
  --tec-color-text-events-bar-submit-button-active: #fff3e7;
  --tec-color-text-view-selector-list-item: var(--tec-color-text-primary);
  --tec-color-text-view-selector-list-item-hover: var(--tec-color-text-primary);
  --tec-color-icon-primary: #b3afa6;
  --tec-color-icon-primary-alt: #b3afa6;
  --tec-color-icon-secondary: #918b81;
  --tec-color-icon-active: #e9dfcf;
  --tec-color-icon-disabled: #777168;
  --tec-color-icon-focus: #e24e49;
  --tec-color-icon-error: #f47b73;
  --tec-color-event-icon: #e9dfcf;
  --tec-color-event-icon-hover: #e24e49;
  --tec-color-icon-events-bar: var(--tec-color-icon-primary);
  --tec-color-icon-events-bar-active: var(--tec-color-icon-active);
  --tec-color-icon-events-bar-hover: var(--tec-color-icon-active);
  --tec-color-accent-primary: #e24e49;
  --tec-color-accent-primary-hover: #f47b73;
  --tec-color-accent-primary-active: #f47b73;
  --tec-color-accent-primary-background: rgba(183,34,40,.16);
  --tec-color-accent-secondary: #e9dfcf;
  --tec-color-accent-secondary-hover: #fff3e7;
  --tec-color-accent-secondary-active: #fff3e7;
  --tec-color-accent-secondary-background: rgba(233,223,207,.08);
  --tec-color-button-primary: #b72228;
  --tec-color-button-primary-hover: #c52d32;
  --tec-color-button-primary-active: #a11d23;
  --tec-color-button-primary-background: rgba(183,34,40,.2);
  --tec-color-button-secondary: #e9dfcf;
  --tec-color-button-secondary-hover: #fff3e7;
  --tec-color-button-secondary-active: #fff3e7;
  --tec-color-button-secondary-background: rgba(233,223,207,.08);
  --tec-color-link-primary: #e9dfcf;
  --tec-color-link-accent: #e24e49;
  --tec-color-link-accent-hover: #f47b73;
  --tec-color-border-default: #514940;
  --tec-color-border-secondary: #34312d;
  --tec-color-border-tertiary: #6d604d;
  --tec-color-border-hover: #b3afa6;
  --tec-color-border-active: #e9dfcf;
  --tec-color-border-events-bar: var(--tec-color-border-secondary);
  --tec-color-border-secondary-month-grid: var(--tec-color-border-secondary);
  --tec-color-border-active-month-grid-hover: var(--tec-color-border-active);
  --tec-color-background: #10100f;
  --tec-color-background-events: transparent;
  --tec-color-background-transparent: rgba(16,16,15,.94);
  --tec-color-background-secondary: #191613;
  --tec-color-background-secondary-hover: #26211c;
  --tec-color-background-messages: rgba(233,223,207,.08);
  --tec-color-background-error: rgba(183,34,40,.16);
  --tec-color-background-events-bar: var(--tec-color-background);
  --tec-color-background-events-bar-submit-button: var(--tec-color-button-primary);
  --tec-color-background-events-bar-submit-button-hover: var(--tec-color-button-primary-hover);
  --tec-color-background-events-bar-submit-button-active: var(--tec-color-button-primary-active);
  --tec-color-background-month-grid: transparent;
  --tec-color-background-search-container: var(--tec-color-background);
  --tec-color-background-tooltip: var(--tec-color-background);
  --tec-color-background-view-selector: var(--tec-color-background);
  --tec-color-background-view-selector-tabs: var(--tec-color-background);
  --tec-color-background-view-selector-list-item-hover: var(--tec-color-background-secondary);
  --tec-color-background-subscribe-list-item-hover: var(--tec-color-background-secondary);
  --tec-color-background-secondary-datepicker: var(--tec-color-background-secondary);
  --tec-color-accent-primary-background-datepicker: var(--tec-color-accent-primary-background);
  --tec-color-background-primary-multiday: rgba(183,34,40,.24);
  --tec-color-background-primary-multiday-hover: rgba(183,34,40,.34);
  --tec-color-background-secondary-multiday: rgba(233,223,207,.08);
  --tec-color-background-secondary-multiday-hover: rgba(233,223,207,.14);
  --tec-color-accent-primary-week-event: rgba(183,34,40,.16);
  --tec-color-accent-primary-week-event-hover: rgba(183,34,40,.24);
  --tec-color-accent-primary-week-event-featured: rgba(183,34,40,.12);
  --tec-color-accent-primary-week-event-featured-hover: rgba(183,34,40,.2);
  --tec-color-day-marker-month: var(--tec-color-text-primary);
  --tec-color-day-marker-month-hover: var(--tec-color-text-primary);
  --tec-color-day-marker-month-active: var(--tec-color-text-primary);
  --tec-color-day-marker-current-month: var(--tec-color-text-primary);
  --tec-color-day-marker-current-month-hover: var(--tec-color-text-primary);
  --tec-color-day-marker-current-month-active: var(--tec-color-text-primary);
  --tec-color-day-marker-past-month: var(--tec-color-text-secondary);
  --tec-color-day-marker-past-month-hover: var(--tec-color-text-secondary);
  --tec-color-day-marker-past-month-active: var(--tec-color-text-secondary);
  --tec-color-box-shadow: rgba(0,0,0,.5);
  --tec-color-box-shadow-secondary: rgba(0,0,0,.3);
  --tec-color-scroll-track: rgba(233,223,207,.1);
  --tec-color-scroll-bar: rgba(233,223,207,.35);
  --tec-form-color-background: var(--tec-color-background);
  --tec-form-color-border-default: var(--tec-color-border-default);
  --tec-form-color-border-active: var(--tec-color-accent-primary);
  --tec-form-color-border-secondary: var(--tec-color-border-tertiary);
  --tec-form-color-accent-primary: var(--tec-color-accent-primary);
}

.mm-events-main { min-height: 65vh; }
/* TEC normally uses its background color as the filled button's text color. */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common button.tribe-common-c-btn {
  color: #fff3e7 !important;
}
.tribe-common .tribe-common-c-btn-border:not(:hover):not(:focus) {
  color: var(--tec-color-link-accent);
}
/* The legacy calendar-link icon contains a hard-coded dark SVG fill. */
.tribe-events-single .tribe-events-cal-links a { background-image: none; padding-left: 0; }
