.container{max-width:1170px; margin:auto;}
img{ max-width:100%;}

.messaging {
    overflow: hidden;
}
.top_spac{ margin: 20px 0 0;}


.recent_heading {float: left; width:40%;}
.srch_bar {
    display: inline-block;
    text-align: right;
    width: 60%;
    /*padding:;*/
}
.headind_srch{ padding:10px 29px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

.recent_heading h4 {
    color: var(--obs-primary);
    font-size: 21px;
    margin: auto;
}
.srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
.srch_bar .input-group-addon button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    padding: 0;
    color: var(--obs-dark);
    font-size: 18px;
}
.srch_bar .input-group-addon { margin: 0 0 0 -27px;}

.chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
.chat_date{  color: var(--obs-text-secondary); }
.chat_ib h5 span{ font-size:13px; float:right;}
.chat_ib p{ font-size:14px; color:#989898; margin:auto}
.chat_img {
    float: left;
    width: 11%;
    display: inline-block;
}
.chat_ib {
    float: left;
    padding: 0 0 0 15px;
    width: 88%;
}

.chat_people{ overflow:hidden; clear:both;}

.chat_list {
    padding: 14px 15px 14px 30px;
    cursor: pointer;
}

.active_chat{ background:var(--obs-secondary);}

.message {
    display: flex;
}

.message p {
    margin: 0;
}

.message.received {
    justify-content: flex-start;
}

.message.sent {
    justify-content: flex-end;
}

.chat_border{
    min-width: 50%;
    max-width: 95%;
    border: 1px solid;
    overflow-wrap: break-word;
    word-wrap:break-word;
    border-radius: 15px;
}

.chat_border.received {
    border-color: var(--obs-primary);
    border-bottom-left-radius: 0;
}

.chat_border.sent {
    border-color: var(--obs-secondary);
    border-bottom-right-radius: 0;
}

.incoming_msg_img {
    display: inline-block;
    width: 6%;
}
.incoming_msg {
    display: inline-block;
    overflow: hidden;
    margin: 13px 0 13px;
    width: 100%;
}
.received_msg {
    display: inline-block;
    padding: 0 0 0 10px;
    vertical-align: top;
    width: 90%;
}
.received_withd_msg p {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 10px 10px 10px 0px;
    color: #000000;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}
.time_date {
    color: var(--obs-text-secondary);
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}
.received_withd_msg { width: 90%;}
.mesgs {
    padding: 5px 10px 5px 20px;
    border: 5px solid var(--obs-secondary);
}

.sent_msg p {
    background: #ffffff none repeat scroll 0 0;

    border-radius: 10px 10px 0px 10px;
    font-size: 14px;
    margin: 0; color:#000000;
    padding: 5px 10px 5px 12px;
    width:100%;
}
.outgoing_msg{ overflow:hidden; margin:13px 0 13px;
    width: 100%;}
.sent_msg {
    float: right;
    width: 90%;
}
.input_msg_write input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #4c4c4c;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
}

.type_msg {border-top: 1px solid #c4c4c4;position: relative;}
.msg_send_btn {
    background: transparent;
    border: medium none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    height: 33px;
    position: absolute;
    right: 0;
    top: 11px;
    width: 33px;
}

#chat_history {
    padding-right: 10px;
    height: calc(100vh - 393px);
    overflow-y: auto;
}

#recent_contacts {
    height: calc(100vh - 323px);
    overflow-y: auto;
}

.active_chat .chat_date {
    display: none;
}

.msg-column {
    display: flex;
    align-items: center;
}

.msg-button {
    display: flex;
    align-items: center;
    padding: 0.25rem;;
    border: 0;
    background: transparent;
}

.filetype {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#file-holder {
    padding: 0.5rem 0;
    height: calc(100vh - 700px);
    overflow: hidden;
    overflow-y: auto;
}

.action-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-right: 1rem;
}

#actions {
    /* Die kollabieren sonst auf der rechten Seite */
    margin-left: -1rem;
    margin-right: -0.9rem;
}

#notes {
    /* Die kollabieren sonst auch auf der rechten Seite */
    margin-left: -1rem;
    margin-right: -0.9rem;
    height: calc(100vh - 619px);
    overflow: hidden;
    overflow-y: auto;
}


/* Profil css*/
.profile-category {
    position: relative;
    color: var(--obs-primary);
    z-index: 1;
    margin-bottom: 3rem;
    padding: 0 1rem;
    width: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.profile-category::after {
    position: absolute;
    z-index: -1;
    background-color: var(--obs-secondary);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.875rem;
    content: "";
}
