/**
 * Список личных сообщений
 *
 * @license   GNU General Public License, version 2
 * @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
 * @author    Denis Shakhov <denis.shakhov@gmail.com>
 */

/* Экшнбар */
.ls-actionbar.talk-list-actionbar {
    margin: 15px 0;
    float: left;
}

/* Список */
.talk-list.ls-table td {
    vertical-align: top;
    word-break: break-word;
}
.talk-list.ls-table .cell-checkbox,
.talk-list.ls-table .cell-favourite {
    width: 14px;
    line-height: 1em;
    padding-left: 5px;
    padding-right: 5px;
}
.talk-list.ls-table .cell-info {
    width: 190px;
    padding-left: 0;
}

/* Сообщение */
.talk-list-item:first-child td {
    border-top: 0;
}
.talk-list-item.talk-unread {
    background: #ecf7ff;
}
.talk-list-item.selected {
    background: #ecf7ff;
}

/* Информация об отправителе */
.talk-list-item-info {
    position: relative;
    padding-left: 65px;
    min-height: 60px;
}
/* .talk-list-item-info-avatar {
    position: absolute;
    top: 0;
    left: 0;
} */
.talk-list-item-info img {
  position: absolute;
  top:0;
  left: 5px;
  border: 1px #ebebeb solid;
  border-radius: 3px;
  width: 48px;
  height: 48px;
}
.talk-list-item-info-date {
    display: block;
    font-size: 11px;
    color: #aaa;
}
.talk-list-item .ls-favourite {
    margin-top: 1px;
}
.talk-list-item-extra {
    position: relative;
}
.talk-list-item-title {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: 500;
}
.talk-list-item-text {
  font-size: 13px;
  line-height: 18px;
  color: #848484;
}
.talk-list-item-count {
    font-size: 13px;
    font-weight: normal;
    margin-left: 6px;
    color: #848484;
}
.talk-list-item-count .icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  top: -1px;
  position: relative;
  margin-right: 2px;
  stroke: var(--whiteIcon);
}

.talk-list-item.talk-unread .talk-list-item-count strong {
    color: #ff5986;
}

.talk-list-item-username {
  display: none;
  margin-top: 10px;
  line-height: 20px;
  font-weight: normal;
}

.talk-list-item-username img {
   width: 20px;
  height: 20px;
  border: 1px #ebebeb solid;
  border-radius: 100%;
  margin-right: 5px;
  vertical-align: middle;
 }

@media screen and (max-width: 768px) {
  .talk-list.ls-table .cell-info {
    display: none;
  }
  .talk-list-item-username {
    display: block;
  }
}
