body {
  padding: 0 !important;
  background: #FFF !important;
  overflow: hidden !important;
}

textarea:focus, input:focus, a:focus, div:focus {
  outline: none;
}

.account-select {
  background-color: #f6f6f6 !important;
  padding: 6px 0 !important;
}

.account-select.open .custom-select-icon {
  transform: rotate(180deg);
}

.accounts-select-wrapper {
  display: none;
  position: absolute;
  top: 53px;
  left: 0;
  width: 100%;
  background: #fff;
}

.accounts-select-wrapper .account-photo {
  padding: 5px 18px 5px 15px;
}

.accounts-select-wrapper .account-photo img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  float: left;
}

.accounts-select-wrapper .account-photo p {
  padding-top: 6px;
  float: left;
  padding-left: 14px;
}

.accounts-select-wrapper .switch-filter {
  border-top: 1px solid #e0e0e0;
}

.option-item .icon-check {
  display: none;
  float: right;
  padding-top: 16px;
  font-size: 12px;
}

.option-item {
  cursor: pointer;
}

.option-item.selected {
  background: #f6f6f6;
}

.option-item.selected  .icon-check {
  display: block;
}

.account-black-photo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-right: 0;
  background: #f6f6f6;
  border-radius: 50%;
  float: left;
}
.account-black-photo i {
  padding: 10px;
  font-size: 18px;
}

.user-color {
  background: #000;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  float: left;
  margin: 16px 0 0 6px;
}

.selected-option .text-value {
  color: #474bda !important;
  font-size: 15px !important;
}

.incoming_msg_img img, .chat_img img {
  max-width: 100%;
  border-radius: 50%;
}
img {
  max-width: 100%;
}
video {
  max-width: 100%;
}
audio {
  max-width: 100%;
}
.inbox_people {
  overflow: auto;
  height: 100vh;
  width: 356px;
  border-right: 1px solid #e2e2e2;
}

.inbox_people .loader-overlay {
  position: fixed !important;
  width: 356px !important;
}

.thread_info, .quick_replies_list {
  overflow: auto;
  height: 100vh;
  width: 356px;
  border-left: 1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2;
  display: none;
}
.thread_info.closed {
  width: 0;
}

.custom_scroll::-webkit-scrollbar {
  /* 1 - скроллбар */
  width: 0;
  height: 0;
}
.custom_scroll::-webkit-scrollbar-button {
  /* 2 - кнопка */ }
.custom_scroll::-webkit-scrollbar-track {
  /* 3 - трек */ }
.custom_scroll::-webkit-scrollbar-track-piece {
  /* 4 - видимая часть трека */ }
.custom_scroll::-webkit-scrollbar-thumb {
  /* 5 - ползунок */
  border-radius: 2px;
  background-color: #d1d1d1; }
.custom_scroll::-webkit-scrollbar-corner {
  /* 6 - уголок */ }
.custom_scroll::-webkit-resizer {
  /* 7 - изменение размеров */ }

.inbox_msg {
  #border: 1px solid #e2e2e2;
  clear: both;
  overflow: hidden;
  display: flex;
}

.recent_heading {
  float: left;
}

.srch_bar {
  display: inline-block;
  float: right;
}

.search-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  font-size: 18px;
  box-sizing: content-box;
  margin-right: 10px;
}
.search-button:hover, .search-button:focus {
  outline: none;
}

.filter-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  font-size: 18px;
  margin: 15px 10px 0 0;
  box-sizing: content-box;
}
.filter-button:hover, .filter-button:focus {
  outline: none;
}
.filter-button.open {
  color: #1620e2;
}

.headind_srch {
  border-bottom: 1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2;
  position: fixed;
  background: #f6f6f6;
  z-index: 1;
  width: 356px;
  height: 54px;
}

.recent_heading h4 {
  color: #4249D4;
  font-size: 21px;
  margin: auto;
}

.filter-group {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 53px;
  background: #fff;
  padding: 14px 12px;
}

.filter-group button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: 12px;
  cursor: pointer;
}

.filter-group span {
  font-size: 16px;
  margin-left: 5px;
}

.filters {
  display: none;
  position: absolute;
  top: 53px;
  left: 0;
  width: 100%;
  /*height: 88px;*/
  background: #fff;
  z-index: 1;
}

.request-tabs {
  display: none;
  position: absolute;
  top: 54px;
  left: 0;
  width: 100%;
  background: #fff;
}
.request-tab {
  flex: 1;
  padding: 10px;
  width: 177.5px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}
.request-tab-request {

}
.request-tab.active {
  color: #1620e2;
  border-bottom: 1px solid #1620e2;
}

.switch-filter {
  padding: 20px 5px 20px 15px;
  height: 68px;
  border-bottom: 1px solid #e0e0e0;
}

.switch-filter .switch .label-text:before {
  content: none;
}

.switch-filter .label {
  float: left;
  font-size: 14px;
}

.switch-filter .switch {
  float: right;
}
.inbox-header {
  text-transform: uppercase;
  color: #8a8585;
  padding: 10px 9px;
  height: 42px;
  font-size: 12px;
}

.label-item {
  text-transform: uppercase;
  padding: 10px 9px;
  height: 42px;
  font-size: 12px;
}

.label-item {
  cursor: pointer;
}

.label-item.selected {
  background: #f6f6f6;
}

.label-item .icon-check {
  display: none;
}

.label-item.selected  .icon-check {
  display: block;
  float: right;
  padding-top: 4px;
}

.label-item span.all {
  border: 1px solid;
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: bold;
  color: #1620e2;
}

.label-item span {
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: bold;
  color: #fff;
}

.inbox-overlay {
  display: none;
  position: absolute;
  background: rgba(117, 117, 117, 0.4);
  top: 0;
  left: 0;
  width: 356px;
  height: 100%;
}

.search-input-group {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 53px;
  background: #fff;
  padding: 14px 12px;
}

.srch_bar input {
  border: none;
  width: 100%;
  padding: 2px 30px 4px 6px;
  background: none;
  font-size: 14px;
}
.srch_bar input:focus {
  outline: none;
}

.srch_bar .input-group-addon button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: 14px;
  cursor: pointer;
}
.srch_bar .input-group-addon button:focus {
  outline: none;
}
.srch_bar .input-group-addon {
  margin: 0 0 0 -27px;
}

.chat_ib h5 {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  margin: 0;
}

.chat_ib h5 time {
  font-size: 10px;
  float: right;
  font-weight: normal;
  color: #696969;
}

.chat_ib p {
  font-size: 14px;
  color: #696969;
  margin: auto
}

.chat_ib a:not(.more) {
  cursor: default;
  pointer-events: none;
}

.chat_img {
  float: left;
  width: 14%;
  padding-top: 6px;
  position: relative;
}

@media only screen and (min-width: 1280px) {
  .chat_img {
    width: 42px;
  }
}

.chat_ib {
  float: right;
  padding: 0 0 0 15px;
  width: 86%;
}

.chat_ib .text {
  float: left;
  max-width: 90%;
  font-size: 13px;
  line-height: 15px;
}

.chat_ib .unread-count {
  padding: 3px 7px 2px 7px;
  text-align: center;
  color: #fff;
  background: #474bda;
  font-size: 11px;
  margin-left: auto;
  border-radius: 100px;
  float: right;
}

.chat_people {
  overflow: hidden;
  clear: both;
}

.chat_list {
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 6px 10px 10px 10px;
  min-height: 68px;
}

.chat_list:not(.active_chat):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 80%;
  border-bottom: 1px solid #e0e0e0;
}

.unread_list {
  background-color: #f6f6f6;
}

.inbox_chat, .pending_inbox_chat {
  overflow-y: auto;
  padding-top: 54px;
}
.inbox_chat.request, .pending_inbox_chat.request {
  padding-top: 96px;
}
.pending_inbox_chat {
  display: none;
  padding-bottom: 57px;
}

.active_chat {
  background: #474bda;
}
.active_chat .chat_ib p, .active_chat .chat_ib a, .active_chat h5, .active_chat .chat_ib h5 time {
  color: #fff;
}

.incoming_msg_img {
  display: inline-block;
  width: 44px;
  vertical-align: bottom;
  padding-bottom: 20px;
}

.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  max-width: 92%;
}

.received_withd_msg p {
  border: 1px solid #e0e0e0;
  border-radius: 10px 10px 10px 3px;
  color: #000;
  font-size: 14px;
  margin: 0;
  padding: 15px 20px 15px 22px;
  width: 100%;
}

.time_date {
  color: #747474;
  display: block;
  font-size: 10px;
  margin: 8px 0 0;
}

.received_withd_msg {
  /*max-width: 66%;*/
  min-width: 157px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mesgs {
  position: relative;
  overflow: auto;
  height: 100vh;
  flex: 1;
}
.sent_msg p {
  background: #474bda none repeat scroll 0 0;
  border-radius: 10px 10px 3px 10px;
  color: #FFFFFF;
  font-size: 14px;
  margin: 0;
  padding: 15px 20px 15px 22px;
  width: 100%;
  word-break: break-word;
}

.sent_msg .service_text {
  font-size: 14px;
  padding-right: 5px;
  border-right: 3px solid #999999;
  color: #999999;
  margin-bottom: 0.4rem;
  text-align: right;
}

.received_msg .service_text {
  border-left: 3px solid #999999;
  padding-left: 5px;
  color: #999999;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.service_text_preview_block img {
  border-radius: 10px;
  max-height: 200px;
}

.service_text_preview_description {
  float: right;
  padding-left: 10px;
}

.service_text_media {
  display: flex;
  align-items: center;
}

.service_text_preview_description .icon-timezone-target {
  font-size: 30px;
}

.service_text_preview_description_text {
  margin-top: 10px;
  max-width: 78px;
}

.outgoing_msg {
  overflow: hidden;
  margin: 5px 0;
}

.incoming_msg {
  margin: 5px 0;
}

.sent_msg {
  float: right;
  min-width: 165px;
  max-width: 66%;
}

.sent_msg a {
  color:#fff;
}

.input_msg_write textarea {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.input_msg_write textarea:focus {
  outline: none;
}

.quick_reply_wrapper {
  margin-bottom: 10px;
  margin-right: 5px;
  padding: 5px 15px;
  border: 1px solid #e0e0e0;
  background-color: #FFFFFF;
  border-radius: 22px;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
}
.quick_reply_wrapper:hover {
  box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
  border-color: transparent;
}

.hidden_replies_active .quick_reply_wrapper:nth-child(n+3) {
  display: none;
}

.quick_reply_wrapper .quick_reply {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg_history {
  display: none;
  overflow-y: auto;
  padding: 54px 15px 0 15px;
  min-height: calc(100% - 120px);
}
.msg_history.request {
  margin-bottom: 143px;
}
.msg_history.active {
  display: block;
}

.inbox_chat .load-more, .pending_inbox_chat .load-more {
  text-align: center;
  border-bottom: 1px solid #e2e2e2;
  border-top: 1px solid #e2e2e2;
  margin: 0;
  padding: 16px 10px;
  background-color: #f6f6f6;
  color: #474bda;
  font-size: 14px;
}
.inbox_chat .load-more .chat_ib, .pending_inbox_chat .load-more .chat_ib {
  width: 100%;
  padding: 0;
}

.more {
  color: #474bda;
}

.msg_history .load-more {
  cursor: pointer;
  text-align: center;
  padding: 10px;
  margin: 7px;
}
.more-div {
  font-size: 14px;
}
.messages-more {
  background: #f3f3f3 none repeat scroll 0 0;
  border-radius: 22px;
  padding: 5px 37px;
  color: #474bda;
  font-size: 12px;
}
.more-img {
  display: none;
}
.messages-more.loading {
  background: none;
}
.messages-more.loading .more-img {
  display: inherit;
  width: 20px;
  height: 20px;
}

.thread-more-img {
  display: none;
}

.load-more.loading .thread-more-img {
  display: inherit;
  width: 23px;
  height: 23px;
}
.load-more.loading .more span {
  display: none;
}

.msg_header {
  padding: 6px 15px;
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  left: 0;
  background: #f6f6f6;
  z-index: 1;
  width: 100%;
  height: 54px;
  display: flex;
}

.msg_header .chat_img {
  padding: 0;
  width: 42px !important;
}

.msg_header h5 {
  margin: 0;
  padding: 10px;
  font-size: 14px;
}

.profile-info-button {
  margin-left: auto;
  cursor: pointer;
  padding: 10px 0;
}
.profile-info-button.closed i {
  transform: scale(-1, 1);
}

.thread_info_header, .quick_replies_header {
  padding: 6px 15px;
  border-bottom: 1px solid #e2e2e2;
  height: 54px;
  background: #f6f6f6;
  display: flex;
}

.quick_replies_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.quick_replies_form {
  padding: 0 15px;
}

.quick_replies_form .hint-block {
  flex-basis: 100%;
  margin-top: 15px;
  font-size: 12px;
  color: #696969;
}

.quick_replies_form .input {
  flex-wrap: wrap;
  margin-top: 55px;
}

.quick_replies_form .btn {
  height: 30px;
  background-color: #f6f6f6;
  border-color: #f6f6f6;
  font-size: 12px;
}

.quick_replies_form .submit-button {
  margin-top: 20px;
}

.quick_replies_form .btn .icon-check {
  font-size: 8px;
  margin-right: 5px;
  transition-duration: 0s;
}

.quick_replies_form .input textarea{
  font-weight: 400;
  min-height: 105px;
  padding-top: 10px;
}

.quick_replies_form .input.is-active .placeholder {
  color: #949393;
  transform: translate(-12px, calc(-75px / 2)) scale(0.8);
}

.control_button {
  cursor: pointer;
  color: #000000;
  padding: 0;
}

.thread_info .chat_img {
  width: 50px !important;
}

.thread_info .profile_title {
  display: none;
  margin: 0;
  padding: 10px 0;
  font-size: 14px;
}

.quick_replies_block {
  position: relative;
}

.quick_replies_wrapper {
  overflow-x: auto;
  overflow-y: initial;
  display: flex;
}
.quick_replies_block .hidden_replies {
  padding: 5px 15px;
  background-color: #f6f6f6;
  border-radius: 22px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  display: none;
}

.quick_replies_block.hidden_replies_active .hidden_replies {
  display: block;
}

.quick_replies {
  display: flex;
}

.new_quick_reply_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  height: 100%;
  padding: 0 25px;
}
.new_quick_reply_img {
  width: 85px;
  margin-bottom: 25px;
  margin-right: 10px;
}
.new_quick_reply_head {
  font-size: 23px;
  font-weight: 500;
  margin: 0;
}
.new_quick_reply_description {
  font-size: 14px;
}

.new_quick_reply {
  display: flex;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  color: #474bda;
}

.new_quick_reply i {
  margin-right: 5px;
  font-size: 20px;
}

.quick_replies_list .quick_replies_title {
  margin: 0;
  padding: 10px 0;
  font-size: 14px;
}

.quick_replies_list {
  position: relative;
}

.quick_replies_list .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  opacity: 0.8;
  background-color: #FFF;
  display: none;
}

.quick_replies_list.sending .loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick_replies_list.sending .loading-overlay img {
  width: 100px;
}

.quick_replies_title {
  display: flex;
}

.quick_replies_title i{
  margin-right: 10px;
}

.reply_row_wrapper {
  padding: 0 20px;
  position: relative;
}

.reply_row_wrapper:hover {
  background-color: #f8f8f8;
}

.reply_row_wrapper:hover::before {
  left: 0;
  width: 100%;
}

.reply_row_wrapper::before {
  content: "";
  width: calc(100% - 40px);
  height: 1px;
  background-color: #f5f5f5;
  display: block;
  position: absolute;
  bottom: 0;
  left: 20px;
}

.reply_row_wrapper:hover .reply_shortcut label {
  display: initial;
}

.reply_row {
  display: flex;
  align-items: center;
  height: 80px;
}

.reply_data {
  flex-grow: 1;
  flex-shrink: 1;
  width: 0;
  padding-right: 10px;
  white-space: nowrap;
}

.reply_data .reply_message {
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.reply_data .reply_shortcut {
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #696969;
}

.reply_data .reply_shortcut label {
  display: none;
  color: #d8d8d8;
}

.reply_actions {
  flex-basis: 40px;
  flex-shrink: 0;
  flex-grow: 0;
  justify-content: space-between;
  display: flex;
}

.reply_actions a {
  font-size: 11px;
  color: #474bda;
}

.instagram_profile {
  padding: 14px 15px;
  border-bottom: 1px solid #e2e2e2;
  min-height: 80px;
  font-size: 14px;
}

.labels {
  padding: 6px 15px;
  border-bottom: 1px solid #e2e2e2;
  font-size: 14px;
}

.lfloat {
  float: left;
}

.rfloat {
  float: right;
}

.msg_div {
  display: none;
  position: sticky;
  bottom: 0;
  width: 100%;
  background: rgba(255,255,255,0);
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(250,250,250,1) 60%, rgba(255,255,255,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(60%, rgba(250,250,250,1)), color-stop(100%, rgba(255,255,255,1)));
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(250,250,250,1) 60%, rgba(255,255,255,1) 100%);
  background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(250,250,250,1) 60%, rgba(255,255,255,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(250,250,250,1) 60%, rgba(255,255,255,1) 100%);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(250,250,250,1) 60%, rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
  padding: 10px 15px 15px 15px;
}
.msg_div.request {
  padding: 0;
}
.request_message {
  display: none;
  text-align: center;
  font-size: 12px;
  padding: 25px;
  background: #f6f6f6;
  color: #696969;
}
.request_buttons {
  display: none;
  width:100%;
  text-align:center;
  padding: 18px;
  font-weight: bold;
  font-size: 14px;
}
.request_buttons div {
  cursor: pointer;
}
.button_block {
  float:left;
  width:100px;
  height: 20px;
  color: #e06872;
}
.button_delete {
  display: inline-block;
  margin:0 auto;
  width:100px;
  height: 20px;
  color: #e06872;
}
.button_accept {
  float:right;
  width:100px;
  height: 20px;
}
.pending_delete_all {
  display: none;
  position: absolute;
  bottom: 0;
  background: white;
  width: 354px;
  text-align: center;
  padding: 18px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}
.msg_div.request .request_message,.msg_div.request .request_buttons {
  display: block;
}
.msg_div.request .type_msg {
  display: none;
}

.type_msg {
  background: #f6f6f6;
  vertical-align: baseline;
  border: 0 solid #000;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  -webkit-box-align: center;
  align-items: center;
  border-radius: 22px;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  min-height: 44px;
  padding-left: 11px;
  padding-right: 8px;
}
.text-block {
  font: inherit;
  vertical-align: baseline;
  -webkit-box-align: stretch;
  align-items: stretch;
  border: 0 solid #000;
  box-sizing: border-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  margin: 0;
  padding: 0;
  position: relative;
  -webkit-align-content: stretch;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  margin-right: 4px;
}
.msg-textarea {
  line-height: 18px;
  background-color: transparent;
  border: 0;
  overflow: auto;
  padding: 8px 20px;
  margin: 8px 0;
  resize: none;
  height: 36px;
  font-size: 14px;
}
.msg-textarea:focus,
.msg_send_btn:focus,
.qr_add_btn:focus,
.control_button:focus,
.img_add_btn:focus,
.new_quick_reply:focus,
.inbox_people-button:focus,
.mesgs-button:focus,
.profile-info-button:focus {
  outline: none;
}

.msg-textarea,
.msg_send_btn,
.qr_add_btn,
.img_add_btn,
.control_button,
.new_quick_reply,
.inbox_people-button,
.mesgs-button,
.profile-info-button {
  border: none;
  background: none;
}

.button-block {
  vertical-align: baseline;
  -webkit-box-align: stretch;
  align-items: stretch;
  border: 0 solid #000;
  box-sizing: border-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  position: relative;
  margin-right: 8px;
}

.qr_add_btn {
  line-height: 18px;
  -webkit-appearance: none;
  background: 0 0;
  box-sizing: border-box;
  font-weight: 600;
  text-align: center;
  text-transform: inherit;
  text-overflow: ellipsis;
  user-select: none;
  border: 0;
  display: inline;
  padding: 0;
  position: relative;
  background: url(/images/quick_replies_ico.svg) no-repeat;
  width: 22px;
  height: 20px;
  margin-top: 0;
  margin-right: 9px;
  cursor: pointer;
}
.img_add_btn {
  line-height: 18px;
  -webkit-appearance: none;
  background: 0 0;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  text-transform: inherit;
  text-overflow: ellipsis;
  user-select: none;
  border: 0;
  display: inline;
  padding: 0;
  position: relative;
  background: url(/images/attach_files_ico.svg) no-repeat;
  width: 22px;
  height: 20px;
  margin-top: 0;
  margin-right: 12px;
  cursor: pointer;
}
.msg_send_btn {
  line-height: 18px;
  -webkit-appearance: none;
  background: 0 0;
  box-sizing: border-box;
  font-weight: 600;
  text-align: center;
  text-transform: inherit;
  text-overflow: ellipsis;
  user-select: none;
  border: 0;
  display: inline;
  padding: 0;
  position: relative;
  background: url(/images/message.svg) no-repeat;
  width: 26px;
  height: 26px;
  margin-top: 7px;
  margin-right: 9px;
}
.msg_send_btn.active {
  cursor: pointer;
  background: url(/images/message-active.svg) no-repeat;
}

.unsend-item {
  display: none;
  margin-right: 6px;
}
.remove-item {
  color: #474bda !important;
}
.outgoing_msg .time_date {
  text-align: right;
}

.outgoing_msg .sent_msg:hover .unsend-item {
  display: inline-block;
}

.highlight_msg {
  background: #f6f6f6;
  padding: 10px
}

.highlight_search {
  font-weight: bold;
}

.chat_list.active_chat .highlight_search {
  background: none;
}

.clearfix {
  clear: both;
}

.bio {
  padding: 10px 0;
}

.label {
  display: inline-block;
}

.label-button {
  align-items: center;
  border: none;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  font-weight: 500;
  font-size: 12px;
  justify-content: center;
  margin-bottom: 6px;
  margin-right: 6px;
  padding: 4px 12px;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  position: relative;
}

.label-button:hover .icon-cancel, .label-button:hover .icon-edit {
  display: block !important;
  position: absolute;
}

.label-button .icon-cancel, .label-button .icon-edit {
  display: none;
  z-index: 3;
  font-size: 12px;
}

.label-button:hover .icon-cancel {
  display: block !important;
  position: absolute;
  right: 5px;
  top: 6px;
}

.label-button:hover .icon-edit {
  display: block !important;
  position: absolute;
  left: 5px;
  top: 6px;
}

.label-button .blur {
  display: none;
  filter: blur(5px);
  height: 17px;
  width: 23px;
  right: 0;
  top: 6px;
  z-index: 2;
}

.label-button .blur-edit {
  display: none;
  filter: blur(5px);
  height: 17px;
  width: 23px;
  left: 0;
  top: 6px;
  z-index: 2;
}

.label-button:hover .blur {
  display: block !important;
  position: absolute;
  right: 3px;
}


.label-button:hover .blur-edit {
  display: block !important;
  position: absolute;
  left: 3px;
}

.add-label-button {
  align-items: center;
  background-color: #f6f6f6;
  border-radius: 7px;
  color: #474bda !important;
  display: flex;
  flex-direction: row;
  font-weight: normal;
  justify-content: center;
  margin-bottom: 6px;
  margin-right: 6px;
  padding: 6px;
  cursor: pointer;
  border: 1px solid #e2e2e2;
  font-size: 12px;
}

.add-label-button i {
  font-size: 10px;
  margin-right: 3px;
}

.add-label-input {
  width: 100%;
}

.add-label {
  padding: 6px 8px;
  background: #f6f6f6;
  border: none;
  width: 140px;
  border-radius: 6px;
}

.label-color {
  border-radius: 50%;
  height: 12px;
  margin-right: 4px;
  width: 12px;
}

.label-list {
  padding-top: 10px;
}

.label-search-button {
  align-items: center;
  border: none;
  border-radius: 4px;
  color: #444950;
  display: flex;
  flex-direction: row;
  font-weight: normal;
  margin-bottom: 6px;
  margin-right: 6px;
  padding: 6px;
  cursor: pointer;
}

.label_list {
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 3px 0px 3px 20px;
}

.label_list:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 80%;
  border-bottom: 1px solid #e0e0e0;
}

.search-label {
  text-transform: uppercase;
  color: #8a8585;
  padding: 10px 9px;
  height: 42px;
  font-size: 12px;
}

.user-label-list {
  position: relative;
  margin: 0;
  padding: 3px 0 3px 0;
}

.user-label {
  display: inline-block;
  float: left;
  font-size: 10px;
  padding-top: 4px;
}

.user-label-button {
  align-items: center;
  background-color: rgba(233,235,238,.7);
  border: none;
  border-radius: 4px;
  color: #444950;
  display: flex;
  flex-direction: row;
  font-weight: normal;
  justify-content: center;
  margin-bottom: 6px;
  margin-right: 6px;
  padding: 6px;
}

.user-label-color {
  border-radius: 50%;
  height: 12px;
  margin-right: 4px;
  width: 12px;
}

.thread-list-label {
  text-transform: uppercase;
  background-color: #5291ff;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 12px;
  border-radius: 5px;
  padding: 0 4px;
  margin-right: 3px;
}

.details {
}


.instagram_profile ul {
  list-style: none;
  padding: 10px 0;
}
.instagram_profile ul li {
  padding-bottom: 5px;
  word-break: break-word;
}

.instagram_profile ul label {
  min-width: 86px;
}
.instagram_profile ul input {
  width: 220px;
  border: none;
  background: #f6f6f6;
  padding: 4px 8px;
  border-radius: 5px;
}

.profile-btn {
  font-size: 12px;
  color: #222222;
  font-weight: bold;
  line-height: 100%;
  height: 26px;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 7px;
  border: 2px solid #f6f6f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: ease all .3s;
  background: transparent;
  cursor: pointer;
}
.edit_profile, .cancel-profile, .cancel-note, .cancel-label, .add_note, .delete_note, .view_profile {
  cursor: pointer;
  color: #474bda !important;
  font-size: 12px;
}

.edit_profile i, .cancel-profile i, .cancel-note i, .cancel-label i, .view_profile i, .add_note i, .delete_note i {
  padding-right: 5px;
}

.cancel-profile i, .cancel-note i, .cancel-label i {
  font-size: 10px;
}
.cancel-label {
  display: none;
}

.note-form textarea {
  width: 100%;
  height: 84px;
  border: none;
  background: #f6f6f6;
  border-radius: 5px;
  margin: 8px 0;
  padding: 8px;
}

.profile-note {
  padding:  14px 0;
  font-size: 12px;
}

.profile-note p {
  padding: 5px 0;
  font-size: 14px;
  word-break: break-word;
}

.account-color {
  display: none;
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  height: 16px;
  width: 16px;
  right: 5%;
  bottom: 5%;
}

.account-avatar {
  display: none;
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  height: 20px;
  width: 20px;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.filter-labels {
  padding-left: 7px;
  padding-bottom: 10px;
  overflow-y: auto;
  max-height: 300px;
}

.profile-form {
  font-size: 12px;
  font-weight: 500;
}

.cancel-profile, .cancel-note {
  display: none;
}

.form-footer {
  text-align: left;
}

.profile-btn i {
  padding-right: 5px;
  color: #1620e2;
}

.color-select {
  width: 63px !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 7px !important;
  background: #f6f6f6 !important;
}

.color-select .selected-option {
  border-bottom: none !important;
}

.account-select .custom-select .selected-option {
  height: 40px;
}

.color-select .option-item {
  padding: 12px !important;
}

.color-select .option-item div {
  width: 21px;
  margin: -3px;
  height: 21px;
}

.added-labels-select {
  width: 125px !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 7px !important;
  background: #f6f6f6 !important;
}

.added-labels-select .option-item {
  padding: 5px 10px !important;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: bold !important;
}

.added-labels-select .new-item i {
  font-size: 14px;
  float: left;
  margin-top: 3px;
  padding-right: 7px;
}
.added-labels-select .new-item {
  color: #1620e2 !important;
  font-weight: normal !important;
}

.added-labels-select i {
  font-size: 10px;
}

.added-labels-select .text-value {
  font-size: 12px !important;
}

.added-labels-select .selected-option {
  border-bottom: none !important;
}

.added-labels-select .thread-list-label {
  float: left;
}

.added-labels-select  .icon-cancel {
  color: #1620e2 !important;
}

.label-name {
  float: left;
  text-overflow: ellipsis;
  width: 66px;
  overflow: hidden;
}

.remove-label {
  float: right;
}

img.joypixels {
  width: 24px;
}

.outgoing_msg > .sent_msg img.media_preview,
.incoming_msg .received_withd_msg img.media_preview,
.outgoing_msg > .sent_msg video,
.incoming_msg .received_withd_msg video
{
  max-height: 500px;
  max-width: 60%;
  border-radius: 20px;
  border-color: #dfdfdf;
  border-width: 1px;
  border-style: solid;
  outline:none;
}

.text_align_right {
  text-align: right;
}

.posting .account-select {
  flex-wrap: unset !important;
}

.posting .account-select .selected-option-text {
  max-width: 185px !important;
}

.connection-status {
  position: fixed;
  z-index: 4;
  width: 100%;
  background-color: #3f4044;
  height: 43px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.inbox_msg.connection {
  /* padding-top: 43px; */
}

.connection-status.connecting .status-color {
  background-color: orange;
}
.connection-status.offline .status-color {
  background-color: #f45f63;
}
.connection-status.online .status-color {
  background-color: rgb(41, 144, 87);
}

.connection-text {
  display: none;
}

.connection-status.connecting .connection-text.connecting {
  color: orange;
  display: block;
}
.connection-status.offline .connection-text.offline {
  color: #f45f63;
  display: block;
}
.connection-status.online .connection-text.online {
  color: rgb(41, 144, 87);
  display: block;
}


.status-color {
  float: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 19px 5px 0 5px;
}

.connection-title {
  float: left;
  padding-top: 10px;
}
.connection-title i {
  float: left;
  padding-top: 5px;
  padding-right: 8px;
}
.connection-title div {
  float: left;
}

.connection-text {
  float: left;
  padding-top: 10px;
}

.connection-text.connecting, .connection-text.offline, .connection-text.online {
  background: none;
}


.connection-status .inside {
  width: 300px;
  margin: 0 auto;
}

.connection-status.offline  .inside {
  width: 400px;
}

.reconnect {
  display: none;
  float: left;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 5px;
  background: #fff;
  color: #3f4044;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin-left: 10px;
}
.connection-status.offline  .reconnect {
  display: block;
}

.connection-loading:after {
  content: ' .';
  animation: dots 1s steps(5, end) infinite;}

@keyframes dots {
  0%, 20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0),
    .5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: orange;
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0),
    .5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: .25em 0 0 orange,
    .5em 0 0 rgba(0, 0, 0, 0);
  }
  80%, 100% {
    text-shadow: .25em 0 0 orange,
    .5em 0 0 orange;
  }
}

.btn-disabled {
  opacity: .6;
  cursor: not-allowed !important;
}

.link {
  max-width: 280px;
}
.link a {
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 230px;
}
.link-title {
  font-weight: bold;
  font-size: 12px;
  color: rgb(38, 38, 38);
}
.outgoing_msg .link-title {
  color: #fff;
}
.link-summary {
  font-size: 12px;
  color: #999;
}

.inbox_people-button, .mesgs-button {
  display: none;
  padding: 0;
  margin-right: 30px;
}

.profile_img {
  width: 80px !important;
}

.profile_img img {
  max-width: 100%;
  border-radius: 50%;
}

.instagram_profile_info {
  font-size: 14px;
  margin-left: 30px;
}

.instagram_avatar {
  padding: 14px 15px;
  background-color: #f6f6f6;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .thread_info.mobile_hidden,
  .inbox_people.mobile_hidden,
  .mesgs.mobile_hidden,
  .quick_replies_list.mobile_hidden {
    display: none !important;
  }

  .mesgs,
  .thread_info,
  .headind_srch,
  .inbox_people,
  .inbox-overlay,
  .quick_replies_list {
    width: 100%;
  }

  .inbox_people-button,
  .mesgs-button {
    display: block;
  }

  .headind_srch .posting .account-select {
    margin: 0;
    margin-left: 10px;
  }

  .msg_header,
  .headind_srch,
  .account-select,
  .thread_info_header,
  .quick_replies_header {
    background-color: #ffffff !important;
  }

  .msg_history {
    min-height: calc(100% - 120px);
  }
}

@media (max-width: 1024px) and (min-width: 700px) {
  .account-avatar {
    height: 30px;
    width: 30px;
  }
  .account-color {
    height: 25px;
    width: 25px;
  }
}
