#black_chat{
    position: fixed;
    bottom: 0;
    right: 250;
    cursor:pointer;

    background: #83a6ff;
    border-radius: 5px 5px  0px  0px;
    border: 1px solid #3c3cff;
    padding:5px;
    font-size:12pt;
    font-weight: bold;
}

#black_chat:hover{background: #bbcdff;}

#div_messsage .title{
    background: #fff;
    color: #465c66;
    line-height: 48px;
    text-align: center;
    box-shadow: -1px -1px 12px -2px rgba(77, 69, 69, 0.9);
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    height: 48px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.12);
}

.message_body
{
    overflow-x: hidden;
    max-height: 88%;
}
.message_body .message_user, .message_body .message_admin{
    word-wrap: break-word;
}
#div_messsage
{
    display:none;
    position: fixed;
    width: 400px;
    height: 100%;
    right:0;
    top:0;
    background: rgba(250, 250, 251, 0.94);
  //border-radius: 5px 5px  0px  0px;
    box-shadow: -1px -1px 12px -2px rgba(77, 69, 69, 0.9);
    font-size: 1.1em;
    z-index: 99999999999;
}

#addmessageblock
{
    position: absolute;
    bottom: 0px;
    //background-color: #fff;
    z-index: 999999999;
    left: 0;
    right: 0;
    //max-width: 400px;
    margin: 0 auto;
    padding: 5px 10px;
}
#addmessage{
    border-radius: 5px;
    outline: none;
    cursor: text;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-sizing: border-box;
    min-height: 55px;
    max-height: 200px;
    width: 82%;
    padding: 10px 0 10px 10px;
    border: none;
    text-indent: 0;
}

#blackchat_form input[type="submit"]{
    border-radius: 75px;
    border: 1px solid #3ca1cd;
    cursor: pointer;
    background-color: #3ca1cd;
    padding: 10px;
    background-image: url("../../images/chat/letter.png");
    background-size: 70% 60%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    outline: none;
    width: 40px;
    height: 40px;
    float: right;
    margin-top: 6px;
}
#blackchat_form input[type="submit"]:hover{
    background-color: #57a7cb;
    border: 1px solid #57a7cb;
}

.smsChat{
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #cfd8dc;
    margin-bottom: 5px;
    float: left;
    width: 86%;
    background-color: #fff;
    //min-height: 45px;
}
.smsChat:hover{
    //min-height: 45px;
}
.smsChat:focus{
    border: 1px solid #308ab2;
}
.smsChat img{
    z-index: 99999999999;
    opacity: .4;
    /*height: 17px;
    width: 17px;*/
    position: relative;
    float: right;
    cursor: pointer;
    //top: -22px;
    //margin: 0 -60px 0 0;
    padding: 5px;
}
.smsChat img:hover{
    opacity: .8;
}
#addfile_href{
    cursor: pointer;
}
#addfile_href input{
    display: none;
}
.message_admin:first-child{
    text-align: center;
}
.message_admin
{
    clear:both;
    color: #283479;
    //text-align: left;
    padding: 15px;
    //margin-bottom: 5px;
    border-bottom: .1px solid rgba(173, 173, 173, 0.4);
}
.message_admin:hover{
    background-color: rgba(0,0,0,.06);
}
.message_admin div{
    margin-left: 10px;
    display: inline-block;
    width: 82%;
}
.message_admin div img{
    margin: 5px 0;
}
.blockLeft
{
    vertical-align: top;
    display: inline-block;
    width: 10% !important;
    //position: relative;
    color: rgba(96, 125, 139, 0.86);
    font-size: 13px;
}
.blockLeft span{
    display: block;
}
.admin_avatar{
    height: 35px;
    border-radius: 20px;
}
#cross{
    cursor: pointer;
    position: fixed;
    margin-left: 330px;
    width: 70px;
    margin-top: -50px;
    height: 50px;
    display: block;
    background-size: contain;
    opacity: 1;
}
#cross:hover{
    opacity: .6;
}
#cross div{
    margin-left: 30px;
    margin-top: 24px;
}
#cross span{
    display: block;
    position: fixed;
    height: 2px;
    background: rgb(199, 201, 201);
    border-radius: 9px;
    opacity: 1;
    //top: -10px;
    //left: 0;
    width: 20px;
}
#cross span:nth-child(1){
    transform: rotate(45deg);
}
#cross span:nth-child(2){
    transform: rotate(-45deg);
}

.message_user
{
    clear:both;
    color: #d68f51;
    //text-align: left;
    padding: 15px;
    border-bottom: .1px solid rgba(173, 173, 173, 0.4);
}

.message_user:hover{
    background-color: rgba(0,0,0,.06);
}
.message_user div{
    margin-left: 10px;
    display: inline-block;
    width: 82%;
}
.message_user div img{
    margin: 5px 0;
}

#smilesChoose {
    display: none;
    position: relative;
    background: #fff;
    padding: 4px;
    width: 228px;
    //height: 70px;
    //overflow: auto;
    //border: 1px solid #eee;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-left: 125px;
    margin-bottom: 10px;
}

#blackchat_form{
    //position: relative;
}

#smilesChoose:after, #smilesChoose:before {
    top: 100%;
    left: 80%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

#smilesChoose:after {
    border-color: hsla(0,0%,94%,0);
    border-top-color: #fff;
    border-width: 7px;
    margin-left: -12px;
}
#smilesChoose:before {
    border-color: hsla(0,0%,67%,0);
    border-top-color: #aaa;
    border-width: 8px;
    margin-left: -13px;
}

#smilesChoose span {
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    margin: 2px;
}

#smilesBtn {
    display: inline-block;
    cursor: pointer;
    //opacity: 0.7;
}

#smilesBtn:hover {
    cursor: pointer;
    //opacity: 1;
}
.emotions {
    width: 20px;
    height: 20px;
    background: url("../../js/blackchat/emotions/icq/blank.gif");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: inline-block;
    vertical-align: bottom;
}

.emo-hi {
    background: url("../../js/blackchat/emotions/icq/hi.gif");
}

.emo-smile {
    background: url("../../js/blackchat/emotions/icq/smile.gif");
}

.emo-happy {
    background: url("../../js/blackchat/emotions/icq/happy.gif");
}

.emo-blush {
    background: url("../../js/blackchat/emotions/icq/blush.gif");
}

.emo-island {
    background: url("../../js/blackchat/emotions/icq/island.gif");
}

.emo-laugh {
    background: url("../../js/blackchat/emotions/icq/laugh.gif");
}

.emo-nod {
    background: url("../../js/blackchat/emotions/icq/nod.gif");
}

.emo-sad {
    background: url("../../js/blackchat/emotions/icq/sad.gif");
}

.emo-surprised {
    background: url("../../js/blackchat/emotions/icq/surprised.gif");
}






