#TagChips,
#LocationChips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

#form-item.modal-form-label-sm label {
	width: 7.75rem;
}

#form-item .item-name-control,
#form-item .tag-picker {
	box-sizing: border-box;
	flex: 0 1 70%;
	max-width: 70%;
	min-width: 0;
	width: 70%;
}

#form-item .item-name-control {
	align-items: stretch;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
	position: relative;
}

#form-item .content .item-name-control {
	align-items: stretch;
	padding: 0;
}

#form-item .item-name-control input {
	width: 100%;
}

#form-item .item-name-warning {
	color: #b42318;
	font-size: 0.85rem;
	line-height: 1.2;
}

.item-delete-message {
	color: #b42318;
	font-size: 0.95rem;
	line-height: 1.25;
	padding: 0.75rem 1rem 0;
}

#form-item .footer #btn-delete-item {
	margin-right: auto;
}

#item-name-suggestions,
#TagPickerDropdown,
#LocationPickerDropdown {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 100%;
	padding: 0.2rem 0;
	width: 100%;
}

#item-name-suggestions[hidden],
#TagPickerDropdown[hidden],
#LocationPickerDropdown[hidden] {
	display: none;
}

#item-name-suggestions .tag-picker-option,
#TagPickerDropdown .tag-picker-option,
#LocationPickerDropdown .tag-picker-option {
	box-sizing: border-box;
	display: block;
	flex: 0 0 auto;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

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

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

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

#tbl_item th,
#tbl_item td {
	width: 10%;
}

#tbl_item th:nth-child(1),
#tbl_item td:nth-child(1) {
	width: 3.5rem;
}

#tbl_item th:nth-child(2),
#tbl_item td:nth-child(2),
#tbl_item th:nth-child(6),
#tbl_item td:nth-child(6),
#tbl_item th:nth-child(7),
#tbl_item td:nth-child(7),
#tbl_item th:nth-child(8),
#tbl_item td:nth-child(8) {
	width: calc((100% - 31.5rem) / 4);
}

#tbl_item th:nth-child(3),
#tbl_item td:nth-child(3),
#tbl_item th:nth-child(4),
#tbl_item td:nth-child(4),
#tbl_item th:nth-child(5),
#tbl_item td:nth-child(5),
#tbl_item th:nth-child(9),
#tbl_item td:nth-child(9) {
	width: 7rem;
}

#item-actions button {
	min-width: 7rem;
}

@media only screen and (max-width: 960px) {

	#mobile-item-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-item-search:focus {
		border-color: #0d6efd;
		box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
		outline: none;
	}

	#mobile-btn-add {
		align-items: center;
		background-color: #0d6efd;
		box-sizing: border-box;
		color: white;
		display: inline-flex;
		flex: 0 0 auto;
		font-size: 1.35rem;
		font-weight: 700;
		height: 2.15rem;
		justify-content: center;
		line-height: 1;
		padding: 0;
		width: 2.15rem;
	}

	.mobile-list {
			overflow: hidden;
	}

	.mobile-tile {
			display: block;
			gap: 0.45rem;
	}

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