.alert-mes{
  width:280px;
  border:1px solid #000;
  height: 90px;
  position:absolute;
  right:10px;
  bottom:10px;
}

.header-alert-message{
  border-bottom:1px solid #000;
  color:#636b6f;
  height:20px;
  background:#3c8dbc;
}

.list-message, .add_conversation, .open_rooms{
  list-style-type:none;
}

.panel-close{
  font-size: 34px;
  color: #000;
  padding: 0;
  line-height: 2;
  text-decoration: none;
  float: right;
  margin-top: -27px;
  cursor: pointer;
}

.header-alert-message a:hover{
  color:#ff0000;
  text-decoration:none;
}

.remove i{
  color: #ff0000;
  cursor: pointer;
  font-size:12px;
}
.remove{
  cursor: pointer;
  margin:3px;
  float: right;
  position: relative;
  margin-top: 10px;
}

.remove:hover{
  background:#eee;
}

.open_rooms{
  display:flex;
}

.leave_group{
  cursor:pointer;
  padding-left:25px;
}

.participan{
  font-weight: 600;
  padding-bottom: 10px;
}

.add_participant{
  color: green;
  cursor:pointer;
}

.unchecked, .checked{
  cursor:pointer;
  float: right;
  position: relative;
  padding: 13px 5px 5px 5px;
}

.checked{
  color:red;
}

.msg{
  border: 1px solid;
  width: calc(100% - 88px);;
  float: left;
  min-height: 38px;
  padding: 5px 5px;
  overflow: auto;
  max-height: 100px;
}





.div-placeholder, .div-placeholder_file{
  width: 80%;
  position: absolute;
  padding: 5px;
  z-index: 1;
  pointer-events: none;
  color:#999
}

/***/
/* Основные стили */
.back-layout, .back-layout-whatsapp, .back-layout-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffffc7;
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  font-size: 1em;
  letter-spacing: 0.1px;
  color: #32465a;
  text-rendering: optimizeLegibility;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  -webkit-font-smoothing: antialiased;
  position: fixed;
  width: 100%;
  right: 0;
  top: 55px;
  height: 98vh;
  z-index:1041;
}

#frame {
  width: 98%;
  height: 100%;
  background: #E6EAEA;
  border-top: 1px solid #32465a;
  border-right: 1px solid #32465a;
  position:relative;
  margin-top: -5%;
  display:flex;
}

@media (max-width: 1300px){
  #frame{
    margin-top:-7%;
  }
}


@media screen and (max-width: 360px) {
  #frame {
    width: 100%;
    height:auto!important;
    position:absolute;
    top:20px;
    bottom:20px;
    z-index:1031;
  }
}
#frame #sidepanel {
  float: left;
  min-width: 280px;
  max-width: 340px;
  width: 40%;
  height: 100%;
  background: #2c3e50;
  color: #f5f5f5;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel {
    width: 58px;
    min-width: 58px;
  }

  #frame #sidepanel #profile {
    width: 80%;
    margin: 25px auto;
  }
  #frame #sidepanel #profile {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 0 10px!important;
    background: #32465a;
  }

  #frame ul{
    padding-left:unset!important;
  }

}
#frame #sidepanel #profile{
  padding: 5px 0px 0px 12px;
}

#frame #sidepanel #profile.expanded .wrap {
  height: 115px;
  line-height: initial;
}
#frame #sidepanel #profile.expanded .wrap p {
  margin-top: 20px;
}
#frame #sidepanel #profile.expanded .wrap i.expand-button {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
#frame #sidepanel #profile .wrap {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  -moz-transition: 0.3s height ease;
  -o-transition: 0.3s height ease;
  -webkit-transition: 0.3s height ease;
  transition: 0.3s height ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap {
    height: 55px;
  }
}
#frame #sidepanel #profile .wrap img {
  width: 50px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #e74c3c;
  height: auto;
  float: left;
  cursor: pointer;
  -moz-transition: 0.3s border ease;
  -o-transition: 0.3s border ease;
  -webkit-transition: 0.3s border ease;
  transition: 0.3s border ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap img {
    width: 40px;
    margin-left: 4px;
  }
}
#frame #sidepanel #profile .wrap img.online {
  border: 2px solid #2ecc71;
}
#frame #sidepanel #profile .wrap img.away {
  border: 2px solid #f1c40f;
}
#frame #sidepanel #profile .wrap img.busy {
  border: 2px solid #e74c3c;
}
#frame #sidepanel #profile .wrap img.offline {
  border: 2px solid #95a5a6;
}
#frame #sidepanel #profile .wrap p {
  float: left;
  margin-left: 15px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap p {
    display: none;
  }
}
#frame #sidepanel #profile .wrap i.expand-button {
  float: right;
  margin-top: 23px;
  font-size: 0.8em;
  cursor: pointer;
  color: #435f7a;
  margin-right: 35px
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap i.expand-button {
    display: none;
  }
}
#frame #sidepanel #profile .wrap #status-options {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  margin: 70px 0 0 0;
  border-radius: 6px;
  z-index: 99;
  line-height: initial;
  background: #435f7a;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options {
    width: 58px;
    margin-top: 57px;
  }
}
#frame #sidepanel #profile .wrap #status-options.active {
  opacity: 1;
  visibility: visible;
  margin: 75px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options.active {
    margin-top: 62px;
    margin-left:-11px;
  }
}
#frame #sidepanel #profile .wrap #status-options:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #435f7a;
  margin: -8px 0 0 24px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options:before {
    margin-left: 23px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul {
  overflow: hidden;
  border-radius: 6px;
  padding:unset;
}
#frame #sidepanel #profile .wrap #status-options ul li {
  padding: 15px 0 30px 18px;
  display: block;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li {
    padding: 15px 0 35px 22px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li:hover {
  background: #496886;
}
#frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
    width: 14px;
    height: 14px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -2px 0 0 -2px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
    height: 18px;
    width: 18px;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li p {
  padding-left: 12px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li p {
    display: none;
  }
}
#frame #sidepanel #profile .wrap #status-options ul li#status-online span.status-circle {
  background: #2ecc71;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
  border: 1px solid #2ecc71;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-away span.status-circle {
  background: #f1c40f;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
  border: 1px solid #f1c40f;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-busy span.status-circle {
  background: #e74c3c;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
  border: 1px solid #e74c3c;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-offline span.status-circle {
  background: #95a5a6;
}
#frame #sidepanel #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
  border: 1px solid #95a5a6;
}
#frame #sidepanel #profile .wrap #expanded {
  padding: 70px 0 0 0;
  display: block;
  line-height: initial !important;
}
#frame #sidepanel #profile .wrap #expanded label {
  float: left;
  clear: both;
  margin: 0 8px 5px 0;
  padding: 5px 0;
}
#frame #sidepanel #profile .wrap #expanded input {
  border: none;
  margin-bottom: 6px;
  background: #32465a;
  border-radius: 3px;
  color: #f5f5f5;
  padding: 7px;
  width: calc(100% - 43px);
}
#frame #sidepanel #profile .wrap #expanded input:focus {
  outline: none;
  background: #435f7a;
}
#frame #sidepanel #search {
  border-top: 1px solid #32465a;
  border-bottom: 1px solid #32465a;
  font-weight: 300;
  position:relative;
  padding: 3px 0px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #search {
    display: none;
  }
}
#frame #sidepanel #search label {
  position: absolute;
  margin: 10px 0 0 20px;
}
#frame #sidepanel #search input {
  font-family: "proxima-nova",  "Source Sans Pro", sans-serif;
  padding: 10px 0 10px 46px;
  width: 100%;
  border: none;
  background: #32465a;
  color: #f5f5f5;
  margin-top:3px;
  margin-bottom:3px;
}
#frame #sidepanel #search input:focus {
  outline: none;
  background: #435f7a;
}
#frame #sidepanel #search input::-webkit-input-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input::-moz-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input:-ms-input-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #search input:-moz-placeholder {
  color: #f5f5f5;
}
#frame #sidepanel #contacts {
  height: 90%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-bottom:50px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts {
    height: calc(100% - 70px);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  #frame #sidepanel #contacts::-webkit-scrollbar {
    display: none;
  }
}
#frame #sidepanel #contacts.expanded {
  height: calc(100% - 334px);
}
#frame #sidepanel #contacts::-webkit-scrollbar {
  width: 8px;
  background: #2c3e50;
}
#frame #sidepanel #contacts::-webkit-scrollbar-thumb {
  background-color: #243140;
}
#frame #sidepanel #contacts ul li.contact {
  position: relative;
  padding: 10px 0 15px 0;
  font-size: 0.9em;
  cursor: pointer;
  list-style-type: none;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact {
    padding: 6px 0 7px 8px;
  }
}
#frame #sidepanel #contacts ul li.contact:hover {
  background: #32465a;
}
#frame #sidepanel #contacts ul li.contact.active {
  background: #32465a;
  border-right: 5px solid #435f7a;
}
#frame #sidepanel #contacts ul li.contact.active span.contact-status {
  border: 2px solid #32465a !important;
}
#frame #sidepanel #contacts ul li.contact .wrap {
  width: 88%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap {
    width: 100%;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap span {
  position: absolute;
  left: 0;
  margin: -2px 0 0 -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  background: #95a5a6;
}
#frame #sidepanel #contacts ul li.contact .wrap span.online {
  background: #2ecc71;
}
#frame #sidepanel #contacts ul li.contact .wrap span.away {
  background: #f1c40f;
}
#frame #sidepanel #contacts ul li.contact .wrap span.busy {
  background: #e74c3c;
}
#frame #sidepanel #contacts ul li.contact .wrap img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
  height: 40px;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap img {
    margin-right: 0px;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap .meta {
  padding: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap .meta {
    display: none;
  }
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .name {
  font-weight: 600;
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .preview {
  margin: 5px 0 0 0;
  padding: 0 0 1px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
  margin-left: 50px;
  margin-top: -15px;
  color: #9c9191;
}
#frame #sidepanel #contacts ul li.contact .wrap .meta .preview span {
  position: initial;
  border-radius: initial;
  background: none;
  border: none;
  padding: 0 2px 0 0;
  margin: 0 0 0 1px;
  opacity: .5;
}
#frame #sidepanel #bottom-bar {
  position: absolute;
  width: 100%;
  bottom: 0;
}
#frame #sidepanel #bottom-bar button {
  float: left;
  border: none;
  width: 50%;
  padding: 10px 0;
  background: #32465a;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 0.85em;
  font-family: "proxima-nova",  "Source Sans Pro", sans-serif;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
}
#frame #sidepanel #bottom-bar button:focus {
  outline: none;
}
#frame #sidepanel #bottom-bar button:nth-child(1) {
  border-right: 1px solid #2c3e50;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #2c3e50;
  }
}
#frame #sidepanel #bottom-bar button:hover {
  background: #435f7a;
}
#frame #sidepanel #bottom-bar button i {
  margin-right: 3px;
  font-size: 1em;
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button i {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button span {
    display: none;
  }
}
#frame .content {
  height: 100%;
  overflow: hidden;
  position: relative;
  display:flex;
  flex-direction: column;
  width:100%;
}
/*@media screen and (max-width: 735px) {
  #frame .content {
    width: calc(100% - 58px);
  }
}
@media screen and (min-width: 900px) {
  #frame .content {
    width: calc(100% - 340px);
  }
}*/

#frame .content .contact-profile {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #f5f5f5;
  order:1;
  display:flex;
}
#frame .content .contact-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  float: left;
  margin: 9px 12px 0 9px;
  cursor:pointer;
}
#frame .content .contact-profile p {
  float: left;
  margin-top:-10px;
}
#frame .content .contact-profile .social-media {
  position:absolute;
  right: 60px;
  top: -12px;
}
#frame .content .contact-profile .social-media i {
  margin-left: 14px;
  cursor: pointer;
}
/*#frame .content .contact-profile .social-media i:nth-last-child(1) {
  margin-right: 20px;
}*/
#frame .content .contact-profile .social-media i:hover {
  color: #435f7a;
}
/*#frame .content .messages {
  height: 93%;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  margin-left: -15px;
  position: absolute;
  width: 100%;
}*/
/*@media screen and (max-width: 735px) {
  #frame .content .messages {
    max-height: calc(100% - 105px);
  }
}*/
#frame .content .messages::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
#frame .content .messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}

#frame .content .messages div {
  font-size: 0.9em;
  position:relative;
}

#frame .content .messages div.sent img {
  margin: 6px 8px 0 0;
}

#frame .content .messages div.sent{
  color: #f5f5f5;
}

#frame .content .messages div.replies img {
  float: right;
  margin: 6px 0 0 8px;
}

#frame .content .messages div.replies .div-message{
  background: #f5f5f5;
  color: #33587b;
}
#frame .content .messages div img {
  width: 22px;
  border-radius: 50%;
  float: left;
}

@media screen and (min-width: 735px) {
  #frame .content .messages div p {
    max-width: 300px;
  }
}
#frame .content .message-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
  background:#eee;
  height: fit-content;
}
#frame .content .message-input .wrap {
  position: relative;
}
#frame .content .message-input .wrap input {
  font-family: "proxima-nova",  "Source Sans Pro", sans-serif;
  float: left;
  border: none;
  width: calc(100% - 90px);
  padding: 11px 32px 10px 8px;
  font-size: 0.8em;
  color: #32465a;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap input {
    padding: 15px 32px 16px 8px;
  }
}
#frame .content .message-input .wrap input:focus {
  outline: none;
}
#frame .content .message-input .wrap .attachment {
  position: absolute;
  right: 60px;
  z-index: 4;
  margin-top: 10px;
  font-size: 1.1em;
  color: #435f7a;
  opacity: .5;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap .attachment {
    margin-top: 17px;
    right: 65px;
  }
}
#frame .content .message-input .wrap .attachment:hover {
  opacity: 1;
}
#frame .content .message-input .wrap button {
  border: none;
  width: 47px;
  padding: 7px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
  position: absolute;
  right: 0;
}
@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap button {
    padding: 16px 0;
  }
}
#frame .content .message-input .wrap button:hover {
  background: #435f7a;
}
#frame .content .message-input .wrap button:focus {
  outline: none;
}

.close_chat{
  order: 2;
  position: absolute;
  font-size: 2em;
  right: 11px;
  top: 0px;
  cursor: pointer;
  z-index: 2;
}

.count_message, .count_message_telegram{
  position: absolute;
  width: fit-content;
  padding: 0px 7px;
  border-radius: 50%;
  background-color: green;
  font-weight: 700;
  right: 0;
  top: 25px;
}

.description{
  font-size: 12px;
  top: -42px;
  position: relative;
  padding-left: 10px;
}

.not_view_message{
  width: fit-content;
  height: 20px;
  border-radius: 50%;
  background: yellow;
  font-size: 12px;
  line-height: 15px;
  padding: 2px 7px;
  color: #000;
  font-weight: 600;
  animation: slide 5s infinite ease;
  display:none;
  margin-right:-60px;
  margin-left: 40px;
  margin-top:-6px;
  z-index:2;
}

.not_view_message_n{
  width: fit-content;
  height: 20px;
  border-radius: 50%;
  background: yellow;
  font-size: 12px;
  line-height: 15px;
  padding: 2px 7px;
  color: #000;
  font-weight: 600;
  animation: slide 5s infinite ease;
  display:none;
  margin-right:-60px;
  margin-left: 40px;
  margin-top:-6px;
  z-index:2;
}

@keyframes slide {
  0% {
    display:none
    color: #fff;
  }
  25% {
    display:block;
    background-color:yellow;
  }
  50% {
    display: none;
  }
  75% {
    display:block;
    background-color:red;
  }
}

.income{
  width: fit-content!important;
  margin-left:25px;
}

.restore{
  cursor:pointer;
  color:blue;
  float: right;
  margin-top: 10px;
}

.delete_message{
  cursor:pointer;
  color:red;
  float: right;
  margin-top: 10px;
}

.remove-message{
  text-decoration: line-through;
}

.div-message{
  display: flex;
  flex-direction: column;
  background: #435f7a;
  color: #fff;
  padding: 6px;
  width: fit-content;
  /*border: 1px solid #eee;*/
  height: fit-content;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 10px;
  margin-bottom: 5px;
  overflow: hidden;
}

.div-message>span, ._3zb-j>span{
  font-size: 13px;
}

.div-message>.select-text-image{
  padding-right:unset;
}

.name_user{
  font-size: 12px;
  color: #4678a7;
}

.sent .name_user{
  color:#fff
}

.time{
  font-size: 10px;
  text-align: right;
  width: 100%;
}

.replies{
  position: absolute;
  order: 2;
  flex: 0 1 0;
  right: 7px;
  margin-left: auto;
  width: fit-content;
  max-width: 70%;
}

.open_delete{
  color:#fff;
  padding-left:3px;
}

.div-open-message{
  display:none;
  position: absolute!important;
  padding: 5px;
  padding-left: 18px;
  background: #fff;
  top: 22px;
  border-radius: 6px;
}

.i-transform{
  transform:rotate(180deg);
  transition: transform .5s;
}

.open_smile{
  font-size: 20pt;
  padding: 4px 7px;
  background: #32465a;
  color: #fff;
  width: 50px;
  position: relative;
}

.open_smile:hover{
  background:#435f7a;
  color: #fff;
}

.smiles{
  display:none;
  position: fixed;
  bottom: 39px;
  height: 150px;
  width: 55%;
  background: #fff;
  overflow: hidden;
  overflow-y: scroll;
  right: 1.2%;
}

.div-message .emoji{
  width:20px!important;
  zoom:unset;
  background-color:transparent;
}

#frame #sidepanel #contacts ul li.contact .wrap .emoji{
  width:20px!important;
  height: 20px!important;
  zoom:unset;
  background-color:transparent;
}

/*.replies .div-message:after, .replies .div-message:before {
	left: 100%;
	top: 22%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}*/

.sent .div-message a{
  color:#fff;
}

/*.replies .div-message:after {
	border-left-color: #f5f5f5;
	border-width: 5px;
	margin-top: -5px;
}
.replies .div-message:before {
	border-left-color: #f5f5f5;
	border-width: 9px;
	margin-top: -9px;
}

.income .div-message:after, .income .div-message:before {
	right: 100%;
	top: 22%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.income .div-message:after {
	border-right-color: #435f7a;
	border-width: 5px;
	margin-top: -5px;
}
.income .div-message:before {
	border-right-color: #435f7a;
	border-width: 9px;
	margin-top: -9px;
}*/

.effect{
    width: 100px;
    left: -450px;
    top: 100%;
    -webkit-transform: skewX(-50deg) skewY(-90deg) scale(0);
    -moz-transform: skewX(-50deg) skewY(-90deg) scale(0);
    -ms-transform: skewX(-50deg) skewY(-90deg) scale(0);
    -o-transform: skewX(-50deg) skewY(-90deg) scale(0);
    transform: skewX(-50deg) skewY(-90deg) scale(0);
}

div.user-image{
  width: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
  height: 40px;
  border-style: none;
  border: 2px solid;
  text-align: center;
  vertical-align: middle;
  padding-top: 8px;
}

div.income .user-image-min{
  width: 25px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
  height: 25px;
  border-style: none;
  border: 2px solid;
  text-align: center;
  vertical-align: middle;
  padding-top: 3px;
  color: #435f7a;
  background-color: #fff;
}

div.replies .user-image-min{
  width: 25px;
  border-radius: 50%;
  float: right;
  margin-left: 10px;
  height: 25px;
  border-style: none;
  border: 2px solid;
  text-align: center;
  vertical-align: middle;
  padding-top: 3px;
  color: #435f7a;
  background-color: #fff;
}

.open_messages_main div.user-image{
  background-color:#343a40;
}

.phone-email{
  font-size: 12px;
  width: 100%!important;
  border: unset!important;
  background: unset!important;
  display: block!important;
  left: 52px!important;
}

.contact.online{order:1!important}
.contact.away{order:2!important}
.contact.busy{order:3!important}
.contact.offline{order:4!important; color:#95a5a6}


.online .user-image{
  border-color:#2ecc71;
}

.away .user-image{
  border-color: #f1c40f;
}

.busy .user-image{
  border-color:#e74c3c;
}

.offline .user-image{
  border-color:#95a5a6;
}

#frame.text-secondary{
  display: block;
  margin: 0 auto;
  width: 10%;
  top: 30%;
  position: relative;
  font-size: 132px;
}

.get_more{
  width: 100%;
  margin-bottom: 10px;
  border: unset;
  cursor:pointer;
  background-color:#e6eaea;
}

.get_more:hover{
  background-color:#ddd;
}

.custom-switch>label{
  cursor:pointer;
}

.min_info{
  font-size:14px;
}

#profile .meta .name{
  font-weight:600;
  top: 0px;
  height: 40px;
  margin-bottom: 0px;
  position: absolute;
  left: 60px;
}

#profile .meta .phone-email{
  font-weight:600;
  position: absolute;
  top: 17px;
  left: 0px!important;
}

.message-div-resize, .div-resize-whatsapp, .div-resize-telegram{
  height: 90%;
  position: relative;
  order: 1;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-bottom: 40px;
}

.div-resize-whatsapp::-webkit-scrollbar-track, .div-resize-telegram::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.div-resize-whatsapp::-webkit-scrollbar, .div-resize-telegram::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}

.div-resize-whatsapp::-webkit-scrollbar-thumb, .div-resize-telegram::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.open_whatsapp, .open_telegram, .open_wazzup{
  /*padding: 0px;
  width: 41px;
  padding-left: 10px;
  margin-top: -6px;*/
}

.open_telegram{
  font-size: 38px;
  color: var(--cyan);
  margin-left: 13px;
  margin-top: -13px;
}

.open_telegram:hover{
  color:var(--cyan);
  background-color: inherit;
}

.open_whatsapp:focus, .open_chat:focus, .open_telegram:focus{
  background-color:inherit;
}

.height-content-whatsapp div.replies img, .height-content-telegram div.replies img{
  float:unset!important;
  margin:unset!important;
  border-radius:unset!important;
}

.file{
  position: absolute;
  top: 0;
  right: 75px;
  cursor:pointer;
}

.submit_file{
  border: none;
  width: 47px;
  padding: 7px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
}

.img_preview{
  width:140px;
  height:140px;
  margin:0 auto;
  cursor:pointer;
  position:relative;
  overflow-y:hidden;
  overflow-x:hidden;
}

.img_preview::-webkit-scrollbar { /* chrome based */
    width: 0px;  /* ширина scrollbar'a */
    background: transparent;  /* опционально */
}

.img_preview img{
  width: 103%!important;
  height: 124%!important;
  float: unset!important;
  border-radius: 6px!important;
  margin: 0 auto!important;
  position: absolute!important;
  margin-left: -2px!important;
  margin-top: -3px!important;

}

#view_image, #add_files{
  background:#9e9b9ba8;
}

#view_image img{
  max-height:70vh;
  cursor: zoom-in;
}

#view_image .zoom_in{
  /*transition: transform 300ms cubic-bezier(0.1, 0.82, 0.25, 1) 0s;*/
  cursor:zoom-out;
}

.col2status{
  display:flex;
  flex-direction:column;
}

.item-status{
  font-size: 12px;
  padding: 0;
  line-height: 13px;
  margin-top: 11px;
}

#not_view_whatsapp, #not_view_telegram{
  background: green;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  font-weight: 600;
  display:none;
}

#not_view_chat{
  border-radius: 50%;
  background: green;
  width: 24px;
  height: 24px;
  text-align: center;
  margin-left: -8px;
  font-weight: 600;
}

.file-load i{
  font-size: 66px!important;
  display: block;
  margin: 0 auto;
}

.image-holder_whatsapp, .image-holder_telegram{
  text-align:center;
}

#frame .content .contact-profile span{
  padding-left:10px;
}

.search_whatsapp_field, .search_telegram_field{
  position:absolute;
  padding-top:5px;
  right:0;
  cursor:pointer;
}

.search_whatsapp_field .input-group-text, .search_telegram_field .input-group-text{
  padding:10px!important;
}

input[name="search_contact_whatsapp"], input[name="search_contact_telegram"]{
  padding-left:10px!important;
}

.load_more, .load_more_telegram{
  cursor:pointer;
  margin:0 auto;
  width:100%;
  transform:translate(18%, 50%);
}

.load_more:hover, .load_more_telegram:hover{
  color:var(--blue);
}

.download-image{
  text-align: right;
  margin-right: 50px;
  font-size: 26px;
  position:relative;
  top:-52px;
}

.download-image a, .download-image a:visited{
  color:var(--gray)
}

.blocked_telegram{
  text-decoration:line-through
}

.get_more_message{
  width: 100%;
  border-bottom: 2px solid;
  text-align: center;
  display: block;
  color:#000;
}

.get_more_message:hover{
  cursor:pointer;
  background: #ccc
}
