:root {
	--system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--desktopBGColor: #252219;
	--desktopBGColorActive: #3a3627;
	--contentWidth: min(800px, 96vw);
	interpolate-size: allow-keywords;
	
	
	--selectBGColor: #fff2;
	--selectBGColorHover: #fff4;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--system-ui);
	transition-behavior: allow-discrete;
	color: #444;
}


html {
	/* background: url(images/bg.png) var(--desktopBGColor); */
	background-image: url(images/cardboard.jpg);
	font-size: 1rem;
}
html,
body {
	min-height: 100dvh;
	max-height: 100dvh;
}

.wrapper {
	display: grid;
    place-items: center;
    grid-template-rows: auto 1fr auto;
	height: 100dvh;
	/* display: flex; */
    /* place-items: center; */
    /* flex-direction: column; */
}

h1 {
    font-size: 1.25rem;
    margin-bottom: 0.5em;
}

h2,
h3 {
    margin-block: 1em 0.25em;
}

.window {
	display: none;
    backdrop-filter: brightness(0.75);
    position: absolute;
    inset: 0px;
    z-index: 50;
    justify-items: center;
    align-items: center;
}

.window.show {
	display: grid;
}
	
.windowmain {
	position: relative;
    padding: 1.5rem;
    text-align: center;
    background-image: url(images/cardboard1.jpg);
    border-radius: 0.5rem;
    filter: drop-shadow(0px 2px 3px #0008);
    text-shadow: 0px 1px 1px #000;
}

.windowmain img {
	display: inline-block;
}

.windowmain div {
    color: #fff;
    font-weight: 500;
}

.windowclose {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
	cursor: pointer;
}

.windowclose i {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0px 2px 2px #0008);
	pointer-events: none;
}
.windowclose:hover i {
    color: #ddd;
}

.page {
    background-image: url(images/bookpage.jpg);
    background-size: 100% 100%;
    /* height: calc(100cqh - 10rem - 2vw); */
    /* margin-top: 1vw; */
    height: calc(100% - 1rem);
    width: 98vw;
    max-width: 600px;
	padding: 1rem;
	overflow: auto;
	scrollbar-color: #0008 transparent;
    scrollbar-width: thin;
	scrollbar-gutter: stable;
	
	@media (width > 400px) {
		/* height: calc(100cqh - 9rem - 2vw); */
	}
	@media (width > 440px) {
		/* height: calc(100cqh - 8rem - 2vw); */
	}
}

div.label {
    font-weight: 600;
    font-size: 1.2rem;
	padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px dashed #888;
}

div.label:first-child {
	padding-top: 0px;
    margin-top: 0px;
    border-top: none;
}

.filterrowdual {
    display: grid;
    gap: 0.25rem;
    grid-template-columns: 1fr 1fr;
}

span.selectlabel {
    height: 2rem;
    line-height: 2rem;
    font-weight: 700;
	padding-right: 0.5rem;
}

.inputproductrow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
	gap: 0.25rem;
}

.inputproductrow label {
    position: relative;
    background: #0003;
    border-radius: 50%;
	cursor: pointer;
}

.inputproductrow input:hover + label {
    background: #0006;
}

.inputproductrow input:checked + label {
    box-shadow: 0px 4px 0px #444 inset, 0px -4px 0px #444 inset, 4px 0px 0px #444 inset, -4px 0px 0px #444 inset;
	background: #0004;
}

input.hiddeninput {
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
}

.ingredientlist {
    counter-reset: ingredients;
	display: grid;
    gap: 0.25rem;
}

.ingredientlist div.ingredient {
    counter-increment: ingredients;
	border: 1px dashed #888;
    background: #fff4;
	display: grid;
    grid-template-columns: 1fr auto auto;
    position: relative;
	align-items: center;
	gap: 0.5rem;
	padding-right: 0.5rem;
}

.ingredientlist div.ingredient:hover {
    background: #8884;
}

.ingredientlist div.ingredient::before {
    content: counter(ingredients) ". ";
	line-height: 2rem;
	position: absolute;
    top: 0px;
    left: 0.25rem;
    pointer-events: none;
}

.ingredientlist:has(div.ingredient:nth-child(20)) + .ingredientlist_add {
    display: none;
}

.ingredientlist img.small,
.ingredientlist_add img.small {
    height: 2rem;
    display: inline-block;
    vertical-align: middle;
}

div.ingredient .imgbutton,
div.ingredientlist_add .imgbutton {
    display: flex;
    border: 1px solid #888;
    background: #444;
    border-radius: 0.25rem;
    height: 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
	cursor: pointer;
}

div.ingredient .imgbutton:hover,
div.ingredientlist_add .imgbutton:hover {
    background: #888;
}

div.ingredient .imgbutton i,
div.ingredientlist_add .imgbutton i {
    color: #eee;
	pointer-events: none;
}

.ingredientlist_add {
	margin-top: 0.5rem;
    display: grid;
	cursor: pointer;
}

.ingredientlist_add select {
	border: 1px dashed #888;
    background: #fff4;
}

.ingredientlist_add button {
	justify-content: center;
	/* border: 1px dashed #888; */
    /* background: #fff4; */
}
.ingredientlist_add:hover select {
    background: #0002;
}

.effectslist {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); */
    /* gap: 0.25rem; */
	display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.effectslist div {
	display: none;
    /* padding: 0.25rem; */
    /* border: 1px dashed #888; */
    /* border-radius: 0.25rem; */
    /* background: #fff4; */
	padding: 0.25rem 0.5rem;
    border: 1px solid #888;
    border-radius: 1rem;
    background: #fff2;
}

.effectslist div[data-active="true"] {
    display: block;
}

img {
	display: block;
	max-width: 100%;
}

.logo img {
    height: 3.5rem;
    /* display: block; */
}

.topbar {
    width: 100%;
    background: #0008;
    padding: 0.5rem;
    /* position: sticky; */
    /* top: 0px; */
    /* margin-bottom: 1rem; */
	z-index: 10;
    backdrop-filter: blur(2px);
	display: grid;
    grid-template-columns: auto 1fr;
}

.menu {
    display: flex;
    align-items: flex-end;
    /* gap: 1rem; */
    padding-left: 2rem;
	flex-direction: column;
    overflow: clip;
    height: 4rem;
	position: absolute;
    right: 0px;
    transition: 100ms height, 100ms background;
}

label.hamburger {
    font-size: 1.5rem;
    padding: 1rem;
	line-height: 2rem;
}

label.hamburger i {
	color: #eee;
}

.menu:has(input[type="checkbox"]:checked) {
	height: auto;
}

.menu a {
	text-decoration: none;
	display: block;
    padding: 1rem;
	color: #eee;
}

.menu span {
    background: #000;
    display: block;
    width: 100%;
    text-align: right;
}
.menu span:hover {
	background: #3a3627;
}

.menu:has(input[type="checkbox"]:checked) label.hamburger i::before {
    content: "\e59b";
}

.steam {
    margin-left: auto;
	padding: 1rem;
    background: #000;
	text-align: right;
}

.steam td {
    color: #ddd;
	text-align: left;
}

.menu .steam a {
	padding: 0px;
}

.steam a.logout {
    color: #888;
    padding: 0px;
}

.steam a.logout:hover {
    color: #ccc;
}

.steam img {
    max-height: 2.5rem;
    padding-right: 0.5rem;
}

@media (width > 900px) {
	label.hamburger {
		display: none;
	}
	.menu {
		height: auto;
		display: unset;
		align-items: unset;
		padding-left: 0px;
		flex-direction: unset;
		position: relative;
		text-align: right;
	}
	.menu span {
		background: unset;
		display: inline-block;
		width: auto;
	}
	.menu a {
		display: inline-block;
	}
	.steam {
		background: unset;
		display: inline-block;
		vertical-align: middle;
		padding-block: 0px;
	}
}

.info {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1rem;
	align-items: center;
	position: relative;
}

.infoname {
	display: none;
    grid-column: 1 / 4;
	@media (width > 600px) {
		grid-column: 3 / 4;
		grid-row: 1 / 2;
	}
}

.info:has(.favourite input:checked) .infoname {
	display: block;
}

.infoname input {
    appearance: none;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    font-style: italic;
    width: 100%;
    font-weight: 600;
}

.costs span::before {
	content: "\f517";
	font-weight: 400;
	font-family: 'Font Awesome 6 Pro';
	padding-right: 0.5rem;
	font-size: 1.25rem;
}

.price span::before {
	content: "\f788";
	font-weight: 400;
	font-family: 'Font Awesome 6 Pro';
	padding-right: 0.5rem;
	font-size: 1.25rem;
}

.costs span,
.price span {
    border: 1px solid #888;
    background: #fff5;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    font-size: 1.25rem;
}

.favourite {
	text-align: right;
	grid-column: 3 / 4;
	@media (width > 600px) {
		grid-column: 4 / 5;
	}
}

.reciperow .favourite {
	text-align: right;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	@media (width > 640px) {
		grid-row: 1 / 3;
	}
}
.resultproduct {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	@media (width > 640px) {
		grid-row: 1 / 3;
	}
}

.nrofingredients {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
	@media (width > 640px) {
		grid-row: 1 / 3;
	}
}

.reciperow:has(input[name="favourite"]:checked):has(.recipename input:placeholder-shown:not(:focus)) .resultproduct,
.reciperow:has(input[name="favourite"]:checked):has(.recipename input:placeholder-shown:not(:focus)) .nrofingredients,
.reciperow:has(input[name="favourite"]:checked):has(.recipename input:placeholder-shown:not(:focus)) .favourite {
	grid-row: 1 / 2;
}

.favourite label {
	cursor: pointer;
}

.favourite label:hover i {
	color: #fff;
	filter: drop-shadow(0px 0px 2px #000);
}

.favourite label i {
	font-size: 1.5rem;
	pointer-events: none;
}

.favourite input:checked + label i::before {
	font-weight: 700;
}

.ingredientlist div.ingredient.notneeded {
    background: #f004;
}

.ingredientlist div.ingredient.notneeded select::after {
    content: "\f071";
    font-weight: 400;
    font-family: 'Font Awesome 6 Pro';
    font-size: 1.25rem;
    line-height: 2rem;
    vertical-align: middle;
}

/* .effectlist { */
    /* display: grid; */
	/* grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); */
	/* gap: 0.25rem; */
	/* padding: 2px; */
/* } */

.effectlist {
    display: flex;
    gap: 0.25rem;
    padding-top: 2px;
}

.select {
    padding: 0.25rem;
}

.select,
.effectselect {
    border: 1px solid #888;
    border-radius: 0.25rem;
	padding-inline: 0.25rem;
	display: grid;
    grid-template-columns: 1fr auto;
	background: #fff4;
	align-items: center;
    gap: 0.5rem;
}

.select div,
.effectselect div {
	cursor: pointer;
}

.select div i,
.effectselect div i {
	pointer-events: none;
}

.searchresult {
	padding-top: 2px;
}

.nothingfound {
    border: 1px dashed #888;
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    background: #fff4;
}

div.searchselectrow {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem;
}

.searchbutton {
    display: grid;
    align-items: center;
    justify-items: center;
    border: 1px solid #888;
    border-radius: 0.25rem;
    width: 2.5rem;
    height: 100%;
    background: #080;
	cursor: pointer;
}

.searchbutton:hover {
    background: #060;
}
.searchbutton.disabled,
.searchbutton.disabled:hover {
    background: #aaa;
	cursor: default;
	pointer-events: none;
}

.searchbutton i {
    color: #eee;
	pointer-events: none;
}

.searchbutton.disabled i {
	color: #ccc;
}

.reciperow {
	position: relative;
    display: grid;
	align-items: center;
    grid-template-columns: auto 3rem 1fr auto;
    border: 1px solid #888;
    border-radius: 0.25rem;
    margin-block: 2px;
    padding: 2px;
    background: #fff2;
	cursor: pointer;
}


.reciperow:nth-child(2n) {
    background: #fff4;
}

.reciperow:hover {
	background: #fff8;
}

.reciperow:not(:has(.recipename > input:placeholder-shown)),
.reciperow:has(.recipename:focus-within) {
    padding-top: 2rem;
}

.recipename input:placeholder-shown:not(:focus) {
	display: none;
}

.recipename:has(:not(input:placeholder-shown)),
.recipename:focus-within {
    position: absolute;
    top: 0px;
    border-bottom: 1px dashed #888;
    width: 100%;
}

.recipename input {
    background: #0002;
    appearance: none;
    border: none;
	width: 100%;
    padding: 0.25rem;
    font-style: italic;
	font-size: 1rem;
    font-weight: 500;
}

.recipename input::placeholder {
    font-weight: 300;
}

.reciperow .editname {
	display: none;
}

.reciperow:has(input[name="favourite"]:checked):has(.recipename input:placeholder-shown:not(:focus)) .editname {
	display: block;
	/* font-size: 1rem; */
    /* grid-column: 1 / 4; */
    font-size: 0.75rem;
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    border: 1px solid #888;
    border-radius: 0.25rem;
    text-align: center;
    background: #fff4;
	align-self: start;
	padding: 0.25rem;
	
	@media (width > 640px) {
		grid-column: 1 / 3;
		/* grid-row: 3 / 4; */
	}
}

.reciperow:has(input[name="favourite"]:checked):has(.recipename input:placeholder-shown:not(:focus)) .editname:hover {
    background: #0002;
}

.resulteffects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-block: 0.25rem;
	grid-row: 5 / 6;
	grid-column: 1 / 6;
}

.resulteffects span {
	padding: 0.25rem 0.5rem;
	border: 1px solid #888;
	border-radius: 1rem;
	background: #fff2;
	font-size: 0.8rem;
}

.resultingredients {
    display: flex;
	align-items: center;
    flex-wrap: wrap;
}

/* .resultopen div { */
    /* border: 1px solid #888; */
    /* background: #fff4; */
    /* cursor: pointer; */
    /* display: inline-block; */
    /* margin-left: auto; */
    /* width: fit-content; */
    /* border-radius: 0.25rem; */
    /* padding: 0.25rem; */
/* } */

/* .resultopen div i { */
	/* font-size: 1.5rem; */
	/* pointer-events: none; */
/* } */

.resultingredients img {
    height: 3rem;
    /* display: inline-block; */
    padding: 0.25rem;
    filter: drop-shadow(0px 0px 1px #0008);
    /* margin-right: -1rem; */
}

@media (width > 640px) {
	.reciperow {
		grid-template-columns: auto 3rem 3rem 1fr auto;
	}
	
	.resulteffects {
		grid-row: 1 / 4;
		grid-column: 4 / 5;
	}
}

.resultpricing {
    padding: 0.25rem;
    font-weight: 600;
	grid-row: 1 / 3;
	grid-column: 5 / 6;
}

.resultingredients span {
    position: relative;
}

.resultingredients span::before {
    content: '+';
    position: absolute;
    font-weight: 600;
    font-size: 1.2rem;
    top: 0.6rem;
    left: -0.4rem;
}



.inputform {
    width: var(--contentWidth);
    /* padding-inline: 0.5rem; */
    border: 1px solid #888;
    border-radius: 0.5rem;
	backdrop-filter: blur(1px) brightness(0.9);
	margin-block: 0.5rem;
}

div[data-type="effect"] {
    border: 1px solid #888;
    text-align: center;
    border-radius: 0.25rem;
    color: #444;
	padding: 0.25rem;
}

div[data-type="effect"][data-active="true"] {
	color: #ccc;
}

.row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-block: 0.5rem;
	flex-wrap: wrap;
    justify-content: center;
}

.row4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
	gap: 2px;
}

.row6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
	gap: 2px;
}

.row8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
	gap: 2px;
}

.roweffects {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 2px;
	padding: 2px;
}

.row6-8 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
	gap: 2px;
	padding: 2px;
}

@media (width > 640px) {
	.roweffects {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}
	.row6-8 {
		grid-template-columns: repeat(8, 1fr);
	}
}

input[type="checkbox"].hidden {
    position: absolute;
    width: 0px;
    opacity: 0;
    height: 0px;
}

.inputform input[type="checkbox"] + label {
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 0.5rem 0.5rem 0.5rem 2.5rem;
    position: relative;
	color: #888;
	white-space: nowrap;
}

.inputform input[type="checkbox"]:checked + label {
	color: #eee;
}

.inputform input[type="checkbox"] + label::before {
	font-family: 'Font Awesome 6 Pro';
	font-weight: 300;
	content: "\f0c8";
	position: absolute;
    left: 0.5rem;
    font-size: 1.5rem;
    top: 0.25rem;
}

.inputform input[type="checkbox"]:checked + label::before {
	content: "\f14a";
}

label {
	/* padding-bottom: 0.5rem; */
}

img.icon {
    height: 2rem;
    vertical-align: middle;
}

.addingredient {
    position: relative;
    isolation: isolate;
	cursor: pointer;
	filter: brightness(0.9);
	border-radius: 0.5rem;
	box-shadow: 0px 1px 2px #fff inset;
}

.addingredient:hover {
	filter: brightness(1);
}

.addingredient img {
	pointer-events: none;
}

.addingredient::after {
    position: absolute;
    content: attr(data-label);
    z-index: 2;
    /* font-size: 0.5rem; */
    font-size: calc(var(--contentWidth) / 40);
    bottom: 1px;
    left: 1px;
    padding-block: 0.25rem;
    text-align: center;
    width: calc(100% - 2px);
    background: #0008;
	border-radius: 0px 0px 0.5rem 0.5rem;
	pointer-events: none;
}

@media (width > 640px) {
	.addingredient::after {
		font-size: calc(var(--contentWidth) / 50);
	}
}

.addingredient::before {
    content: '';
    background: #fff1;
    inset: 0px;
    position: absolute;
    z-index: 3;
	border-radius: 0.5rem;
}

.addingredient:hover::before {
    background: #fff2;
}

/* .ingredients { */
    /* padding-inline: 0.5rem; */
/* } */

/* .ingredient { */
	/* --arrowTime: 100ms; */
    /* height: 3rem; */
    /* display: inline-block; */
    /* background: #444; */
    /* position: relative; */
    /* margin-right: 1.5rem; */
    /* padding-left: 0.5rem; */
	/* padding-right: 0px; */
	/* padding-right: 0.5rem; */
    /* filter: drop-shadow(-1px 0px 1px #fff) drop-shadow(1px 0px 1px #fff); */
	/* transition: var(--arrowTime) padding, var(--arrowTime) margin; */
	/* isolation: isolate; */
/* } */

/* .ingredient::after { */
    /* content: ''; */
    /* position: absolute; */
    /* width: 0; */
    /* height: 0; */
    /* border-top: 1.5rem solid transparent; */
    /* border-bottom: 1.5rem solid transparent; */
    /* border-left: 1.5rem solid #444; */
    /* right: -1.5rem; */
    /* top: 0px; */
	/* transition: var(--arrowTime) right; */
	/* z-index: -1; */
/* } */

/* .ingredient:last-child { */
	/* padding-right: 0.5rem; */
	/* margin-right: 0px; */
/* } */
/* .ingredient:last-child::after { */
    /* right: 0.5rem; */
/* } */
	
/* .ingredient img { */
    /* height: 3rem; */
    /* display: block; */
/* } */

select {
	/* width: calc(var(--contentWidth) - 1rem - 2px); */
	/* background: var(--desktopBGColor); */
	/* border: 1px solid #ddd; */
	border: none;
	padding: 0.5rem;
	border-radius: 0.25rem;
	font-size: 1rem;
	background: transparent;
}

select,
::picker(select) {
	appearance: base-select;
	/* background: var(--desktopBGColor); */
	padding: 0px;
	vertical-align: middle;
}

select[data-type="usedingredient"] {
    padding-left: 1.5rem;
}

select:hover,
select:active,
option:hover,
option:active,
select:hover selectedcontent,
select:active selectedcontent {
	background: transparent;
	/* background: var(--desktopBGColorActive); */
}

option:hover,
option:active {
	background: #eee;
}

select button {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

select.icon selectedcontent {
    padding-left: 1rem;
}

selectedcontent,
option {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	white-space: nowrap;
    overflow: hidden;
	/* background: var(--desktopBGColor); */
}

option {
	background: #fff;
}

select::picker-icon {
	display: none;
}

select .star {
	width: 1rem;
}

select .arrow {
	width: 2rem;
    opacity: 0.5;
    vertical-align: middle;
	padding: 0.5rem;
	margin-left: auto;
	/* filter: invert(1); */
}

option {
    color: gray;
    padding: 0.5rem 1rem 0.5rem 2rem;
}

option:disabled {
    color: #ddd;
}

/* img.product { */
	/* height: 2rem; */
/* } */

option::checkmark {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjAuMjg1IDJsLTExLjI4NSAxMS41NjctNS4yODYtNS4wMTEtMy43MTQgMy43MTYgOSA4LjcyOCAxNS0xNS4yODV6Ii8+PC9zdmc+);
    background-size: cover;
    position: absolute;
    left: 0.75rem;
	/* filter: invert(1); */
}

select.nocheckmark option {
	padding: 0.5rem 1rem;
}

select.nocheckmark option::checkmark {
    content: unset;
}


.card {
	backdrop-filter: blur(3px) brightness(0.9);
	border: 1px solid #888;
	border-radius: 1rem;
}

.card .header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.5rem;
}

.card_top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    font-weight: 500;
}

.card_ingredients,
.card_effects {
    border-top: 1px dashed #888;
}

ul.pagination {
    display: flex;
	gap: 0.25rem;
    list-style: none;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

li.page-item {
    border: 1px solid #888;
    border-radius: 0.25rem;
    background: #fff4;
}

li.page-item:hover {
    background: #0002;
}

li.page-item a,
li.page-item span {
	text-decoration: none;
    display: block;
    padding: 0.25rem 0.5rem;
}

li.page-item.active {
	cursor: default;
    background: #0002;
}

li.page-item.disabled {
    border: 1px solid #aaa;
	color: #888;
    border-radius: 0.25rem;
    background: #fff2;
}
li.page-item.disabled i {
	color: #aaa;
}

div.button {
    width: fit-content;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.25rem 1rem;
    cursor: pointer;
}


div.buttonsmall_right {
    width: fit-content;
    border: 1px solid #888;
	background: #fff4;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
	font-size: 1rem;
    vertical-align: middle;
    margin-left: auto;
}

div.buttonsmall_right:hover {
	background: #0002;
}

.spacebottom {
	padding-bottom: 0.5rem;
}


/* .form { */
    /* max-width: min(800px, 96vw); */
    /* background: #fff; */
    /* box-shadow: 0px 1px 2px #000; */
    /* display: grid; */
    /* grid-template-rows: auto 1fr auto; */
	/* justify-items: center; */
	/* padding-top: 0.5rem; */
/* } */

/* img.logo { */
	/* max-width: min(60vw, 300px); */
/* } */

/* form { */
	/* width: 100%; */
    /* padding-inline: 2vw; */
/* } */

/* label { */
    /* display: block; */
	/* font-weight: 500; */
/* } */

/* small { */
    /* color: #888; */
    /* font-size: 0.75rem; */
/* } */

/* input.error { */
	/* outline: 2px solid red; */
    /* background: #fdd; */
/* } */

/* label.inline { */
	/* display: inline-block; */
	/* margin-bottom: 1rem; */
	/* padding-right: 1rem; */
	/* font-weight: 400; */
	/* cursor: pointer; */
/* } */

/* input[type="radio"] { */
	/* position: absolute; */
	/* width: 0px; */
	/* height: 0px; */
	/* opacity: 0; */
	/* appearance: none; */
/* } */

/* input[type="radio"] + label::before { */
    /* font-family: 'Font Awesome 6 Pro'; */
    /* content: "\f111"; */
    /* padding-right: 0.25rem; */
    /* font-weight: 400; */
/* } */

/* input[type="radio"]:checked + label::before { */
    /* content: "\f058"; */
/* } */

/* .slide { */
	/* height: auto; */
	/* transition: 250ms height, 250ms display; */
	/* overflow: clip; */
	/* transition-behavior: allow-discrete; */
/* } */

.hidden {
	height: 0px;
	overflow: clip;
}

footer {
    width: 100%;
    padding: 0.25rem;
    background: #0008;
    backdrop-filter: blur(2px);
    text-align: center;
    /* position: fixed; */
    /* bottom: 0px; */
}

footer * {
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 300;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer span {
	white-space: nowrap;
	font-size: 0.6rem;
	font-weight: 500;
}

footer span > * {
    font-size: 0.6rem;
	font-weight: 500;
}

.copyline {
	display: flex;
    width: fit-content;
    margin-inline: auto;
    flex-wrap: wrap;
	justify-content: space-around;
}

.copyline div {
	text-align: center;
	position: relative;
    margin-inline: 1rem;
}


.copyline div:first-child {
	margin-left: 0px;
}

.copyline div:last-child {
	margin-right: 0px;
}

.paypaldesktop {
	display: none;
	@media (width > 440px) {
		display: block;
	}
}

.paypalmobile {
	display: block;
	@media (width > 440px) {
		display: none;
	}
}

.loader {
	background: repeating-linear-gradient(to right, #fff0 0%, #fff0 20%, #fff 50%, #fff0 80%, #fff0 100%);
	width: 100%;
	height: 0.5rem;
	bottom: -0.5rem;
	position: absolute;
	background-size: 200% auto;
	background-position: 0 100%;
	animation: loadingAnim 2s infinite;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	display: none;
}

.loader.show {
	display: block;
}
@keyframes loadingAnim { 
	0%   { background-position: 0 0; }
	100% { background-position: -200% 0; }
}