body {
	background-color: #222222;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: white;
	scrollbar-color: #222222 #616161;
	scroll-behavior: smooth;
	overflow-wrap: break-word;
	text-overflow: ellipsis;
}

input, textarea, select, button, .button, .button-group>* {
	border: 1px solid #303030;
	background-color: #131313;
	padding: 0.1rem 0.5rem;
	color: white;
	text-decoration: none;
}

.btn-big {
	display: inline-block;
	padding: 0.2rem 0.5rem 0.3rem;
	margin: .5rem .5rem 0 0;
	font-size: 1.2rem;
}

select {
	min-height: 1.9rem;
}

header {
	flex: 0 0 auto;
	min-height: 3rem;
	background-color: #222222;
	border-bottom: 1px solid #303030;
	display: flex;
}

header > * {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
}

#container {
	flex: 1 1 auto;
	display: flex;
}

nav {
	flex: 1 1 12rem;
	min-width: 12rem;
	background-color: #222222;
}

#search {
	flex-basis: 20rem;
	padding: 0.5rem;
}

#search form {
	width: 100%;
	display: flex;
}

#search form input {
	flex: 1 1 auto;
}

#search form button {
	flex: 0 0 2rem;
	width: 2rem;
	background-color: #333333;
	color: #666666;
}

legend {
	border-bottom: 1px solid;
}

main {
	flex: 1 1 80%;
	overflow-x: hidden;
	background-color: #181818;
	padding: 1rem;
}

aside {
	display: none;
}

nav ul, .categories ul {
	margin: 0 0 .6rem 0;
	padding: 0;
	list-style-type: none;
}

nav a {
	display: block;
	padding: 0.1rem 0.5rem;
	white-space: nowrap;
	position: relative;
}

nav a i {
	width: 1.2rem;
	margin-right: 0.5rem;
	text-align: center;
}

nav>ul>li>a {
	text-transform: uppercase;
	color: rgba(255,255,255,0.8);
	margin: .6rem 0 .2rem 0;
}

nav a[data-no]::after {
	position: absolute;
	right: 1rem;
	text-align: right;
	content: attr(data-no);
}

nav a:hover, nav a.active, .button-group>.active, .button-group>*:hover {
	background-color: #393939;
	color: white;
}

nav a, header a, h1 a, h2 a, h3 a, .item a, .product .vendor a, .categories a {
	text-decoration: none;
	color: white;
}

nav a:hover, header a:hover, h1 a:hover, h2 a:hover, h3 a:hover {
	color: white;
}

h1 {
	margin-bottom: 1rem;
}

pre, .br, .description {
	white-space: pre-wrap;
	word-break: break-word;
}

pre {
	font-size: 120%;
}

pre.pubkey {
	font-size: 90%;
}

#logo a {
	font-size: 1.8rem;
	padding: 0 0.5rem 0 0.5rem;
	white-space: nowrap;
}

#logo span {
	font-variant: small-caps
}

#headerLinks {
	justify-content: flex-end;
}

#headerLinks > * {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	white-space: nowrap;
}

.table {
	border-spacing: 0.5rem;
	margin-bottom: 1rem;
	width: 100%;
}

.btns {
	margin: 1rem 0;
}

.btns > *, .button {
	display: inline-block;
}

.table th {
	background: black;
}

.table th, .table td {
	border: 1px solid #606060;
	padding: 0.5rem;
}

/* ITEMS */
.items, .categories>ul>li>ul {
	display: flex;
	display: grid;
	flex-wrap: wrap;
	grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
	grid-gap: 1rem;
	margin-bottom: 1rem;
}
.item, .categories>ul>li>ul>li {
	background: #303030;
	border: 1px solid #606060;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}
.item img, .item .no-thumbnail, .categories>ul>li>ul>li>a>i {
	width: 100%;
	height: 200px;
	display: block;
}
.categories a[data-no]::after {
	content: " (" attr(data-no) ")";
}
.categories>ul>li>a {
	font-size: 130%;
	padding-bottom: .5rem;
	display: block;
}
.categories>ul>li>ul>li>a>i {
	line-height: 200px;
	text-align: center;
	font-size: 64px;
}
.item h3, .categories>ul>li>ul>li>a {
	margin: .5rem;
	font-size: 120%;
	flex: 1 1 max-content;
}
.item h3 a {
	display: block;
}
.item .price select {
	background: #303030;
	appearance: listbox;
	padding: 0;
	width: 100%;
	cursor: pointer;
}
.item .actions {
	display: flex;
	gap: 1px;
}
.item .actions > * {
	flex: 1 1 50%;
	padding: .5rem;
	border: 0;
	white-space: nowrap;
}
.item .vendor, .item .stars {
	margin: .5rem;
}
.item .stats {
	position: absolute;
	top: 0;
	left: 0;
	padding: .1rem .25rem;
}
.item .price {
	margin: .5rem;
	font-size: 130%;
}
.item-icons, .item-hands {
	line-height: 100%;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.item-hands {
	margin: .5rem 0 .25rem;
}

.item .item-header .icon-featured {
	font-size: 1.2rem;
	color: gold;
	cursor: help;
}

.item .item-header .icon-trusted {
	font-size: 1.2rem;
	color: lime;
	cursor: help;
}

.item .item-hands .fa-thumbs-up, .lime, .many {
	color: lime;
}

.so {
	color: transparent;
	-webkit-text-stroke: 1px white;
}

.gold {
	color: gold;
}

.fancy {
	padding: 0.5rem 1rem;
	background-color: #F8EB2B;
	border-radius: 4px;
	border: 0;
	color: #000000;
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}
.fancy:hover {
	background-color: #F89F2B;
	color: #000000;
}
a.fancy {
	display: inline-block;
}

.button-group {
	display: flex;
}

.button-group > * {
	font-size: 80%;
	cursor: pointer;
	padding: .25rem;
}

.button-group > *:not(last-of-type) {
	border-right: 0;
}

.button-group > *:first-of-type {
	border-radius: 1rem 0 0 1rem;
}

.button-group > *:last-of-type {
	border-radius: 0 1rem 1rem 0;
}

.item .item-hands .fa-thumbs-down, .red, .low {
	color: red;
}

.item-hands button, .item-actions button {
	margin: 0 0 0 0.5rem;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.item-hands button.voted {
	pointer-events: none;
}

.item .no-thumbnail {
	display: flex;
	font-size: 400%;
	background-color: #393939;
	color: #A9A9A9;
	pointer-events: none;
	justify-content: center;
	align-items: center;
}

.item .no-thumbnail i {
	margin: auto;
}

.item-footer {
	opacity: 0.5;
}

.item-actions, .item-footer, .flex, .flexs {
	display: flex;
}

.flex, .flexs {
	flex-wrap: wrap;
	gap: 0 1rem;
}

.flexs {
	justify-content: space-between;
	align-items: start;
}

.item-actions {
	flex-wrap: wrap;
	flex: 1 1 auto;
}

.item-visits {
	flex: 0 1 auto;
	pointer-events: none;
	display: none;
}

.item .item-actions > a, .item .item-actions > button {
	margin-right: 0.5rem;
	margin-left: 0;
}

.item-header h3, .item-hands {
	flex: 0 1 auto;
}

.item-icons {
	flex: 1 1 auto;
}

.item-icons > *, .item-hands > * {
	margin-left: 0.5rem;
}

.item.disabled {
	opacity: 0.5;
}

.item-url {
	display: block;
	overflow: hidden;
	white-space: nowrap;
}

.mt-1 {
	margin-top: 1rem !important;
}

.mb-1, .qrcode {
	margin-bottom: 1rem !important;
}

.form-actions {
	margin: 1rem auto;
	display: flex;
	gap: 1rem;
	justify-content: center;
}

.form-actions > * {
	font-size: 1.2rem;
	padding: .5rem 1rem;
}

.form-row {
	margin-bottom: 0.5rem;
}

.form-row label {
	margin-bottom: 0.25rem;
}

.form-row input:not([type=checkbox]):not([type=radio]), .form-row textarea, .form-row select {
	width: 100%;
}

.vericode {
	display: block;
	margin-top: 0.5rem;
}

.submit-btn {
	margin-top: 0.5rem;
}

.form-errors {
	border: 1px solid red;
	padding: 1rem;
	margin-bottom: 1rem;
}

.form-rules {
	margin: 1rem;
	color: red;
}

.form-error {
	color: red;
	font-size: 90%;
}

.input-info {
	font-size: 0.8rem;
	margin: 0.5rem 0 1rem 0;
}

.gray {
	color: gray;
}

.pagination {
	margin: 1rem auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination > * {
	padding: 0.25rem 0.25rem;
	background-color: #222222;
	border: 1px solid #303030;
	border-radius: 0.5rem;
	color: white;
	margin: 0.25rem;
	text-align: center;
	min-width: 2rem;
}

.pagination > span {
	border: 1px solid lime;
	font-weight: bold;
}

.pagination > a {
	text-decoration: none;
	color: white;
}

.footnote {
	padding: 1rem;
	margin-top: 2rem;
	border: 1px solid white;
}

.checkout-items {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.checkout-items > * {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: .25rem 0;
	margin: .5rem 0;
	border-bottom: 1px solid white;
}

label#bars {display:none}

#headerLinks>span {cursor: help}

@media (max-width: 767px) {
	
	#container > nav {
		max-width: 2.1rem;
		overflow: hidden;
	}
	
	#logo a {
		font-size: 1.2rem;
	}
	
	.sortby {
		display: none;
	}
	
	header {
		position: sticky;
		top: 0;
		z-index: 99;
	}
	
	label#bars {
		cursor: pointer;
		padding: 0 1rem;
		flex: 0 1 auto;
		display: flex;
		order: 3;
	}
	
	#menuSwitch:checked ~ nav {
		display: block;
		position: fixed;
		top: 3rem;
		right: 0;
		z-index: 100;
		left: 0;
		bottom: 0;
		overflow: auto;
	}
	
	#container > nav {
		max-width: 100vw;
		overflow: visible;
		display: none;
	}
	
	#container > nav > ul > li > ul {
		column-count: 2
	}
	
	nav a[data-no]::after {
		position: static;
		content: " (" attr(data-no) ")";
	}
	
	#headerLinks>span {display: none}
}

@media (max-width: 575px) {
	
	.item {
		display: block;
	}
	
	header {
		flex-wrap: wrap;
	}

	#search {
		order: 3;
		display: none;
	}
	
	#headerLinks {
		order: 2;
	}
	
	#container {
		flex-direction: column;
		min-width: auto;
		max-width: 100vw;
		top: 3rem;
	}
	
	#container > nav > ul > li > ul {
		column-count: 1
	}
	
	.jumbo {
		font-size: 90%;
	}
	.jumbo .btn-big {
		font-size: 1rem;
	}
}

@media (min-width: 768px) {
	
	#logo a {
		position: relative;
		top: -2px;
	}
	
	.delivery {
		flex-wrap: nowrap;
	}
}
.path {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
}
.path a {
	color: white;
	text-decoration: none;
}
.path i {
	padding-right: .25rem;
}

/* PRODUCT PAGE */
.product {
	display: flex;
	gap: 3%;
}
.product-photos {
	order: 1;
}
.photo-big img {
	max-width: 300px;
	padding: .5rem 0;
}
.photo-thumbs {
	display: flex;
}
.photo-thumbs img {
	max-width: 100px;
}
.product-details {
	order: 2;
}
.product .vendor {
	margin-bottom: 0.5rem; 
}
.product .price {
	font-size: 150%;
}
.product .btc {
	margin-left: 1rem;
}
.product .instock, .product .actions {
	margin: .5rem 0;
}
.product .actions {
	margin: 1rem 0;
}
.old {
	color: gray;
	position: relative;
	text-decoration: none;
}
.old::before {
	position: absolute;
	content: '';
	left: 0;
	top: 50%;
	right: 0;
	border-top: 2px solid red;
	-webkit-transform: skewY(10deg);
	-moz-transform: skewY(10deg);
	transform: skewY(10deg);
}

/* Colors */
.green {
	color: lime;
}

/* Flex grid */
.flex-grid, .cards {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.cards.ultra > * {
	flex: 1 1 30rem;
}
.cards.wide > * {
	flex: 1 1 20rem;
}
.cards > * {
	flex: 1 1 12rem;
}
.card, .jumbo {
	background: #303030; /*#222222;*/
	border: 1px solid #606060; /*#303030;*/
	padding: 1rem;
}
.card > h3, .card > h4 {
	background: black;
	margin: -1rem -1rem 1rem -1rem;
	padding: .4rem .5rem .5rem 1rem;
	font-size: 1.2rem;
}
dl.compact {
	display: grid;
	grid-template-columns: min-content auto; /* max-content */
	gap: 0 1rem;
}
dl.compact > dt {
	justify-self: end;
	text-align: right;
}
dl.compact.ships > dt {
	justify-self: start;
	text-align: left;
	white-space: nowrap;
}
dl.compact > dd {
	white-space: pre-wrap;
}
.order-address {
	margin-bottom: 0;
}
.order-address dt {
	min-width: 3rem;
}

/* Margins and paddings */
.mt05 {
	margin-top: .5rem;
}
.mb1 {
	margin-bottom: 1rem;
}
.p2 {
	padding: 2rem !important;
}
.center {
	text-align: center;
}
.big {
	font-size: 2rem;
}
.mbig {
	font-size: 1.5rem;
}

/* Colors */
.light {
	background: #303030;
}

.loader-dot::before {
	background-color: white !important;
}

.nop > *:last-child, .nop > ul:last-child, .nop > dl:last-child > dd:last-child, .nop > dl:last-child > dd:last-child > ul:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.side {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.side > * {
	flex: 1 1 0;
}

.side > figure {
	flex: 0 0 0;
	margin: 0;
}

.redbg {
	background-color: #F82B2B;
}