/** Events Widget */
#enmw_main {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 14px;
	padding: 20px;
	border: none;
}
#enmw_title {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 0.5em;
}
#enmw_title:empty {
	display: none;
}

.enmw_event_item {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding: 20px 10px;
	background: #fafafa;
	border-radius: 10px;
	gap: 30px;
}

.enmw_panel {
	display: flex;
	align-items: center;
	gap: 20px;
}
.enmw_panel__right {
	flex-grow: 1;
}

.enmw_event_date {
	display: flex;
	flex-wrap: nowrap;
    justify-content: center;
	align-items: center;
	line-height: 1.5em;
}
.enmw_event_date__wide {
	width: 83px;
}
.enmw_event_date__start,
.enmw_event_date__end {
	width: 38px;
	text-transform: uppercase;
	text-align: center;
}
.enmw_event_date__delim {
	width: 7px;
	text-align: center;
}
.enmw_event_date__month {
	display: block;
	font-size: 1.2em;
}
.enmw_event_date__day {
	display: block;
	font-size: 1.8em;
	font-weight: 600;
}
.enmw_event_date__start.__same_month {
	width: 83px;
}

.enmw_event_logo {
	min-width: 64px;
}
.enmw_event_logo img {
	width: 64px;
	height: auto;
}

.enmw_event_details {
	flex-grow: 1;
	flex: 1;
}
.enmw_event_details > * {
	display: block;
}
.enmw_event_details__series {
	font-size: 1.2em;
	opacity: 0.8;
	line-height: 1.2em;
}
.enmw_event_details__name {
	font-size: 1.4em;
	font-weight: 600;
	line-height: 1.2em;
	margin-bottom: 10px;
}
.enmw_event_details__address {
	background-color: rgba(0,0,0,0.15);
	display: inline-block;
	padding: 2px 10px;
	font-size: 0.8em;
	border-radius: 50px;
}
.enmw_event_details__open_until {
	margin-top: 10px;
	font-size: 0.9em;
	font-style: italic;
}

.enmv_event_action {
	width: 150px;
}
.enmv_event_action a {
	display: block;
	margin: 10px;
}

.btn-primary, .btn-primary:visited {
	background: #43AC6A;
	border: none;
	color: #ffffff;
	font-size: 1.15em;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not([disabled]):not(.disabled):active {
	background: #43AC6A;
	border: none;
	color: #ffffff;
}
.btn-light, .btn-light:visited {
	background: #e2e6ea;
	border: none;
	font-size: 1.15em;
}
.btn-light:hover, .btn-light:focus, .btn-light:not([disabled]):not(.disabled):active {
	background: #e2e6ea;
	border: none;
}

/** Layout: Streamer */
.streamer .enmw_panel__right {
	order: -1;
}
.streamer .enmw_event_logo {
	order: -1;
}

/** Layout: Banner */
.banner .enmw_event_logo {
	order: -1;
}

/** Layout: Card */
.card .enmw_events {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.card .enmw_event_item {
	flex-direction: column;
    justify-content: space-between;
	min-width: 260px;
	max-width: 350px;
	flex: 1;
	gap: 0;
}
.card .enmw_panel  {
	display: block;
}
.card .enmw_panel__left {
	width: 100%;
	margin-bottom: 20px;
}
.card .enmw_event_logo img {
	width: 100%;
}
.card .enmw_event_date {
	justify-content: space-between;
	margin-bottom: 20px;
	width: 85px;
}
.card .enmw_panel__right {
	flex-grow: 0;
	text-align: center;
}
.card .enmv_event_action {
	width: 100%;
}

/** Spacing: Compact */
#enmw_main.compact {
	padding: 10px;
}
.compact .enmw_event_item {
	padding: 10px;
	gap: 20px;
}
.compact .enmw_panel {
	gap: 10px;
}
.compact .enmw_event_details__name {
	margin-bottom: 0;
}
.compact .enmv_event_action a {
	margin: 5px;
}

/** Spacing: Wide */
#enmw_main.wide {
	padding: 30px;
}
.wide .enmw_event_item {
	padding: 20px;
	gap: 40px;
}
.wide .enmw_panel {
	gap: 30px;
}

/** Borders */
.border-all .enmw_event_item {
	border: 1px solid rgba(0,0,0,0.3);
}
.border-left .enmw_event_item {
	border-left: 1px solid rgba(0,0,0,0.3);
}
.border-right .enmw_event_item {
	border-right: 1px solid rgba(0,0,0,0.3);
}
.border-top .enmw_event_item {
	border-top: 1px solid rgba(0,0,0,0.3);
}
.border-bottom .enmw_event_item {
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.border-left-right .enmw_event_item {
	border-left: 1px solid rgba(0,0,0,0.3);
	border-right: 1px solid rgba(0,0,0,0.3);
}
.border-top-bottom .enmw_event_item {
	border-top: 1px solid rgba(0,0,0,0.3);
	border-bottom: 1px solid rgba(0,0,0,0.3);
}
.border-thin .enmw_event_item {
	border-width: 3px;
}
.border-thick .enmw_event_item {
	border-width: 12px;
}
.border-radius-none .enmw_event_item {
	border-radius: 0;
}
.border-radius-full .enmw_event_item {
	border-radius: 20px;
}



@media only screen and (max-width: 576px){

	.enmw_panel__right {
		display: block;
	}

	.enmv_event_action {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		width: 100%;
		margin-top: 1.5em;
	}
	.enmv_event_action a {
		margin: 0;
		flex: 1;
	}
	.enmv_event_action a.btn-light {
		order: -1;
	}

}

@media only screen and (max-width: 400px){

	.enmw_event_item {
		display: block;
	}

	.enmw_panel__left {
		justify-content: space-between;
		margin-bottom: 1.5em;
	}
	.enmw_event_logo {
		order: -1;
	}

}