/* TF Event Banner
---------------------------------------- */
.tf-event-container {
	display: flex;
	justify-content: center;
	column-gap: 12px;
	row-gap: 4px;
	margin: 6px 0 8px 0;
	flex-wrap: wrap;
	width: 100%;
}

.tf-event-banner {
	box-sizing: border-box;
	width: 46%;
	min-width: 430px;
	max-width: 520px;
	margin: 0;
	padding: 8px 12px;
	background: #dfdfdf;
	background-image: linear-gradient(#777 1%, #ccc 10%, #dfdfdf 25%, #dfdfdf 60%, #ccc 75%, #bbb 80%, #888 85%, #555 90%, #444 95%, #333 100%);
	border: 2px solid #505050;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,.35);
	line-height: 1.25;
	text-align: center;
	position: relative;
	z-index: 0;
	white-space: nowrap;
}

.tf-event-banner a,
.tf-event-banner a:visited {
	text-decoration: none;
}

.tf-event-banner a:hover {
	color: #000 !important;
	text-decoration: none;
}

.tf-event-banner-img {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	vertical-align: -5px;
	object-fit: contain;
}

.tf-event-slider {
	position: relative;
	width: 100%;
	margin: 6px 0 8px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tf-event-slider-track {
	width: 46%;
	min-width: 430px;
	max-width: 520px;
	position: relative;
}

.tf-event-slider .tf-event-banner {
	display: none;
	width: 100%;
	min-width: 0;
	max-width: none;
}

.tf-event-slider .tf-event-banner.is-active {
	display: block;
}

.tf-event-slider-prev,
.tf-event-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #505050;
	background: #dfdfdf;
	color: #c00;
	font-size: 22px;
	font-weight: bold;
	line-height: 22px;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.tf-event-slider-prev {
	left: calc(50% - 300px);
}

.tf-event-slider-next {
	right: calc(50% - 300px);
}

.tf-event-slider-prev:hover,
.tf-event-slider-next:hover {
	color: #000;
}

@media only screen and (max-width: 700px) {
	.tf-event-banner {
		width: 90%;
		min-width: 0;
		max-width: none;
		font-size: 13px;
		padding: 8px 10px;
		white-space: normal;
	}

	.tf-event-slider-track {
		width: 90%;
		min-width: 0;
		max-width: none;
	}

	.tf-event-banner-img {
		width: 18px;
		height: 18px;
		margin-right: 5px;
		vertical-align: -4px;
	}

	.tf-event-slider-prev {
		left: 2px;
	}

	.tf-event-slider-next {
		right: 2px;
	}
}
