:root {
	--primary-background: #222127;
	--primary-radius: 8px;
}

ul.pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.trading {
	margin-bottom: 24px;
}

.trading .product {
	display: flex;
	width: 100%;
	background-color: var(--primary-background);
	border-radius: var(--primary-radius);
	padding: 12px 24px 12px 24px;
	height: 80px;
	align-items: center;
	font-size: 16px;
	margin-bottom: 16px;
}

.trading .product .view img {
	width: 48px;
	height: 48px;
	border-radius: var(--primary-radius);
}

.trading .product .name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
	width: 39%;
}

.trading .product .add {
	width: 8%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill {
	width: 24px;
	height: 24px;
	color: gray;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill:hover {
	color: #d1e52d;
}

.trading .product .add button.btn {
	background-color: transparent;
	margin-bottom: 0;
}

.trading .product .view {
	width: 8%;
	margin-right: 12px;
}

.trading .product .price,
.trading .product .availability,
.trading .product .market {
	width: 15%;
}


.trading .table {
	display: flex;
	padding: 0 24px 0 24px;
	font-size: 12px;
}

.trading .table svg {
	margin-right: 8px;
}

.trading .table .name,
.trading .table .price,
.trading .table .market,
.trading .table .view,
.trading .table .availability {
	display: flex;
	align-items: center;
}

.trading .table .name {
	width: 39%;
}

.trading .table .add {
	width: 8%;
}

.trading .table .view {
	width: 8%;
	margin-right: 12px;
}

.trading .table .price,
.trading .table .availability,
.trading .table .market {
	width: 15%; 
}

.product:hover {
	box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
	transition: box-shadow 0.3s ease-in-out;
}

.jconfirm-cell {
	background-color: rgba(0, 0, 0, .40);
}

.jconfirm-box-container {
	color: #484848;
}

#items .card.active {
	border-color: rgba(65, 137, 91, .64);
	background-color: rgba(36, 62, 45, .25);
}

#items .card.active:hover {
	border-color: transparent;
	background-color: var(--primary-background);
}

#items .card {
	cursor: pointer;
	background-color: var(--primary-background);
}

#items .card .card-header {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#items .card .card-body {
	height: 150px !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: 50% !important;
	margin: 12px 8px 12px 8px !important;
}

#items .card:hover {
	box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
	transition: box-shadow 0.3s ease-in-out;
	transition: border-color 0.3s ease-in-out;
}

@media (max-width: 600px) {
	.trading .product {
		padding: 8px;
	}
	
	.trading .product .view img {
		width: 32px;
		height: 32px;
	}
	
	.trading .table .name {
		width: 30%;
	}
	
	.trading .product .name {
		width: 30%;
	}
	
	.trading .table .add {
		width: 17%;
	}
	
	.trading .product .add {
		width: 17%;
	}
}