/* ----- flipbox -----*/
.flipbox {
	position: relative;
}

.flipbox.inline {
	max-width: 1200px;
	margin: 0 auto;
}

.articlebanner .flipbox {
	margin-bottom: 1em;
}

.noBottomMargin {
	margin-bottom: 0 !important;
}

.flipbox > .cards {
	overflow: hidden;
}

.flipbox > .cards > .card {
	display: none;
	min-height: 150px;
	height: 100%;
}

.flipbox.items > .cards > div.card {
	height: auto;
	/*object-fit: cover;*/
}

.flipbox > .cards > .card.noclick {
	cursor: default;
}

.flipbox > .cards > .card:not(.noclick) {
	cursor: pointer;
}

.flipbox > .cards > .card:first-child {
	display: block;
}

.flipbox > ul.controls {
	text-align: center;
	position: absolute;
	bottom: 0.5em;
	left: 0;
	right: 0;
}

.flipbox > ul.controls > li {
	display: inline-block;
	margin-right: .5em;
}

.flipbox > ul.controls > li > a {
	background-color: transparent;
	color: transparent;
	padding: 0;
	text-decoration: none;
	box-shadow: unset;
	border: 3px solid var(--main-card-color);
	border-radius: 50%;
	width: 2em;
	height: 2em;
	display: block;
	opacity: 0.8;
}

.flipbox > ul.controls > li > a:hover {
	background-color: var(--main-link-color);
	opacity: 0.9;
}

.flipbox > ul.controls > li.active > a {
	background-color: var(--main-card-color);
}

.flipbox > .cards > .card .cardcontent-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: inherit;
}

.cardcontent-wrapper .container{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.flipbox > .cards > .card .cardcontent {
	width: max-content;
	height: fit-content;
	padding: 1rem;
	max-width: 65%;
	background-color: var(--main-card-color);
	color: var(--main-card-text-color);
}

.flipbox > .cards > .card > .cardcontent:empty {
	display: none;
}

.flipbox > .cards > .card :is(h1, h2, h3) {
	color: var(--main-card-text-color);
}


.flipbox > .cards > .card > img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.flipbox.static {
	overflow: hidden;
	padding: 0 4.5%;
	background-position: center center;
	background-repeat: no-repeat
}

.flipbox div.card > picture > img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.flipbox.static h2 {
	position: absolute;
	bottom: 0;
	font-weight: 300;
	padding-top: 0.5em;
	line-height: 1.6em;
	margin-bottom: 0.3em;
}

@media screen and (max-width: 768px) {
	
	.flipbox > .cards > .card {
		min-height: 120px;
	}
	
	.flipbox > ul.controls > li > a {
		width: 1em;
		height: 1em;
		border-width: 2px;
	}
}

@media screen and (max-width: 480px) {
	.flipbox > .cards > .card {
		min-height: 90px;
	}
}

.flipbox .cards .container-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

