/**
 * Поддержка touch режима
 */
.touch-mode {
	--view-left-offset-real: 10px;
    --view-left-menu: 0px;
}

.touch-mode #loading > img.button-disabled,
.touch-mode img.button{
	width: 24px;
	height: 24px;
}
.touch-mode a.nodecor{
	margin: 0 5px;
	vertical-align: -4px !important;
}
.touch-mode a.nodecor:first-child{
	margin-left: 0;
}
.touch-mode a.nodecor:last-child{
	margin-right: 0;
}
.touch-mode #left_toolbar,
.touch-mode #topmenuicon{
	display: none;
}
.touch-mode .top2{
	height: 28px;
}
.touch-mode .top1{
	height: 48px;
}
.touch-mode .dialog_c{
	width: 18%;
}
.touch-mode .tabs,
.touch-mode .breadcrumbs{
	top: 36px;
}
.touch-mode .table-extra-btn{
	margin-top: -30px;
}
.touch-mode .top-center{
	padding-left: 10%;
}
.touch-mode #top-dyn,
.touch-mode #top-dyn-bulk{
	margin-left: 10px;
}
.touch-mode .notify_buttons{
	left: -28px;
}
.touch-mode .parctrl-value-listbox.parctrl-value-listbox-addable,
.touch-mode .parctrl-value-listbox.parctrl-value-listbox-searchable{
	width: calc(100% - 30px);
}
.touch-mode .parctrl-value-listbox + a,
.touch-mode .parctrl-value-listbox + a + a{
	margin-left: 2px;
}
.touch-mode .parctrl-value-listbox.parctrl-value-listbox-addable.parctrl-value-listbox-searchable{
	width: calc(100% - 65px);
}
.touch-mode .parctrl-value-listbox-multiple{
	width: calc(100% - 32px);
}
.touch-mode .parctrl-value-listbox-qsearch{
	margin-top: 5px;
}
.touch-mode .split-panel-right,
.touch-mode .split-panel-main,
.touch-mode .split-panel-hsplitter{
	height: calc(100vh - 60px);
}
.touch-mode #main_content_wrapper {
    margin-left: 5px;
    max-width: calc(100% - 10px);
}
.touch-mode .context-menu-item {
    padding: 6px 2px 6px 32px;
}
.touch-mode .context-menu-item.icon {
    background-position: 4px 2px;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    min-height: 18px;
}
.touch-mode .top_href_bulk_group_action:after,
.touch-mode .top_href_group_action:after{
	border: 5px solid transparent;
	border-top: 5px solid black;
	margin-left: -18px;
	margin-top: 26px;
}
.touch-mode .context-menu-submenu::after{
	top: 4px;
}
.touch-mode [data-cellkey="state"] a.nodecor{
	margin: 0;
}
.touch-mode .top_href_self{
	box-shadow: 0 3px 0 #b4d0ee;
}
.touch-mode .top_href_blank:before{
	height: 6px;
	width: 6px;
	border-radius: 3px;
	margin-top: 20px;
}
.touch-mode .context_menu_blank:before{
	height: 6px;
	width: 6px;
	border-radius: 3px;
	margin-top: 15px;
	margin-left: -30px;
}

body.touch-mode, html .touch-mode input, html .touch-mode table, html .touch-mode td{
	font-size: 14px;
}

.touch-mode .breadcrumbs-mobile._has, .touch-mode .tabs-mobile._has {
	top: 36px;
}

.touch-mode a.nodecor {
	height: 26px;
}

.touch-mode .top-buttons-wrapper {
	line-height: 26px;
}
