
/* CHAT CSS */
/*.messenger-box_NM{
	min-height: 40vw;
  height: auto;
}*/
* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #00000080;
}
::-webkit-scrollbar-thumb:hover {
  background: #000000cc;
}
.icon {
  cursor: pointer;
  transition: all ease 0.5s;
}
.icon:hover {
  opacity: 0.5;
}
.messenger-box_NM{
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  position: relative;
}
.person {

  position: relative;
  overflow: hidden;
}
.avatarCont{
  width: fit-content;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.avatarCont img{
  width: fit-content;
  height: 100%;
}
.person.avatar {
  --size:3em;
}
.person.photo {
  --size:6em;
}
.person.photo .online {
  --size:1.5em;
}
.person .online {
  --size:0.75em;
  width: fit-content;
  min-width: var(--size);
  min-height: var(--size);
  position: absolute;
  right: 0;
  bottom: 0;
  background: #09db84;
  border-radius: 50%;
}
h3.person-name {
    font-size: 17px;
    font-weight: 550;
}
.chat {
     --bg: #fff;
    --bg-secundary: #e1e1e8;
    --bg-highlight: #057ef7;
    --color: #2a2b2e;

    color: var(--color);
    background: var(--bg);
    /*border-radius: 8px 8px 0 0;*/
    overflow: hidden;
    transition: all ease 0.5s;
	box-shadow: 0 4px 20px 0rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  position: fixed;
  right: 80px;
  bottom: 0;
  height: 450px;
  width:350px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;

}
.chat.dark {
  --bg:#1f2024;
  --bg-secundary:#292a30;
  --color:#dde4f0;
}
.chat[data-color=red] {
  --bg-highlight:#f70546;
}
.chat[data-color=green] {
  --bg-highlight:#10915c;
}
.chat[data-color=purple] {
  --bg-highlight:#b600f2;
}
.chat .conversation {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all ease 0.5s;
}
.chat .conversation .head {
  width: 100%;
  min-height: 4em;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 20px;
}
.chat .conversation .head .buttons {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-left: auto;
}
.chat .conversation .messages {
  width: 100%;
  height: 30vw;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  padding: 1em;
  overflow: hidden;
  overflow-y: auto;
}
.chat .conversation .messages .time {
  width: fit-content;
  font-size: 0.75em;
  margin: 0 auto;
  padding: 0.5em;
  border-radius: 6px;
  background: #00000020;
}
.chat .conversation .messages .msg-text {
  width: fit-content;
  font-size: 0.85em;
  animation: appear-msg ease 0.25s forwards;
  width: 70%;
  margin-bottom: 16px;
}
.chat .conversation .messages .msg-text .text {
  display: block;
  padding: 16px;
  border-radius:10px;
  border: 1px solid #DDDDDD  ;
  background-color: white;
  font-size: .875em;
  position: relative;
  border-bottom-left-radius: 0;

}
.chat .conversation .messages .msg-text p{
  font-size: 12px;
  color:#999999;
  padding-left: 16px;
  margin-bottom: 0;
  margin-top: 11px;
}
.chat .conversation .messages .msg-text.owner {
  margin-left: auto;
  
}
.chat .conversation .messages .msg-text.owner .text {
  color: #fff;
  background: #67BD45;
  border-radius: 10px;
  border-bottom-right-radius: 0;

  /*border-radius: 0.75em 0.75em 0 0.75em;*/
}
.todaytext-chat{
  margin-bottom: 16px;
  text-align: center;
  color:#999999;
margin-top: 5px;
  font-size: .82em;
  margin-bottom: 0;
}

.chat .conversation .messages .msg-text .text::before {
  content: '';
  position: absolute;
  visibility: visible;
  bottom: -20px;
  left: -1px;
  border: 10px solid transparent;
  border-top: 10px solid #DDDDDD;
  border-left: 10px solid #dddd;
}

.chat .conversation .messages .msg-text .text::after {
  content: '';
  position: absolute;
  visibility: visible;
  bottom: -17px;
  left: 0px;
  border: 10px solid transparent;
  border-top: 10px solid white;
  border-left: 10px solid white;
}
.chat .conversation .messages .msg-text.owner .text:after{
  border-left: 0;
    border: 12px solid transparent;
    border-top: 12px solid #67BD45;
    border-right: 12px solid #67BD45;
  left:auto;
  right: 0;
  bottom: -13px;
}

.chat .conversation .messages .msg-text.owner .text::before{
  display: none;
}
.chat .conversation .messages .msg-text.owner p {
  text-align: right;
  padding-right: 16px;
}
.sendMessageCont{
  padding: 8px;
  border-radius: 36px;
  border:1px solid #DDDDDD;display: flex;
  width: 88%;
}

.chat .conversation .field {
  width: 100%;
  height: 4em;
  align-items: center;
  gap: 0.5em;
  transition: all ease 0.5s;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.chat .conversation .field .input-message {
  width: 100%;
  height: auto;
  border: none;
  outline: none;
  padding: 0.5em 1em;
  border-radius: 50px;
  color: var(--color);
  background: transparent;
  transition: all ease 0.5s;
}
.chat .conversation .field .input-message:placeholder-shown ~ .text {
  display: none;
}
.chat .conversation .field .input-message:not(:placeholder-shown) ~ .plus {
  display: none;
}
.chat .conversation .field .input-message:not(:placeholder-shown) ~ .audio {
  display: none;
}
.chat .conversation .field .plus {
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #DDDDDD;
  border-radius: 0;
  background-color: transparent;
  

}
.chat .conversation .field .plus svg{
  fill: #999999;
}
.chat .conversation .field .send {
  min-width: 32px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #67BD45;
  padding: 0.5em;
  border-radius: 50%;
  overflow: hidden;

}
#send_text svg{
  fill :white
}
.chat .conversation .field .send .audio {
  display: none;
}
.chat .options {
  min-width: 50%;
  height: 100%;
  padding: 0.5em;
  border-left: 1px solid #e1e1e8;
  background: var(--bg);
  position: absolute;
  right: -100%;
  overflow: auto;
  transition: all ease 0.5s;
}
.chat .options.active {
  right: 0;
}
.chat .options .head {
  display: flex;
  align-items: center;
}
.chat .options .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}
.chat .options .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
.chat .options .buttons .button {
  text-align: center;
}
.chat .options .buttons .button .icon {
  --size:2em;
  width: var(--size);
  height: var(--size);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em;
  margin: auto;
  background: #e1e1e8;
  border-radius: 50%;
}
.chat .options .buttons .button .title {
  font-size: 0.9em;
  margin: 0.25em;
  opacity: 0.5;
}
.chat .options .details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: 0.9em;
  padding: 1em 2em;
}
.chat .options .details > * {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1em 0;
  border-bottom: 1px solid #00000020;
}
.chat .options .details .search-field .icon {
  display: flex;
  align-items: center;
}
.chat .options .details .search-field .search {
  width: 100%;
  padding: 0.25em;
  border: none;
  outline: none;
  background: transparent;
}
.chat .options .details .dark-mode .input-dark {
  display: none;
}
.chat .options .details .dark-mode .input-dark:checked ~ .toggle .circle {
  left: 50%;
  background: #67BD45;
}
.chat .options .details .dark-mode .toggle {
  cursor: pointer;
  --size:1.5em;
  width: calc(var(--size) * 2);
  height: var(--size);
  position: relative;
  border-radius: var(--size);
  outline: 2px solid #e1e1e8;
}
.chat .options .details .dark-mode .toggle .circle {
  width: var(--size);
  height: var(--size);
  position: relative;
  left: 0;
  background: #e1e1e8;
  border-radius: var(--size);
  transition: all ease 0.5s;
}
.chat .options .details .theme .colors {
  display: flex;
  gap: 0.5em;
}
.chat .options .details .theme .colors .color {
  cursor: pointer;
  --size:1.25em;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
}
.chat .options .details .theme .colors .color:hover {
  outline: 2px solid #e1e1e8;
}
.chat .options .details .theme .colors .color.blue {
  background: #057ef7;
}
.chat .options .details .theme .colors .color.red {
  background: #f70546;
}
.chat .options .details .theme .colors .color.green {
  background: #10915c;
}
.chat .options .details .theme .colors .color.purple {
  background: #b600f2;
}
.chat .options .details .media {
  flex-direction: column;
  gap: 1em;
}
.chat .options .details .media .label {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.chat .options .details .media .photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 96px;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
}
.chat .options .details .media .photos .img {
  cursor: pointer;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  object-position: center;
}
.chat .options .details .view-more {
  cursor: pointer;
  width: fit-content;
  margin: auto;
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
  color: #67BD45;
  background: #00000005;
  border-radius: 8px;
  padding: 0.5em;
}

.social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
}
.social .button {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .chat .conversation, .chat .options {
    width: 100%;
  }
}
@keyframes appear-msg {
  from {
    opacity: 0;
    transform: translateY(50%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MESSAGE NOTIFICATION _BOTTOM FIXED */

.bottom-notification-box-MN{
    width: 20%;
    bottom:0;
    right: 20px;
    color: #2a2b2e;
    background: #ffffff;
/*	position: fixed;*/
    /*border-radius: 8px 8px 0 0;*/
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all ease 0.5s;
}
.message-notification-boxeds-MN ul {
    margin: 0;
    height: 33vw;
    overflow: hidden;
    overflow-y: scroll;
}
.buttons a {
    color: #777;
}
.bottom-notification-MNMN h3 {
    font-size: 17px;
}
.bottom-notification-MNMN {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-top-left-radius: 27px;
    border-top-right-radius: 27px;
}
.message-notification-boxeds-MN ul {
    margin: 0;
}
.message-notification-boxeds-MN ul li {
    margin: 0 !important;
    display: block;
    border-bottom: 1px solid #f5f5f5;
}
.message-notification-boxeds-MN .notification-message{
    padding:1rem;
}
.message-notification-boxeds-MN img {
    width: 53px;
}
.message-notification-boxeds-MN .notification-message h4{
	margin-bottom:7px;
}