.wrap_debates::-webkit-scrollbar { width: 7px; height: 7px;}
/*#idDebates::-webkit-scrollbar-button {  background-color: #ffb700; }*/
.wrap_debates::-webkit-scrollbar-track {  background-color: #999;}
.wrap_debates::-webkit-scrollbar-track-piece { background-color: #0b151b;}
.wrap_debates::-webkit-scrollbar-thumb { height: 50px; background-color: #ffb700; border-radius: 3px;}
.wrap_debates::-webkit-scrollbar-corner { background-color: #0b151b;}}
.wrap_debates::-webkit-resizer { background-color: #0b151b;}

.no-select {
  user-select: none;
}

.msg_debates textarea {
    width: 100%;
    background-color: #ffffff12;
    color: #ddd;
    padding: 15px;
    margin-bottom: 2px;
    resize: none;
}
.content_debates {
    padding: 10px 30px;
}
.mess_debates{
  display: inline-block;
  padding: 0 20px;
  max-width: 75%;
}
.user .mess_debates{
    background-color: #284c61;
    border-radius: 10px 10px 0 10px;
}
.interlocutor .mess_debates{
    background-color: #1d3a4b;
    border-radius: 10px 10px 10px 0;
}
.admin .mess_debates {
    background-color: #273d5a;
    border-radius: 10px 10px 10px 0;
}
.admin .ico_name {
    color: #dac073;
}
.admin .mess_text{
    color: #fff;
}
.item_mess_debates{
    margin: 3px 0;
    padding: 10px 0;
}
.mess_text {
    margin-top: 15px;
    word-break: break-word;
    color: #ddd;
}
.mess_bottom_info {
    text-align: end;
    font-size: 12px;
    padding-bottom: 5px;
    color: #ffffff75;
    margin-top: 15px;
}
.block_mess_debates{
    display: flex;
    align-items: center;
}
.user .block_mess_debates{
    justify-content: end;
}
.ico_user {
    text-align: center;
    width: 100px;
}
.ico_favicon .fa {
    font-size: 40px;
}
.ico_name {
    font-size: 12px;
}
.user .ico_user{
    order: 2;
}
.user .mess_debates{
    order: 1;
}
#idDebates {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 65vh;
}
.wrap_debates {
    height: 65vh;
    overflow: hidden;
    overflow-y: scroll;
    background-image: url(/chat/img/pattern4.svg);
}
.mess_chat_empty, .mess_chat_warn {
    margin: auto;
}
.mess_chat_empty span{
    font-size: 18px;
    background-color: #00000052;
    color: #777;
    padding: 15px 35px;
}
.msg_write_info {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 30px;
    font-size: 14px;
    margin-top: 5px;
}
.msg_write_info .fa{
    margin-right: 5px;
}

.msg_not_read .fa, .msg_read .fa{
   margin-right: 3px;
}
.msg_not_read, .msg_read{
   margin-left: 10px;
}
.msg_not_read{
   color: #bd9c39;
}
.msg_read{
   color: #ffffff9e;
}
.status_notread{
    background-color: #ffffff0f;
}
.msg_new {
   font-size: 10px;
   text-transform: uppercase;
   color: #ffc107;
   margin-left: 15px;
}
.mess_block_files{
    display: flex;
}
.mess_block_files img  {
    margin-top: 15px;
    max-height: 100px;
    max-width: 100%;
}
.item_mess_img {
    margin-right: 5px;
}
.item_mess_img:last-child {
    margin-right: 0px;
}
.mess_img, .mess_files{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.img_list_debates{
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.img_item_debates{
    margin-right: 5px;
    position: relative;
    display: none;
}
.img_item_debates span i.fa-times{
  display: block;
}
.img_item_debates img{
    height: 80px;
    max-width: 300px;
    width: auto;
    border: 1px solid #ffffff1f;
}
.img_item_debates span{
   position: absolute;
    display: inline-block;
    top: 0;
    right: 5px;
    color: #F44336;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}
#imgShow .modal-dialog {
    max-width: 100%;
    width: auto !important;
    display: inline-block;
}
#imgShow.modal {
    text-align: center;
}
#imgShow .btn-close{
    position: absolute;
    top: 0px;
    right: 10px;
    color: #ffc107;
    opacity: 1;
}
#imgShow .btn-close::before{
    font-size: 30px;   
}
#imgShow .modal-content {
    position: relative;
    border: none;
}
#imgShow .btn-close:focus {
    box-shadow: none;
}
img.item_mess_img_class{
cursor: pointer;
}
#msgDebates, #msgDebates:focus, #msgDebates:focus-visible{
    border: none;
    outline: none;
}
.btn_send_debates{
    font-size: 18px;
}
.btn_debates_addimg{
    background-color: #1f2d34;
    border-color: transparent;
    color: #ffffff8c;
    margin-left: 5px;
}
.btn_debates_addimg .fa{
    font-size: 24px;
}
#js_file_debates{
    display: none;
}
.btn_debates_addimg:hover {
    background-color: #1f2d34;
    border-color: transparent;
    color: #ffffffac;
}
#msgDebatesWarn {
    color: #d3af42;
    margin-left: 15px;
    font-size: 14px;
}
#idDebates:target{
    outline: none;
}
.btn_debates_txt {
    font-size: 12px;
    margin: 5px 0 0 25px;
}
.info_refund_debates {
    text-align: center;
    margin-top: 20px;
}
.initial_inform, .limit_mess_info {
    padding: 10px;
    margin: 0 7px 5px;
    text-align: center;
    background-color: #00000052;
    color: #d3af42;
    font-size: 15px;
    order: 1;
}
.limit_mess_info{
    display: none;
}
.initial_inform span {
    display: inline-block;
    color: #ff3434;
    font-size: 16px;
    margin-bottom: 10px;
}
.mess_chat_warn span {
    font-size: 18px;
    background-color: #00000052;
    color: #bb8300;
    padding: 15px 35px;
}
.delete_mess, .restore_mess{
    cursor: pointer;
}
.mess_text a {
    color: #ffe99a;
    text-decoration: underline;
}
.mess_text span {
    color: #aaaaaa;
}