.view[name='chat'] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
}
.view[name='chat'] > .header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 64px;
}
.view[name='chat'] > .header > .side:first-child > .button {
    padding: 24px;
}
.view[name='chat'] > .header > .side:first-child > .button > img {
    height: 16px;
}
/* disabled temporarily
.view[name='chat'][type='conversation'] > .header > .side:first-child > .button {
    padding: 20px;
}
.view[name='chat'][type='conversation'] > .header > .side:first-child > .button > img {
    display: block;
    height: 24px;
} */
.view[name='chat'] > .header > .center {
    display: table;
    width: calc(100% - 128px);
    height: 100%;
    text-align: center;
}
.view[name='chat'] > .header > .center > div {
    font-size: 18px;
    font-weight: bold;
    padding-top: 18px;
}
.view[name='chat'] > .header.profile > .side:last-child > .button {
    padding: 19.5px 17px;
    font-size: 16px;
    font-weight: 600;
    width: 64px;
}
.view[name='chat'] > .content {
    position: absolute;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 24px;
    overflow-y: auto;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .empty,
.view[name='chat'] > .content > .conversationHeaders > .content > .loading {
    padding: 24px;
    text-align: center;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 87px;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .profile {
    width: 72px;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .profile > div {
    line-height: 48px;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .profile > div,
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .profile > img {
    width: 48px;
    height: 48px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: block;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .name {
    font-weight: bold;
}
.view[name='chat'] > .content > .conversationHeaders > .content > .conversationHeader > tbody > .top > .lastMessage {
    font-size: 12px;
    font-weight: 600;
    width: 50%;
}
.view[name='chat'] > .content > .conversation > .content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 89px;
    padding-bottom: 16px;
    overflow-y: auto;
}
.view[name='chat'] > .content > .conversation > .content > .loading {
    padding: 24px;
}
.view[name='chat'] > .content > .conversation > .content > div > table > tbody > tr > .profile > div {
    width: 40px;
    height: 40px;
    line-height: 42px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}
.view[name='chat'] > .content > .conversation > .content > div > table > tbody > tr > .profile > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
}
.view[name='chat'] > .content > .conversation > .content > div > table > tbody > tr > .name {
    vertical-align: top;
    font-weight: 700;
}
.view[name='chat'] > .content > .conversation > .content > div > table > tbody > tr > .time {
    vertical-align: top;
    font-size: 12px;
    padding-top: 2px;
    padding-right: 8px;
    padding-left: 8px;
}
.view[name='chat'] > .content > .conversation > .content > div > table > tbody > .box > td {
    border-radius: 20px;
    padding: 16px 20px;
}
.view[name='chat'] > .content > .conversation > .footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}
.view[name='chat'] > .content > .conversation > .footer > .sendBox {
    padding: 16px;
    background-color: #ffffff;
}
.view[name='chat'] > .content > .conversation > .footer > .sendBox > table > tbody > tr > .actions > .send {
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/images/sendBlack.svg');
}
.view[name='chat'][type='conversationHeaders'] > .button[key='add'] {
    position: absolute;
    bottom: 20px;
    cursor: pointer;
    width: 60px;
    height: 60px;
}
.view[name='chat']:not([type='conversationHeaders']) > .button[key='add'] {
    display: none;
}
.view[name='chat'][type='conversationHeaders'] > .button[key='add'] > img {
    width: 100%;
    height: 100%;
}