/*
 * The Events Calendar: dark styling to match the Big City Hillbillies theme.
 * Loaded only when The Events Calendar is active.
 *
 * TEC defines all of its colours as CSS variables on :root, so most of this
 * file just gives those variables new values. "html:root" is deliberately a
 * little more specific than TEC's plain ":root" so these win whatever order
 * the stylesheets load in.
 *
 * Palette: page #120d0a, panel #1d1511, cream #e6d3ad, tan #c9b58b,
 *          gold #c8892f, red #9c2b1f, rust #b8452f, line #3a2b20.
 */

html:root{
	/* Text */
	--tec-color-text-primary:#e6d3ad;
	--tec-color-text-primary-light:rgba(230,211,173,.72);
	--tec-color-text-secondary:#c9b58b;
	--tec-color-text-disabled:#6b5a47;
	--tec-color-text-events-title:#e6d3ad;
	--tec-color-text-event-title:#e6d3ad;
	--tec-color-text-event-date:#cf5a3e;
	--tec-color-text-secondary-event-date:#c9b58b;

	/* Icons */
	--tec-color-icon-primary:#c9b58b;
	--tec-color-icon-primary-alt:#c9b58b;
	--tec-color-icon-secondary:#7a6a55;
	--tec-color-icon-active:#e6d3ad;
	--tec-color-icon-disabled:#4a3a2c;
	--tec-color-icon-focus:#c8892f;
	--tec-color-icon-error:#e0664a;
	--tec-color-event-icon:#c8892f;
	--tec-color-event-icon-hover:#e0a04a;

	/* Accents (links, outlines, active tab underline) */
	--tec-color-accent-primary:#c8892f;
	--tec-color-accent-primary-hover:#e0a04a;
	--tec-color-accent-primary-active:#e0a04a;
	--tec-color-accent-primary-background:rgba(200,137,47,.14);
	--tec-color-accent-secondary:#c9b58b;
	--tec-color-accent-secondary-hover:#e6d3ad;
	--tec-color-accent-secondary-active:#e6d3ad;
	--tec-color-accent-secondary-background:rgba(201,181,139,.12);

	/* Buttons: solid red like the "Sign me up" button */
	--tec-color-button-primary:#9c2b1f;
	--tec-color-button-primary-hover:#b8452f;
	--tec-color-button-primary-active:#b8452f;
	--tec-color-button-primary-background:rgba(156,43,31,.2);
	--tec-color-button-secondary:#c8892f;
	--tec-color-button-secondary-hover:#e0a04a;
	--tec-color-button-secondary-active:#e0a04a;
	--tec-color-button-secondary-background:rgba(200,137,47,.14);

	/* Links */
	--tec-color-link-primary:#e6d3ad;
	--tec-color-link-accent:#c8892f;
	--tec-color-link-accent-hover:#e0a04a;

	/* Borders */
	--tec-color-border-default:#4a3a2c;
	--tec-color-border-secondary:#3a2b20;
	--tec-color-border-tertiary:#7a6a55;
	--tec-color-border-hover:#c9b58b;
	--tec-color-border-active:#c8892f;

	/* Surfaces */
	--tec-color-background:#1d1511;
	--tec-color-background-events:transparent;
	--tec-color-background-transparent:rgba(29,21,17,.7);
	--tec-color-background-secondary:#261b15;
	--tec-color-background-secondary-hover:#32241b;
	--tec-color-background-secondary-datepicker:#261b15;
	--tec-color-background-messages:rgba(230,211,173,.06);
	--tec-color-background-error:rgba(207,90,62,.14);
	--tec-color-accent-primary-background-datepicker:rgba(200,137,47,.14);

	/* Month / week / multi-day event blocks */
	--tec-color-background-primary-multiday:rgba(200,137,47,.24);
	--tec-color-background-primary-multiday-hover:rgba(200,137,47,.34);
	--tec-color-background-secondary-multiday:rgba(201,181,139,.18);
	--tec-color-background-secondary-multiday-hover:rgba(201,181,139,.28);
	--tec-color-accent-primary-week-event:rgba(200,137,47,.14);
	--tec-color-accent-primary-week-event-hover:rgba(200,137,47,.24);
	--tec-color-accent-primary-week-event-featured:rgba(200,137,47,.08);
	--tec-color-accent-primary-week-event-featured-hover:rgba(200,137,47,.18);

	/* Shadows and scrollbars */
	--tec-color-box-shadow:rgba(0,0,0,.6);
	--tec-color-box-shadow-secondary:rgba(0,0,0,.45);
	--tec-color-scroll-track:rgba(230,211,173,.15);
	--tec-color-scroll-bar:rgba(230,211,173,.4);

	/* Shape and type: square corners and the theme's condensed font */
	--tec-border-radius-default:0;
	--tec-font-family-sans-serif:'Oswald','Helvetica Neue',Arial,sans-serif;
}

/* Native form controls and scrollbars inside the calendar render dark */
html body .tribe-common,
html body .tribe-events{
	color-scheme:dark;
}

/* Page wrapper (the Default Events Template) lines up with the rest of the site */
html body .tribe-events-pg-template{
	max-width:1180px;
	margin:0 auto;
	padding:48px 24px 70px;
	background:transparent;
	color:#e6d3ad;
}

/* Filled buttons ("Find Events"): cream text on red. TEC colours this text with
   the background variable, which is now dark, so it is set directly. */
html body .tribe-common .tribe-common-c-btn,
html body .tribe-common a.tribe-common-c-btn,
html body .tribe-events .tribe-events-c-search__button{
	color:#e6d3ad !important;
}

/* Buttons share the theme's squared, spaced-out look */
html body .tribe-common .tribe-common-c-btn,
html body .tribe-common .tribe-common-c-btn-border,
html body .tribe-common .tribe-common-c-btn-border-small,
html body .tribe-events .tribe-events-c-search__button,
html body .tribe-events .tribe-events-c-subscribe-dropdown__button{
	border-radius:0;
	text-transform:uppercase;
	letter-spacing:.1em;
}

/* Headings and tabs use the theme's heading font */
html body .tribe-events .tribe-events-calendar-list__event-title,
html body .tribe-events .tribe-events-calendar-list__month-separator-text,
html body .tribe-events .tribe-events-calendar-month__calendar-event-title,
html body .tribe-events .tribe-events-c-top-bar__datepicker-button,
html body .tribe-events .tribe-events-c-view-selector__list-item-text{
	font-family:'Oswald',Impact,sans-serif;
	text-transform:uppercase;
	letter-spacing:.04em;
}

/* The search bar sits on the panel colour with a thin outline */
html body .tribe-events .tribe-events-header__events-bar{
	border:1px solid #3a2b20;
}

/* "There are no upcoming events" and other notices */
html body .tribe-events .tribe-events-c-messages__message{
	color:#c9b58b;
}

/* Single event pages */
html body .tribe-events-single .tribe-events-single-event-title{
	font-family:'Oswald',Impact,sans-serif;
	text-transform:uppercase;
	color:#c9b58b;
}
html body .tribe-events-single .tribe-events-schedule,
html body .tribe-events-single .tribe-events-schedule h2,
html body .tribe-events-single .tribe-events-schedule h3{
	color:#c9b58b;
}
html body .tribe-events-single .tribe-events-event-meta{
	background:#1d1511;
	color:#e6d3ad;
	border-color:#3a2b20;
}
html body .tribe-events-single a{
	color:#c8892f;
}
html body .tribe-events-single a:hover{
	color:#e0a04a;
}
