@media (max-width: 767px) {
    .hidden { display:none; }
}
.btn_group {
    line-height: 3em;
}
#datatable-user_tables tbody tr:hover {
    background: #EEE;
    cursor: pointer;
    color: #000;
}

.datatable tbody tr:hover td:not(.no_select) {
    background: rgb(255, 247, 138);
    cursor: pointer;
    color: #000;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 4px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}
#data_form label {
    position: relative;
    line-height: normal;
    vertical-align: middle;
    clear:both;
}
#data_form input[type=text] {
    position: relative;
    display: inline-block;
}
#data_form .float {
    width: 3em;
}
.datatable tbody td {
    line-height: 25px !important;
}

.datatable a {
    border-radius: 5px;
    border: solid 1px #BBB;
    padding: 2px 5px;
    line-height: 18px;
    text-align: center;
    background: #ebdf9c;
    margin-right: 2px;
    cursor: pointer;
}

.datatable a:hover {
    background: #efcb00;
}
.dataTables_filter {
    width: auto;
}
.file-not-allowed {
    padding: 0 10px;
}
.file-name {
    padding: 0 10px;
}
.comment, .join {
    width: auto;
    display: inline-block;
    padding-left: 1em;
}

.upload-item {
    padding: 7px 20px 4px 20px;
    margin: 5px 0;
    border-radius: .3em;
    border: 1px solid #BBB;
    background: #EEE;
}

.upload-item .btn{
    margin-bottom: 3px;
}
.add_data {
    display: inline-block;
    /* width: 38em; */
    clear: none;
}
/* Поиск и поля ввода */
.search_field {
    border: solid 1px;
    border-radius: 2px;
    margin: 0px;
    margin-left: 16px;
    width: calc(100% - 12px);
}
.search_icon {
    line-height: 18px;
    position: absolute;
    display: block;
    left: 5px;
}
.search_button {
    border: solid 1px;
    border-radius: 2px;
    margin: 0px;
    margin-left: 16px;
    padding: 1px 5px;
    width: calc(100% - 12px);
}
.search_button:hover {
    background-color: #ebdf9c;
}
.search_button > .select_box {
    z-index: 1000;
    width: 130px;
    height: 100px;
    background-color: #FFFFFF;
    border: #000 solid 1px;
    position: absolute;
    top: 32px;
    left: 24px;
    display: none;
}
/* Поиск и поля ввода конец */

.short {
    width: 80px;
}
.med {
    width: 120px;
}
.lg {
    width: 155px;
}
.datetime_tbl {
    width: 90px;
}
.dateonly_tbl {
    width: 120px;
}
.id_col {
    width: 43px;
}
#holid_pick {
    width: 25em;
}
.chosen-select {
    width: 100%;
}
.icons {
    text-align: center;
}
.c_red {
    color: #FF1800;
}
.c_green {
    color: #00a406;
}
.c_yellow {
    color: #ffb820;
}
.c_gray {
    color: #464544;
}
.online {
    color: #00bd06;
}
.offline {
    color: #FF1800;
}
.broken {
    color: #b98e00;
}

.chat {
    color:#000000;
    background-color: #e2e2e2;
    border:rgb(156, 156, 156) solid 1px;
    width: 100%;
    border-radius: 3px;
    min-height: 250px;
    max-height: 350px;
    padding: 10px;
    margin-top:10px;
    margin-bottom: 10px;
    overflow-y: scroll;
    float: left;
}

.inner_chat {
    position: relative;
}
.chat .self{
    background-color: #fdfff0 !important;
}
.send_field {
    color:#000000;
    background-color: #e2e2e2;
    border:rgb(156, 156, 156) solid 1px;
    width: 100%;
    line-height: 22px;
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 10px;
    margin-right: 10px;

    overflow-y: scroll;
}

#send_msg {
    width: 100%;
}
.chat .message {
    position: relative;
    display: block;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top:10px;
    padding: 5px;
    width: 100%;
    border: solid 1px rgb(163, 163, 163);
}
.chat .message i{
    padding-right: 5px;
    padding-left: 5px;
}
.chat .message .msg_date {
    border: solid 1px black;
    position: absolute;
    top: -7px;
    right: 40px;
    font-size: 0.9em;
    background-color: #f1eedc;
    border-radius: 2px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 12px;
}
.chat .message .delete {
    border: solid 1px black;
    position: absolute;
    top: -7px;
    right: 10px;
    font-size: 0.9em;
    background-color: #f1eedc;
    border-radius: 2px;
    line-height: 12px;
}
.min_250 {
    min-height: 250px;
}
.chosen-container-multi .chosen-choices {
    line-height: 32px;
    font-size: 14px;
}
.chosen-container-multi .chosen-choices li.search-choice {
    line-height: 18px;
    font-size: 14px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top: 8px;
}

/* Класс контекстного меню: */
.context-menu {
    position: absolute; /* Задаем абсолютное позиционирование для нашего меню */
    display: none; /* Изначально не показываем его */
    background-color: #fff; /* Цвет фона меню */
    border: 1px solid #333; /* Граница */

    /* Немного красивостей. Добавляем тень для нашего меню, что бы отобразить его слегка выше остальных элементов страницы: */
    -moz-box-shadow: -5px 2px 10px rgba(0,0,0,0.5); /* Для Firefox */
    -webkit-box-shadow: -5px 2px 10px rgba(0,0,0,0.5); /* Для Safari и Chrome */
    box-shadow: -5px 2px 10px rgba(0,0,0,0.5); /* Параметры тени */
}
.context-menu h5 {
    padding: 0 5px 0 5px;
}
/* Добавляем стили для списка которые будет находиться внутри меню и, собственно, содержать его пункты: */
.context-menu ul { list-style: none; margin: 0; padding: 0; }
            
.context-menu ul li { margin: 0; padding: 0; background-color: #fff; display: block; }

/* Стили для ссылок пунктов меню: */
.context-menu ul li a { color: #333; text-decoration: none; display: block; padding: 5px; }
            
.context-menu ul li a:hover { background-color: #eee; }

.count_bottom {
    text-overflow: ellipsis;
}
.status {
    width: 120px;
    text-overflow: ellipsis;
}
.state {
    width: 12px;
}
/* STATUS Sub menu */
.status_wrap {
    display: inline-block;
    position: relative;
}
.status-submenu {
    border-radius: 2px;
    margin-right: 2px;
    position: absolute;
    right: 0px;
    display: none;
    z-index: 10;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    padding: 0px;
    width: 120px;
    text-align: right;
    list-style-type: none;
  }
.status-submenu a{
    background-color: rgb(241, 255, 239);
    width: 120px;
    display: block;
    margin: 1px;
    text-align: left;
    list-style-type: none;
}
.status-menu:focus ~ .status-submenu, 
.status-menu:active ~ .status-submenu, 
.status-submenu:hover 
{ 
   display: block; 
} 
#request .status-menu {
    margin: -12px;
    padding: 8px;
}
#request .status-submenu {
    right: -24px;
    top: 30px;
    width: 130px;
}
#request .status-submenu a{
    width: 118px;
    padding: 4px;
    border-radius: 2px;
    border: solid 1px #BBB;
}
#request .status-submenu a:hover{
    background: #efcb00;
}
/* STATUS Sub menu */
.zero {
    width: 8px;
}
.parsley-errors-list {
    position: absolute;
    font-size: 0.8em;
    margin-top: -2px;
}
ul.msg_list li .time {
    font-size: 0.7em;
    margin-top: -12px;
    border-radius: 2px;
    background-color: #eee;
}
ul.msg_list li .message i {
    font-size: 0.8em;
    margin-top: 3px;
}

#path_line {
    display: block;
    width: 100%;
    margin: 10px;
}
#path_line .item {
    padding: 3px 5px;
}
#path_line i {
    padding: 0 3px;
}
#path_line a{
    font-size: 1.2em;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 3px 5px;
}
#back_btn {
    border-radius: 5px;
    border: solid 1px #BBB;
    text-align: center;
    background: #9cdfeb;
    cursor: pointer;
}
#back_btn:hover {
    background: #0097ef;
}
.no_readed {
    font-weight: bold;
}
.table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border-bottom-width: 1px;
}
.request .hiderequest {
    display: none;
}
.client .hideclient {
    display: none;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}
td.ellipsis {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.min_400 {
    min-height: 400px;
}
tr.personal {
    color: #00a406;
}
.mini_remark {
    color: rgb(225, 165, 0);
    font-size: 10px;
}
.gray {
    color: rgb(166, 166, 166);
}
.global_alert {
    text-align: center;
    margin-top: 5px;
    font-size: 15px;
    width: 100%;
}
.global_alert span {
    color:rgb(225, 165, 0);
    background-color: #aa1100;
    padding: 13px 15px 12px;
    border-radius: 5px;
    border: #000 1px solid;
    display: inline-block;
}
.ver {
    text-align: right;
    padding-right: 5px;
    font-size: 10px;
}
#ie{
    display: none;
    padding-top: 10em;
    text-align: center;
}
body.ie > #content{
    display: none !important; 
}
body.ie #ie{
    display: block;
}
.add-new {
    color:rgb(225, 165, 0);
}
.mini_modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    transform: translate(-50%, -50%);
}
.mini_modal .content{
    padding: 2em;
    background-color: #FFF;
    position: relative;
    text-align: center;
    border: #5d5d5d solid 1px;
    border-radius: 10px;
}
.mini_modal .content .btn{
    margin-top: 1em;
}
.button_line {
    margin-top: 3.5em;
    position: relative;
    display: block;
    width: 100%;
}
.sidebar-footer {
    bottom: 0px;
    clear: both;
    display: block;
    padding: 5px 0 0 0;
    position: fixed;
    width: 230px;
    background: #2A3F54;
	z-index:999;
}

.sidebar-footer a {
    padding: 7px 0 3px;
    text-align: center;
    width: 33%;
    font-size: 17px;
    display: block;
    float: left;
    background: #172D44;
    cursor: pointer;
}
.sidebar-footer a:hover {
    background: #425567
}
#req_text {
    min-height: 400px;
    overflow: auto;
}
.app-client .chosen-results .result-selected {
    display: none;
}
table.jambo_table {
    border: 1px solid rgba(221, 221, 221, 0.78)
}
table.jambo_table thead {
    background: #002856;
    color: #F5A800;
}
table.jambo_table tbody tr:hover td {
    background: rgba(38, 185, 154, 0.07);
    border-top: 1px solid rgba(38, 185, 154, 0.11);
    border-bottom: 1px solid rgba(38, 185, 154, 0.11)
}
table.jambo_table tbody tr.selected {
    background: rgba(38, 185, 154, 0.16)
}
table.jambo_table tbody tr.selected td {
    border-top: 1px solid rgba(38, 185, 154, 0.4);
    border-bottom: 1px solid rgba(38, 185, 154, 0.4)
}
table tr:first-child th {
    /*
    background: #C9C9C9;
    color: #333F50;
    */
    background: #2a3f54;
    color: #FFFFFF;
}
.tooltip-inner {
    min-width: 100px;
    max-width: 100%; 
    background-color: #002856;
    padding: 10px;
    line-height: 1.7em;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    opacity: 0.5;
    color: #2a3f54;
    font-size: 1.4em;
    right: 2px;
}
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 1;
    color: #2a3f54;
}
table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting_asc_disabled, table.dataTable thead>tr>th.sorting_desc_disabled, table.dataTable thead>tr>td.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting_asc_disabled, table.dataTable thead>tr>td.sorting_desc_disabled {
    padding-right: 22px;
}
.highlight_search {
    background-color: #F5A800;
    color: #002856;
}
.client_executor {
    color: rgb(0, 0, 221);
}
.tooltip .client_executor {
    color: #F5A800;
}

/* File uploads */
.upload-container {
	display: flex;
    justify-content: space-around;
	align-items: center;
	flex-direction: row;
	width: 100%;
	height: 150px;
	outline: 2px dashed #5d5d5d;
	outline-offset: -12px;
	background-color: #e0f2f7;
	color: #1f3c44;
    padding: 20px;
    margin-bottom: 10px;
}

.upload-container img {
    display: flex;
	height: 40%;
	margin-bottom: 20px;
	user-select: none;
}

.upload-container label {
	font-weight: bold;
}

.upload-container label:hover {
	cursor: pointer;
	text-decoration: underline;
}

.upload-container input[type=file] {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	position: absolute;
	z-index: -10;
}

.upload-container label.focus {
	outline: 1px solid #0078d7;
	outline: -webkit-focus-ring-color auto 5px;
}

.upload-container.dragover {
	background-color: #fafafa;
	outline-offset: -17px;
}
.fileblock {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.editable:before {
    font-family: "FontAwesome";
    content: "\f044";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
}
.editable input {
    width: calc(100% - 20px);
    line-height: 18px;
    margin: 0;
    padding: 0;
}
.bordered {
    margin: 3px;
    padding-left: 3px;
    /* border-radius: 5px;
     border: #240068 solid 1px; */
}
.user_card {
    margin-top: 3px;
    margin-bottom: 3px;
    display: inline-block;
    padding-right: 5px;
    padding-left: 10px;
    padding-top: 0;
    border-radius: 5px;
    border: #b4b4b4 solid 1px;
    background-color: #ffffe4;
}
.icon_space {
    padding-right: 5px;
}
.title_pan {
    position: relative;
    padding: 10px 17px;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #E4E4E4;
    overflow: hidden;
    padding-bottom: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #FFF;
}
/* Диалог добавления меток */
.tag_list {
    width: 100%;
    float: left;
}
.remove_tag {
    position: absolute;
    float: right;
    top: -2px;
    right: 4px;
    cursor: pointer;
}
.remove_tag:hover {
    color: #000;
    font-weight: bold;
}
.tag_item {
    float: left;
    margin: 5px;
    position: relative;
    display: inline;
    padding: 10px 15px 10px 10px;
    border: 1px solid black;
    border-radius: 2px;
    background-color: #fdfff0;
}
.tag_input {
    background-color: #FFF;
    color: #002856;
}
.tag_view{
    border-radius: 3px;
    background-color: #E5E5E5;
    color: black;
    display: inline-flex;
    align-items: flex-start;
    flex-wrap: wrap;
    border: 1px solid var(--tags-border-color);
    padding: 0 3px;
    margin: 0 3px;
    cursor: text;
    position: relative;
    box-sizing: border-box;
    transition: .1s;
    max-width: 250px;
}
.tag_view:hower {
    background-color: #D3E2E2;
}
.tag_text {
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: top;
    min-width: var(--tag--min-width);
    max-width: var(--tag--max-width);
    transition: .8s ease,.1s color;
}
.tag_cont {
    display: inline;
}
.max200 {
    max-width: 200px;
}
.max400 {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.max800 {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.min400 {
    min-width: 400px;
}
.rights-select > [name=all].selected {
    background-color: #398439;
    color: #FFFFFF;
}
.rights-select > [name=none].selected {
    background-color: #ff9090;
    color: #000000
}
.rights-select > [name=custom].selected {
    background-color: #f9f785;
    color: #000000;
}
.uploaded-error {
    border: red 1px solid !important;
    background-color: #ff9090 !important;
}
.uploaded-error:after {
    left: 10px;
    display: block;
    position:absolute;  
    bottom: -20px;
    font-size: 0.8em;
    color: #E74C3C;
    content: 'Есть незагруженные файлы!';
}

.body {
    overflow-y: auto;
}
#msg_to_send {
    overflow:hidden;
    resize:none;
}
.main_container:has(#page_index) .nav.toggle{
    display: none;
}
.rounded {
    padding: 1px;
    background-color: #fffbb5;
    border: solid 1px black;
    border-radius: 30%;
} 
.note-editor .note-toolbar>.note-btn-group, .note-popover .popover-content>.note-btn-group {
    margin-bottom: 5px;
}