/* BLOCK TYPE 10 - cases overview */

.block_type_24 {
	position: relative;
	min-height: 30vh;
	padding: 5vw;
}
.block_type_24::before {
	content: '24';
	background-color: #84de02;
}
.block_type_24.theme_licht {
	background-color: var(--bg-light);
	color: var(--txt-light);
}
.block_type_24.theme_donker {
	background-color: var(--bg-dark);
	color: var(--txt-dark);
}

.block_type_24 table {
	width: 100%;
}

.block_type_24 table * {
	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
}

.block_type_24 table tr td:nth-child(1) {
	width: 5%;
}
.block_type_24 table tr td:nth-child(2) {
	width: auto;
}
.block_type_24 table tr td:nth-child(3) {
	width: auto;
}
.block_type_24 table tr td:nth-child(4) {
	width: 15%;
}
.block_type_24 table tr td:nth-child(5) {
	width: 5%;
}

.block_type_24 table th {
	text-align: left;
	font-size: 1vw; /* was 24px */
	font-weight: 300;
	color: var(--txt-gray);
	border-bottom: 2px solid rgba(0, 0, 0, 0.4);
	padding-bottom: 1em;
}
.block_type_24 table td {
	text-align: left;
	font-size: 1vw; /* was --txt-standard */
	font-weight: 400;
	height: 7vw;
	padding: 0.5em;
	padding-left: 0;
	border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}

.block_type_24 table td>span{
	transition: 200ms;
}

.block_type_24 table td .td_content{
	position: relative;
	display: inline-block;
}

.block_type_24 table tr td:nth-of-type(2) {
	white-space: nowrap;
	font-size: 2vw; /* was --txt-header-3 */
	font-weight: 300;
}

.block_type_24 tr td:nth-of-type(2) .td_content::before {
	content: '';
	position: absolute;
	left: -3.5vw;
	top: 50%;
	transform: translate(-2vw, -60%);
	width: 2vw;
	height: 2vw;
	background-image: url(/assets/img/external_magenta.svg);
	opacity:0;
	transition: 200ms;
	transition-delay: 100ms;
}

.block_type_24 td:nth-of-type(3) {
}
.block_type_24 td:nth-of-type(4) {
	font-size: 0.7vw; /* was 16px */
	font-weight: 300;
	line-height: 1.25em;
	text-transform: lowercase;
}
.block_type_24 td:nth-of-type(4) p{
	padding-top: 0.2vw;
	padding-bottom: 0.1vw;
}

.block_type_24 tr.filter td {
	border: 0;
	padding-bottom: 3em;
}
.block_type_24 tr.filter td a {
	font-size: 20px; /* was 1vw */
	background-color: white;
	border: 2px solid var(--clr-magenta-100);
	color: var(--clr-black-100);
	padding: 1em;
	padding-left: 1.5em;
	padding-right: 1.5em;
	margin: 0.25em;
	margin-bottom: 0.5em;

	transition: 0.25s;
}
.block_type_24 tr.filter td a:hover {
	background-color: var(--clr-magenta-10);
	color: black;
}
.block_type_24 tr.filter td a.active {
	background-color: var(--clr-magenta-100);
	color: white;
}
.block_type_24 tr.filter td a::after {
	content: attr(count);
	vertical-align: super;
	font-size: 0.5em;
	margin-left: 0.25em;
}
.block_type_24 tr:hover:not(.filter) td > span{
	color: rgba(0,0,0,0.25);
}
.block_type_24 tr:hover:not(.filter) td > span.td_content{
	transform: translateX(3.3vw);
}
.block_type_24 tr:hover:not(.filter) td .td_content::before{
	transform: translate(0, -60%);
	opacity: 1;
}

.block_type_24 a.more {
	border: 1px solid var(--clr-magenta-100);
	background-color: var(--clr-magenta-100);
	color: white;
	font-size: 1vw;
	padding: 1em;
}
.block_type_24 a.more:hover {
	background-color: white;
	color: var(--clr-magenta-100);
	border: 1px solid var(--clr-magenta-100);
}
.block_type_24 a.more div {
	position: relative;
	top: 0.25em;
	line-height: 1em;

	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.block_type_24 a.more div svg {
	width: 1em;
	height: 1em;
	transform: rotate(270deg);
}

/* .case_thumbnail {
	position: fixed;
	left: 0px;
	top: 0px;

	pointer-events: none;
	border: 1px solid red;
	width: 250px;
	height: 250px;
	overflow: hidden;
	z-index: 1000;

	-webkit-mask-image: url(/assets/img/bubble.svg);
	mask-image: url(/assets/img/bubble.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}
.case_thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
} */

.case_preview {
	position: fixed;
	left: 0px;
	top: 0px;
	pointer-events: none;
	width: 400px;
	height: 400px;
	overflow: hidden;
	z-index: 1000;
}
.case_preview_frame {
	transform: scale(0);
	transform-origin: bottom left; 
	position: relative;
	width: 100%;
	height: 100%;
	background-color: var(--clr-black-25); 
	-webkit-mask-image: url(/assets/img/bubble.svg);
	mask-image: url(/assets/img/bubble.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	overflow: hidden;
}
.case_preview_container{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	transition: 500ms ease-in-out;
}
.case_preview_image{
	width: 100%;
	background-size: cover;
	background-position: center center;
	padding-bottom: 100%;
}

@media (max-width: 1000px) {
	/* FILTER */
	.block_type_24 table tr.filter {
		display: block;
		padding-bottom: 2vw;
		border-bottom: 1px solid var(--clr-border);
	}
	.block_type_24 table tr.filter td,
	.block_type_24 table tr.filter th {
		border: 0px !important;
		padding: 0;
	}
	.block_type_24 table tr:not(.filter) {
		padding: 1vw 2vw;
		min-height: 20vw;
		display: grid;
		border-bottom: 1px solid var(--clr-border);
		grid-template-columns: 1fr 1fr 1fr 1fr;
		column-gap: 4vw;
	}

	/* TH */
	.block_type_24 table tr.table_header {
		display: none;
	}

	/* TD */
	.block_type_24 table tr td {
		padding: 0;
		height: auto;
	}
	.block_type_24 table tr td:nth-child(1),
	.block_type_24 table tr td:nth-child(5) {
		display: none;
	}
	.block_type_24 table tr td:nth-child(2) {
		font-size: 6vw;
		grid-column: 1 / span 3;
		align-self: end;
	}
	.block_type_24 table tr td:nth-child(3) {
		font-size: 4vw;
		grid-column: 1 / span 3;
		align-self: start;
		color: var(--txt-gray);
	}
	.block_type_24 table tr td:nth-child(4) {
		font-size: 2.8vw;
		grid-column: 4 / span 1;
		grid-row: 1 / span 2;
		align-self: center;
		width: auto;
	}
	.block_type_24 table tr td {
		border: 0;
	}

	.block_type_24 tr.filter td {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.block_type_24 tr.filter td a:nth-child(1) {
		grid-column: 1 / -1;
	}
	.block_type_24 tr.filter td a {
		display: block;
		font-size: 20px; /* was 1vw */
		background-color: white;
		border: 2px solid var(--clr-magenta-100);
		color: var(--clr-black-100);
		padding: 0.5em;
		padding-left: 1em;
		padding-right: 1em;
		margin: 0.25em;
		margin-bottom: 0.5em;
	}

	.block_type_24 tr:hover:not(.filter) td:nth-of-type(2) .td_content::before {
		display: none;
	}
	.case_preview_frame {
	display:none;
	}
}

