html,
body {
    height: 100%;
}

#container,
#main-content {
    height: 100%;
}

.article-wrapper {
    padding-top: 10px;
    padding-bottom: 0px;
}

.article-row,
.article-col {
    height: 100%;
}

.article-col {
    padding-right: 2px;
    padding-left: 2px;
    overflow: hidden;
}

.article-col-wrapper {
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.article-col-title {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.article-col-content {
    padding: 15px 10px;
}

.col-title {
    line-height: 1.428571;
    padding: 12px 15px 0;
    display: inline-block;
    color: #555;
    cursor: default;
}

.msg-item {
    padding: 10px;
}

.msg-item .msg-user,
.msg-item .msg-avatar,
.msg-item .msg-content {
    display: inline-block;
    vertical-align: text-top;
}

.msg-item .msg-content {
    width: 90%;
    padding-left: 10px;
    position: relative;
}

.msg-item .msg-content .triangle {
    position: absolute;
    top: 0%;
    margin-top: 6px;
    left: 4px;
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    border-bottom: 6px solid #FFF;
    border-top: 6px solid #FFF;
    border-left: none;
    border-right: 6px solid #eee;
}

.msg-item .msg-content .msg-main {
    max-width: 80%;
    word-wrap: break-word;
    float: left;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.msg-main .msg-main-content {
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #eee;
    background: #eee;
    border-radius: 5px;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#eee));
    background-image: -webkit-linear-gradient(top, #eee, #eee);
    background-image: -moz-linear-gradient(center top, #eee, #eee);
    background-image: linear-gradient(top, #eee, #eee);
}

.msg-item .msg-content.fr {
    padding-left: 0px;
    padding-right: 10px;
}

.msg-item .msg-content.fr .triangle {
    left: auto;
    right: 4px;
    border-bottom: 6px solid #FFF;
    border-top: 6px solid #FFF;
    border-right: none;
    border-left: 6px solid #eee;
}

.msg-item .msg-content.fr .msg-main {
    float: right;
    text-align: left;
    word-wrap: break-word;
    max-width: 80%;
}

.msg-main img {
    width: 150px;
}

li.msg-item:hover {
    cursor: pointer;
    border: 1px dashed #e9e9e9;
    border-radius: 2px;
}

li.msg-item.active {
    cursor: pointer;
    border: 1px solid #e9e9e9;
    border-radius: 2px;
}

#article-create-form .form-group,
#action-container .form-group {
    margin-left: -10px;
    margin-right: -10px;
}

.app-voice {
    cursor: pointer;
}

.app-voice-pause,
.app-voice-play {
    width: 46px;
    height: 18px;
    background-repeat: no-repeat;
    background-image: url(../img/voice.png);
    background-size: 18px auto;
}

.app-voice-time {
    vertical-align: middle;
}

.app-voice .app-voice-pause {
    /*从未播放*/
    background-position: 0px 0;
}

.app-voice .app-voice-play {
    /*播放中（不需要过渡动画）*/
    background-position: 0px -9px;
    -webkit-animation: voiceplay 1s infinite step-start;
    -moz-animation: voiceplay 1s infinite step-start;
    -o-animation: voiceplay 1s infinite step-start;
    animation: voiceplay 1s infinite step-start;
}

@-webkit-keyframes voiceplay {
    0%,
    100% {
        background-position: 0px 0px;
    }
    33.333333% {
        background-position: 4px 0px;
    }
    66.666666% {
        background-position: 9px 0px;
    }
}

.sortable-ghost {
    border: 1px solid #5cb85c !important;
}

.sortable-chosen {
    border: 1px dashed #337ab7 !important;
}

.sortable-drag {
    border: 1px solid #d9534f !important;
}