#imballi_table TH:nth-child(2),
#imballi_table TD:nth-child(2) {
	text-align: right;
	width: 60px;
	padding-right: 10px;
}
#imballi_table DIV.note {
	font-size: 12px;
}
#imballi_table TD:nth-child(2) {
	width: 220px;
}
#imballi_table TH .sort_button {
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: bold;
	cursor: pointer;
}
#imballi_table TH .sort_button.asc::after {
	content: " \2191";
}
#imballi_table TH .sort_button.desc::after {
	content: " \2193";
}
#imballi_table TD.row_buttons {
	white-space: nowrap;
	position: relative;
}
.row_menu_wrap {
	position: relative;
	display: inline-block;
}
.row_menu_toggle {
	width: 28px;
	height: 28px;
	border: solid 1px #999;
	background: #fafafa;
	border-radius: 4px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.row_menu_wrap.open .row_menu_toggle {
	background: #eee;
}
.row_menu {
	position: absolute;
	top: 100%;
	right: 0;
	display: none;
	min-width: 160px;
	margin-top: 4px;
	padding: 4px 0;
	background: #fff;
	border: solid 1px #bbb;
	box-shadow: 0 8px 20px rgba(0,0,0,0.18);
	z-index: 20;
}
.row_menu_wrap.open .row_menu {
	display: block;
}
.row_menu_item {
	display: block;
	width: 100%;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}
.row_menu_item:hover {
	background: #f2f2f2;
}
#print_frame {
	display: none;
}
.buttons {
	margin-bottom: 12px;
}

.page_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.page_header h1 {
	margin: 0;
	font-size: 28px;
	text-align: left;
}

.page_header .buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0;
}

.limited {
	max-height: 70%;
	overflow: auto;
}

#form_modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0,0,0,0.35);
	z-index: 1000;
}

#form_modal.open {
	display: flex;
}

#form_window {
	position: relative;
	width: min(900px,100%);
	max-height: calc(100vh - 48px);
	padding: 20px;
	background: #fff;
	border: solid 1px #aaa;
	box-shadow: 0 12px 30px rgba(0,0,0,0.25);
	overflow: auto;
}

#form_close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

#form_div {
	padding-top: 18px;
}

#link_scarico {
	color: silver;
	text-decoration: none;
	position: absolute;
	top: 5px;
	right: 15px;
	font-size: 10px;
}

.new_order,
.row_action {
	font-size: 8px;
	margin-right: 0;
}

A.form_button.disabled {
	opacity: 0.45;
	pointer-events: none;
	cursor: default;
}

TR.obsoleto {
	opacity: .5;
}
SUP {
	font-size: 10px;
	display: inline-block;
	width: 30px;
}