﻿/*--------------------------------------------- Chat Application Start Here ----------------------------------------------------*/


.chat-web-form {
    float: left;
    width: 100%;
    background: #FFF;
    box-shadow: 0 0 9px #fff;
    overflow: hidden;
}

.chat-web-form-inner {
    /*height: calc(100vh - 65px);*/
}

.chat-application-body {
    position: relative;
}

.chat-sections {
    background: #fff;
    display: block;
    float: left;
    transition: all 0.6s ease;
}

    .chat-sections.one {
        width: 100%;
        display: block;

        transition: all 0.6s ease;
    }

        .chat-sections.one ul {
            padding: 0;
            margin: 0;
            padding: 0 10px;
            border-bottom: 1px solid #ccc;
        }

            .chat-sections.one ul li {
                list-style-type: none;
                display: inline-block;
                font-size: 22px;
                padding: 0px 4px;
                transition: all 0.6s ease;
                cursor: pointer;
                border-bottom: 4px solid #fff;
            }

                .chat-sections.one ul li.active {
                    color: #209b60;
                    border-bottom:4px solid #209b60;
                }
                .chat-sections.one ul li.active .chat-sections.one ul li a{
                    color: #209b60 !important;
                }

                .chat-sections.one ul li a {
                    font-size: 16px;
                    font-weight:400;
                    padding: 6px 10px;
                }



    .chat-sections.users {
        background: #eef3f9;
        width: 260px;
        border: 1px solid #ccc;
        border-top: 0;
        /*padding: 0px 0px 10px 0px;
        min-height: calc(100vh - 66px);*/
    }

.chat-users-header {
    padding: 10px;
}

.chat-sections-left {
    float: left;
    cursor: default;
}

.chat-title {
    text-transform: uppercase;
    padding: 3px 0;
}

    .chat-title h3 {
        font-size: 18px;
        line-height: 22px;
        margin: 0;
        font-weight: 600;
        color: #000;
    }

.chat-sections-right {
    float: right;
    position: relative;
}

.chat-menu {
    font-size: 13px;
    background: #996ddc;
    padding: 4px 8px 2px 8px;
    color: #fff;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    outline: none !important;
    transition: all 0.6s ease;
    border: 1px solid #996ddc;
}

    .chat-menu:hover {
        color: #996ddc;
        background: #fff;
        border: 1px solid #996ddc;
    }

.filter-pop {
    background: #FFF;
    padding: 20px;
    width: 255px;
    position: absolute;
    border-radius: 4px;
    right: -260px;
    top: 0;
    display: none;
    box-shadow: 0 0 3px #ccc;
    z-index: 100;
    border: 1px solid #ccc
}

    .filter-pop.filter-active {
        display: block;
    }

.no-chat-result {
    float: left;
    width: 100%;
    color: #e96068;
    padding: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.6s ease;
}

.chat-user-search {
    width: 100%;
    padding: 10px 0 0px 0;
}

    .chat-user-search input {
        width: 100%;
        padding: 5px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }
    .chat-user-search input:focus{
        outline: none !important;
    }

.chat-user-body {
    overflow-y: auto;
    height: calc(100vh - 264px);
}

    .chat-user-body ul {
        padding: 0;
        margin: 0;
        width: 100%;
    }

        .chat-user-body ul li {
            list-style-type: none;
            transition: all 0.6s ease;
            cursor: pointer;
            border-bottom: 1px solid #ccc;
        }
        .chat-user-body ul li:first-child{
            border-top: 1px solid #ccc;
        }
        .chat-user-body ul li:last-child{
            border-bottom: 0;
        }

            .chat-user-body ul li:hover {
                background: #d8d8d8;
            }

            .chat-user-body ul li.active {
                background: #d8d8d8;
            }

.chat-users {
    padding: 4px 10px;
}

.chat-user-img {
    float: left;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1b2b3a;
    position: relative;
}

    .chat-user-img img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
    }

.chat-user-name {
    float: left;
    width: calc(100% - 40px);
    padding-left: 10px;
    padding-top: 8px;
    font-size: 15px;
    line-height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    position:relative;
}

.user-profile-block {
    float: right;
    width: 250px;
    background: #f3f3f6;
    border: 1px solid #ccc;
    border-top: 0;
    word-wrap: break-word;
    /*height: calc(100vh - 110px);
    overflow-y: auto;*/
}

.chat-profile-section {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    height: 156px;
}

.user-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 auto;
}

.chat-profile-section > .profile-name {
    padding: 5px 5px 5px 5px;
    text-align: center;
    color: #75797f;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .profile-name h6 {
        font-size: 15px;
        margin: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .profile-name p {
        font-size: 14px;
        margin: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.chat-contacts{
    text-align: center;
    width: 100%;
    padding: 5px 0 0px 0;
}
.chat-contacts span {
    width: 25%;
    padding: 8px 2px;
}
.chat-contacts span a {
    background: #dadcdf;
    padding: 8px 10px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    font-size: 13px;
}
.chat-contacts span a i{
    color: #797a7c;
}


.profile-avatar-body {
    width: 100%;
    height: calc(100vh - 329px);
    overflow-y: auto;
}

    .profile-avatar-body ul {
        padding: 0;
        margin: 0;
    }

        .profile-avatar-body ul li {
            list-style-type: none;
        }

.profile-avatar-details {
    padding: 5px 10px 5px 10px;
}

    .profile-avatar-details label {
        display: block;
        color: #75797f;
        font-size: 15px;
        margin: 0;
    }

    .profile-avatar-details span {
        display: block;
        color: #75797f;
        font-weight: 600;
        font-size: 14px;
        line-height: 15px;
    }

.chat-window {
    float: right;
    width: calc(100% - 510px);
    border-bottom: 1px solid #ccc;
    background: #f1f1f1;
    word-wrap: break-word;
    /*padding: 10px;*/
}

.chat-wall-msg-content {
    float: left;
    width: 100%;
    height: calc(100vh - 227px);
    overflow-y: auto;
    margin-top: 0px;
}

.chat-wall-left-msg-text {
    float: left;
}

.chat-wall-left-msg-text, .chat-wall-right-msg-text {
    width: 80%;
    clear: both;
    padding: 5px;
}

.chat-wall-user-left {
    float: left;
}

.chat-wall-user-left, .chat-wall-user-right {
    width: 100%;
    margin: 0 0 10px 0;
    /*white-space: nowrap;*/
    line-height: 38px;
    font-weight: 600;
    /*overflow: hidden;
    text-overflow: ellipsis;*/
}

.chat-wall-user-left-icon, .chat-wall-user-right-icon {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: #ccc;
}

    .chat-wall-user-left-icon img, .chat-wall-user-right-icon img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        float: left;
         background: #ccc;
    }

.chat-wall-text-left, .chat-wall-text-right {
    float: left;
    min-width: 50px;
    border-radius: 4px;
    color: #000;
    background: #d8d8d8;
    max-width: 100%;
    word-wrap: break-word;
    padding: 5px;
    font-weight: normal;

}

.chat-wall-text-left {
    position: relative;
    margin-left: 10px;
    max-width: calc(100% - 40px);
}

    .chat-wall-text-left::after {
        content: "";
        position: absolute;
        left: -8px;
        top: 5px;
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-right: 8px solid #d8d8d8;
        border-bottom: 4px solid transparent;
    }

.chat-wall-text-left-time {
    width: 100%;
    float: left;
    font-size: 12px;
    padding: 0 0 0 60px;
    overflow: hidden;
}

.chat-wall-text-right-time {
    width: 100%;
    float: right;
    font-size: 12px;
    padding: 0 60px 0 0;
    overflow: hidden;
}

.chat-wall-text-right {
    /*color: #fff !important;*/
}

.chat-wall-right-msg-text {
    float: right;
}

.chat-wall-left-msg-text, .chat-wall-right-msg-text {
    width: 80%;
    clear: both;
    padding-bottom: 5px;
}

.chat-wall-user-right {
    float: right;
    text-align: right;
}

.chat-wall-user-left, .chat-wall-user-right {
    width: 100%;
    /*margin: 0 0 10px 0;*/
    /*white-space: nowrap;*/
    font-size: 13px;
    line-height: 17px;
    font-weight: 600;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
}

.chat-wall-user-right-icon {
    text-align: right;
    float: right;
}

    .chat-wall-user-left-icon img, .chat-wall-user-right-icon img {
        width: 30px;
        height: 30px;
        overflow: hidden;
    }

.chat-wall-text-right {
    float: right;
    background: #729da1;
    margin-right: 10px;
    /*padding: 0 10px;*/
    position: relative;
    color: #fff;
    text-align: left;
    max-width: calc(100% - 40px);
}

    .chat-wall-text-right::after {
            content: "";
    position: absolute;
    right: -8px;
    top: 5px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-left: 8px solid #729da1;
    border-bottom: 4px solid transparent;
    }

.chat-user-attachment a {
    color: #FFF;
}

    .chat-user-attachment a:hover {
        color: #f1f1f1;
    }

.chat-wall-text-left .chat-user-attachment a {
    color: #333;
    text-decoration: underline;
}

    .chat-wall-text-left .chat-user-attachment a:hover {
        color: #000;
    }

.chat-wall-controls {
    float: left;
    width: 100%;
    padding: 5px 10px 5px 10px; 

    border-radius: 10px;
    position: relative;
}

.wall-chat-attachment {
    position: absolute;
    top: 14px;
    left: 10px;
    z-index: 2;
    color: #999;
    cursor: pointer;
    font-size: 17px;
    width:30px;
    height: 30px;
    /*border: 1px solid #ccc;*/
    padding: 3px 4px 5px 4px;
    text-align: center;
    border-radius:4px;
}
.wall-chat-attachment i{
    transform: rotate(-43deg);
}

.chat-wall-text-area {
    float: left;
    width: calc(100% - 50px);
}

.emojionearea.chat-wall-text-area {
    width: 100%;
    float: left;
    height: 44px;
    position: relative;
}

.chat-wall-text-area {
    float: left;
    width: calc(100% - 50px);
    /*border-radius: 30px;*/
}

.emojionearea-editor::before{
    color: #999 !important;
}

.emojionearea .emojionearea-editor {
    min-height: 42px;
    padding: 12px 48px 10px 60px;
    overflow: hidden;
    word-wrap: break-word;
}

.emojionearea .emojionearea-button {
    position: absolute;
    top: 8px;
    left: 25px;
    z-index: 2;
    color: #999;
    cursor: pointer;
    font-size: 17px;
    width: 30px;
    height: 30px;
    /*border: 1px solid #ccc;*/
    padding: 2px 6px 5px 2px;
    text-align: center;
    border-radius: 4px;
}

.wall-send-btn {
    position:absolute;
    right: 14px;
    top: 9px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #e97f00;
    /*border-radius: 50%;*/
    border: 1px solid #e97f00;
    cursor: pointer;
    outline: none !important;
    /*transform: rotate(-50deg);*/
}
.wall-send-btn:hover{
 background: #ce7204;
}


    .wall-send-btn img {
        width: 24px;
    }

.applicant-details-form {
    width: 100%;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e2e0e0;
}


.chat-alert {
    position: absolute;
    bottom: 20px;
    right: 10px;
}

    .chat-alert.open {
        display: block;
    }

.chat-alert-inner {
    width: 500px;
    position: relative;
    text-overflow: ellipsis;
    background: linear-gradient(to bottom, #fd7a6a 0%, #fa4971 100%);
    margin-bottom: 10px;
    box-shadow: 0 0 8px #ddd;
    padding: 20px 30px 20px 10px;
    color: #fff;
    border-radius: 5px;
}

    .chat-alert-inner img {
        border-radius: 30px;
        margin: 0 auto;
        display: block;
    }

.chat-alert-user {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    margin-bottom: 5px;
}

.chat-alert-msg {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    white-space: nowrap;
    padding: 0 5px;
    border-radius: 3px;
}

.chat-alert-close {
    position: absolute;
    top: 6px;
    right: 12px;
    color: #fff;
    cursor: pointer;
    z-index: 11;
}

.chats-number {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #04ac00;
    border-radius: 50%;
    top: -8px;
    right: -8px;
    font-size: 10px;
    text-align: center;
    padding-top: 3px;
    box-shadow: 0 0 2px #000;
}

    .chats-number:empty {
        display: none;
    }

.active-user {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #04ac00;
    border-radius: 50%;
    top: -6px;
    right: -8px;
    font-size: 14px;
    text-align: center;
    padding-top: 3px;
}
.active-user i.fa-circle{
    font-size: 13px;
    color: #04ac00;
}
.chat-count {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #FFF;
    border-radius: 50%;
    top: 8px;
    right: 2px;
    font-size: 10px;
    text-align: center;
    padding-top: 0px;
    box-shadow: 0 0 2px #000;
}
.chat-count:empty{
    display:none;
}
/*  old Chat Page   */
/*.chat-page {
    position: relative;
    float: left;
    width: 100%;
    background: #FFF;
    min-height: calc(100vh - 68px);
}

.chat-left-window {
    float: left;
    width: 250px;
    box-shadow: 0 0 4px #aaa;
    position: relative;
    transition: all 0.6s ease;
}

    .chat-left-window.dpet-hide {
        width: 0px;
    }

.chat-middle-window {
    float: left;
    position: relative;
    width: calc(100% - 250px);
    padding:0px;
    height: calc(100vh - 60px);
    transition: all 0.6s ease;
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    overflow-y: auto;
}

    .chat-middle-window.middle-full {
        width: calc(100% - 250px);
    }

.chat-right-window {
    float: right;
    width: 250px;
    border-left: 1px solid #DDD;
}

.dept-trigger {
    position: absolute;
    font-size: 18px;
    padding: 9px 0px;
    color: #FFF;
    right: 0px;
    top: 0;
    cursor: pointer;
    background: #4a994a;
    z-index: 13;
    height: 47px;
    width: 45px;
    text-align: center;
    transition: all 0.6s ease;
}

.chat-left-window.dpet-hide .dept-trigger {
    right: -45px;
}

.chat-left-window .dept-trigger .fa-users {
    display: none;
}

.chat-left-window.dpet-hide .dept-trigger .fa-users {
    display: block;
}

.chat-left-window.dpet-hide .dept-trigger .fa-chevron-left {
    display: none;
}

.chat-users-list, .chat-depatments-list {
    width: 100%;
    position: relative;
    float: left;
    height: calc(100vh - 98px);
    overflow-y: auto;
}

.chat-users-list {
    height: calc(100vh - 184px);
    background:#F1F1F1;
}

.chat-department-header {
    padding: 10px 10px;
    background: linear-gradient(to bottom, #4a994a 0%, #65df65 100%);
    color: #FFF;
    font-weight: 600;
    font-size: 18px;
}

.chat-user-header {
    float: left;
    width: 100%;
    background: linear-gradient(to bottom, #dd5a6c -59%, #4b2fe3 100%);
    border-bottom: 1px solid #DDD;
    padding: 5px;
    box-shadow: 2px 2px 3px #ddd;
    color: #FFF;
}

.flter-label {
    padding: 5px;
    float: left;
    width: 100%;
    background:rgba(0,0,0,0.1);
    color:#4B2FE3;
    font-weight:bold;
    position: relative;
}

.chat-filter-clear {
    position: absolute;
    top: 0px;
    right: 1px;
    color: #ff0000;
    cursor: pointer;
    z-index: 11;
    height: 100%;
    background: #CCC;
    line-height: 31px;
    padding: 0 5px;
}



.chat-count, .dept-count {
    background: #4cb050;
    padding: 2px 5px;
    color: #FFF;
    border-radius: 4px;
    font-size: 12px;
}

.user-offline {
    background: #ffbd2f;
}

.chat-count:empty, .dept-count:empty {
    display: none;
}


.chat-user, .dept-user {
    float: left;
    width: 100%;
    padding: 6px 40px 6px 6px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
    background: rgba(0,0,0,0);
    transition: all 0.6s ease;
    white-space: nowrap;
}

    .chat-user:hover, .dept-user:hover {
        background: rgba(0,0,0,0.1);
    }

    .chat-user i {
        position: absolute;
        top: 14px;
        right: 10px;
    }

.user-label, .dept-label {
    font-size: 14px;
    margin-right: 10px;
    color: #777;
}

.in-active {
    color: #999;
}



.chat-msg-box {
    background: #FFF;
    width: 300px;
    border-radius: 10px;
    position: absolute;
    right: 20px;
    bottom: 10px;
    box-shadow: 0 8px 26px 0 rgba(0,18,46,0.16);
}

    .chat-msg-box.chat-msg-box-left {
        left: 10px;
        right: auto;
    }

.chat-msg-box-header {
    float: left;
    width: 100%;
    background: linear-gradient(to bottom, #da61ff -59%, #4b2fe3 100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 15px 5px;
    position: relative;
}


.chat-msg-box.minimize-chat .chat-msg-box-header::after {
    display: none;
}

.chat-msg-box-icon {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

    .chat-msg-box-icon img {
        width: 40px;
        height: 40px;
        border-radius: 100%;
    }

.chat-msg-box-name {
    float: left;
    width: calc(100% - 105px);
}

.chat-msg-box .user-name {
    color: #FFF;
}

.chat-msg-box .user-status {
    color: #FFF;
}

.user-name {
    font-weight: 600;
    color: #FFF;
}

.user-status {
    color: #ccc;
    font-size: 12px;
}

.chat-msg-box-minimize {
    float: left;
    width: 25px;
    height: 25px;
    padding: 9px 0 0 0;
    color: #FFF;
    font-size: 18px;
    cursor: pointer;
}

.chat-msg-box-close {
    float: right;
    width: 25px;
    height: 25px;
    padding: 6px 0 0 0;
    font-size: 18px;
    cursor: pointer;
}

.chat-messages {
    width: 100%;
    float: left;
    height: 300px;
    padding: 10px 5px 20px 5px;
    overflow-x: auto;
}

.minimize-chat .chat-messages {
    height: 0px;
    overflow: hidden;
    padding: 0;
}

.chat-msg-left-text {
    width: 80%;
    float: left;
    clear: both;
    padding: 5px;
}

.chat-user-left-icon, .chat-dept-left-icon {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

    .chat-user-left-icon img, .chat-dept-left-icon img {
        width: 28px;
        height: 28px;
        border-radius: 100%;
    }

.chat-text-left {
    float: left;
    min-width: 50px;
    text-align: left;
    padding: 5px 10px;
    border-radius: 10px;
    color: #000;
    background: linear-gradient(to right, #ffcd70 0%, #feebc7 100%);
    word-wrap: break-word;
    max-width: 100%;
}

.chat-user-left {
    width: 100%;
    float: left;
    margin: 0 0 10px 0;
    white-space: nowrap;
    line-height: 38px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-msg-right-text {
    width: 80%;
    float: right;
    clear: both;
    padding: 5px;
}

.chat-user-right {
    width: 100%;
    float: right;
    margin: 0 0 10px 0;
    white-space: nowrap;
    line-height: 38px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.chat-user-right-icon {
    margin-right: 5px;
    width: 40px;
    height: 40px;
}

    .chat-user-right-icon img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
    }

.chat-text-right {
    float: right;
    min-width: 50px;
    text-align: right;
    padding: 7px;
    border-radius: 10px 0 10px 10px;
    color: #FFF;
    background: #4B2FE3;
    max-width: 100%;
    word-wrap: break-word;
}


.chat-msg-box-controls {
    float: left;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.6s ease;
}

.minimize-chat .chat-msg-box-controls {
    height: 0;
    overflow: hidden;
    border-top: 0px solid rgba(0,0,0,0.1);
}

.chat-msg-box .fa-chevron-up {
    display: none;
}

.chat-msg-box.minimize-chat .fa-chevron-down {
    display: none;
}

.chat-msg-box.minimize-chat .fa-chevron-up {
    display: block;
}

.chat-text-area {
    float: left;
    width: 100%;
    height: 70px;
    border: none;
    padding: 5px 40px 5px 5px;
    resize: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.chat-send-btn {
    position: absolute;
    float: left;
    border: none;
    color: #FFF;
    right: -6px;
    top: 0px;
    background: none;
    outline:none !important;
    cursor:pointer;
}
.chat-send-btn span:hover{
    background:#8836fa;
     transition: all 0.3s ease;
}
    .chat-send-btn span {
        float: left;
        padding: 8px 0px 0 5px;
        width: 40px;
        height: 40px;
        margin: 5px;
        border-radius: 100%;
        background: #4B2FE3;
        text-align: center;
        box-shadow: rgba(75, 47, 227, 0.2);
    }
    .chat-send-btn:hover span.zoomimg {
        padding: 9px 0px 0 3px;
        width: 40px;
        height: 40px;
        margin: 4px 0 0 0;
        background: rgba(255,255,255,1);
    }

    .chat-send-btn img {
        width: 24px;
    }


.chat-alert {
    position: absolute;
    bottom: 20px;
    right: 10px;
}

    .chat-alert.open {
        display: block;
    }

.chat-alert-inner {
    width: 500px;
    position: relative;
    text-overflow: ellipsis;
    background:linear-gradient(to bottom, #dd5a6c -59%, #4b2fe3 100%);
    margin-bottom: 10px;
    box-shadow: 0 0 8px #ddd;
    padding: 20px 30px 20px 10px;
    color: #fff;
    border-radius:5px;
}
.chat-alert-inner img{
    border-radius: 30px;
    margin: 0 auto;
    display: block;
}

.chat-alert-user {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight:700;
        margin-bottom: 5px;
}

.chat-alert-msg {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    white-space: nowrap;
    padding:0 5px;
        border-radius: 3px;
}

.chat-alert-close {
    position: absolute;
    top: 6px;
    right: 12px;
    color: #fff;
    cursor: pointer;
    z-index: 11;
}

i.active {
    color: #1BA400;
}
.emojionearea.chat-wall-text-area{
    width:calc(100% - 63px);
    float:left;
    height:55px;
   position:relative;
}
.emojionearea.chat-wall-text-area::before{
    position:absolute;
    content:"";
    top:0;
    left:36px;
    width:1px;
    height:100%;
    background:#CCC;
}
.emojionearea .emojionearea-editor {
    min-height: 55px;
    height: 55px;
    padding: 6px 27px 6px 78px;
    overflow: hidden;
    word-wrap: break-word;
    
}
.chat-msg-box .emojionearea .emojionearea-editor{
    padding: 6px 27px 6px 45px;
}

.chat-msg-box .uesr-chat-attachment{
    top: 21px;
}

.emojionearea .emojionearea-button {
    left: 3px;
    top: 17px;
    width: 24px;
    height: 24px;
}


.chat-wall-header {
    float: left;
    width: 100%;
    padding: 0px;
}

.chat-wall-msg-title {
    float: left;
    width: 100%;
    padding: 10px 30px;
    font-size: 20px;
    background:rgba(0,0,0,0.1);
    color: #D6394F;
}

.chat-wall-controls {
    float: left;
    width: 100%;
    padding: 10px 15px 10px 30px;
    position: relative;
}

.chat-wall-text-area {
    float: left;
  width: calc(100% - 50px);
  
}

.wall-send-btn {
    float: right;
width: 63px;
height: 55px;
border-radius:0 4px 4px 0px;
border: none;
background: #4B2FE3;
cursor: pointer;
}

    .wall-send-btn img {
        width: 24px;
    }
.wall-send-btn:hover{
    background:#8836fa;
     transition: all 0.3s ease;
}
.chat-wall-msg-content {
    float: left;
    width: 100%;
    height: calc(100vh - 186px);
    overflow-y: auto;
    margin-top: 0px;
    padding: 15px 40px;
}

.chat-wall-left-msg, .chat-wall-right-msg {
    width: 100%;
    margin: 0 0 10px 0;
    white-space: nowrap;
    line-height: 38px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-wall-left-msg {
    float: left;
}

.chat-wall-right-msg {
    float: right;
    text-align: right;
}

.chat-wall-left-msg-text, .chat-wall-right-msg-text {
    width: 80%;
    clear: both;
    padding: 5px;
}

.chat-wall-left-msg-text {
    float: left;
    
}

.chat-wall-right-msg-text {
    float: right;
}

.chat-wall-user-left, .chat-wall-user-right {
    width: 100%;
    margin: 0 0 10px 0;
    white-space: nowrap;
    line-height: 38px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-wall-user-left {
    float: left;
}

.chat-wall-user-right {
    float: right;
    text-align: right;
}

.chat-wall-user-left-icon, .chat-wall-user-right-icon {
    margin-right: 5px;
    width: 40px;
    height: 40px;
}

.chat-wall-user-right-icon {
    text-align: right;
}

    .chat-wall-user-left-icon img, .chat-wall-user-right-icon img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
    }

.chat-wall-text-left, .chat-wall-text-right {
    float: left;
    min-width: 50px;
    padding: 7px;
    border-radius: 10px 0 10px 10px;
    color: #fff;
    background: #D6394F;
    max-width: 100%;
    word-wrap: break-word;
    box-shadow: 0 0 5px #bbb;
}

.chat-wall-text-right {
    float: right;
    background: #6b50fd;
}

.wall-chat-attachment {
    position: absolute;
    top: 26px;
    left: 80px;
    z-index: 2;
    color: #999;
    cursor: pointer;
    font-size:17px;
}
.wall-chat-attachment::after{
    content:"";
    background:rgba(0,0,0,0.2);
    width:1px;
    height:53px;
    right:-12px;
    top:-15px;
    position:absolute;
}

.wall-chat-border{position:relative;}
.wall-chat-border::after{
    content:"";
    background:rgba(0,0,0,0.2);
    width:5px;
    height:52px;
    left:-24px;
    top:-16px;
    position:absolute;
}


.uesr-chat-attachment, .dept-chat-attachment {
    position: absolute;
    top: 7px;
    left: 31px;
    z-index: 25;
    color: #999;
    cursor: pointer;
}

.search-users .form-control{
    padding-left:20px;
}
*/


.chat-alert.chat-alert-hide {
    display: none;
}
.mobile-user-profile-trigger{
        width: 25px;
        height: 25px;
        border: 1px solid #000;
        border-radius: 4px;
        font-size: 20px;
        line-height: 16px;
        text-align: center;
        padding: 1px 1px 1px 1px;
        position: absolute;
        top: -32px;
        left: -35px;
        display: none;
        transition: all 0.6s ease;
    }
.user-profile-block.active{
    right: 0;
}
.user-profile-block.active .mobile-user-profile-trigger{
    top: 3px;
    left: 3px;
    transform: rotate(180deg);
}

@media only screen and (max-width: 1400px) {}
@media only screen and (max-width: 1200px) {}
@media only screen and (max-width: 1024px) {}
@media only screen and (max-width: 992px) {}
@media only screen and (max-width: 768px) {
   .mobile-user-profile-trigger{
       display: block;
   }
    .user-profile-block{
        position: absolute;
        right: -250px;
        top: 81px;
        z-index: 9;
    }
    .chat-sections.users{
        width: 230px;
    }
    .chat-window {
        width: calc(100% - 230px);
    }
}
@media only screen and (max-width: 576px) {}
@media only screen and (max-width: 320px) {}