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 {
	border: 1px solid #303030;
	background-color: #131313;
	padding: 0.1rem 0.5rem;
	color: white;
	text-decoration: none;
}

select {
	min-height: 1.9rem;
}

header {
	flex: 0 0 auto;
	min-height: 3rem;
	background-color: #222222;
	display: flex;
	width: 100%;
}

#bars, #menu {
	display: none;
}

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

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

#container > nav {
	flex: 1 1 20%;
	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;
}

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

aside {
	display: none;
}

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

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

main h2, main > section > p, main > section > form, main > section > article {
	margin: 1rem;
}

.nomargin {
	margin: 0
}

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

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

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

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

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

#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;
}

.btns {
	margin: 1rem 0;
}

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

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

.item {
	padding: 1rem;
	margin: 1rem;
	display: flex;
	background-color: #222222;
	border: 1px solid #303030;
	border-radius: 1rem;
}

.item img, .item .no-thumbnail {
	width: 150px;
	height: 150px;
	flex: 0 0 auto;
	margin-right: 1rem;
	border-radius: 0.5rem;
}

.item h3 {
	margin-top: -.5rem;
}

.item.featured {
	border-color: lime;
}

@property --angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.item-icons, .item-hands {
	line-height: 100%;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.item-visits {
	white-space: nowrap;
}

.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 {
	color: lime;
}

.gold {
	color: gold;
}

.item .item-hands .fa-thumbs-down, .red {
	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 .item-content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.item-content > p {
	flex: 1 1 auto;
}

.item-footer {
	opacity: 0.5;
}

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

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

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

.red {
	color: red;
}

.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;
}

.mb-1 {
	margin-bottom: 1rem;
}

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

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

.form-row input:not([type=checkbox]), .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: 1rem;
	border: 1px solid white;
}

.ads {
	display: flex;
	display: grid;
	flex-wrap: wrap;
	grid-template-rows: auto auto;
	grid-template-columns: repeat(auto-fill,minmax(366px, 1fr));
	grid-gap: 1rem;
	justify-items: center;
	margin: 1rem;
}

.ads > * {
	flex: 0 1 47%;
	margin: .5rem auto;
	max-width: 468px;
	min-width: 366px;
}

.ads img {
	max-width: 100%;
	height: auto;
}

.ad-placeholder {
	width: 468px;
	background-color: white;
	max-width: calc(min(100%,468px));
}

.ad-placeholder > a {
	display: flex;
	height: 100%;
	width: 100%;
	font-size: 140%;
	color: black;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1024px) {

	/*#container > nav {
		flex: 1 1 20%;
	}
	
	#container > main {
		flex: 1 1 60%;
	}

	#container > aside {
		flex: 1 1 20%;
		display: block;
	}*/

}

@media (max-width: 575px) {
	
	.item {
		display: block;
	}
	
	header {
		flex-wrap: wrap;
	}
	
	nav {
		top: 4.5rem !important;
	}

	#search {
		order: 3;
		display: none;
	}
	
	#headerLinks {
		order: 2;
	}
	
	.item img, .item .no-thumbnail {
		display: none;
	}

	#menu:checked + header > #search {
		display: flex;
	}
}

@media (max-width: 767px) {
	
	header {
		position: fixed;
		z-index: 9999;
	}
	
	main {
		border-radius: 0;
	}
	
	nav {
		display: none;
	}
	
	#container {
		margin-top: 3rem;
	}
	
	#logo a {
		font-size: 1.2rem;
	}

	#bars {
		display: flex;
	}
	
	#bars i {
		cursor: pointer;
		padding: .5rem;
	}
	
	#menu:checked ~ #container > nav {
		display: block;
		position: fixed;
		overflow: auto;
		left: 0;
		top: 3rem;
		right: 0;
		bottom: 0;
		z-index: 99999;
		max-width: 100%;
	}
}

@media (min-width: 768px) {
	
	#logo a {
		position: relative;
		top: -2px;
	}
	
}

.winbtc {
	display: flex;
	padding: 0.5rem 0.5rem 0 1rem;
	margin: 1rem;
	background-color: #222222;
	border: 1px solid lime;
	border-radius: 1rem;
	text-decoration: none;
	color: gold;
	transition: 1s ease;
}
.welcome {
	padding: 0;
	color: gold;
	transition: 1s ease;
}
.welcome>* {
	padding: 0;
	margin: 0.5rem 1rem;
}
.winbtc:hover, .welcome:hover {
	color: orange;
}
.winbtc>i {float:left;font-size:4rem;margin:0.5rem 1rem 0.5rem 0}