@charset "utf-8";
/* 
    聊天窗口样式
 */
.tic-chatapp{
    display: flex;
    height: 100%;
    border-radius:4px 0px 0px 4px;
    position: relative;
    font-family:PingFangSC-Regular,PingFangSC;
}
.tic-chatapp__operation{
    position: absolute;
    right: 10px;
    left: 0;
    top: 0px;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    height: 56px;
    align-items: center;
    background-color: #fff;
    padding-top:10px;
    padding-right: 16px;
}
.tic-chatapp__operation .tic-btn{
    margin-left:20px;
}
/* 聊天工具栏 s */
.tic-chatapp__tool {
    background:rgba(10,129,140,1);
    height: 100%;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
/* .tic-chatapp__tool.actived{
    width: 120px;
} */
.tic-chatapp__tool-ft{
    position: absolute;
    bottom: 20px;
}
.tic-chatapp__tool-img{
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 34px;
    height: 34px;
    margin: 20px 10px;
    border-radius: 4px;
}
.tic-chatapp__tool-list{
    font-size: 0;
    text-align: center;
    width: 100%;
}
.tic-chatapp__tool-list .tic-btn{
    padding: 10px 0;
    width: 100%;
}
.tic-chatapp__tool-list .tic-btn.actived{
    background-color:rgba(255,255,255,0.16);
}
/* 聊天工具栏 e */

/* 消息区域 s */
.tic-chatapp__msg{
    width: 254px;
    border-right: 1px solid #F2F4F7;
    display: flex;
    flex-direction: column;
}
.tic-chatapp__msg-add{
    margin: 20px 8px;
    background:rgba(255,255,255,1);
    border-radius:2px;
    border:1px solid rgba(222,224,229,1);
    padding:  8px;
    text-align: center;
    color: #444;
    font-weight:400;
    font-size:12px;
    cursor: pointer;
}
.tic-chatapp__msg-add:hover{
    background: rgba(0,0,0,0.1);
    transition: 0.5s all;
}
.tic-chatapp__tab {
    flex: 1;
    height: 20px;
}
.tic-chatapp__tab .tic-tab{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tic-chatapp__tab .tic-tab .tic-tab__list{
    padding-bottom: 0;
}
.tic-chatapp__tab .tic-tab .tic-tab__list ul{
    display: flex;
    justify-content: space-around;
    border-bottom:1px solid #F2F4F7;
    padding: 0 8px;
}
.tic-chatapp__tab  .tic-tab .tic-tab__list ul li + li{
    margin-left: 10px;
    font-weight:400;
}
.tic-chatapp__tab .tic-tab__content{
    flex: 1;
    height: 20px;
    display: none;
}
.tic-chatapp__tab .tic-tab__content.actived{
    display: flex;
}
.tic-chatapp__list{
    overflow-y:auto;
    height: 100%;
    width: 100%;
}
.tic-chatapp__list-item{
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #F2F4F7;
    cursor: default;
}
.tic-chatapp__list-item.actived{
    border-bottom:1px solid #F3F9FA;
    background:#F3F9FA;
}
.tic-chatapp__list-item--img{
    width: 40px;
    height: 40px;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 10px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius:4px;
}
.tic-chatapp__list-item--info{
    padding-right: 10px;
    overflow: hidden;
}
.tic-chatapp__list-item .title{
    font-weight:500;
    color:rgba(33,34,36,1);
    font-size:14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tic-chatapp__number .tic-chatapp__list-item.actived .title{
    color:rgba(10,129,140,1);
}
.tic-chatapp__list-item .time{
    margin-top: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tic-chatapp__list-item .text{
    margin-top: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #97999C;
}
.tic-chatapp__list-item--btn{
    flex-grow: 0;
    flex-shrink: 0;
}
.tic-chatapp__list-item--text{
    color: #97999C;
    flex-grow: 0;
    flex-shrink: 0;
}
.tic-chatapp__list-item.text-empty{
    justify-content: center;
}
/* 消息区域 e */

/* 具体信息 s */
.tic-chatapp__details{
    flex: 1;
    position: relative;
    overflow: hidden;
}

.tic-chatapp__details-list{
    padding: 56px 0px 30px 20px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}
.tic-chatapp__details-item{
    margin-top: 20px;
    padding-right: 20px;
}
.tic-chatapp__details-item:first-child{
    margin-top: 0;
}
.tic-chatapp__details-item+.tic-chatapp__details-item{
    padding-top: 20px;
    border-top:1px solid rgba(115,120,130,0.1);
}
.tic-chatapp__details-item .title{
    font-weight:500;
    color:#212224;
    font-size: 14px;
}
.tic-chatapp__details-item--hd{
    padding-bottom: 20px;
}
/* 课程信息 */
.tic-chatapp__details-course{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tic-chatapp__details-course--info p{
    font-size: 14px;
    color:#444;
}
.tic-chatapp__details-course--info p+p{
    margin-top: 4px;
}
.tic-chatapp__details-course-op{
    font-size: 0;
}
.tic-chatapp__details-course-op .tic-btn{
    margin-left: 10px;
    padding-left:30px;
    padding-right: 30px;
    height: 36px;
    line-height: 34px;
}
/* 段落信息 */
.details-item__info{
    line-height: 2;
    font-size: 12px;
    color: #444;
}
.details-item__info+.details-item__info{
    margin-top: 16px;
}
/* 用户信息 */
.tic-chatapp__details-user{
    display: flex;
    align-items: center;
}
.tic-chatapp__details-user .details-user__img{
    width: 88px;
    height: 88px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.tic-chatapp__details-user .details-user__img img{
    width: 100%;
    max-height: 100%;
}
.tic-chatapp__details-user .details-user__info{
    padding-left: 20px;
}
.tic-chatapp__details-user .details-user__info-item{
    line-height: 2;
    font-size: 12px;
    color: #444;
}
/* 具体信息 s */

/* 聊天室 s*/
.tic-chatapp__window{
    padding-top: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tic-chatapp__window-hd{
    height: 30px;
    position: relative;
}
.tic-chatapp__window-hd .title{
    padding-bottom: 8px;
    padding-left: 30px;
    color:#2F3338;
    font-weight:400;
    position: absolute;
    z-index: 9;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    padding-right: 200px;
    
}
.tic-chatapp__window-bd{
    flex: 1;
    height: 80%;
    padding: 10px 0;
    border-top:1px solid #F2F4F7;
}
.tic-chatapp__window-ft{
    flex-grow: 0;
    flex-shrink: 0;
    border-top:1px solid #F2F4F7;
}
.tic-chatapp__window-ft .tic-input-textarea{
    width:100%;
    height: 90px;
    border:none;
    padding: 20px;
}
.tic-chatapp__window-ft--send{
    text-align: right;
    padding: 10px 30px 20px 30px;
}
.tic-chatapp__window-chatroom{
    overflow-y: auto;
    height: 100%;
}
.tic-chatapp__window-chatroom .chatroom-msg .tic-bubble{  
    margin-left: 10px;
    vertical-align: top;
    border-radius: 4px;
    
}
.tic-chatapp__window-chatroom .chatroom-msg .tic-bubble .tic-bubble-inner{
    background:rgba(229,235,245,1);
    color: #2F3338;
}
.tic-chatapp__window-chatroom .chatroom-msg.own-msg .tic-bubble{
    margin-right: 10px;
}
.tic-chatapp__window-chatroom .chatroom-msg.own-msg .tic-bubble .tic-bubble-inner{
    background:rgba(5,157,171,0.3);
}
.tic-chatapp__window-chatroom .chatroom-msg .tic-bubble.bubble-left{
    padding-top: 0;
}
.tic-chatapp__window-chatroom .chatroom-msg .tic-bubble.bubble-left:before{
    left: 0%;
    top:14px;
    transform: translate(-100%);
    border-color: transparent;
    border-right-color: rgba(229,235,245,1);
}
.tic-chatapp__window-chatroom .chatroom-msg.own-msg .tic-bubble.bubble-left:before{
    left: initial;
    right: 0%;
    top:14px;
    transform: translate(100%);
    border-color: transparent;
    border-left-color: rgba(5,157,171,0.3);
}
/* 聊天室 e*/

