.dialog-wrapper {
    background-color: #FFFFFF;
    box-shadow: 0 0 10px #BDBDBD;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.dialog-wrapper > div {
    background-color: #f1f1f1;
    overflow-y: auto;
    flex: 1;
}

.dialog-sidebar {
    margin: 0 !important;
    max-width: 300px;
    background-color: #FFFFFF !important;
    position: relative;
}

.dialog-sidebar > button.btn.btn-block.action {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}

.dialog-body .list-container > .list.list-expanded {
    background: transparent;
}

.dialog-body .list-container > .list li.list-row {
    border: none;
}

/* chat widget */
.dialog-body .media-left {
    display: block;
    float: left;
}

.dialog-body .list-container .complex-text-container.cut > .complex-text::before {
    display: none;
}

.dialog-body .list-container > .list li.list-row .media-heading .list-row-buttons span.caret {
    border-top-color: #bd104b;
}

.dialog-body .list-container > .list li.list-row img.avatar {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 40px;
    padding: 2px;
}

.dialog-body .media-body {
    display: block;
    overflow: hidden;
    width: auto;
}

.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}

.speech {
    position: relative;
    background: #b7dcfe;
    color: #317787;
    display: inline-block;
    border-radius: 0;
    padding: 12px 20px;
}

.speech:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid #b7dcfe;
    margin: 15px 0 0 -6px;
}

.speech-right > .speech:before {
    left: auto;
    right: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #ffdc91;
    border-right: 0;
    margin: 15px -6px 0 0;
}

.speech .media-heading {
    font-size: 1.2em;
    color: #317787;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: 300;
}

.speech-time {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: .8em;
    font-weight: 300;
}

.dialog-body .media-right {
    float: right;
}

.speech-right {
    text-align: right;
}

.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}

.speech-right > .speech {
    background: #ffda87;
    color: #a07617;
    text-align: right;
}

.speech-right > .speech .media-heading {
    color: #a07617;
}
