/**
Основные стили
*/
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
	background: #cdcdcd;
	background-clip: content-box;
	border: 1px solid transparent;
}

* {
	scrollbar-width: thin;
}

select:not([size]) {
	scrollbar-width: auto;
}

body [onclick^='s_menu']:hover,
body [onclick^='SelectRow.simpleSelect']:hover,
body .hov:hover,
body .hov :hover {
	--table-row-background-color: #DBEAF9;
	background-color: #DBEAF9 !important;
	cursor: pointer;
}

body [onclick^='s_menu'] .hov:hover,
body [onclick^='SelectRow.simpleSelect'] .hov:hover {
	background-color: #BBDAE9 !important;
	cursor: pointer;
}

.hov:active {
	background-color: #DBEAF9;
	cursor: pointer;
}

img[src="img/loading.gif"] {
	height: 16px;
	width: 16px;
}

.body_loading, .body_loading * {
	cursor: wait !important;
}

.nodecor, .nodecor:hover, .nodecor:focus, .nodecor:active {
	padding: 0;
	border: none;
	text-decoration: none;
	background-color: transparent;
	vertical-align: baseline;
	outline: none;
	display: inline-block;
}

.nodecor.table-href {
	display: block;
	width: 100%;
	height: 100%;
	background: transparent;
	outline: none;
	margin: -3px;
	padding: 3px;
	color: black;
}

.dof, .p {
	background-color: #ffffff;
	border: 1px #ffffff solid;
	padding: 2px;
	cursor: pointer;
	white-space: nowrap;
}

.dof:hover, .p:hover,
.dof:focus, .p:focus {
	border: 1px #AECCF1 solid;
	background-color: #F0F0F4;
	background: -webkit-gradient(linear, left top, left bottom, from(#F9FAFD), to(#D7E1ED));
	background: -moz-linear-gradient(top, #F9FAFD, #D7E1ED);
	background: -ms-linear-gradient(top, #F9FAFD, #D7E1ED);
	background: -o-linear-gradient(top, #F9FAFD, #D7E1ED);
}

.dof:active, .p:active {
	border: 1px #AECCF1 solid;
	background-color: #F1F5FB;
	background: -webkit-gradient(linear, left top, left bottom, from(#F1F5FB), to(#F9FAFD));
	background: -moz-linear-gradient(top, #F1F5FB, #F9FAFD);
	background: -ms-linear-gradient(top, #F1F5FB, #F9FAFD);
	background: -o-linear-gradient(top, #F1F5FB, #F9FAFD);
}

.rh {
	cursor: default;
}

table.inline_table {
	display: inline-block;
}

table.inline_table, tr.inline_table, td.inline_table {
	margin: 0;
	padding: 0;
	border: 0;
}

.ico-small > img.button,
.ico-small > img.button-disabled {
	height: 12px;
	vertical-align: middle;
	width: 12px;
}

.new-message-icon {
	height: 6px;
	display: inline-block;
}

.new-message-icon > img.button,
.new-message-icon > img.button-disabled {
	height: 6px;
	width: 6px;
}

body .ui-tooltip {
	background: #eee;
	padding: 5px;
	position: absolute;
	z-index: 1000000;
	max-width: 300px;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	white-space: pre-line;
	font-size: 14px;
	font-family: Arial, sans-serif;
	border: none;
	border-radius: 1px;
	border-width: 2px;
	width: max-content;
	overflow: hidden;
}

body .ui-tooltip-content {
	display: inline;
}

.div-full {
	margin: -6px -4px;
	padding: 6px 4px;
}

.listbox-image {
	background-repeat: no-repeat;
	padding-left: 20px;
	background-size: 16px 16px;
}

.number-picker-range {
	padding: 0;
	vertical-align: middle;
	margin-left: 5px;
	width: 60px;
}

.disable-hover-body {
	pointer-events: none;
}

#barcodeText {
	position: fixed;
	top: 0;
	width: 1px;
	height: 0;
}

.fatal_error_p {
	display: none;
	background-color: #fbb;
	white-space: pre-line;
}

._notify {
	position: relative;
}

._notify:before {
	content: "";
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 5px;
	bottom: -1px;
	border: 2px solid #f2f2f2;
	left: -1px;
}

._notify-orange:before {
	background-color: orange;
}

._notify-red:before {
	background-color: red;
}

._notify-green:before {
	background-color: limegreen;
}

.patch_result, .patch_error {
	padding: 3px;
	margin: 5px;
}

.patch_name {
	padding-bottom: 3px;
	font-weight: bold;
}

.patch_error {
	background: pink;
}

.patch_result {
	border: solid 1px #ddd;
}

.table-fixed thead > tr:first-child > td {
	top: 29px;
}

.table-fixed td:first-child {
	position: sticky;
	left: 28px;
	background-color: #fff;
	background-clip: border-box;
}

.table-fixed thead > tr > td {
	position: sticky;
	top: 55px;
	background-clip: border-box;
	z-index: 1;
}

.table-fixed thead > tr {
	background-color: #fff;
}

.quagga-frame {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 320px;
	height: 240px;
	display: flex;
	flex-direction: row-reverse;
	z-index: 1100;
}

body._highlight-i18n [data-i18n] {
	outline: red dashed 2px;
}

body._highlight-i18n [data-i18n]::before {
	content: attr(data-i18n);
	position: absolute;
	background: #fff;
	border: 2px solid red;
	border-radius: 8px;
	opacity: 0;
	transition: none;
	z-index: 10000;
	visibility: hidden;
	pointer-events: none;
}

body._highlight-i18n [data-i18n]:hover::before {
	opacity: 1;
	transition: opacity ease 0.3s 1s;
	visibility: initial;
}

.sum-element::before {
	content: 'Σ = ';
}

.sum-element {
	position: fixed;
	bottom: 4px;
	right: 16px;
	background: #DBEAF9;
	border: 1px solid #B4D5F7;
	border-radius: 8px;
	padding: 2px 4px;
	z-index: 2000;
}
