﻿
/*@media screen and (min-width: 600px) {
    .messaging-container {
        width: 600px;
    }
}*/

@media screen and (min-width: 800px) {
    .messaging-container {
        width: 800px;
    }
}

@media print {
    .messaging-container {
        height: auto !important;
        /*overflow: visible !important;
        page-break-inside: avoid;*/
    }

    .messaging-tool-list,
    .messaging-container-footer {
        display: none;
    }
}
.message-dropdown {
    width: 400px;
    height: 80vh;
}
.messaging-container {
    display: flex;
    flex-direction: column;
    /*height: 100vh;*/
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /*padding: 10px;*/
    overflow: hidden;
/*    padding-top: 10px;
    padding-bottom: 10px;*/
}

.messaging-container-header {
    /*margin-top: 10px;*/
    /*text-align: center;*/
    background-color: #e2e2e2;
    padding: 10px;
}

.messaging-tool-list {
    float: right;
}
.messaging-tool-list-item {
    margin-left: 10px;
}
.messaging-tool-list-item:hover {
    opacity: 0.4;
}

.messaging-container-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    /*padding: 10px 30px 20px 30px;*/
}

.messaging-container-footer {
    /*padding: 10px 10px 0 10px;*/
}

.msg-list {
    overflow: auto;
}

.msg-text-mock {
    height: 58px;
}

.icon-myleave,
.msg-list-item .msg-sender-avatar {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
    margin-left: auto;
    margin-right: auto;
}
.msg-list-item.list-item-left .msg-sender-avatar {
    background-color: #2384c6;
/*    line-height: 1.75em;*/
}
.msg-list-item.list-item-right .msg-sender-avatar {
    background-color: #000;
}

.msg-list .msg-list-item {
    padding: 15px 5px 15px 5px;
    display: flex;
}

.msg-list .row-lv-1 {
    width: 100%;
}

.msg-list .list-item-left .row-lv-1 {
    flex-direction: row;
    display: flex;
}

.msg-list .list-item-right .row-lv-1 {
    flex-direction: row-reverse;
    display: flex;
}

.msg-list .list-item-right .msg-content {
    /*display: flex;
    justify-content: flex-end;*/
}

.msg-sender-name {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}
.msg-list .list-item-right .msg-sender-name {
    float: right;
}

.msg-list-item .msg-header {
    text-align: center;
}

.msg-list-item .msg-bubble {
    display: inline-block;
    padding: 10px;
    margin-bottom: 3px;
    color: #313131;
    border-radius: 0 8px 8px;
}
.msg-list-item.list-item-left .msg-bubble {
    background: #c7e5f8;
}

.msg-list-item.list-item-right .msg-bubble {
    background: #f1f1f1;
    float: right;
}

.msg-content {
    font-size: 12px;
    word-break: break-word;
}

.msg-time {
    font-size: 10px;
    color: #525f7f;
    font-weight: 500;
    margin-top: 5px;
}
.msg-list-item.list-item-right .msg-time {
    float: right;
}

.btn-composer-tool {
    border: solid #ccc 1px;
    height: 38px;
}

.composer-input-group {
    /*align-items: flex-end;*/
    display: flex;
}

#messagingInput {
    max-height: 8rem;
    resize: none;
}