#userMessages {
  position: relative;
}

.bdod_messaging {
  position: relative;
}
.bdod_messaging .messaging-count {
  background: #FF6633;
  color: #fff;
  border-radius: 0.2rem;
  padding: 0.25rem;
  font-size: 0.75rem;
  margin-left: 0.55rem;
}

#messaging-box {
  background-color: #fff;
  width: 20.05rem;
  max-height: 30.25rem;
  overflow: scroll;
  padding-top: 1.5rem;
  box-shadow: 0px 10px 30px #000;
  position: absolute;
  right: 0;
  top: 3rem;
  z-index: 500;
}
#messaging-box .message-nav {
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}
#messaging-box .message-nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  margin: 0;
}
#messaging-box .message-nav ul li {
  text-align: center;
  border-bottom: 2px solid #9B9B9B;
  width: 33.333%;
  font-size: 0.875rem;
  font-weight: 700;
  transition: 0.5s all;
  cursor: pointer;
}
#messaging-box .message-nav ul li.active, #messaging-box .message-nav ul li:hover {
  border-bottom-color: #000;
}
#messaging-box .conversation-wrapper,
#messaging-box .user-select {
  padding: 0 1.5rem 1.5rem;
}
#messaging-box #messages {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: hidden;
}
#messaging-box .message-item {
  min-height: 6.875rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #D7D7D7;
  padding: 1.25rem 0;
}
#messaging-box .message-item:last-of-type {
  border-bottom: none;
}
#messaging-box .message-item:first-of-type {
  padding-top: 0.25rem;
}
#messaging-box .message-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
}
#messaging-box .message-item .message-meta {
  font-size: 10px;
  color: #9B9B9B;
  font-weight: 400;
}
#messaging-box .message-item .message-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
#messaging-box .message-item .message-link a {
  border-bottom: none;
  color: #000;
}
#messaging-box .message-existing-contents {
  height: 20rem;
}
#messaging-box .message-existing-contents.empty {
  height: 3rem;
}
#messaging-box .message-existing-contents.no-user {
  height: 5rem;
}
#messaging-box .message-send-contents-wrapper {
  background-color: #e7e7e7;
  padding: 0.625rem;
}
#messaging-box .message-send-contents-wrapper .message-send-contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
#messaging-box .message-send-contents-wrapper .message-send-contents textarea {
  width: 100%;
  background-color: #fff;
  border-radius: 0.25rem;
  border: 1px solid #D7D7D7;
}
#messaging-box .message-send-contents-wrapper .message-send-contents i {
  font-size: 1.25rem;
  text-align: center;
  margin-left: 0.8rem;
}
#messaging-box .no-messages {
  background-color: #F3F3F3;
  border-radius: 0.25rem;
  padding: 0.55rem;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
#messaging-box .user-invite {
  padding: 0.55rem;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
}
#messaging-box .user-invite a {
  background-color: #FF6633;
  color: #fff;
  font-weight: 500;
  text-align: center;
  padding: 0.55rem;
  font-weight: 600;
}

.message-bubble-wrapper {
  margin-bottom: 1.35rem;
}
.message-bubble-wrapper:last-of-type {
  margin-bottom: 0.55rem;
}
.message-bubble-wrapper p {
  margin-bottom: 0;
}
.message-bubble-wrapper h5 {
  font-size: 0.875rem;
  font-weight: 700;
}
.message-bubble-wrapper .meta {
  font-size: 10px;
  color: #9B9B9B;
  font-weight: 400;
}
.message-bubble-wrapper .message-bubble {
  border-radius: 0.25rem;
  background-color: #F3F3F3;
  padding: 0.45rem 0.5rem;
  margin: 0.5rem 1.94rem 0 0;
}
.message-bubble-wrapper.sent h5,
.message-bubble-wrapper.sent .meta {
  text-align: right;
}
.message-bubble-wrapper.sent .message-bubble {
  background-color: rgba(18, 129, 179, 0.2);
  margin: 0.5rem 0 0 1.94rem;
}