
.list-container * {text-align: left;}
.list-container {
	display: flex;
	/* flex-direction: column; */
	gap: 10px;
	padding: 10px;
	flex-direction: row;
	flex-wrap: wrap;
	color: var(--text-on-bg);
	text-align: center;
	justify-content: center;
}

.list-item {
	display: flex;
	background: var(--faint-tint-on-bg);
	width: 100%;
}

.list-item .img-container {
	width: 25%;
	background-position: center top;
	background-size: cover; 
	flex-shrink: 0;
	background-image: url(fallback.jpg);
}
.list-item .text-elems {
	color: var(--text-on-bg);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	justify-content: space-between;
	flex-grow: 1;
	gap: 5px;
	padding: 10px;
}
.text-row span{
	vertical-align: bottom;
}
.text-row.no-wrap{ flex-wrap: nowrap; }
.text-row{
	width: 100%;
	display: flex;
	justify-content: space-between;
	/* align-items: center; */
	gap: 10px;
	flex-wrap: wrap;
}
.list-item .text-elems .price{
	font-weight: bold;
}
.list-item:hover .text-elems .name, .list-item:hover .text-elems .notes, .list-item:hover .text-elems .owner{ 
	white-space: wrap
}
.list-item .text-elems .name{
	font-weight: bold;
	width: 80%;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	text-align: left;
}
.list-item .text-elems .id{
	font-size: 0.7rem;
	opacity: 0.5;
	align-self: center;
}

.list-item .text-elems .bgg-link{
	color: var(--text-on-bg);
}
.list-item .text-elems .location{ justify-content: left; }
.list-item .text-elems .notes{
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	display: inline-block;
}
.notes-val, .location-val{ font-style: italic; }


.sort-container{
	margin: 10px;
	padding: 0 10px;
	background: #f5f5f5;
	border-radius: 5px;
	user-select: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#asc-desc{ 
	position: static;
	transition: all 0.2s ease-in-out;
}
#asc-desc[value="asc"]{
	rotate: 180deg;
}
#sort-select{
	flex-grow: 1;
	margin: 0 15px;
	border: 1px solid var(--faint-tint-on-bg);
	color: black;
	border-radius: 0;
}
input#unavailable {
	width: 20%;
	margin: auto;
}

.fab-add-button{
	position: fixed;
	font-size: 50px;
	bottom: 20px;
	right: 20px;
	background: var(--main-pop);
	z-index: 1;
}

.img-container{ 
	display: flex;
	flex-direction: column;
	padding: 5px;
	align-items: center;
	justify-content: space-around;
	gap: 5px;
}
.img-container .circle-button{ 
	position: static;
}
.img-container .delete{ 
	background: var(--soft-warn);
}
.img-container .edit{ 
	background-color: skyblue;
}

.img-container .circle-button{
	border: 1px solid black;
}
#pagination{
	display: flex;
	gap: 5px;
	/* margin: 10px; */
	/* width: 100%; */
	padding: 10px;
	background: var(--main-bg);
	position: sticky;
	top:0;
	z-index: 100;
	align-items: center;
}

#pagination label{
	flex-grow: 1;
	padding: 10px;
	border-radius: 5px;
	/* border: solid black 1px; */
	background-color: var(--btn-on-main);
	text-align: center;
	user-select: none;
	min-width: 40px;
	user-select: none;
}
#pagination input[type="radio"]{
	display: none;
}
#pagination  label:has(input[type="radio"]:checked) {
	background: var(--main-accent);
	color: var(--text-on-accent);
}


@media only screen and (min-width:800px) {
	.list-item { width: calc(50% - 5px); }
}