
#chat-main-section {
    box-shadow: 0px 0px 5px #d1d1d1;
    min-height: 78vh!important;
    padding: 10px;
    display:flex;
    max-height: 78vh;
}

#chat-main-section .chat-child {
    margin: 5px;
}
#chat-list-container{
    width: 30%;
}

#chat-conversation-container::-webkit-scrollbar {
    width: 5px;
}

#chat-conversation-container::-webkit-scrollbar-track {
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}

#chat-conversation-container::-webkit-scrollbar-thumb {
    /*background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);*/
    background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
    /*background: #888;*/
}

#chat-conversation-container::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}

#chat-conversation-container{
    position: relative;
    background: #fefefe;
    width: 70%;
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
    overflow: auto;
}
#chat-messages-container{
    padding: 15px;
}

#chat-conversation-list {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

#chat-conversation-list li {
    border-bottom: 1px solid #ddd; /* Add a thin border to each list item */
    padding: 8px; /* Add some padding */
    transition: .2s;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#chat-conversation-list li:hover {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}
#chat-conversation-list li.active {
    /*background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);*/
    /*background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);*/
    background-image: linear-gradient(120deg, #accbee 0%, #e7f0fd 100%);

    /*background: #4CCFDF;*/
}

#chat-search-box{
    background: #ECECEC;
    margin: 0px;
}
#chat-search-box:focus{
    background: #fff;
    margin: 0px;
}
#chat-search-btn{
    margin: 0px;
}


#chat-header{
    background: #fff;
    position: fixed;
    z-index: 2;
    padding: 10px;
    box-shadow: 0 0 0 3px white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chat-header span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chat-container {
    min-height: 85%!important;
    padding: 1em;
    padding-top: 80px;
}
.chat-msg {
    position: relative;
    /*border: 1px solid #d0d0d0;*/
    border-radius: 5px;
    width: calc(100% - 70px);
    padding: 5px;
    font-size: 14px;
    margin-bottom: 1em;
}
.chat-msg.pull-left {
    text-align: right;
    /*border-radius: 10px 10px 0px 10px;*/
    background: #ABDBF1;
    /*background-image: linear-gradient(-120deg, #accbee 10%, #e7f0fd 100%);*/
    border: 1px solid #ACCBEE;
}
/*.chat-msg.pull-left:before {
    content: "";
    position: absolute;
    top: 11px;
    right: -10px;
    border-left: solid 11px #fefefe;
    border-bottom: solid 11px transparent;
    border-top: solid 11px transparent;
    z-index: 1;
    background: #F6F6F6;
}*/
.chat-msg.pull-left:after {
    content: "";
    position: absolute;
    top: 10px;
    right: -12px;
    border-left: solid 12px #ABDBF1;
    border-bottom: solid 12px transparent;
    border-top: solid 12px transparent;
}
.chat-msg.pull-right {
    background: white;

    /*background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);*/
    /*border-radius: 10px 10px 10px 0px;*/
}
/*.chat-msg.pull-right:before {
    content: "";
    position: absolute;
    top: 11px;
    left: -10px;
    border-right: solid 11px #fefefe;
    border-bottom: solid 11px transparent;
    border-top: solid 11px transparent;
    z-index: 1;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}*/
.chat-msg.pull-right:after {
    content: "";
    position: absolute;
    top: 10px;
    left: -12px;
    border-right: solid 12px white;
    border-bottom: solid 12px transparent;
    border-top: solid 12px transparent;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.chat-msg img {
    max-width: 120px;
    max-height: 120px;
}
.chat-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #d0d0d0;
}
.chat-datetime {
    font-size: 10px;
    color: #a0a0a0;
}
#chat-input-container{
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    height: 15%;
}
#chat-input-container input[type=text] {
    margin-bottom: 0;
    height: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border: 1px solid #d0d0d0;
    /*position: absolute;
    bottom: 0;
    margin: 0px;*/
}