.card-bordered {
    border: 1px solid #ebebeb
}

.card {
    border: 0;
    border-radius: 0px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
    -webkit-transition: .5s;
    transition: .5s;
    background-color: transparent;
}

.padding {
    padding: 3rem !important
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

.card-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    padding: 15px 20px;
    background-color: transparent;
    border-bottom: 1px solid rgba(77, 82, 89, 0.07)
}

.card-header .card-title {
    padding: 0;
    border: none
}

h4.card-title {
    font-size: 17px
}

.card-header>*:last-child {
    margin-right: 0
}

.card-header>* {
    margin-left: 8px;
    margin-right: 8px
}

.btn-secondary {
    color: #4d5259 !important;
    background-color: #e4e7ea;
    border-color: #e4e7ea;
    color: #fff
}

.btn-xs {
    font-size: 11px;
    padding: 2px 8px;
    line-height: 18px
}

.btn-xs:hover {
    color: #fff !important
}

.card-title {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(77, 82, 89, 0.07)
}

.chat-holder {
    flex-direction: column;
}

.ps-container {
    position: relative
}

.ps-container {
    -ms-touch-action: auto;
    touch-action: auto;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -ms-overflow-style: none;
    max-width: 100%;
    max-height: 60vh;
    padding: 0 15px;
}

.media-chat {
    /* padding-right: 64px; */
    margin-bottom: 0
}

.media {
    /*padding: 16px 12px;*/
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
    margin-top: 8px;
}

.media .avatar {
    flex-shrink: 0
}

.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 100%;
    /*background-color: #f5f6f7;*/
    color: #8b95a5;
    text-transform: uppercase
}

.media-chat .media-body {
    -webkit-box-flex: initial;
    flex: initial;
    /* display: table */

    display: flex;
    flex-direction: column;
    align-items: start;
}

.media-body {
    min-width: 0
}

.media-chat .media-body .msg {
    position: relative;
    padding: 6px 8px;
    margin: 4px 0;
    background-color: #FB0131;
    border-radius: 3px;
    font-weight: 100;
    color: white;
    /* display: inline-block; */
    display: flex;
    flex-direction: column;
}

.media-chat .media-body img{
    max-width: 200px;
    display: block;
}

.media-chat-reverse img{
    float: right;
}

.media-chat .media-body .username{
    color:greenyellow !important;
    background-color: transparent !important;
    font-weight: bold;
}

.media>* {
    /* margin: 0 8px */
}

.media-chat .media-body p {
    width: auto !important;
}

.media-chat .media-body p.meta {
    background-color: transparent !important;
    padding: 0;
    opacity: .8;
    color:grey !important;
    font-size: 0.8em;
}

.media-meta-day {
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 0;
    color: #8b95a5;
    opacity: .8;
    font-weight: 400
}

.media {
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear
}

.media-meta-day::before {
    margin-right: 16px
}

.media-meta-day::before,
.media-meta-day::after {
    content: '';
    -webkit-box-flex: 1;
    flex: 1 1;
    border-top: 1px solid #ebebeb
}

.media-meta-day::after {
    content: '';
    -webkit-box-flex: 1;
    flex: 1 1;
    border-top: 1px solid #ebebeb
}

.media-meta-day::after {
    margin-left: 16px
}
.media-chat {
    /* padding-right: 64px !important; */
    margin-bottom: 0;
    max-width: 70%;
}

.media-chat.media-chat-reverse {
    /* padding-right: 12px !important;
    padding-left: 64px !important; */
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
    margin-left: auto !important;
}


.media {
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear
}

.media-chat.media-chat-reverse .media-body {
    align-items: flex-end;
}

.media-chat.media-chat-reverse .media-body .msg {
    /* float: right;
    clear: right; */
    background-color: lightgrey;
    color: black;
    /* width: auto !important; */
}

.border-light {
    border: 1px solid #8a9198 !important;
}

.bt-1 {
    border-top: 1px solid #ebebeb !important
}

.publisher {
    position: absolute !important;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 12px 20px;
    /*background-color: white;*/
    bottom: 15px;
    left: 15px;
    right: 15px;
}

#modal_chat .publisher {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
}

.publisher>*:first-child {
    margin-left: 0
}

.publisher>* {
    margin: 0 8px
}

.publisher-input {
    -webkit-box-flex: 1;
    flex-grow: 1;
    border: none;
    outline: none !important;
    background-color: transparent;
    color:white;
}

.publisher-option{
    position: fixed;
    bottom: 90px;
    /*background: white;*/
    width:100%;
}

button,
input,
optgroup,
select,
textarea {
    font-family: Roboto, sans-serif;
    font-weight: 300
}

.publisher-btn {
    background-color: transparent;
    border: none;
    color: #8b95a5;
    font-size: 16px;
    cursor: pointer;
    overflow: -moz-hidden-unscrollable;
    -webkit-transition: .2s linear;
    transition: .2s linear
}

.file-group {
    position: relative;
    overflow: hidden
}

.publisher-btn {
    background-color: transparent;
    border: none;
    color: #cac7c7;
    font-size: 16px;
    cursor: pointer;
    overflow: -moz-hidden-unscrollable;
    -webkit-transition: .2s linear;
    transition: .2s linear
}

.file-group input[type="file"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 20px
}

.text-info {
    color: #48b0f7 !important
}