table.stock_items td:last-child {
	position: sticky;
	right: 0px;
	background-color: inherit;
}

form#stock_item_edit {
	width: 80vw;
}

form#stock_item_edit label {
	width: unset;
}

form#stock_item_edit textarea[name="description"] {
	min-height: 320px;
}

.field_stock_location > button {
	display: block;
	width: 100%;
	text-align: left;
	background-color: rgb(255, 255, 255);
	border: solid 1px rgb(200, 200, 200);
	color: inherit;
	padding-left: 12px !important;
}

.field_stock_location > button:hover {
	color: inherit;
	background-color: rgb(233, 243, 255);
}

#qh_location_selector_content {
	position: relative;
}

#qh_location_selector_content > div {
	display: block;
	margin: 0px;
	padding: 7px 3px;
	border-bottom: solid 1px rgb(244, 242, 242);
	cursor: pointer;
}

#qh_location_selector_content > div c {
	float: right;
	font-weight: bold;
}

.qh-stock-locations.list-like-tree {
	position: relative;
	min-width: 320px;
	width: auto;
	width: 100%;
	max-width: 720px;
}

.qh-stock-locations.list-like-tree ul li ul {
	margin-left: 10px;
	max-height: 0px;
	overflow: hidden;
}

.qh-stock-locations.list-like-tree ul li .title-header .qh-down-icon {
	background-size: 18px;
}

.qh-stock-locations.list-like-tree ul li.open > .title-header .qh-down-icon {
	background-image: url('/QH/images/up.svg');
}

.qh-stock-locations.list-like-tree ul li.open > ul {
	max-height: 2500px;
	transition: 0.1s all;
}

.qh-stock-locations.list-like-tree ul li {
	list-style: none;
	display: block;
	margin: 0px;
	padding: 0px;
	cursor: pointer;
}

.qh-stock-locations.list-like-tree ul li .title-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0px 5px;
	box-sizing: border-box;
	border-radius: 0px;
	border-bottom: solid 1px rgb(242, 242, 242);
}

.qh-stock-locations.list-like-tree ul li .title-header:hover {
	background-color: rgb(228, 247, 255);
}

.qh-stock-locations.list-like-tree ul li .title {
	background-size: 22px;
	background-repeat: no-repeat;
	background-position: 0px center;
	font-size: 17px;
	padding: 10px 10px 10px 26px;
	display: inline-block;
	font-weight: normal;
	color: rgb(55, 55, 55);
}

.qh-stock-locations.list-like-tree ul li [data-busy="true"] .title {
	color: rgb(227, 106, 0);
}

.qh-stock-locations.list-like-tree ul li .code {
	color: rgb(49, 186, 208);
	margin-left: 15px;
	border-bottom: solid 1px;
	padding: 0px 0px;
	font-size: 12px;
	border-radius: 0px;
}

.qh-stock-locations.list-like-tree ul li .qh-small-buttons {
	display: inline-block;
	margin: auto 0px auto auto;
	text-align: right;
	width: 220px;
}

.qh-stock-locations.list-like-tree ul li .qh-small-buttons {
	display: inline-block;
	margin: auto 0px auto auto;
	text-align: right;
	width: 220px;
}

.qh-stock-locations.list-like-tree ul li .qh-small-buttons button {
	display: inline-block;
	vertical-align: middle;
	width: 32px;
	height: 32px;
	min-width: unset;
	padding: 0px;
	background-size: 25px;
}

/* Room */
.qh-stock-locations.list-like-tree ul li .title.type_1 {
	background-image: url('/QH/icons/feather/maximize.svg');
}

/* Stelazh */
.qh-stock-locations.list-like-tree ul li .title.type_2 {
	background-image: url('/QH/icons/feather/layers.svg');
}

/* Polka */
.qh-stock-locations.list-like-tree ul li .title.type_3 {
	background-image: url('/QH/icons/feather/inbox.svg');
}

/* Position */
.qh-stock-locations.list-like-tree ul li .title.type_10 {
	background-image: url('/QH/icons/feather/chevrons-right.svg');
}

.location_code_path p, .location_type p {
	display: block;
	margin: 0px;
	border: solid 1px rgb(198, 198, 198);
	border-radius: 5px;
	padding: 10px;
	font-weight: bold;
}

#qh_stock_location_editor_toolbar {
	display: block;
	margin: auto auto 12px auto;
	position: relative;
}

#qh_stock_location_editor_toolbar label {
	display: inline-block;
	vertical-align: middle;
	border: solid 1px #eeeeee;
	border-radius: 3px;
	padding: 3px 5px;
	font-size: 12px;
	width: auto;
	min-width: unset;
}

#qh_stock_location_editor_toolbar label input {
	margin: 0px 3px;
	border: transparent;
	padding: 0px;
	font-size: inherit;
	text-align: right;
	width: 32px;
	min-width: 32px;
	outline: transparent;
	color: rgb(0, 159, 255);
	display: inline-block;
}

#qh_stock_location_editor_toolbar label u {
	text-decoration: none;
	color: rgb(120, 120, 120);
	text-transform: lowercase;
}

#qh_stock_location_editor_toolbar .buttons {
	float: right;
}

#qh_stock_location_editor_toolbar .buttons button {
	display: inline-block;
	vertical-align: middle;
	font-size: 15px;
	padding: 5px 10px;
	height: auto;
	border-radius: 3px;
}

#qh_stock_location_editor_toolbar .buttons .btn_cancel {
	background-color: rgb(45, 45, 45);
}

#qh_stock_location_editor_toolbar .buttons .btn_up {
	margin-right: 25px;
}

#qh_stock_location_editor {
	position: relative;
	width: 800px;
	height: 500px;
	background: rgb(255, 255, 255);
	overflow: hidden;
	border: 2px solid rgb(240, 240, 240);
	border-radius: 5px;
	user-select: none;
}

#qh_stock_location_editor .rect {
	background: rgba(1, 123, 253, 0.5);
	border: 1px solid rgb(20, 161, 230);
	position: absolute;
	cursor: move;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

#qh_stock_location_editor .rect:hover {
	background-color: rgba(1, 123, 253, 0.7);
}

#qh_stock_location_editor .rect .rect-link {
	display: block;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	cursor: pointer;
}

#qh_stock_location_editor[mode="edit"] .rect .rect-link {
	display: none;
}

#qh_stock_location_editor .rect title {
	display: block;
	font-size: 12px;
	color: #FFFFFF;
	text-align: center;
}

#qh_stock_location_editor .rect.active {
	outline: solid 3px rgb(0, 255, 255);
	z-index: 10;
}

#qh_stock_location_editor .rect resize {
	display: none;
	position: absolute;
	right: -7px;
	left: auto;
	top: auto;
	bottom: -7px;
	width: 12px;
	height: 12px;
	background: rgb(255, 255, 255);
	border-radius: 50px;
	border: inherit;
	cursor: se-resize;
	z-index: 1;
}

#qh_stock_location_editor[mode="edit"] .rect resize {
	display: block;
}

#qh_stock_location_editor .rect resize:hover {
	border-color: rgb(0, 50, 255);
}

#set_table_view {
	width: 100vw;
	max-width: 620px;
}

#set_table_view .qh-small-buttons label {
	display: inline-block;
	vertical-align: middle;
	margin: auto auto 10px 10px;
	width: auto;
	border: transparent;
}

.qh_stock_items_list tr td:first-child {
	color: rgb(0, 90, 230);
	cursor: pointer;
}

.qh_stock_items_list .pages {
	text-align: center;
	margin: 15px auto auto auto;
}

.qh_stock_items_list .pages a {
	display: inline-block;
	vertical-align: middle;
	padding: 3px 3px;
	border: solid 1px #353535;
	border-radius: 3px;
	text-align: center;
	min-width: 19px;
	margin: 5px 5px auto auto;
}