#hoverbox {
	display: none;
	box-sizing: border-box;

	max-width: 600px;
	padding: 25px;

	background-color: var(--col-hoverbox-bg);
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
	border-radius: 5px;

	position: absolute;
	left: 0px;
	top: 0px;
}

.hoverbox-anchor-emphasis {
	font-weight: bold;
	transition: 0.2s ease-out;
	font-size: 105%;
	line-height: 95%;
}
.hoverbox-anchor-emphasis::before {
	font-weight: normal;
}

.hoverbox-arrow {
	width: 0px;
	position: absolute;
	left: 35px;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
}

#hoverbox-arrow-top {
	top: -15px;
	border-top: 0px solid transparent;
	border-bottom: 15px solid var(--col-hoverbox-bg);
}
#hoverbox-arrow-bottom {
	bottom: -15px;
	border-top: 15px solid var(--col-hoverbox-bg);
	border-bottom: 0px solid transparent;
}

#hoverbox-flex-container {
	display: flex;
}

#hoverbox-image {
	min-width: 170px;
	height: 100%;
	background-color: lightgray;
	object-fit: cover;
	margin-right: 25px;
}

#hoverbox-datafields {
}

#hoverbox-title {
	font-family: 'Dosis', sans-serif;
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
}

#hoverbox-metadata {
	margin-top: 5px;
	font-size: 15px;
}

#hoverbox-text {
	margin-top: 15px;
	text-indent: 0px;
	font-size: 15px;
	line-height: 160%;
	max-height: 312px;
	overflow: hidden;
}
#hoverbox-text p {
	font-size: inherit;
	line-height: inherit;
	text-indent: inherit;
}
#hoverbox-text p:not(:first-child) {
	margin-top: 9px;
}

#hoverbox-text ul {
	margin: 0px 0px 0px 20px;
}
#hoverbox-text li {
	padding: 3px 8px;
	line-height: 140%;
	font-size: 15px;
}

.text-fadeout{
	-webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 99%);
	mask-image: linear-gradient(to bottom, black 70%, transparent 99%);
}

.searchmatch {
	font-weight: bold;
}

@keyframes scaleup {
	from {
		transform: scale(0.95);
	}
	to {
		transform: scale(1);
	}
}


@media screen and (max-width: 1250px) {
	#hoverbox {
		max-width: 450px;
		padding: 20px;
	}

	#hoverbox-title {
		font-size: 20px;
	}

	#hoverbox-metadata {
		font-size: 13px;
	}

	#hoverbox-text {
		font-size: 13px;
		max-height: 209px;
	}
	
	#hoverbox-text li {
		font-size: 13px;
	}
}