@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;
}

#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;
}
.short {
    width: 80px;
}
.med {
    width: 120px;
}
.lg {
    width: 200px;
}
.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: 10px;
    font-size: 0.9em;
    background-color: #f1eedc;
    border-radius: 2px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 12px;
}
.min_250 {
    min-height: 250px;
}
.chosen-container-multi .chosen-choices {
    line-height: 34px;
    font-size: 14px;
}
.chosen-container-multi .chosen-choices li.search-choice {
    line-height: 20px;
    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; 
} 
/* 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;
}

/* File uploads */

.upload-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 150px;
	outline: 2px dashed #5d5d5d;
	outline-offset: -12px;
	background-color: #e0f2f7;
	font-family: 'Segoe UI';
	color: #1f3c44;
    padding: 20px;
    margin-bottom: 10px;
}

.upload-container img {
	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 div {
	position: relative;
	z-index: 10;
}

.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;
}
.table-striped>tbody>tr:nth-of-type(odd).upload {
    background-color: #d1eeda;
}
.table-striped>tbody>tr:nth-of-type(even).upload {
    background-color: #e9eed5;
}
#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);
    margin-top: -30px;
    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;
}
.demo-placeholder {
    height: 280px;
}