.cht-cont {
    height:calc(100vh - 280px);
    margin-bottom:10px;
}
.non-top .cht-cont {
    height:calc(100vh - 170px);
}
.cht {
    height:100%;
}
.cht .chat {
    height:calc(100% - 0px);
    padding-bottom:5px;
    margin-bottom:5px;
    border-bottom:2px solid rgba(98,178,47,1);
    transition: height ease 0.6s 0s;
    background:url(/media/aticka-fon.jpg) repeat;
}
.cht .cht-title + .chat {
    height:calc(100% - 110px);
}
.cht .chat.have-files {
    height:calc(100% - 265px);
}
.cht-list,.cht-search-results {
    height:calc(100% - 100px);
    overflow-y:auto;
}
.cht-input {
    border-color:rgba(98,178,47,1);
    background:rgba(98,178,47,0.2);
    width:calc(100% - 153px);
    display:inline-block;
    height:75px !important;
    resize:none;
    font-size:15px;
}
.cht-input::placeholder {
    /*font-weight:bold;*/
    color:rgba(51,131,0,1);
}
.cht-inputs {
    display:inline-block;
    vertical-align: top;
}
.btn-manager {
    background:#059ba8;
}
.chat-one {
    width:100%;
    border: 1px solid #ececec;
    padding: 22px 29px 22px;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}
.chat-one.active {
    background:rgba(98,178,47,0.3);
}
.add-chat {
    /*position: absolute;
    width: calc(100% - 30px);*/
    height:50px;
    /*bottom: 0;*/
    padding:10px 29px;
    margin-bottom:5px;
    line-height: 31px;
    background:rgba(98,178,47,1);
    color:#fff;
    font-weight:bold;
    text-transform:uppercase;
    cursor:pointer;
}
.fileinput-button {
    margin-left:5px !important;
}
.all-h {
    height:100%;
}
.header-plchld {
    display:none;
    height:83px;
}
body .wrapper > .header-plchld {
    height:0;
}
.non-top .header-plchld {
    display:block;
}
.chat-one a {
    font-weight:bold;
}
.chat-one {
    position: relative;
    cursor:pointer;
}
.chat-one .last-msg {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.chat-one .last-time {
    font-size:10px;
    position:absolute;
    right:35px;
    top:26px;
}
.chat-one .nme {
    color:rgba(98,178,47,1);
    font-weight:bold;
}
.cht-message {
    font-size:40px;
    font-weight:bold;
    position: relative;
    top: calc(50% - 20px);
    display:table;
    margin:0 auto;
}
.empty-dialog {
    top:calc(50% - 10px);
    font-weight:bold;
    margin: 0 auto;
    display: table;
}
.item + .empty-dialog{
    display:none;
}



.cht-search,.cht-title {
    height:50px;
    position:relative;
}
.cht-title {
    font-weight:bold;
    height:24px;
    margin-bottom:6px;
}
.cht-search span {
    display:none;
}
.cht-search .cht-cancel {
    background: transparent;
    color: rgba(0, 0, 0, 0.8);
    width: 50px;
    height: 48px;
    border: none;
    font-size: 23px;
    position: absolute;
    top: 0;
    right: 50px;
    display:none;
    outline: none;
}
.cht-list.hide {
    display:none;
}
.cht-search-results {
    display:none;
}
.cht-search-results.show {
    display:block;
}
.cht-search .cht-cancel.show {
    display:block;
}
.block-search .form-search .box-group {
    position: relative
}

.block-search .form-search .form-control {
    height: 49px;
    border: 1px solid #aaa;
    padding-left: 60px;
    padding-right: 60px;
    font-size: 14px;
    color: #888
}

.cht-search.block-search .form-search .form-control {
    padding-left:15px;
}
.block-search .form-search .btn-search {
    width: 60px;
    padding: 0;
    background-color: rgba(98,178,47,1);
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    line-height: 1px;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/icon/index1/search.png)
}


.block-search .form-search .btn-search span {
    display: none
}

.block-search .form-search .btn-search:hover {
    background-color: #fb8e0a
}
.cht-search.block-search .form-search {
    width:100%;
    position:relative;
}
.block-comment-blog .list-commnet {
    padding:8px;
    /*margin:-8px;*/
    /*margin-bottom: 35px;*/
    min-height:100%;
    max-height:100%;
    overflow-y: auto;
}
.block-comment-blog .list-commnet .item {
    display:block;
    text-align:right;
}
.block-comment-blog .list-commnet .item.answer {
    text-align:left;
}
.block-comment-blog .list-commnet .item.highlight .itm-inner {
    transition-property: background-color;
    transition-duration: 3s;
    -webkit-animation: bg 5s 1;
    -o-animation: bg 5s 1;
    animation: bg 5s 1;
}

@keyframes bg {
    from {
        background-color: rgba(98,178,47,0.3);
    }
    to {
        background-color: #fff;
    }
}


.block-comment-blog .list-commnet .item .itm-inner {
    text-align:left;
    display: inline-block;
    border: 1px solid #ececec;
    border-radius:10px;
    max-width:65%;
    background:#fff;
    padding: 10px 15px;
    margin-bottom: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}
.block-comment-blog .list-commnet .item.answer .itm-inner {
    /*background:rgba(98,178,47,0.7);*/
}

.block-comment-blog .list-commnet .item .itm-inner .user {
    font-size: 15px;
    color: #222;
    font-weight: 600;
    margin-right: 25px
}

.block-comment-blog .list-commnet .item .itm-inner .date {
    color: #aaa;
    font-size: 13px
}

.block-comment-blog .list-commnet .item .itm-inner .des {
    font-size: 14px;
    font-family: Merriweather;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 2px;
    color: #666
}

.block-comment-blog .list-commnet .item .itm-inner .actions {
    text-align: right;
    font-size: 13px;
    color: #333;
    font-family: Merriweather;
    font-style: italic;
    margin-top: 2px
}

.block-comment-blog .list-commnet .item .itm-inner .actions .title {
    font-style:normal;
    font-weight:bold;
    font-size:14px;
}

.block-comment-blog .list-commnet .item .itm-inner .actions .fa {
    color: #8b8b8b;
    /*font-size: 11px;*/
    margin-left: 5px
}
