
.chat_center {
    width: 100%;
    height: 563px;
    background:  #E5E5E5;
}

.chat_bottom {
    height: 70px;
    line-height: 70px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    background: #C4C4C4;
    padding: 10px;
}


.chat_input-group {
    position: relative;
    width: 100%;
    height: 50px;
    background: #fff;
    padding: 0;
}
input.message {
    position: absolute;
    height: 50px;
    background: #fff;
    border: none;
    outline: none;
    -webkit-appearance: none;
    width: 330px;
    vertical-align: middle;
}

input.message:focus {
    color: #000;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #FFF;
    border: none;
    box-sizing: border-box;
}

input.kn_chat_send{
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    border: none;
    background: url(/img/ico_send.svg) no-repeat 50% 50%; /* Параметры фона */
    -webkit-box-shadow: none;
    box-shadow: none;
}

input.kn_chat_send:hover, input.kn_chat_send:focus {
    background-color: #fff;
}


.chat_center {
    position: relative;
    -webkit-transition: -webkit-transform .5s ease-in-out;
    -moz-transition: -moz-transform .5s ease-in-out;
    -o-transition: -o-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;

    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}




.direct-chat .box-body {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
position: relative;
overflow-x: hidden;
padding: 0
}

.direct-chat.chat-pane-open .direct-chat-contacts {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0)
}

.direct-chat-messages {

    position: relative;
    width: 380px;
    bottom: 0;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
padding: 10px;
}

.direct-chat-msg, .direct-chat-text {
display: block
}

.direct-chat-msg {
margin-bottom: 18px;
    overflow: hidden;
    width: 350px;
}

.direct-chat-msg:before, .direct-chat-msg:after {
content: " ";
display: table
}

.direct-chat-msg:after {
clear: both
}

.direct-chat-messages, .direct-chat-contacts {
-webkit-transition: -webkit-transform .5s ease-in-out;
-moz-transition: -moz-transform .5s ease-in-out;
-o-transition: -o-transform .5s ease-in-out;
transition: transform .5s ease-in-out
}

.direct-chat-text {
    position: relative;
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 0px 7px 7px 7px;
    margin: 5px 0 0 50px;
    color: #444;

    padding: 14px 20px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;

    color: #B1B1B1;

}

.right .direct-chat-text {
    border-radius: 7px 0px 7px 7px;
}




.right .direct-chat-text {
margin-right: 50px;
margin-left: 0
}


.pic_chat, .direct-chat-img {
border-radius: 50%;
float: left;
width: 40px;
height: 40px
}

.pic_chat {
    text-align: center;
    background-color: #C4C4C4;
    background-size: cover;
    background-position: center;
    line-height: 40px;
}

.pic_chat i {
    font-size: 30px;
    color: #fff;
    line-height: 38px;
}


.right .pic_chat, .right .direct-chat-img {
float: right
}



.direct-chat-info {
display: block;
margin-top: 7px;
font-size: 12px
}

.direct-chat-name {
    font-weight: 400;
    color: #605F5F;
    margin-bottom: -7px;
    margin-right: -5px;
}

.direct-chat-timestamp {
color: #999
}

.direct-chat-contacts-open .direct-chat-contacts {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0)
}

.direct-chat-contacts {
-webkit-transform: translate(101%, 0);
-ms-transform: translate(101%, 0);
-o-transform: translate(101%, 0);
transform: translate(101%, 0);
position: absolute;
top: 0;
bottom: 0;
height: 250px;
width: 100%;
background: #222d32;
color: #fff;
overflow: auto
}



.direct-chat-primary .right > .direct-chat-text {
background: #3c8dbc;
border-color: #3c8dbc;
color: #fff
}

.direct-chat-primary .right > .direct-chat-text:after, .direct-chat-primary .right > .direct-chat-text:before {
border-left-color: #3c8dbc
}

.top_fon {
    position: absolute;
    top: 0;
    left: 0;
    width: 385px;
    height: 30px;
    z-index: 1000;

    background: -moz-linear-gradient(top,  rgba(229,229,229,1) 0%, rgba(229,229,229,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(229,229,229,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(229,229,229,1) 0%,rgba(229,229,229,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#00e5e5e5',GradientType=0 ); /* IE6-9 */






}