.container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    width: 340px;
    height: 424px;
    background: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

.managercontainer {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    width: 600px;
    height: 424px;
    background: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

header {
    position: relative;
    background: #008069;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

header .action {
    position: relative;
    display: flex;
    gap: 15px;
}

header .action i {
    color: #fff;
    display: flex;
    text-decoration: none;
    font-size: 1.5em;
    cursor: pointer;
}

header .input {
    position: relative;
    background: #fff;
    padding: 0px 10px;
    width: 170px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
}

header .input input {
    border: none;
    outline: none;
    width: 120px;
}

header .input .fa {
    color: #777;
    cursor: pointer;
    font-size: 1.4em;
}


.data {
    position: relative;
    width: 100%;
    height: 100%;
}

.chatlist {
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.chatlist .block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
    cursor: pointer;
}

.chatlist .block:hover {
    background: #f5f5f5;
}


.circle {
    position: relative;
    min-width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    background-color: #00d53b;
}

.circle-inner {
    color: white;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    height: 45px;
    width: 45px;
    font-size: 25px;
}

.chatlist .block .details {
    position: relative;
    width: 100%;

}

.chatlist .block .details .listhead {
    display: flex;
    justify-content: space-between;
}

.chatlist .block .details .listhead h4 {
    font-size: 1em;
    font-weight: 600;
    color: #111;
    width: 100%;
    margin: 0;
}

.chatlist .block .details .listhead .time {
    font-size: 0.75em;
    color: #555;
    margin: 0;
}

.message_p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatlist .block .details p {
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    font-size: 0.9em;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    margin: 0;
}

.chatlist .block.unread .details .listhead .time {
    color: #06d755;


}

.chatlist .block.unread .details p {
    color: #111;
    font-weight: 600;
    margin: 0;
}

.message_p b {
    background: #06d755;
    color: #fff;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75em;
    margin: 0;
}

/* Chrome, Edge, Safari */
.messages::-webkit-scrollbar {
    width: 5px;
}

.messages::-webkit-scrollbar-track {
    background: transparent;
}

.messages::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* Firefox */
.messages {
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
}

.btnmessage {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
    background: #008069;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.35em;
    cursor: pointer;
}

.chatBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #efe6dd;

}

.chatBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/pattern.png);
    opacity: 0.05;

}




.chatheader {
    position: relative;
    width: 100%-20px;
    padding: 10px;
    background: #008069;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.chatheader .headercontent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatheader .headercontent .fa.fa-arrow-left {
    color: #fff;
    cursor: pointer;
    font-size: 1.25em;
}

.chatheader .headercontent .circle {
    position: relative;
    min-width: 35px;
    height: 35px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    background-color: #00d53b;
}

.chatheader .headercontent .circle-inner {
    color: white;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    height: 35px;
    width: 35px;
    font-size: 20px;
}

.chatheader .headercontent h3 {
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.1em;
    margin: 0;
}

.chatheader .headercontent h3 span {
    font-size: 0.7em;
    font-weight: 400;
}

.messagebox {
    position: relative;
    height: 366.8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.messagebox .messages {
    height: 314px;
    overflow-y: auto;
    padding: 10px 20px;
    scroll-behavior: smooth;
}


.messagebox p {
    margin: 0;
}

.messagebox .my_message {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    border-top-right-radius: 0;
    justify-content: flex-end;
    background: #dcf8c6;
    margin-bottom: 10px;

}

.messagebox .friend_message {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    border-top-left-radius: 0;
    justify-content: flex-start;
    background: #fff;
    margin-bottom: 10px;
}

.messagebox .my_message p {
    text-align: left;
    overflow-wrap: break-word;
    max-width: 100%;
}

.messagebox .friend_message p {
    text-align: left;
    overflow-wrap: break-word;
    max-width: 100%;
}

.messagebox .friend_message .name {
    position: relative;
    display: flex;
}

.messagebox .friend_message .name p {
    text-align: left;
    font-weight: bold;
}


.messagebox .friend_message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    border: 10px solid transparent;
    border-top: 10px solid #fff;
}

.messagebox .my_message::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    border: 10px solid transparent;
    border-top: 10px solid #dcf8c6;
}

.time {
    position: relative;
    display: block;
    font-size: 0.7em;
    width: 100%;
    text-align: end;
    color: #777;
}

.messageinput {
    position: absolute;
    bottom: 0;
    left: 0;
    gap: 5px;
    width: 100%;
    /*320px*/
    box-sizing: border-box;
    padding: 5px 10px;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.messageinput .input {
    position: relative;
    background: #fff;
    padding: 5px 10px;
    width: 100%;
    /*270px;*/
    display: flex;
    /*justify-content: space-around;*/
    align-items: center;
    border-radius: 40px;
}

.messageinput .input .fa.fa-smile-o {
    color: #777;
    cursor: pointer;
    font-size: 1.4em;
}

.messageinput .input input {
    /*muss ggf nach md-input verändert werden*/
    border: none;
    outline: none;
    padding: 5px;
    width: 100%;
}

.messageinput .send {
    position: relative;
    width: 40px;
    height: 40px;
    background: #008069;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2em;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

.contactbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contactheader {
    position: relative;
    width: 100%-20px;
    padding: 10px;
    background: #008069;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contactheader .headercontent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contactheader .headercontent .fa.fa-arrow-left {
    color: #fff;
    cursor: pointer;
    font-size: 1.25em;
}

.contactheader .headercontent p {
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.1em;
    margin: 0;
}

.contactheader .headercontent p span {
    font-size: 0.7em;
    font-weight: 400;
}

.contactlist {
    position: relative;
    height: 366.8px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.groupcontactlist {
    position: relative;
    height: 301.8px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Chrome, Edge, Safari */
.contactlist::-webkit-scrollbar {
    width: 5px;
}

.contactlist::-webkit-scrollbar-track {
    background: transparent;
}

.contactlist::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* Firefox */
.contactlist {
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
}

/* Chrome, Edge, Safari */
.groupcontactlist::-webkit-scrollbar {
    width: 5px;
}

.groupcontactlist::-webkit-scrollbar-track {
    background: transparent;
}

.groupcontactlist::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* Firefox */
.groupcontactlist {
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
}

.contact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    cursor: pointer;
}

.contact .newgroup p {
    font-size: 1em;
    color: #111;
    width: 100%;
    margin: 0;
    padding: 10px 20px;
}

.contact .contactcheckbox {
    position: relative;
}

.contact .contactcheckbox .checkbox-round {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    accent-color: #008069;
    outline: none;
    cursor: pointer;
}

.contact:hover {
    background: #f5f5f5;
}

.contact .contactcontent {
    display: flex;
}

.contact .contactcontent p {
    font-size: 1em;
    color: #111;
    width: 100%;
    margin: 0;
}

.contact .contactcontent p span {
    font-size: 0.75em;
    color: #555;
    margin: 0;
}

.contactbox .groupname {
    position: relative;
    display: flex;
    width: 100%;

}

.contactbox .groupname input {
    border: none;
    outline: none;
    font-size: 1.25em;
    padding: 20px;
}

.picmo__header {
    width: 300px;
    padding: 8px 0;
}

.picmo__content {
    width: 300px;
    height: 200px;
}

.picmo__popupContainer {
    z-index: 50;
}

.categoryButtonsContainer {
    width: 285px;
}

.picmo__icon {
    font-size: 1rem;
}

.picmo__picker .picmo__categoryButtons .picmo__categoryTab {
    width: 1.6em !important;
}