.left-view {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 320px;
    height: 100%;
}

/*会话*/
.left-view .chat {
    background-color: #fff;
    border: none;
    border-radius: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    font-size: 1rem;
}

.left-view .chat .message.text,
.left-view .chat .answer,
.left-view .chat .message.question,
.left-view .chat .message.img,
.left-view .chat .message.link {
    display: flex;
}

.left-view .chat .messages {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    padding-bottom: 0;
    height: calc(100% - 56px);
    position: relative;
}

/*加载的图片*/
.left-view .chat .media-body {
    position: relative;
    z-index: 2;
}

/*加载的图片*/
.left-view .chat .message .media-body img {
    width: auto;
    cursor: pointer;
    max-width: 100%;
}

.left-view .chat .message.text .content,
.left-view .chat .message.link .link-text,
.left-view .chat .message.question .problem-options {
    background-color: rgba(37, 175, 244, 0.3);
    border-radius: 5px;
    line-height: 1.5rem;
    color: #444444;
}

.left-view .chat .answer .content {
    background-color: #f0f0f0;
    border-radius: 5px;
    line-height: 1.5rem;
    color: #444444;
}

.problem-options .options {
    border: 1px solid #aaaaaa;
}

.options .option {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed #999999;
}

.options .option:nth-child(1) {
    border: none;
}

.options .option .order-letter {
    margin-top: 3px;
    margin-right: 5px;
}

.options .option .option-content-imgs {
    width: 100%;
}

.left-view .chat .answer .content {
    background-color: #f0f0f0;
    padding: 5px 10px;
    line-height: 1.5em;
    color: #444444;
}

.left-view .blockonly-check {
    font-size: 0.6875rem;
}

.left-view .chat .messages .loadAgoMore,
.left-view .chat .messages .loadAgoNoMore {
    color: #999999;
    background: #efefef;
    text-align: center;
    height: 24px;
    margin: 0px;
    line-height: 24px;
    font-size: 12px;
}

.left-view .chat .messages .loadAgoMore {
    cursor: pointer;
}

.left-view .chat .messages .loading-chat .media-body img {
    height: 1.5rem;
}

.left-view .chat .btns {
    border-top: 1px solid #4d97ff;
    overflow: hidden;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 106;
    background: #4d97ff;
}

.left-view .btns .actions {
    color: white;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    height: 2.125rem;
}

.sep-line {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #a6a6a6;
    height: 40px;
    line-height: 40px;
}

.sep-line .line {
    width: 90%;
    background-image: url(/images/line.png);
    background-size: 100%;
    background-position: center;
    height: 1px;
    position: absolute;
    left: 5%;
    top: 19.5px;
}

.sep-line .title {
    font-size: 12px;
    background-color: #fff;
    z-index: 105;
}

/*教师编辑使用样式*/
.left-view.edit {
    min-height: 600px;
}

.left-view.edit .fa {
    cursor: pointer !important;
}

.left-view.edit .chat {
    border: 1px solid #4d97ff
}

.left-view.edit .chat .messages {
    height: 100%;
    overflow: hidden;
}

.left-view.edit .chat .message.text .content,
.left-view.edit .chat .message.link .link-text,
.left-view.edit .chat .message.question .problem-options,
.left-view.edit .chat .answer .content {
    width: 100%;
}

/*预加载的图片*/
.left-view.edit .chat .message.img .pre-msg {
    width: 100%;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-view.edit .chat .message .content div,
.left-view.edit .chat .answer .content div,
.left-view.edit .chat .message .problem-content div,
.left-view.edit .chat .message .option-content div,
.left-view.edit .chat .message .link-text .link-content div
{
    background: #fff;
    overflow-x: hidden;
    word-break: break-all;
    min-height: 1.5rem;
}

/*问题消息*/
.left-view.edit .problem-options .options .option {
    padding-bottom: 5px;
    padding-top: 5px;
}

.left-view.edit .message .order-letter {
    display: inline-block;
    cursor: pointer !important;
    width: 1.125rem;
    height: 1.125rem;
    line-height: 1;
    font-size: 0.625rem;
}

/*可编辑div 的placehoder*/
/*为空时显示 element attribute content*/
.left-view.edit .problem-options div:empty:before,
.left-view.edit .problem-options .option-content div:empty:before,
.left-view.edit .link-text div:empty:before {
    content: attr(placeholder);
    color: #cccccc;
    font-size: 0.875rem;
}

/*焦点时内容为空*/
.left-view.edit .problem-options div:focus:before,
.left-view.edit .problem-options .option-content div:focus:before,
.left-view.edit .link-text span div:focus:before {
    content: none;
}

/*动态教案*/
.left-view.edit .chat .placeholder {
    background: #cccccc none repeat scroll 0 0;
    border: 1px dashed #999999;
    height: 60px;
}

/*问答中添加图片*/
.left-view.edit .chat .question-imgs-box {
    position: relative;
}

.left-view.edit .chat .question-imgs-box > a, .left-view.edit .chat .question-imgs-box > a:hover {
    position: absolute;
    z-index: 5;
    right: 0px;
    top: 0px;
    box-shadow: 3px 3px 5px #000;
    padding: 0px 5px;
    background: #444444;
}

.left-view.edit .chat .problem-imgs .add-problem-imgs,
.left-view.edit .chat .problem-r-answer-imgs .add-problem-imgs,
.left-view.edit .chat .problem-w-answer-imgs .add-problem-imgs,
.left-view.edit .chat .option-imgs .add-problem-imgs {
    background: #cccccc;
    height: 10px;
    text-align: center;
    line-height: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}

/*图片工具*/
.img-tool {
    position: absolute;
    top: 1px;
    left: 1px;
    font-size: 0.875rem;
    background: #f8f9fa !important;
}

.img-tool-delete {
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 0.875rem;
    background: #f8f9fa !important;
}

#selectImageBox_body img {
    height: auto;
    margin: 0px;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    opacity: 1;
}
