/* TK Card Carousel — all rules scoped under .av-tk-card-carousel */

.av-tk-card-carousel a {
	color: inherit;
	text-decoration: none;
}
.av-tk-card-carousel a:visited {
	color: inherit;
	text-decoration: none;
}

.av-tk-card-carousel .mfp-title {
	display: none !important;
}

.av-tk-card-carousel .tkcc_title,
.av-tk-card-carousel .tkcc_subtitle,
.av-tk-card-carousel .tkcc_schedule,
.av-tk-card-carousel .tkcc_address,
.av-tk-card-carousel .tkcc_speakers {
	text-align: center;
}

.av-tk-card-carousel .tkcc_title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 20px;
}

.av-tk-card-carousel .tkcc_speakers {
	font-weight: bold;
	margin-bottom : 10px;
}

@media screen and (min-width: 1110px) {
	.av-tk-card-carousel .tkcc_item_flex {
		display: flex;
		flex-direction: row;
	}
	.av-tk-card-carousel .tkcc_content {
		width: 100%;
	}
}

.av-tk-card-carousel .tkcc_media {
	margin-bottom: 10px;
}

@media screen and (max-width: 479px) {
	.av-tk-card-carousel .tkcc_media img {
		max-width: 100%;
		max-height: 100%;
		width: 260px;
		height: 140px;
	}
}

@media screen and (max-width: 1109px) {
	.av-tk-card-carousel .tkcc_item_flex {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		flex-direction: row;
	}
	.av-tk-card-carousel .tkcc_content {
		width: 76%;
	}
}

.av-tk-card-carousel {
	position: relative;
	padding: 0 64px;
}

.av-tk-card-carousel .swiper-button-prev,
.av-tk-card-carousel .swiper-button-next {
	width: 48px;
	height: 48px;
	background: transparent;
	box-shadow: none;
	color: #00B8C8;
	transition: color 0.2s ease, transform 0.2s ease;
}

.av-tk-card-carousel .swiper-button-prev { left: 8px; }
.av-tk-card-carousel .swiper-button-next { right: 8px; }

.av-tk-card-carousel .swiper-button-prev:hover,
.av-tk-card-carousel .swiper-button-next:hover {
	color: #008C99;
	transform: scale(1.15);
}

.av-tk-card-carousel .swiper-button-prev:after,
.av-tk-card-carousel .swiper-button-next:after {
	font-size: 28px;
	font-weight: bold;
	color: inherit;
}

@media screen and (max-width: 767px) {
	.av-tk-card-carousel {
		padding: 0 32px;
	}
	.av-tk-card-carousel .swiper-button-prev,
	.av-tk-card-carousel .swiper-button-next {
		width: 32px;
		height: 32px;
	}
	.av-tk-card-carousel .swiper-button-prev:after,
	.av-tk-card-carousel .swiper-button-next:after {
		font-size: 22px;
	}
	.av-tk-card-carousel .swiper-button-prev { left: 0; }
	.av-tk-card-carousel .swiper-button-next { right: 0; }
}

.av-tk-card-carousel .swiper-container .tkcc_item_flex {
	flex-direction: column !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	padding: 10px;
}

.av-tk-card-carousel .swiper-container .tkcc_content {
	width: 100% !important;
}

.av-tk-card-carousel .swiper-slide {
	background: #00B8C8;
	min-height: 310px;
	color: #ffffff;
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
	height: auto !important;
	border-radius: 8px;
	overflow: hidden;
}

.av-tk-card-carousel .swiper-slide .tkcc_item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.av-tk-card-carousel .swiper-slide .tkcc_item_flex {
	flex: 1;
}

.av-tk-card-carousel .swiper-slide .tkcc_content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.av-tk-card-carousel .swiper-slide .tkcc_programme {
	margin-top: auto;
	text-align: center;
}

.av-tk-card-carousel .swiper-slide .tkcc_cta,
.av-tk-card-carousel .swiper-slide > .tkcc_item > a {
	margin-top: auto;
}

.av-tk-card-carousel .swiper-container .tkcc_content {
	width: 100%;
}

.av-tk-card-carousel .swiper-container {
	width: 100%;
}

.av-tk-card-carousel .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
}

.av-tk-card-carousel .swiper-pagination {
	position: initial;
}

.av-tk-card-carousel .swiper-button-next,
.av-tk-card-carousel .swiper-button-prev {
	top: var(--swiper-navigation-top-offset, 35%);
}

.av-tk-card-carousel .swiper {
	height: 100%;
}

.av-tk-card-carousel .tkcc_cta {
	background: #ffffff;
	border-radius: 0px;
	margin: 10px;
	line-height: 30px;
	padding: 10px 0px;
	text-align: center;
	color: #000000;
	font-weight: bold;
	font-size: 15px;
}

/* Set live by the JS (Swiper lock/unlock) whenever every card fits at the
   current width: autoplay is stopped and there is nothing to scroll to, so the
   arrows, the dots and the side gutters reserved for the arrows go. Removed again
   as soon as a card no longer fits. */
.av-tk-card-carousel.tkcc-static .swiper-button-prev,
.av-tk-card-carousel.tkcc-static .swiper-button-next,
.av-tk-card-carousel.tkcc-static .swiper-pagination {
	display: none;
}
.av-tk-card-carousel.tkcc-static {
	padding: 0;
}
