/*
Addition to theme style.css for styling the plugin "The Events Calendar"
Theme Name: Bet_El
Author: Heiner Walter
Version: 1.0.4
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
9.0 External Plugins
    9.1 The Events Calendar

--------------------------------------------------------------*/

/*--------------------------------------------------------------
9.0 External Plugins
--------------------------------------------------------------*/
/*--------------------------------------------------------------
    9.1 The Events Calendar
--------------------------------------------------------------*/
:root {
	/* color red: */
    --tec-color-icon-error: #da394d;
    --tec-color-background-error: rgba(218,57,77,.08);

	/* color gold: */
    --tec-color-icon-focus: #B99340;
    --tec-color-event-icon-hover: #B99340;
    --tec-color-accent-primary: #B99340;
    --tec-color-accent-primary-hover: rgba(185,147,64,.8);
    --tec-color-accent-primary-active: rgba(185,147,64,.9);
    --tec-color-accent-primary-background: rgba(185,147,64,.07);
    --tec-color-link-accent-hover: rgba(185,147,64,.8);
    --tec-color-background-primary-multiday: rgba(185,147,64,.24);
    --tec-color-background-primary-multiday-hover: rgba(185,147,64,.34);
    --tec-color-accent-primary-week-event: rgba(185,147,64,.1);
    --tec-color-accent-primary-week-event-hover: rgba(185,147,64,.2);
    --tec-color-accent-primary-week-event-featured: rgba(185,147,64,.04);
    --tec-color-accent-primary-week-event-featured-hover: rgba(185,147,64,.14);
	
	/* color: black */
	--tec-color-text-primary: #000000;
}

:root {
    --tec-border-radius-default: 4px;
    --tec-border-width-week-event: 2px;
    --tec-box-shadow-default: 0 2px 5px 0 var(--tec-color-box-shadow);
    --tec-box-shadow-tooltip: 0 2px 12px 0 var(--tec-color-box-shadow);
    --tec-box-shadow-card: 0 1px 6px 2px var(--tec-color-box-shadow);
    --tec-box-shadow-multiday: 16px 6px 6px -2px var(--tec-color-box-shadow-secondary);
    --tec-opacity-background: 0.07;
    --tec-opacity-select-highlighted: 0.3;
    --tec-opacity-icon-hover: 0.8;
    --tec-opacity-icon-active: 0.9;
    --tec-opacity-default: 1;
    --tec-transition: all 0.2s ease;
    --tec-transition-background-color: background-color 0.2s ease;
    --tec-transition-color-border-color: color 0.2s ease,border-color 0.2s ease;
    --tec-transition-transform: transform 0.2s ease;
    --tec-transition-border-color: border-color 0.2s ease;
    --tec-transition-color: color 0.2s ease;
    --tec-transition-opacity: opacity 0.2s ease;
    --tec-font-family-sans-serif: "Neris", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--tec-font-family-serif: "Aleo", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}


/*--------------------------------------------------------------
        9.1.1 Events List Page
--------------------------------------------------------------*/
/* container */
.tribe-events {}
.tribe-common .tribe-common-l-container {
	padding: 0 !important;
}

/* header */
.tribe-common .tribe-events-header .tribe-events-c-top-bar {
	/* date controls */
}
.tribe-common .tribe-events-header .tribe-events-c-events-bar {
	/* filter and view type buttons */
	display: none;
}

/* content */
.tribe-common .tribe-events-calendar-list {}
.tribe-common .tribe-events-calendar-list .tribe-events-calendar-list__month-separator {
	border-bottom: 0;
}
.tribe-common .tribe-events-calendar-list .tribe-events-calendar-list__event-title {
	
}
.tribe-events .tribe-events-calendar-list__event-title-link {
	font-family: var(--tec-font-family-serif);
	border-bottom: none;
}
.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events .tribe-events-calendar-list__event-title-link:focus {
	color: var(--tec-color-accent-primary-hover);
	border-bottom: none;
}
.tribe-events .tribe-events-calendar-list__event-cost {
	/* Hide costs on list page because it only displays the price without explanation */
	display: none;
}


/* footer */
.tribe-common .tribe-events-c-nav {}
.tribe-common .tribe-events-c-subscribe-dropdown {}
.tribe-common .tribe-events-c-nav ul li {
	padding-left: 0;
}
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-nav__today,
.tribe-events .tribe-events-c-nav__next {
	text-decoration: none;
	border-bottom: none;
}
.tribe-events .tribe-events-c-nav__prev:focus,
.tribe-events .tribe-events-c-nav__prev:hover,
.tribe-events .tribe-events-c-nav__today:focus,
.tribe-events .tribe-events-c-nav__today:hover,
.tribe-events .tribe-events-c-nav__next:focus,
.tribe-events .tribe-events-c-nav__next:hover {
	color: var(--tec-color-accent-primary);
}

/* Disable template styles for the events calendar */
.entry-content .tribe-common li:before {
	content: normal;
}
.tribe-common .tribe-events-header button,
.tribe-common .tribe-events-c-nav button,
.tribe-common .tribe-events-c-subscribe-dropdown button {
	background: transparent !important;
	border: none !important;
	color: inherit !important;
}
.tribe-common .tribe-events-header button:disabled,
.tribe-common .tribe-events-c-nav button:disabled,
.tribe-common .tribe-events-c-subscribe-dropdown button:disabled {
	color: var(--tec-color-icon-disabled) !important;
}

/*--------------------------------------------------------------
        9.1.2 Single Event Page
--------------------------------------------------------------*/
/* container */
#tribe-events, #tribe-events-pg-template, .tribe-events-pg-template, #tribe-events-content {
	padding: 0 !important;
}

body.tribe_events-template-default.single-tribe_events .page-header .entry-title {
	padding-top: 0px !important;
	padding-bottom: 40px !important;
}
@media screen and (max-width: 991px) {
	body.tribe_events-template-default.single-tribe_events .page-header .entry-title {
		padding-top: 0px !important;
		padding-bottom: 20px !important;
	}
}

/* event */
.tribe-events-before-html {}


/*
 * Navigation buttons (all events, previous event, next event):
 */
#tribe-events-content .tribe-events-back a,
#tribe-events-content .tribe-events-nav-previous a,
#tribe-events-content .tribe-events-nav-next a {
	text-decoration: none;
	transition: var(--tec-transition-color);
	background: transparent;
}
#tribe-events-content #tribe-events-footer ul.tribe-events-sub-nav li {
	padding-left: 0;
}
#tribe-events-content #tribe-events-footer ul.tribe-events-sub-nav li:first-child {
	margin-left: 0;
}
#tribe-events-content #tribe-events-footer ul.tribe-events-sub-nav li:last-child {
	margin-right: 0;
}

/*
 * Title:
 */
#tribe-events-content.tribe-events-single {}
.single-tribe_events .tribe-blocks-editor .tribe-events-single-event-title,
.tribe-events-single .tribe-events-single-event-title {
	/* copied from .page-header .entry-title */
	font-family: var(--tec-font-family-serif);
	font-weight: lighter;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	color: #B99340;
	padding: 40px 0px 20px 0px;
	/* copied from h1 */
	font-family: 'Aleo', Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	line-height: 1.3;
	font-size: 2.0625rem;
	/* custom */
	margin: 0px;
	padding-top: 0.5rem;
	padding-bottom: 0px;
}

/*
 * Date and time:
 */
.tribe-events-single .tribe-events-schedule,
.single-tribe_events .tribe-blocks-editor .tribe-events-schedule {
	margin: 0;
	padding: 0;
	margin-bottom: 0.9375rem;
}
.tribe-events-single .tribe-events-schedule h2,
.single-tribe_events .tribe-blocks-editor .tribe-events-schedule .tribe-events-schedule__datetime {
	/* copied from .entry-content h3 */
	line-height: 1.6;
	/* copied from h3.mitarbeiter */
	border-bottom: 1px solid #B5B5B5;
	/* copied from h3 */
	font-family: var(--tec-font-family-serif);
	font-weight: bold;
	/* custom */
	display: block;
	text-align: center;
	margin: 0;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 1.1rem;
}
.tribe-events-single .tribe-events-schedule h2 *,
.tribe-events-schedule__separator {
	color: inherit;
}
.tribe-events-schedule__separator {
	font-size: inherit;
}

/*
 * Image:
 */
.tribe-events-single .tribe-events-event-image {
	width: 100%;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	/* compensate margin-bottom of .tribe-events-single .tribe-events-schedule h3 */
	margin-top: -0.9375rem !important;
}
.tribe-events-single .tribe-events-event-image * {
	width: 100%;
}
.tribe-events-single .tribe-events-event-image img {
	object-fit: cover;
	object-position: 50% 0%;
	max-height: max(50vh, 20rem);
}

/*
 * Details:
 */
.entry-content h3 {
	padding-top: 0;
}

/*
 * Category:
 */
.tribe-events-event-categories-label, .tribe-events-event-categories {
	/* Hide categories */
	display: none;
}

/*
 * Organizer:
 */
.tribe-block__organizer__details {
	margin: 0;
}

/*
 * Venue:
 */
.tribe-block__venue .tribe-block__venue__meta .tribe-block__venue__name h3 {
	color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    font-size: var(--tec-font-size-4);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.64;
}
.tribe-block__venue__address, address.tribe-block__venue__address {
	margin: 0;
}
#tribe-events-content a, .tribe-events-event-meta a {
	border: none;
	text-decoration: underline;
	text-decoration-color: var(--tec-color-accent-primary);
	color: var(--tec-color-text-primar);
}
#tribe-events-content a:hover, .tribe-events-event-meta a:hover,
#tribe-events-content a:focus, .tribe-events-event-meta a:focus {
	color: var(--tec-color-accent-primary-hover);
	text-decoration-color: var(--tec-color-accent-primary-hover);
}

/*
 * Website:
 */
.tribe-block__event-website a,
#tribe-events-content .tribe-block__event-website a {
	text-decoration: none;
	border: solid 1px var(--tec-color-accent-primary);
	transition: var(--tec-transition-color), var(--tec-transition-background-color);
}
#tribe-events-content .tribe-block__event-website a:hover,
#tribe-events-content .tribe-block__event-website a:focus {
	color: var(--tec-color-event-icon-hover);
	background: transparent;
}

/*
 * Add to calendar:
 */
.tribe-block__events-gcal a,
#tribe-events-content .tribe-block__events-link a,
#tribe-events-content .tribe-block__events-gcal a,
#tribe-events-content .tribe-block__events-ical a {
	text-decoration: none;
}


.tribe-events-after-html {}

/*
 * Disable template styles for the events calendar
 */
.entry-content #tribe-events-footer li:before {
	/* Disable list dots */
	content: normal;
}

@media (min-width: 768px) {
	.single-tribe_events .tribe-blocks-editor .tribe-events-single-event-title,
	.tribe-events-single .tribe-events-single-event-title {
		/* copied from h1 */
		font-size: 40px;
		font-size: 2.5rem;
	}
	.tribe-events-single .tribe-events-schedule h2,
	.single-tribe_events .tribe-blocks-editor .tribe-events-schedule .tribe-events-schedule__datetime {
		font-size: 1.3rem;
	}
}

/*--------------------------------------------------------------
        9.1.3 Hacks
--------------------------------------------------------------*/
/*
 * Inserted titles on events list page:
 */
.tribe-events .tribe-events-calendar-list__event-venue-title:before {
	margin-right: 0.5ex;
	font-variant: small-caps;
}
/*
 * Inserted titles on single event page:
 */
.tribe-events-single .tribe-block__venue__name h3:before {
	display: block;
	font-family: var(--tec-font-family-serif);
	font-size: 1.1rem;
}
@media (min-width: 768px) {
	.tribe-events-single .tribe-block__venue__name h3:before {
		font-size: 1.3rem;
	}
}

/*
 * Insert "Veranstaltungsort" in front of venue:
 */
.tribe-events .tribe-events-calendar-list__event-venue-title:before,
.tribe-events-single .tribe-block__venue__name h3:before {
	content: "Veranstaltungsort:";
}
