/* Light mode */
/* Dark mode */
.hide-message-container {
  /** need to use a specific hide styles to force the margins to 0px! */
  display: none !important;
  margin-top: 0px !important;
}

.messages-container {
  width: 560px;
}

.message-filters__img svg {
  width: 2rem;
  height: 2rem;
}
.message-filters .custom-control-label::before, .message-filters .custom-control-label::after {
  cursor: pointer;
}

.messages .thread {
  margin-top: 14px;
}

.messages .thread .account, .messages .impact {
  font-weight: 600;
  color: #777;
}

.messages .created-by {
  font-weight: bold;
  padding-right: 4px;
}

.messages .status-at,
.messages .created-at {
  color: #ADADAD;
}

.messages .subject {
  font-weight: normal;
}

.messages .subject img {
  padding-left: 4px;
  vertical-align: bottom;
}

.messages img.avatar {
  float: left;
  margin-top: 2px;
  border-radius: 2px;
}

.messages div.message-content {
  margin-left: 58px;
}

.messages .status-only-reply {
  color: #444;
  padding: 3px 0px;
}

span.select2-chosen img {
  margin-bottom: 2px;
}

.messages div.reply-content {
  margin-left: 43px;
}

.messages ul.replies {
  list-style-type: none;
}

.messages p.body {
  margin: 0;
  line-height: 1.4em;
}

.message_form {
  border-radius: 2px;
}

.message_form div.msg-opt {
  padding: 5px 10px 0px 0px;
}

.reply_form div.msg-opt {
  padding: 5px 0px;
}

.reply_form button, .message_form button {
  float: right;
}

.blockedHeight {
  height: 180px;
}

div.message_list {
  display: flex;
  flex-direction: column;
}

div.message_list div.thread {
  transition: order 1s;
}

div.collapse div.messages div.message_list {
  max-height: 500px;
  overflow: scroll;
}

.reply_form {
  margin-left: 58px;
  border-radius: 0px 0px 2px 2px;
}

.reply_form.one-click {
  margin-left: 0px;
}

.reply_form textarea, .message_form textarea {
  padding: 3px 4px 3px 4px;
  color: #444444;
  border: 1px solid #BBBBBB;
  border-radius: 3px;
  line-height: 1.2em;
}

.message_form textarea {
  width: 100%;
}

ul.select2-results__options i[data-value=note]::before,
.select2-selection__rendered i[data-value=note]::before {
  content: "\f249";
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
}

ul.select2-results__options i[data-value=bpa]::before,
.select2-selection__rendered i[data-value=bpa]::before {
  content: "\f024";
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
}

.message_form i.fa-comment-medical,
.reply_form i.fa-comment-dots {
  font-size: 36px;
  color: #BBBBBB;
}

.reply_form textarea {
  width: 98%;
}

.messages ul.replies {
  padding-left: 53px;
  margin: 5px 0px 0px 5px;
}

.messages ul.replies li, .messages form.reply_form {
  margin-bottom: 3px;
  background-color: #EFEFEF;
  padding: 4px;
}

.message_form h4 {
  margin-bottom: 4px;
}

.message_form {
  margin-top: 20px;
  margin-bottom: 4px;
  background-color: #EFEFEF;
  padding: 6px 6px 0px 6px;
  clear: both;
}

.message_form p.group-choice {
  line-height: 1em;
  margin: 7px 0px 3px 4px;
}

.message_form div.select2-container {
  width: 250px !important;
}

.reply_form .select2-container {
  width: 200px;
}

.message_form .select2-inline span.select2.select2-container {
  display: inline-block;
  margin-left: 5px;
}

.message_form .form-group, .reply_form .form-group {
  margin-bottom: 5px;
}

textarea.placeholding {
  color: #777777;
}

#more_link {
  font-size: 1.1em;
  margin-top: 20px;
  margin-left: 15%;
}

/* jQuery Dialogs */
.ui-dialog {
  text-align: left;
  top: 75px;
}

.ui-dialog ul {
  list-style-type: none;
}

.ui-dialog li {
  margin-bottom: 0.7em;
}

ul.replies li.reveal {
  cursor: hand;
  cursor: pointer;
  border: solid 1px #efefef;
}

ul.replies li.reveal:hover {
  border: solid 1px #999;
}