span.fi-global::before {
	content: "🌐";
	background-color: #fff;
}

span.fi-ap::before {
	content: "🌏";
	background-color: #fff;
}

span.fi-uk {
	background-image: url(https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.3.2/flags/4x3/gb.svg);
}

a:has(.fi) {
	text-decoration: none;
}

a:has(.fi):hover {
	background-color: #eee;
}

.product-group a.OvLink,
.product-group a.OvPDF {
	filter: none;
	position: relative;
	padding-left: 25px;
}

.product-group a.OvLink:hover,
.product-group a.OvPDF:hover {
	text-decoration: underline dotted;
	text-underline-offset: 0.8em;
}

.product-group p {
	margin-bottom: 0px;
}

.product-group a.OvPDF[href=""] {
	display: none;
}

.product-group a.OvLink::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	background-image: url("https://static.helpjuice.com/helpjuice_production/uploads/upload/image/9713/5899848/book.webp");
	background-size: 16px 16px;
	background-repeat: no-repeat;
}

.product-group a.OvPDF::before {
	content: "\f1c1";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	position: absolute;
	left: 0;
	top: 50%;
	font-size: 16px;
	transform: translateY(-50%);
	line-height: 1;
	color: black;
}

div.prod-details-body {
	max-width: 425px !important;
}

#meilisearch-results {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	margin-top: 30px;
	font-family: 'open sans', sans-serif;
	max-width: 920px;
}

#meilisearch-results li {
	flex: 1 1 300px;
	/* grow:1, shrink:1, base width:200px */
	min-width: 160px;
	/* won't get smaller than this (forces wrap) */
	padding: 10px;
	x-border: 1px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
	order: 2;
}

#meilisearch-results li.global,
#meilisearch-results li.uk,
#meilisearch-results li.ap {
	order: 1;
}

#meilisearch-results .fi {
	background-color: #eee;
	border-radius: 2px;
}

div#meili_form {
	width: 100%;
	text-align: center;
	padding: 50px 0px;
}

input#meilisearch-input {
	min-width: 300px;
	border: none;
	border-bottom: solid 1px #ddd;
	width: 90%;
	text-align: center;
	padding: 1em 0.5em;
	margin-bottom: 2em;
	font-size: xx-large;
}

div#meili_results {
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 50px;
	line-height: 2em;
}

button#meilisearch-find-button {
	min-width: 100px;
	padding: 10px;
	border-radius: 5px;
}

.product-group {
	padding: 50px 0px;
	border-bottom: solid 1px #eee;
	display: flex;
}

.product-group .thmb {
	margin-right: 30px;
	width: 200px;
	height: auto;
	background-color: #eeeeee;
	text-align: center;
}

.loadr {
	width: 100%;
	text-align: center;
}

.loadr,
.loadr li,
.loadr ul {
	border: none;
}

.thmb img {
	opacity: 0;
	transform: translateY(10px) scale(0.995);
	transition: opacity 420ms cubic-bezier(.2, .8, .2, 1),
		transform 420ms cubic-bezier(.2, .8, .2, 1);
	will-change: opacity, transform;
	max-width: 200px;
	max-height: 200px;
	width: auto;
	height: auto;
	text-align: center;
}

/* final state */
.thmb img.loaded {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* prefer-reduced-motion: don't animate */
@media (prefers-reduced-motion: reduce) {

	.thmb img,
	.thmb img.loaded {
		transition: none;
		transform: none;
		opacity: 1;
	}
}

.prod-details-body {
	display: table;
}


#PLcontainer {
	width: 100%;
	text-align: center;
}

#PLcontainer img {
	height: 30px;
}

div[id^="pills"] a.btn::before {
	content: "\f019";
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	display: inline-block;
	margin-right: 6px;
	opacity: 0.5;
}

div[id^="pills"] a.btn {
	font-size: 0.8em;
}

.btn.btn-outline-primary.btn-sm {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}

#otherSearches {
	bottom: -35px;
	align-items: anchor-center;
}

#otherSearches a.btn {
	font-size: 1em;
	text-align: left;
	transition: none !important;
}

#otherSearches a.btn::before {
	content: "";
	display: inline-block;
	opacity: 0;
}

.icon-placeholder {
	width: 50px;
	height: 50px;
	background-color: #f1f3f5;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #495057;
	font-size: 1.2rem;
}

.icon-placeholder {
	text-align: center;
}

.icon-placeholder img {
	text-align: center;
	width: 80%;
}

.svg-float {
	width: 80%;
	transition: transform 0.1s ease, filter 0.1s ease;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
	cursor: pointer;
}

/* Hover = "raise above ground" */
.svg-float:hover {
	transform: translateY(-10px) scale(1.05);
	filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}