:root
{
	--sidebar-width: 64px;
	--descbox-width: 408px;
	--panel-initial-gap: 2em;
	--main-panel-padding: 2em;
}

body
{
	padding: 0;
	margin: 0;

	background: url("../img/backgrounds/cellar.jpg") repeat center center fixed;
	background-attachment: fixed !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;

	transition: background .2s ease-in;	
	color: white;
	font-family: 'Verdana';

	--navbar-color: #141414;
	--scrollbar-color: #8c0008;
}

footer
{
	position: fixed;
    bottom: 0;
    width: 100%;
    font-size: .7em;
}

a
{
	cursor: pointer;
}

a:not(.btn, li > a):hover
{
	color: yellow !important;
}

::-webkit-scrollbar
{
	width: 10px;
}

::-webkit-scrollbar-track
{
	background: var(--navbar-color);
}

::-webkit-scrollbar-thumb
{
	background: var(--scrollbar-color);
}

@font-face
{
	font-family: 'Upheaval TT -BRK-';
	font-style: normal;
	font-weight: normal;
	src: local('Upheaval TT -BRK-'), url('../fonts/upheavtt.woff') format('woff');
}

@font-face
{
	font-family: 'Terminus (TTF)';
	font-style: normal;
	font-weight: normal;
	src: local('Terminus (TTF)'), url('../fonts/terminus.woff') format('woff');
}

.itemicon
{
	width: var(--icon-size);
	transition: transform .2s ease;
	scale: var(--icon-scale);
}

.stat-spritesheet
{
	width: var(--width);
	height: var(--height);
	background: var(--main-sprite) var(--x) var(--y);
}

.stat-spritesheet-quality
{
	width: 16px;
	height: 16px;
	background: var(--main-sprite) var(--x) var(--y);
	display: inline-block;
	scale: 2;
	margin: 7px;
	margin-top: 15px;
}

.sprite-block
{
	display: inline-block;
	margin-top: -2rem;
	margin-bottom: -2rem;
	vertical-align: middle;
}

.sprite-block-bag
{
	display: inline-block;
	vertical-align: middle;
	background: url(/core/assets/img/custom/Bag_of_Crafting.webp) var(--x) 0px;
	width: 16px;
	height: 16px;
	scale: 2;
}

.sprite-block-synergy
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--spritesheet-gfx) var(--x) 0px;
	vertical-align: middle;
	cursor: pointer;
}

.sprite-block-hp
{
	width: 16px;
	height: 16px;
}

.sprite-block32
{
	width: 32px;
	height: 32px;
}

.sprite-block-pool
{
	display: inline-block;
	width: 13px;
	height: 13px;
	background: var(--main-sprite) var(--x) var(--y);
	scale: 2.4615;
	margin: 6px;
}

.sprite-block-pool-desc
{
	display: inline-block;
	width: 13px;
	height: 13px;
	scale: 2.4615;
	background: var(--main-sprite) var(--x) var(--y);
	margin-left: 5px;
	margin-right: 7px;
}

.sprite-block-pool-large
{
	display: inline-block;
	width: 13px;
	height: 13px;
	background: var(--main-sprite) var(--x) var(--y);
	scale: 3;
	margin-left: 15px;
	margin-right: 15px;
	vertical-align: middle;
}

.sprite-block-tag
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--main-sprite) var(--x) var(--y);
	margin: 3px;
}

.sprite-block-tag-desc
{
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-top: -2rem;
	margin-bottom: -2rem;
	background: var(--main-sprite) var(--x) var(--y);
	vertical-align: middle;
}

.sprite-block-mod
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--mods-sprite) var(--x) 0px;
	vertical-align: middle;
}

.sprite-block-mod-new
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--mods-sprite) var(--x) 0px;
	vertical-align: middle;
}

.content-link
{
	display: contents;
}

.pool-row
{
	padding-top: .3em;
	padding-bottom: .3em;
}

.pool-row:hover
{
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	cursor: pointer;
}

.navbar-icon
{
	width: var(--sidebar-width);
	filter: grayscale(100%);
}

.navbar-icon:hover
{
	filter: grayscale(0%);
}

.navbar-icon-current
{
	filter: grayscale(0%);
}

.navbar-icon-separator
{
	border-top: 1px solid grey;
}

.navbar-hr
{
	margin: 0;
	width: 75%;
	height: 1px;
}

#plusbar
{
	position: fixed;
	height: 100vh;
	left: var(--sidebar-width);
	top: 0;
	width: var(--descbox-width);
	background: linear-gradient(to right, var(--navbar-color), rgba(0, 0, 0, 0.5));
	backdrop-filter: blur(5px);
	z-index: 100;
	transition: opacity 0.3s ease;
	overflow-y: auto;
	opacity: 0;
	top: -100vh;
}

.plusbar-title
{
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
	font-size: 1.6em;
}

#plusbar a
{
	text-decoration: none;
	color: white;
}

#plusbar a:hover
{
	color: yellow;
}

#plusbar li
{
	list-style: none;
	margin-bottom: .8em;
}

.pixelated
{
	image-rendering: pixelated;

	/* Prevent weird 1px glitching when hovering */
	-webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.navbar
{
	background-color: var(--navbar-color);
	background-attachment: fixed;
	position: fixed;
	width: var(--sidebar-width);
	height: 100vh;
	top: 0;
	overflow-y:	auto;
	overflow-x: hidden;
	z-index: 100;
}

.navbar::-webkit-scrollbar
{
	width: 2px;
}

.navbar-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.navbar-nav > li > a
{
	display: flex;
	align-items: center;
	text-decoration: none;
}

.panel
{
	position: relative;
	padding: var(--main-panel-padding);
	left: var(--sidebar-width);
	width: calc(100% - var(--sidebar-width));
	overflow-x: clip;
}

.reading-panel
{
	width: 80%;
	margin: 0 auto;
	overflow-x: auto;
}

.reading-panel-sm
{
	width: 60%;

	@media only screen and (max-width: 1023px)
	{
		width: 80%;
	}

	transition: width .5s ease;
}

.isaac-form, .isaac-form:focus
{
	background-color: #c7b29a;
}

.isaac-form:disabled
{
	background-color: #808080;
}

.isaac-form-pre
{
	width: 64px;
	background-color: #929292;
	padding: 0;
}

.isaac-form-hidden-button
{
	display: none;
}

.dropdown-item:hover, .dropdown-toggle:hover
{
	color: unset !important;
}

.search-container
{
	position: sticky;
	top: 0;
	left: calc(var(--sidebar-width) + var(--descbox-width));
	right: 0;
	padding: .5em;
	background: #333;
	z-index: 90;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	margin: calc(var(--main-panel-padding) * -1);
	margin-bottom: var(--main-panel-padding);
}

.search-motd
{
    text-align: center;
    font-size: .8em;
	padding-bottom: .5em;
}

.search-elements
{
	display: flex;
	gap: 0.75rem;
}

.search-mod-button
{
	display: inline;
}

.search-bar
{
	width: 100%;
	padding: 0.5em;
	border-radius: 10px;
	border: none;
	background: #444;
	color: white;
	font-size: 1em;
	outline: none;
	transition: opacity 0.3s ease;
	opacity: 50%;

	flex: 1;
	min-width: 100px;
}

.search-bar:focus, .search-bar:not(:placeholder-shown)
{
	opacity: 100%;
}

.clear-search-main
{
	color: red;
	z-index: 200;
	position: absolute;
	background-color: var(--scrollbar-color);
	right: 130px;
	bottom: .5em;
	transform: translate(0, -50%);
	display: none;
}

.search-select-mod-button
{
	min-width: 200px;
	padding: 0.5em;
	border-radius: 10px;
	border: none;
	background: #444;
	font-size: 1rem;
	outline: none;
	transition: background 0.3s ease;
	cursor: pointer;
	width: max-content;
	flex-shrink: 0;

	@media only screen and (max-width: 1200px)
	{
		min-width: fit-content;
	}
}

.search-mod-name-wip
{
	color: var(--bs-danger);
}

.search-mod-name-wip:after
{
	content: " [WIP]";
}

.search-filter-button
{
	padding: 0.5em 0.5em;
	border-radius: 10px;
	border: none;
	background: #444;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	padding: 0.5em 0.5em;
}

.search-filter-text, .search-mod-name
{
	@media only screen and (max-width: 1200px)
	{
		display: none;
	}
}

.search-form
{
	text-align: center;
	height: 40px;
	font-size: 1.2rem;
	background: var(--navbar-color);
	color: var(--scrollbar-color);
	border: 2px solid var(--navbar-color);
	transition: border 300ms ease, opacity 300ms ease;
	width: 100%;
	opacity: 50%;
}

.search-form:not(:placeholder-shown)
{
	opacity: 100%;
	border: 2px solid var(--navbar-color);
	transition: border 300ms ease;
}

.search-form:focus
{
	outline: none;
	border: 2px solid var(--scrollbar-color);
	opacity: 100%;
}

.clear-search-default
{
	color: red;
	z-index: 200;
	position: absolute;
	background-color: var(--scrollbar-color);
	right: 20px;
	top: 28px;
	display: none;
}

#desc
{
	display: contents;
}

.description-box
{
	left: var(--sidebar-width);
	width: var(--descbox-width);
	height: 100vh;
	position: fixed;
	background-color: rgba(51, 51, 51, 0.5);
	overflow-y: auto;
	overflow-wrap: break-word;
	display: block;
	backdrop-filter: blur(5px);
	transition: background-color 0.5s ease, width .5s ease;
	z-index: 1;
}

.item-quality-container
{
	display: block;
	text-align: center;
}

.item-id, item-id:link, item-id:visited, item-id:hover, item-id:active
{
	background-color: var(--item-id-color);
	border-radius: 4px;
	color: #ffffff !important;
	text-decoration: none;
	font-size: .9rem;
	padding: .2em .6em;
	width: fit-content;
	display: block;
	text-align: center;
	margin: auto;
	margin-top: 1em;
}

#desc-default-info
{
	font-size: 14px;
	text-align: center;
	display: block;
	margin: 10px;
	margin-top: 50vh;
	transform: translate(0, -50%);
}

#desc-default-info > hr
{
	margin-top: 15px;
}

#desc-default-info > a
{
	text-decoration: none;
	color: yellow;
}

.yellow
{
	color: yellow;
}

.upheaval
{
	font-family: 'Upheaval TT -BRK-';
}

.terminus
{
	font-family: 'Terminus (TTF)';
}

.item-name
{
	display: block;
	font-family: 'Upheaval TT -BRK-';
	margin-top: 8px;
	margin-bottom: 8px;
	text-align: center;
	font-size: 30px !important;
	color: white !important;
	padding-left: 10px;
	padding-right: 10px;
	word-wrap: break-word;
	line-height: 1.6rem;
}

.item-name-translated
{
	font-size: 20px !important;
	margin-top: -4px;
}

.item-description
{
	display: block;
	margin-top: -8px;
	margin-bottom: 2px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	font-size: 15px;
	color: #0089FF;
}

.item-pools
{
	display: block;
	text-align: center;
	margin-bottom: 10px;
}

.item-type
{
	display: block;
	margin: 1rem;
	text-align: center;
	font-size: 15px;
	font-style: italic;
	color: grey;
}

.item-tags-title
{
	display: block;
	margin-top: 0;
	margin-bottom: 0;
	text-align: center;
	font-size: 15px;
}

.item-tags
{
	margin-top: 2px;
	text-align: center;
	margin-bottom: 10px;
	display: block;
}

.item-tag-icon
{
	width: 32px;
	height: 32px;
	margin-right: 3px;
}

.item-costume
{
	display: block;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	max-width: 128px;
}

.item-contents
{
	display: block;
	margin-left: 8px;
	margin-right: 8px;
	font-size: 14px;
}

.description-box hr
{
	width: 100%;
	border-color: #B6B4B4;
	margin-top: 0;
	margin-bottom: 1rem;
}

.main-panel
{
	left: calc(var(--descbox-width) + var(--sidebar-width));
	width: calc(100% - var(--sidebar-width) - var(--descbox-width));
	position: absolute;
	padding: var(--main-panel-padding);
	overflow-x: clip;
}

.item-container
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.item-container-collection
{
	--ccscale: 1;
	display: grid;
	grid-template-columns: repeat(20, 64px);
	width: max-content;
	position: relative;
	left: 50%;
	transition: transform 0.3s ease;
	transform: scale(var(--ccscale)) translateX(-50%);
	transform-origin: top left;

	@media (max-width: 1880px)
	{
		--ccscale: 0.8;
	}

	@media (max-width: 1600px)
	{
		--ccscale: 0.6;
	}

	@media (max-width: 1330px)
	{
		--ccscale: 0.4;
	}
}

.item-container-collection-spacer
{
	grid-column: 1 / -1;
	text-align: center;
	padding: 10px 0;
	font-size: 2em;
	text-shadow: 0 0px 2px black;
}

.item-icon-container
{
	width: var(--icon-size);
	height: var(--icon-size);
	position: relative;
	transition: opacity .3s ease;
}

.item-icon-container-collection
{
	width: 64px;
	height: 64px;
	position: relative;
	transition: opacity .3s ease;
}

.new-item::after
{
	content: "";
	position: absolute;
	top: 0px;
	right: 0px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: yellow;
}

.fav-item::after
{
	content: "★";
	position: absolute;
	top: 0px;
	right: 0px;
	color: lime;
	font-size: calc(var(--icon-size) / 5)
}

.new-items-note
{
	margin-top: 1em;
	text-align: center;
}

.item-icon-container-pool
{
	width: var(--icon-size);
	height: var(--icon-size);
	position: relative;
	transition: opacity .3s ease;
}

.item-spritesheet-container
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--spritesheet-gfx);
	background-position: var(--x) 0px;
	transform: translate(-50%, -50%) scale(var(--icon-scale));
	position: relative;
	left: 50%;
	top: 50%;
}

.item-background-container
{
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--spritesheet-gfx);
	background-size: contain;
	transform: translate(-50%, -50%) scale(var(--icon-scale));
	position: relative;
	left: 50%;
	top: 50%;
}

.separator-text, .separator-text h1
{
	text-align: center;
	font-size: 30px;
	margin-top: 1rem;
}

.pools-separator-text
{
	text-align: center;
	font-size: 30px;
	letter-spacing: 1.5px;
	padding-top: 20px;
}

.pools-separator-text2
{
	text-align: center;
	font-size: 15px;
	letter-spacing: 1.5px;
	padding-bottom: 1rem;
}

.eid-icon
{
	height: 16px;
}

.tag-icon
{
	height: 32px;
	margin-top: -2rem;
	margin-bottom: -2rem;
}

.inline-icon
{
	vertical-align: middle;
	width: 32px;
	margin-top: -1rem;
	margin-bottom: -1rem;
}

.inline-icon-link
{
	all: unset !important;
	color: #9cdaff !important;
}

.inline-item
{
	color: #9cdaff;
}

.inline-item-link
{
	all: unset !important;
	color: #9cdaff !important;
	cursor: pointer !important
}

.inline-item-link:hover
{
	color: yellow !important;
}

.game-menu-frame > .inline-item-link
{
	color: #0089FF !important;
}

.inline-block
{
	display: inline-block !important;
}

.transformations-text
{
	display: block;
	padding-top: 0;
	margin-left: 8px;
	margin-right: 8px;
	margin-bottom: 0;
	color: #00A2FF;
	font-style: italic;
	font-size: 14px;
}

.unlock-text
{
	display: block;
	margin-left: 8px;
	margin-right: 8px;
	color: gold;
	font-style: italic;
	font-size: 14px;
}

.nogreed
{
	display: block;
	margin-left: 8px;
	margin-right: 8px;
	color: palevioletred;
	font-style: italic;
	font-size: 14px;
}

.shop-price
{
	display: block;
	margin-left: 8px;
	margin-right: 8px;
	color: palegoldenrod;
	font-style: italic;
	font-size: 14px;
}

.devil-price
{
	display: block;
	margin-left: 8px;
	margin-right: 8px;
	color: orangered;
	font-style: italic;
	font-size: 14px;
}

.item-contents a
{
	text-decoration: none;
	color: yellow;
}

.description-box > ul
{
	font-size: 14px;
}

.effect-type
{
	font-style: italic;
	font-size: 14px;
	display: block;
}

.effect-type::after
{
	content: ':';
}

.effect-type-pickup
{
	color: aquamarine;
}

.effect-type-passive
{
	color: yellow;
}

.effect-type-active
{
	color: limegreen;
}

.effect-type-crush
{
	color: orange;
}

.effect-type-grind
{
	color: #a5a5a5;
}

.effect-type-grind
{
	color: cyan;
}

.icon-size-dummy-holder
{
	position: relative;
	width: 256px;
	height: 256px;
	background-color: #c7b29a;
	border-radius: 8px;
}

#icon-size-dummy
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.descbox-settings-default
{
	height: 100%;
	position: absolute;
	width: 20%;
	border-right: 1px solid lime;
	border-radius: 8px;
	z-index: 1;
}

#descbox-settings-descbox
{
	width: var(--descbox-width);
	display: grid;
	align-items: center;
	max-width: 100%;
	height: 100%;
	background: grey;
	border-radius: 8px;
	text-align: center;
	text-orientation: vertical-rl;
	writing-mode: tb-rl;
	transform: rotate(180deg);
}

.settings-main-title
{
	font-family: 'Upheaval TT -BRK-';
	font-size: 2.5em;
	margin-top: 5px;
	margin-bottom: 2px;
	color: deepskyblue;
}

p.subtitle
{
	padding-left: 8px;
	padding-right: 8px;
}

.background-wrapper
{
	display: flex;
	flex-wrap: wrap;
	gap: .3em;
	justify-content: center;
}

.background-preview-div
{
	--background-preview-width: 232px;
	--background-preview-height: 131px;

	position: relative;
	text-align: center;
	width: var(--background-preview-width);
	height: var(--background-preview-height);
	background-image: var(--bgimage);
	background-size: cover;
	font-size: 1em;

	mask-image: url(/core/assets/img/ui/game_menu_frame.webp);
	--webkit-mask-image: url(/core/assets/img/ui/game_menu_frame.webp);
	mask-size: var(--background-preview-width) var(--background-preview-height);
	--webkit-mask-size: var(--background-preview-width) var(--background-preview-height);

	transition: .3s ease;

	@media only screen and (max-width: 700px)
	{
		--background-preview-width: 139.2px;
		--background-preview-height: 78.6px;
		font-size: .6em;
	}
}

.background-preview-div:hover
{
	transform: scale(1.1);
	z-index: 1;
}

.background-preview-name
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	line-height: 1em;
}

.background-preview-selected
{
	text-decoration: underline;
	color: limegreen;
}

.background-preview-selected::after
{
	content: ' ✓';
}

.item-icon-in-description
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100px;
	height: 100px;
	position: relative;
}

.item-spritesheet-in-description
{
	background: var(--spritesheet-gfx) var(--x) 0px;
	width: 32px;
	height: 32px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(3.125);
	position: absolute;
}

#chargebar
{
	position: fixed;
	visibility: hidden;
	top: 1.5%;
	left: 4.5%;
	width: 32px;
	height: 32px;
	z-index: 99999;
}

#editbutton
{
	display: none;
	position: fixed;
	top: 1em;
	right: 1em;
	z-index: 99999;
	cursor: pointer;
}

.quick-hr
{
	margin: 0;
}

.tooltip-wide
{
	--bs-tooltip-max-width: calc(var(--descbox-width) - var(--sidebar-width));
}

.tooltip-tag-name
{
	color: yellow;
	font-style: italic;
}

.tooltip-synergy-name
{
	color: #9cdaff;
	font-style: italic;
}

.desc-loading
{
	position: relative;
	top: 50%;
	left: 50%;
}

.character-stat-bar
{
	width: 60%;
}

.character-stat-bar1
{
    filter: invert(1) hue-rotate(268deg);
}

.character-stat-bar2
{
    filter: invert(1);
}

#healthbar
{
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translate(-50%, 0%);
	text-align: center;
}

.healthbar-heart
{
	width: 16px;
	height: 16px;
	margin-right: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
	scale: 2;
}

.hide-scrollbar::-webkit-scrollbar
{
	display: none;
}

.hide-scrollbar
{
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.description-table
{
	width: 100%;
	margin-bottom: 20px;
}

.bag-of-crafting-item
{
	width: 45%;
}

.bag-of-crafting-arrow
{
	width: 5%;
	padding-right: 30px;
}

.descbox-offcanvas-btn
{
	background-color: var(--scrollbar-color);
}

.offcanvas
{
	background-color: rgba(var(--bs-body-bg-rgb), 0.5);
	backdrop-filter: blur(.2em);
}

.item-costume-main-container
{
	text-align: center;
	padding-top: 20px;
}

.item-costume-container
{
	border: 1px solid #0000002b;
	border-radius: 10px;
	width: 160px;
	height: 256px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(.2em);
	text-align: center;
	position: relative;
	display: inline-flex;
	text-decoration: none;
	color: white;
	transition: background-color .2s ease-in;
	margin-right: 8px;
	margin-bottom: 13px;
}

.item-costume-container:hover
{
	color: white;
	background-color: rgba(255, 255, 255, 0.2);
}

.item-costume-container > img
{
	width: 80%;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.item-costume-name
{
	display: block;
	background-color: #c7b29a;
	color: black;
	bottom: 0;
	position: absolute;
	width: 100%;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	word-wrap: break-word;
	padding-left: 5px;
	padding-right: 5px;
	font-size: .8em;
}

.item-baby-main-container
{
	text-align: center;
	padding-top: 20px;
}

.item-baby-container
{
	border: 1px solid #0000002b;
	border-radius: 10px;
	width: 160px;
	height: 256px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(.2em);
	text-align: center;
	position: relative;
	display: inline-flex;
	text-decoration: none;
	color: white;
	transition: background-color .2s ease-in;
	margin-right: 8px;
	margin-bottom: 13px;
}

.item-baby-container:hover
{
	color: white;
	background-color: rgba(255, 255, 255, 0.2);
}

.item-baby-name
{
	display: block;
	background-color: #c7b29a;
	color: black;
	bottom: 0;
	position: absolute;
	width: 100%;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	word-wrap: break-word;
	padding-left: 5px;
	padding-right: 5px;
	font-size: .8em;
}

.baby-spritesheet
{
	width: var(--icon-size);
	height: var(--icon-size);
	background: url('../img/spritesheets/babies.png') top left no-repeat;
	background-position: var(--x) var(--y);
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(3);
}

.baby-unlock-icon
{
	display: none;
	position: absolute;
	width: 18px;
	top: 5px;
	left: 5px;
}

.baby-description-icon
{
	display: none;
	position: absolute;
	width: 20px;
	top: 5px;
	right: 5px;
}

.item-baby-container:hover > .baby-unlock-icon, .item-baby-container:hover > .baby-description-icon
{
	display: block;
}

.privacy-policy > h1:not(.isaac-streak)
{
	font-family: 'Upheaval TT -BRK-';
	color: yellow;
}

.privacy-policy > h2, .privacy-policy > h3
{
	font-family: 'Upheaval TT -BRK-';
	color: deepskyblue;
}

.privacy-policy > h3
{
	font-family: 'Upheaval TT -BRK-';
	color: royalblue;
}

.privacy-policy cmd
{
	color: yellow;
}

.privacy-policy marg::before
{
	content: '<';
}

.privacy-policy marg::after
{
	content: '>';
}

.privacy-policy oarg::before
{
	content: '[';
}

.privacy-policy oarg::after
{
	content: ']';
}

.privacy-policy .botimg
{
	display: block;
	margin-bottom: 15px;
}

.big-baby-holder
{
	display: flex;

	@media only screen and (max-width: 1023px)
	{
		display: block
	}
}

.big-baby-panel
{
	position: relative;
	display: inline-block;
	height: 480px;
	width: 480px;
	left: 3em;
	top: 3em;
}

.big-baby-spritesheet
{
	width: var(--icon-size);
	height: var(--icon-size);
	background: url('../img/spritesheets/babies.png') top left no-repeat;
	background-position: var(--x) var(--y);
	display: inline-block;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(20);
}

.big-baby-text
{
	@media only screen and (max-width: 1023px)
	{
		position: unset !important;
		margin-top: 3em !important;
	}
	
	left: 8em;
	top: 3em;
	position: relative;
}

.big-baby-title
{
	display: inline;
	font-family: 'Upheaval TT -BRK-';
	font-size: 3em;
	margin-bottom: 5px;
	color: yellow;
}

.big-baby-back
{
	@media only screen and (max-width: 1023px)
	{
		font-size: 1.7em;
		left: 100px;
	}

	left: 120px;
	top: 150px;
	position: relative;
	font-family: 'Upheaval TT -BRK-';
	font-size: 3em;
	margin-bottom: 5px;
	color: deepskyblue;
}

.command-list
{
	@media only screen and (max-width: 1023px)
	{
		width: 100% !important;
		overflow-x: scroll !important;
        display: block !important;
	}

	table-layout: fixed;
	width: 80%;
	margin: 0 auto;
}

.command-list th, .command-list td
{
	border: 1px solid gray;
	padding: 6px 13px;
	overflow: hidden; 
	text-overflow: ellipsis; 
	word-wrap: break-word;
}

.command-list th
{
	background-color: #c7b29a;
	color: black;
	position: sticky;
	top: -1px;
	z-index: 10;
}

.command-list tr:hover
{
	background-color: #c7b29a !important;
	color: black;
}

.command-list tr
{
	background-color: #0d1117;
}

.pools-list tr
{
	height: 60px;
}

.command-list tr:nth-child(2n)
{
	background-color: #161b22;
}

.command-broken
{
	font-style: italic;
	color: red;
}

.command-uc-video-section
{
	display: flex;
	margin-bottom: 2em;

	@media only screen and (max-width: 1815px)
	{
		display: revert;
	}
}

.command-uc-video-section .video
{
	position: absolute;
	right: 2%;
	margin-top: -2em;

	@media only screen and (max-width: 1815px)
	{
		position: relative;
		right: revert;
		margin-top: revert;
	}
}

.navbar-admin-panel-tooltip
{
	--bs-tooltip-bg: red;
}

.cutscenes-holder
{
	display: inline-flex;
	flex-wrap: wrap;
	gap: .5em;
	justify-content: center;
}

.cutscene-block
{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.3em;
}

.game-menu-frame
{
	--frame-size: 30px;
	position: relative;
	color: #372b2d;
	box-sizing: content-box;
	border: var(--frame-size) solid;
	background-clip: content-box;
	border-image: url(/core/assets/img/ui/game_menu_frame.webp) 30 fill round;
	word-break: break-word;
	image-rendering: pixelated;
}

.gmf-desc
{
	margin-top: 1em;
}

.cutscene-name
{
	margin-top: .8em;
	color: black;
	font-weight: bold;
}

.cutscene-description
{
	color: black;
	font-style: italic;
}

.cutscene-video
{
	--video-width: 560px;
	--video-height: 315px;
	filter: grayscale(100%);
	transition: filter 0.3s ease-in-out;
	width: var(--video-width);
	height: var(--video-height);
	mask-image: url(/core/assets/img/ui/game_menu_frame.webp);
	--webkit-mask-image: url(/core/assets/img/ui/game_menu_frame.webp);
	mask-size: var(--video-width) var(--video-height);
	--webkit-mask-size: var(--video-width) var(--video-height);

	@media only screen and (max-width: 1320px)
	{
		--video-width: 480px;
		--video-height: 270px;
	}

	@media only screen and (max-width: 700px)
	{
		--video-width: 360px;
		--video-height: 202.5px;
	}
}

.cutscene-block:hover > .cutscene-video
{
	filter: grayscale(0%);
}

.changelog-date
{
	color: yellow;
	font-weight: bold;
}

.changelog-date::after
{
	content: ": ";
}

.isaac-streak
{
	--streak-width: 800px;
	font-family: 'Upheaval TT -BRK-';
	image-rendering: pixelated;
	background-image: url(/core/assets/img/ui/effect_024_streak.png);
	background-repeat: no-repeat;
	background-size: var(--streak-width) 64px;
	width: var(--streak-width);
	height: 64px;
	line-height: 55px;
	text-align: center;
	vertical-align: middle;
	font-size: 2.2em;
	transition: width 0.3s ease;
	text-wrap: nowrap;

	@media only screen and (max-width: 1350px)
	{
		--streak-width: 650px;
		font-size: 2em;
	}

	@media only screen and (max-width: 1200px)
	{
		--streak-width: 500px;
		font-size: 2em;
	}

	@media only screen and (max-width: 1025px)
	{
		font-size: 1.6em;
	}
}

.strgap
{
	margin-bottom: 30px !important;
}

.strgap2
{
	margin-bottom: 30px !important;
	margin-top: 30px !important;
}

.center
{
	margin: 0 auto;
}

.center-gap
{
	margin: 64px auto 16px;
}

.hidden
{
	display: none !important;
}

.hidden-mod
{
	display: none;
}

.hidden-mod-but-visible
{
	display: list-item !important;
}

.hidden-mod-filtered
{
	display: none !important;
}

.hidden-mod-but-visible > .dropdown-item
{
	color: #fff !important;
	background-color: RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity,1)) !important;
	font-style: italic;
}

.faded
{
	opacity: 0.1;
}

.filter-title
{
	display: block;
	margin-top: 1em;
	margin-bottom: .5em;
}

.filters-button-header-wrapper
{
	display: block;
	margin-top: 1em;
}

.filters-flex
{
	column-gap: 5px;
	row-gap: 5px;
}

.filters-tag-wrapper
{
	max-width: 32px;
	max-height: 32px;
}

.filters-tag-wrapper > .sprite-block-pool
{
	transform: translate(-2px, -1px);
}

.filters-tag-wrapper > .sprite-block-tag
{
	transform: translate(-12px, -8px);
}

.pool-desc-wrapper .sprite-block-pool-large
{
	scale: 15;
	margin-top: 3em;
	margin-bottom: 5em;
}

.weighted
{
	display: flex;
	flex-direction: column;
	font-size: 10px;
	margin-bottom: 10px;
}

.weight-bar
{
	background-color: black;
	border-radius: 3px;
	width: 70%;
	align-self: center;
}

.weight-bar.upper
{
	margin-top: -10px;
}

.weight-bar > div
{
	background-color: var(--weight-color);
	width: var(--weight);
	height: 3px;
	border-radius: 10px;
}

.smupgrade
{
	display: block;
	margin-top: 20px;
	margin-bottom: 10px;
}

.filter-mode
{
	text-decoration: underline;
	text-decoration-style: dotted;
}

.dotted
{
	text-decoration: underline;
	text-decoration-style: dotted;
}

.mod-dropdown-sticky
{
	position: sticky;
	top: 0;
	z-index: 90;
}

/* Failed multi-column attempt :(
.mod-dropdown.show
{
	width: 65em !important;
	max-width: max-content;
	height: 90vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}*/

.mod-dropdown.show
{
	max-height: 90vh;
	overflow-x: hidden;
	overflow-y: auto;
}

.mod-dropdown.show > li
{
	width: 25em;
	overflow: hidden;
}

.mod-dropdown-mod, .mod-dropdown-base
{
	height: 2.5em;
}

#mod-dropdown-search
{
	width: 25em;
	margin-left: .5em;
	font-size: .7em;
	border: none;
}

#mod-dropdown-search:focus
{
	box-shadow: none;
}

.submod
{
	font-style: italic;
	color: var(--color);
}

.rt-bold
{
	font-weight: bold;
}

.rt-italics
{
	font-style: italic;
}

.rt-underline
{
	text-decoration: underline;
}

.chr-alt-name
{
	color: orangered;
}

.rig-name
{
	font-size: .8em;
}

.rig-mod
{
	font-size: .8em;
	font-style: italic;
}

.guru-mod
{
	float: right;
	margin-left: 1em;
}

.new-mod
{
	float: right;
	margin-left: 1em;
}

.google-ad-itemlist[data-ad-status="filled"]
{
	margin-top: 1em;
}

.modal, .toast
{
	color: var(--bs-body-color);
}

.modal-open
{
	overflow-y: scroll !important;
	padding-right: 0px !important;
}

#editing-guidelines-list > li
{
	margin-bottom: 1em;
}

.mod-logo-link
{
	display: contents;

	@media only screen and (max-width: 670px)
	{
		display: none;
	}
}

.mod-logo-wrapper
{
	position: relative;
	text-align: center;
	width: fit-content;
}

.trcentered
{
	left: 50%;
	transform: translate(-50%);
}

.mod-logo
{
	display: block;
	position: relative;
	max-width: 31.25em;
	max-height: 10em;
	margin-bottom: 1em;
	margin-top: -1em;

	@media only screen and (max-width: 1010px)
	{
		max-width: 20em;
		max-height: 5em;
	}
}

.mod-logo-name
{
	position: absolute;
	bottom: -.4em;
	font-size: 1.7em;
	right: 3em;
	-webkit-text-stroke-color: #172755;
	-webkit-text-stroke-width: thin;
	paint-order: stroke;
	background: linear-gradient(180deg, white, #a2b6dd);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;

	@media only screen and (max-width: 1010px)
	{
		font-size: 1.2em;
	}
}

.mod-logo-centered-name
{
	right: unset;
	text-align: center;
	left: 50%;
	transform: translate(-50%);
}

.active>.page-link, .page-link.active
{
	z-index: 0;
}

.article-img
{
	position: relative;
	max-width: 31.25em;
	left: 50%;
	transform: translate(-50%);
	margin: 1em;
}

.wti-moded
{
	filter: brightness(0);
}

.form-text
{
	text-shadow: 0 0px 2px black;
}

.form-text > kbd
{
	text-shadow: none !important;
}

.item-red-glow::before
{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--icon-size) / 2 * 1.5);
	height: calc(var(--icon-size) / 2 * 1.5);
	background: rgba(255, 0, 0, 0.6);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	filter: blur(4px);
	z-index: 0;
}