.chat-application .app-content,
.chat-application .content-right,
.chat-application .content-wrapper,
.chat-application .content-body
{
    height: 100vh;
}

.chat-application .content-wrapper
{
    padding: 0 !important;
}

.chat-application .sidebar-left
{
    z-index: 9;

    height: -webkit-calc(100% - 30px);
    height:    -moz-calc(100% - 30px);
    height:         calc(100% - 30px); 

    border-left: 1px solid #e4e7ed;
}

.chat-application .chat-fixed-search
{
    position: fixed;
    z-index: 9;

    width: 300px;

    border-bottom: 1px solid #e4e7ed; 
    background: #fff;
}

.chat-application .users-list-padding
{
    padding-top: 83px;
    padding-bottom: 60px;
}

.chat-application .chat-app-window
{
    overflow-y: scroll;

    height: -webkit-calc(100% - 112px);
    height:    -moz-calc(100% - 112px);
    height:         calc(100% - 112px);
    padding: 20px 30px;
    text-align: center;
    background-color: #edeef0;
}

.chat-application .chat-app-form
{
    position: relative;
    overflow: hidden; 
    padding: 20px 10px;
}

.chat-application .chats
{
    padding: 0;
}
.chat-application .chats .chat-body
{
    display: block;
    overflow: hidden; 

    margin: 10px 0 0 30px;
}
.chat-application .chats .chat-body .chat-content
{
    position: relative;

    display: block;
    float: left;
    clear: both;

    margin: 0 0 10px 20px;
    padding: 8px 15px;

    text-align: left;

    color: #fff;
    border-radius: 7px; 
    background-color: #6967ce;
    -webkit-box-shadow: 0 5px 12px 0 rgba(62, 57, 107, .36);
            box-shadow: 0 5px 12px 0 rgba(62, 57, 107, .36);
}
.chat-application .chats .chat-body .chat-content:before
{
    position: absolute;
    top: 10px;
    left: -10px;

    width: 0;
    height: 0;

    content: '';

    border: 5px solid transparent;
    border-right-color: #6967ce;
}
.chat-application .chats .chat-body .chat-content + .chat-content:before
{
    border-color: transparent;
}
.chat-application .chats .chat-body .chat-content p
{
    margin: 0;
}
.chat-application .chats .chat-avatar
{
    float: left;
}
.chat-application .chats .chat-avatar .avatar
{
    width: 40px;
    margin-top: -10px;
}
.chat-application .chats .time
{
    font-size: 12px;

    margin: 40px 0; 

    text-align: center;

    color: #6b6f80;
}
.chat-application .chats .chat-left .chat-avatar
{
    float: right;
}
.chat-application .chats .chat-left .chat-body
{
    margin-right: 30px; 
    margin-left: 0;
}
.chat-application .chats .chat-left .chat-content
{
    float: right;

    margin: 0 20px 15px 0;

    text-align: right;

    color: #6b6f80;
    background-color: #fff;
    -webkit-box-shadow: 0 7px 12px 0 rgba(62, 57, 107, .16);
            box-shadow: 0 7px 12px 0 rgba(62, 57, 107, .16);
}
.chat-application .chats .chat-left .chat-content + .chat-content:before
{
    border-color: transparent;
}
.chat-application .chats .chat-left .chat-content:before
{
    right: -10px;
    left: auto;

    border-right-color: transparent; 
    border-left-color: #fff;
}

.chat-application .form-control-position
{
    z-index: 4; 

    cursor: pointer;
}
.chat-application .form-control-position.control-position-right
{
    top: 2px;
    left: 18px;

    cursor: pointer;
}

@media (max-width: 767.98px)
{
    .chat-application .chat-app-window
    {
        height: -webkit-calc(100% - 132px);
        height:    -moz-calc(100% - 132px);
        height:         calc(100% - 132px);
    }
}

.horizontal-layout.chat-application .app-content
{
    height: -webkit-calc(100% - 144px) !important;
    height:    -moz-calc(100% - 144px) !important;
    height:         calc(100% - 144px) !important;
    min-height: -webkit-calc(100% - 144px) !important;
    min-height:    -moz-calc(100% - 144px) !important;
    min-height:         calc(100% - 144px) !important;
    margin-top: 0 !important;
}
.horizontal-layout.chat-application .app-content .chat-app-window
{
    height: -webkit-calc(100% - 83px) !important;
}
