.inventory-toggle {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #0d6efd;
	color: white;
	font-weight: 700;
	margin-right: 0.35rem;
	width: 1.65rem;
	height: 1.65rem;
	padding: 0;
	text-align: center;
	line-height: 1;
}

#inventory-empty-message {
	font-weight: 700;
}

#inventory-page {
	border: 1px solid #c7d2fe;
	border-radius: 0.25rem;
	padding: 0.2rem 0.35rem;
}

#inventory-search {
	border: 1px solid #c7d2fe;
	border-radius: 0.25rem;
	flex: 0 1 24rem;
	font-size: 1.1rem;
	margin-left: auto;
	min-width: 18rem;
	padding: 0.35rem 0.5rem;
}

#inventory-search:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
	outline: none;
}

#tbl_inventory > thead th,
#tbl_inventory > tbody > tr > td,
#tbl_inventory > tfoot td {
	width: 12%;
}

#tbl_inventory > thead th:nth-child(1),
#tbl_inventory > tbody > tr > td:nth-child(1) {
	width: 26%;
}

#tbl_inventory > thead th:nth-child(5),
#tbl_inventory > tbody > tr > td:nth-child(5),
#tbl_inventory > thead th:nth-child(6),
#tbl_inventory > tbody > tr > td:nth-child(6) {
	text-align: right;
	width: 10%;
}

#tbl_inventory > thead th:nth-child(7),
#tbl_inventory > tbody > tr > td:nth-child(7) {
	width: 12%;
}

#tbl_inventory > tbody > tr:not(.inventory-detail-row):hover {
	background-color: #f5f6f8;
}

#tbl_inventory > tbody > tr.active {
	background-color: #eef1f5;
}

#tbl_inventory > tbody > tr.btn-danger,
#tbl_inventory > tbody > tr.btn-danger:hover,
#tbl_inventory > tbody > tr.btn-danger.active {
	background-color: #f8d7da;
	color: #000;
}

.inventory-par-cell {
	cursor: cell;
}

.inventory-par-editing {
	padding: 0;
}

.inventory-par-input {
	background: white;
	border: 2px solid #0d6efd;
	box-sizing: border-box;
	color: #111827;
	font: inherit;
	height: 100%;
	margin: 0;
	min-height: 2rem;
	outline: none;
	padding: 0.25rem 0.45rem;
	text-align: right;
	width: 100%;
}

.inventory-par-saving .inventory-par-input {
	opacity: 0.65;
}

.inventory-detail-row td {
	background: transparent;
	padding: 0.5rem;
	white-space: normal;
	width: 100%;
}

.inventory-detail-row:hover {
	background-color: transparent;
}

.inventory-detail-grid {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
}

.inventory-detail-grid thead,
.inventory-detail-grid tbody,
.inventory-detail-grid tr {
	display: table;
	table-layout: fixed;
	width: 100%;
}

.inventory-detail-grid th,
.inventory-detail-grid td {
	background: transparent;
	padding: 0.35rem 0.5rem;
	white-space: nowrap;
	width: 20%;
}

.inventory-detail-grid th:nth-child(5),
.inventory-detail-grid td:nth-child(5) {
	white-space: normal;
}

.inventory-history-more-row td {
	text-align: left;
}

.inventory-history-more-button {
	background: transparent;
	color: #0d6efd;
	font-weight: 700;
	padding: 0.2rem 1rem;
}

@media only screen and (max-width: 960px) {
	#mobile-inventory-search {
		border: 1px solid #c7d2fe;
		border-radius: 0.25rem;
		box-sizing: border-box;
		flex: 1;
		font-size: 1rem;
		min-width: 0;
		padding: 0.45rem 0.55rem;
	}

	#mobile-inventory-search:focus {
		border-color: #0d6efd;
		box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
		outline: none;
	}

	.mobile-list {
		overflow: hidden;
	}

	.mobile-tile {
		display: block;
	}

	.mobile-title {
		overflow-wrap: anywhere;
	}
}
