html {
	font-family: 'Courier New', Courier, monospace;

	--section-title-font-size: 32px;
	--subsection-title-font-size: 20px;
	--text-font-size: 16px;
}

.spacer {
	flex: 1;
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 250ms;
}

.btn:hover {
	opacity: 1;
}

.close.btn {
	padding: 4px;
}

#search-prev > i {
	transform: scaleY(-1);
}

#popup-container.searchable-help {
	box-sizing: border-box;
	padding: 100px 120px;
}

#popup-container.searchable-help > .popup {
	font-family: 'Open Sans', Roboto, 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
	font-size: 12pt;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#popup-container.searchable-help .container {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

#popup-container.searchable-help .search-bar {
	color: white;
	background-color: #21292e;
	display: flex;
	align-items: stretch;
	gap: 8px;
	padding: 10px;
	box-shadow: 0 4px 6px #263238;
	z-index: 10;
}

#popup-container.searchable-help .search-bar input[type='text'] {
	border: 1px solid black;
	outline: none;
	padding: 6px 12px;
}

#popup-container.searchable-help .search-bar .search-count {
	display: flex;
	align-items: center;
	min-width: 50px;
}

/* == CONTENT == */

#popup-container.searchable-help .content {
	background-color: #cd0000;
	color: white;
	padding: 0;
	line-height: 1.1;
	flex: 1;
	overflow: hidden auto;
}

#popup-container.searchable-help .content-container {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), transparent 800px);
	display: flex;
	justify-content: center;
}

#popup-container.searchable-help .content .content-wrapper {
	padding: 1em;
	max-width: 680px;
	padding-bottom: 5em;
}

#popup-container.searchable-help .content article {
	text-align: center;
	margin: 2em 0;
}

#popup-container.searchable-help .content article.spaced {
	margin: 3em 0;
}

#popup-container.searchable-help .content img {
	display: inline-block;
	margin: auto;
	max-width: 100%;
	text-align: center;
	height: auto;
}

#popup-container.searchable-help .content img.big {
	margin: 2em auto;
}

#popup-container.searchable-help .content img.symbol {
	max-height: 150px;
}

#popup-container.searchable-help .content img.slot-symbol {
	max-height: 130px;
	margin-bottom: 1em;
}

#popup-container.searchable-help .content img.reel {
	display: block;
	max-height: 100px;
}

#popup-container.searchable-help .content h1 {
	font-size: var(--section-title-font-size);
}

#popup-container.searchable-help .content h2 {
	text-transform: uppercase;
	font-size: var(--subsection-title-font-size);
	font-weight: 700;
}

#popup-container.searchable-help .content h1,
#popup-container.searchable-help .content h2 {
	text-align: center;
}

#popup-container.searchable-help .content h2,
#popup-container.searchable-help .content h3 {
	margin: 1em 0;
}

#popup-container.searchable-help .content p {
	margin: 0.5em auto;
	font-size: var(--text-font-size);
	text-align: left;
	font-weight: 600;
	max-width: 600px;
}

#popup-container.searchable-help .highlight {
	display: inline-block;
	background-color: rgb(255, 244, 8, 0.8);
	color: #0b2836;
	white-space: pre;
	font-family: unset;
}

#popup-container.searchable-help .highlight.focus {
	display: inline-block;
	animation: animation1 0.25s ease;
	background-color: rgb(250, 155, 0, 0.8);
}

#popup-container.searchable-help #slots-paytable {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	text-align: left;
	gap: 10px;
	padding-left: 20px;
	margin: 2em -20px 2em 0;
	font-size: 90%;
}

#popup-container.searchable-help #slots-paytable .symbol-info {
	display: inline-grid;
	grid-template-columns: 80px 1fr;
	align-items: center;
	gap: 16px;
}

#popup-container.searchable-help #slots-paytable .symbol-info .symbol-info-content {
	display: inline-grid;
	grid-template-columns: 20px 1fr;
}

#popup-container.searchable-help #slots-paytable .symbol-info > div.panda {
	max-width: 140px;
}

#popup-container.searchable-help table#mini-slots-paytable {
	width: 100%;
	text-align: center;
	color: white;
	border-spacing: 3px;
	margin: 2em 0;
}

#popup-container.searchable-help table#mini-slots-paytable th {
	background-color: #960000;
	padding: 10px 5px;
}

#popup-container.searchable-help table#mini-slots-paytable td {
	background-color: #ff0100;
	padding: 10px 5px;
	white-space: nowrap;
	font-weight: 600;
}

#popup-container.searchable-help table#mini-slots-paytable .slingos {
	width: 24%;
	border-top-left-radius: 10px;
}

#popup-container.searchable-help table#mini-slots-paytable .cash-wins {
	width: 38%;
}

#popup-container.searchable-help table#mini-slots-paytable .min-max {
	width: 19%;
}

#popup-container.searchable-help table#mini-slots-paytable .slot-spins {
	width: 38%;
	border-top-right-radius: 10px;
}

@keyframes animation1 {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

@media (max-height: 600px) or (max-width: 830px) {
	#popup-container.searchable-help {
		padding: 0;
	}
}

@media (max-width: 630px) {
	#popup-container.searchable-help #slots-paytable {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 460px) {
	#popup-container.searchable-help .search-bar {
		padding: 0;
		gap: 0;
	}

	#popup-container.searchable-help .search-bar .spacer {
		flex: 0;
	}

	#popup-container.searchable-help .search-bar input[type='text'] {
		flex: 1;
		min-width: 50px;
		max-width: 100%;
		padding: 6px 4px;
	}

	#popup-container.searchable-help .search-bar .search-count {
		margin-left: 8px;
	}

	#popup-container.searchable-help #slots-paytable {
		grid-template-columns: 1fr;
		display: inline-grid;
		margin: auto;
	}

	#popup-container.searchable-help #slots-paytable .symbol-info {
		grid-template-columns: 100px 1fr;
		padding-left: 0;
		margin-right: 0;
	}

	#popup-container.searchable-help table#mini-slots-paytable {
		font-size: 0.8rem;
		border-spacing: 2px;
	}
}
