
/* Compose Message Box */
.chat-box .chat-footer {
  padding: 0 10px 10px;
  margin-left: 16px;
  margin-bottom: 25px;
  position: absolute;
  left: 0;
  bottom: 1px;
  border-radius: 0 0 5px 0;
  width: calc(100% - 32px);
  background: #fff;
}

.chat-box .chat-footer .chat-input {
  width: 100%;
  float: left;
  background: #edf2f6;
  padding: 5px 15px 15px;
  border-radius: 10px;
  position: relative;
}

.chat-input:focus-within {
  background-color: #f3f3f3; /* Highlight color for the entire chat-input div when focused */
  border: 1px solid grey
}

.chat-input:focus-within .chat-action li {
  opacity: 1!important; /* Make the images fully visible when .chat-input is focused */
}

.chat-box .chat-footer .chat-input textarea {
/*.chat-box .chat-footer .chat-input .emojionearea {*/
  border: none;
  font-size: 12px;
  width: calc(100% - 100px);
  float: left;
  background: transparent;
  margin-bottom: 10px;
  resize: none;
}
/*.chat-box .chat-footer .chat-input textarea:focus {*/
.chat-box .chat-footer .chat-input .emojionearea:focus {
  outline: none;
}
/*.chat-box .chat-footer .chat-input textarea:focus ~ button.chat-btn {*/
.chat-box .chat-footer .chat-input .emojionearea.focused ~ button.chat-btn {
  -webkit-filter: grayscale(0%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}
.chat-box .chat-footer .chat-input ul.chat-action {
  margin: 0;
  padding: 5px 0 0;
  list-style: none;
  /*width: calc(100% - 100px);*/
  width: 100%;
  float: left;
}
.chat-box .chat-footer .chat-input ul.chat-action.chat-action-header {
  padding-top: 0;
  padding-bottom: 10px;
  float: none;
}
.chat-box .chat-footer .chat-input ul.chat-action li {
  display: inline-block;
  margin-right: 10px;
  opacity: 0.5;
}
.chat-box .chat-footer .chat-input ul.chat-action li a {
  display: block;
}
.chat-box .chat-footer .chat-input ul.chat-action li a img {
  width: 15px;
  height: 15px;
}
.chat-box .chat-footer .chat-input button.chat-btn {
  width: 60px;
  position: absolute;
  /*top: 110px;*/
  bottom: 50px;
  right: 25px;
  border-radius: 7px;
  padding: 6px 15px;
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  transition: all 0.5s ease;
}
.chat-box .chat-footer .chat-input button.chat-btn img {
  width: 20px;
  height: 20px;
}

.chat-box .chat-footer .chat-input .emojionearea {
  border: 0
}

.chat-box .chat-footer ul.chat-action > li button {
  border-radius: 25px!important;
}
.chat-box .chat-footer ul.chat-action > li div.select-picker {
  border-radius: 25px!important;
}
.chat-box .chat-footer ul.chat-action-footer li:first-child {
  margin-right: 0;
}
.chat-box .chat-footer ul.chat-action #template-dropdown-toggle {
  background-color: transparent !important;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}
.chat-box .chat-footer ul.chat-action #template-dropdown-toggle i.fa {
  font-size: 16px;
}
.chat-box .chat-footer ul.chat-action li.template-dropdown-container ul.dropdown-menu li {
  width: 100%;
}
.chat-box .chat-footer ul.chat-action li.template-dropdown-container ul.appointment-dropdown .label {
  display: inline-block;
}

.chat-box .chat-footer ul.chat-action li.template-dropdown-container ul.appointment-dropdown .appointment-details {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.chat-box .chat-footer ul.chat-action li.template-dropdown-container ul.appointment-dropdown .appt-time {
  font-style: italic;
  color: #777;
}

.chat-box .chat-footer ul.chat-action li.template-dropdown-container ul.appointment-dropdown .appt-confirmation {
  font-size: 0.8rem;
  color: #333;
}

/* Compose Message Options */

.chatV2Attachments .MultiFile-applied{
    display: none;
}

/* Member Listing */
.chat-member-main.todo-tasklist-item-border-green.selected-message span.arrow {
  right: -7px;
  border-left: 8px solid #1BBC9B;
  display: block;
  position: absolute;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-top: 25px;
}
.chat-member-main.todo-tasklist-item-border-red.selected-message span.arrow {
  right: -8px;
  border-left: 8px solid #F3565D;
  display: block;
  position: absolute;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-top: 25px;
}

.chat-member-main.selected-message {
  background-color: #e1f3f6 !important;
}

.membersPortlet #members-pane #members-list-v2 {
  max-height: none!important;}

div#characterCount {font-size: 12px;padding-top: 5px;}
div.communicationHistory .patientThreadSearch {
  width: 300px;
  margin-right: 10px;
}
i.toggleFiltersPanel {font-size: 16px}
