.unselectable1 {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
}
.nowrap {
    white-space: nowrap; /* Запрет переноса текста */
}
#groups_menu {
  //position: fixed;
  height: 500px;
  overflow: auto;
}

.modal-open {
	min-width: 800px;
	overflow: auto;
	padding-right: 0;
}

body {
	overflow: auto !important;
}

.modal {
	overflow: auto !important;
}

body:is(.modal-open){
	min-width: 900px;
}

body:not(.modal-open){
  padding-right: 0px !important;
}

.modal {
    padding-right: 0px !important;
}

.modal-xl {
	min-width: 700px;
}

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:1.5em;
    color:#000;
    font-weight:300;
	font-size: 0.9em;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#000;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#000;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

table.scroll table {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
table.scroll tr,
table.scroll th { width:100%; }

table.scroll tbody,
table.scroll thead { display: block; }

table.scroll tbody {
    overflow-y: auto;
    overflow-x: hidden;
    width:100%;
}

.tbl_edt {
	width: 50px;
}

.loader {
	width: 287px;
    height: 141px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -125px 0 0 -125px;
	z-index: 9999;
    
    img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        border: none;
    }
}

#chat-box {
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

.emoji-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    margin-bottom: 10px;
}

.emoji {
    cursor: pointer;
    font-size: 20px;
}

.emoji:hover {
    transform: scale(1.2);
}

#message-input {
    resize: none; /* Отключаем изменение размера textarea */
    flex-grow: 1; /* Растягиваем textarea на всю доступную ширину */
}

.input-group {
    display: flex;
    align-items: stretch; /* Выравниваем элементы по высоте */
}
.tbl_edt {
	width:70px;
}
.dataTables_wrapper .btn-group {
	float: left;
}

.dataTables_wrapper .dataTables_filter {
	float: right;
}

.dataTables_wrapper .dataTables_length {
	float: left;
}
.dataTables_wrapper .dataTables_paginate {
	float: right;
}
.dataTables_wrapper .bottom {
  overflow: hidden;
  height: auto;
}

#table_invoices th:nth-last-child(-n+3),
#table_invoices td:nth-last-child(-n+3) {
    width: 80px;
    max-width: 80px;
    min-width: 80px;
}

#table_invoices .btn {
	width: 80px;
	margin: 2px;
}

.nowrap {
	text-wrap: nowrap;
}