﻿@media screen and (max-width: 820px) {
    body {
        height: calc(100% - 30px);
    }

    .right-panel {
        height: calc(100% - 30px);
    }

    .main-content {
        height: calc(100% - 30px);
    }

    .mana-tab {
        height: calc(100% - 50px) !important;
    }
}

.mana-tab {
    height: calc(100% - 90px);
}

.mana-tab li {
    padding:0px;
}


.rz-tabview-panel {
    padding: 10px 0 !important;
}

.mana-tab li div{
    display:flex;
    flex-flow:row;
}
.mana-tab li div span:first-of-type {
    width:100%;
}

.rz-datalist-data {
    padding: 0 !important;
}

    .rz-datalist-data li {
        cursor: pointer;
    }

    .rz-datalist-data li:hover {
        background-color: rgb(65, 0, 170);
        color: white;
    }
        .rz-datalist-data li:hover span {
            color: white;
        }

body {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: white !important;
}

.right-panel {
    position: absolute;
    width: 302px;
    height: calc(100% - 0px);
    right: 0;
    top: 0;
    border: 1px solid #000;
    margin: 0;
    padding: 0;
}


.main-header {
    position: relative;
    width: calc(100% - 0px);
    height: 50px;
    left: 0;
    top: 0;
    border: 1px solid #000;
    margin: 0;
    padding: 5px;
    overflow: hidden;
    display:flex;
}

.main-header-chat-title {
    width:100%;
    line-height: 35px;
    text-align: center;
}

.chat-container {
    position: relative;
    height: calc(100% - 115px);
    margin: auto 10px;
    overflow-y: scroll;
}

.message-container {
    width: 100%;
    display: flex;
    flex-flow:column;
    padding: 10px 0px;
}

.message-body {
    width: fit-content;
    background-color: #ececec;
    border-radius: 6px;
    display: flex;
    flex-flow: row-reverse;
    max-width: 35%;
}

.message-image {
    margin-top: 5px;
}
.message-image img{
    max-width: 100%;
    height:auto;
}

.message-image-upload-progress {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    height: 5px;
}

.message-item {
    min-height: 42px;
    width: fit-content;
    line-height: 42px;
    margin: 10px;
    display: inline-grid;
}

.message-date {
    font-size: 12px;
    margin: 10px;
    background-color: rgba(144, 234, 255, 0.13);
    padding: 10px;
}

.message-time {
    margin: -10px 70px 0 70px;
    font-size: 11px;
}

.message-item-corner {
}

.message-sender_container {
    position: absolute;
    height: 55px;
    bottom: 5px;
    margin: auto 10px;
    width: calc(100% - 22px);
    display: flex;
}

.message-sedner-name {
    font-size: 12px;
    padding: 0;
    line-height: 12px;
    color: red;
}

.message-sender-profile {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #d7d7d7;
    margin: 10px;
}