#div_messages {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

#div_messages .messageItem:first-of-type {
    margin-top: auto;
}

#div_messages .messageItem {
    flex-shrink: 0;
}

#div_messages .messageItem #editMessage{
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    width:100%;
}

#div_messages .messageItem #editMessage #editButtonsWrap {
    display: flex;
    margin-top: 10px;
    justify-content: flex-end;
    margin: 8px 0px 8px 0px;
}

#div_messages .messageItem .messageRow {
    justify-content: space-between;
    position: relative;
}


#div_messages .messageItem .reactions-container {
    padding-bottom: 16px;
}

#div_messages .messageItem .menu-icon-vertical-container {
    width: 15px;
    height: auto;
    min-height: 15px;
    margin-right:20px;
}


#div_messages .dailyMessage:hover {
    background-color: #f3f3f3;
}

#messsages_container {
    width: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

#messages_container .loader {
    height: 40px;
    min-height: 40px;
    width: 100%;
}

#messages-user-search-div {
  width: 100%;
  display: flex;
    flex-direction: column;
    min-height: 55px;
    flex-shrink: 0;
}

#messages-users-result {
  bottom: -13px;
  position: relative;
  box-sizing: border-box;
  margin: 0 9.5px;
  padding: 0;
  list-style-type: none;
  top: inherit;;
  z-index: 999;
  background: white;
  border: 1px solid #ebebeb;
  max-height: 368px;
  overflow-y: auto;
  min-height: 40px;
}

#messages-users-result li {
  padding: 6px;
  cursor: pointer;
}

#messages-users-result li:hover {
  background-color: #f2f2f2;
}

#messages-users-result li .profile-image {
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

#messages-users-result li .user-name {
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  margin-left: 2px;
  color: #06a9f6;
}
#messages-users-result li.selectedListItem > div {
    background-color: #D6F1FD;
}
#messages-user-search-div .messages_mentions_info {
    display: flex;
    margin: -6px;
    background-color: #ffffff;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    padding: 6px;
    cursor: pointer;
    border-bottom: 1px solid #ebebeb;
}
#messages-user-search-div .messages_mentions_info:hover {
    background-color: #f2f2f2;
}

#div_messages .messageItem .mention-normal {
    /*color: #1eb6f8;*/
    color: #000;
    font-weight: bold;
}
#div_messages .messageItem .mention-self {
    /*background-color: rgba(255,255,0,0.3);*/
    color: #000;
    font-weight: bold;
}


#messages_input_wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border-top: 1px solid #ebebeb;
    align-self: flex-end;
    position: relative;
    display:flex;
    flex-shrink: 0;
    height: auto;
    min-height: 60px;
}

#messages_input {
    padding: 7px;
    padding-right: 176px;
    width: 100% !important;
    box-sizing: border-box;
    font-size: 14px;
    font-weight:200;
    border: none;
    outline: none;
    line-height: 1.4;
    overflow-y: auto;
    max-height: 96px;
    white-space: pre-wrap;
}

#messages_input_wrap div.emojiPickerIcon {
    height: 35px!important;
    width: 36px!important;
    right: 69px;
    background-image: url(../images/emoji-icon.svg);
    background-size: 19px;
    background-position: center;
    background-repeat: no-repeat;
}

#messageTypingAnimation {
    width: 100%;
    height: 22px;
    position: absolute;
    bottom: 57px;
    left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#user-typing {
  margin: 8px auto;
  font-size: 12px;
  font-weight: 300;
  opacity: 1;
  padding-left: 34px;
  background-image: url(/app/images/typing-animation.gif);
  background-position: top left;
  background-size: 33px;
  background-repeat: no-repeat;
  color: #47494C;
}

#messages_extra_buttons {
    position: absolute;
    top: 14px;
    right: 18px;
}

#messages_autoField {
    background-image: url(../images/magicWand.svg);
    background-size: 19px;
    background-position: center;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    border: 0;
    cursor: pointer;
}

#messages_image {
    background-image: url(../images/photos.svg);
    background-size: 19px;
    background-position: center;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    border: 0;
    cursor: pointer;
}

#messages_image:hover:before {
    content: "Add a photo";
    display: block;
    width: 80px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: -24px;
    text-align: center;
    opacity: 0.8;
}

#messages_shareProduct {
  background-image: url(../images/productShare.svg);
  background-size: 19px;
  background-position: center;
  background-color: transparent;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  border: 0;
  cursor: pointer;
}

#messages_shareAppointment {
  background-image: url(../images/appointment.svg);
  background-size: 19px;
  background-position: center;
  background-color: transparent;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  border: 0;
  cursor: pointer;
}

#messages_addWOD {
  background-image: url(../images/wod.svg);
  background-size: 26px;
  background-position: center;
  background-color: transparent;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  border: 0;
  cursor: pointer;
}

#messages_shareProduct:hover:before {
    content: "Share product";
    display: block;
    width: 100px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: 14px;
    text-align: center;
    opacity: 0.8;
}

#messages_shareAppointment:hover:before {
    content: "Share appointment";
    display: block;
    width: 120px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: 14px;
    text-align: center;
    opacity: 0.8;
}

#messages_fileAttachment {
    background-image: url(../images/attach.svg);
    background-size: 19px;
    background-position: center;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    border: 0;
    cursor: pointer;
}

.message-productInfo .productDetailContainer {
  width: 400px;
  padding: 8px 16px 8px 8px;
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

.message-productInfo .imageContainer {
  width: 100px;
  height: 100px;
  margin-right: 12px;
  border: 1px solid #ebebeb;
}

.message-productInfo .titleText {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 280px;
  overflow: hidden;
}

.message-productInfo .descriptionText {
  color: #000;
  max-height: 66px;
  overflow: hidden;
  word-break: break-word;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.message-appointmentInfo .productDetailContainer {
  width: 400px;
  padding: 8px 16px 8px 8px;
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

.message-appointmentInfo .imageContainer {
  width: 100px;
  height: 100px;
  margin-right: 12px;
  border: 1px solid #ebebeb;
}

.message-appointmentInfo .titleText {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 280px;
  overflow: hidden;
}

.message-appointmentInfo .descriptionText {
  color: #000;
  max-height: 66px;
  overflow: hidden;
  word-break: break-word;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#messages_fileAttachment:hover:before {
    content: "Attach a file";
    display: block;
    width: 110px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: -20px;
    text-align: center;
    opacity: 0.8;
}

#messages_appearIn:hover:before {
    content: "Start a video call";
    display: block;
    width: 110px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: -20px;
    text-align: center;
    opacity: 0.8;
}
.emojiPickerIcon:hover:before {
    content: "Add an emoji";
    display: block;
    width: 80px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: -25px;
    text-align: center;
    opacity: 0.8;
}
#messages_autoField:hover:before {
    content: "Autofields";
    display: block;
    width: 80px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 35px;
    left: -25px;
    text-align: center;
    opacity: 0.8;
}
#messages_addWOD:hover:before {
    content: "Add a workout";
    display: block;
    width: 110px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    background-color: #ebebeb;
    color: black;
    border-radius: 2px;
    position: absolute;
    bottom: 30px;
    left: 20px;
    text-align: center;
    opacity: 0.8;
}

#messages_appearIn {
    background-image: url(../images/video-conference.svg);
    background-size: 28px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    width: 36px;
    height: 32px;
    border: 0;
    cursor: pointer;
}

#messages_autoField_menu {
  position: absolute;
  bottom: 50px;
  right: 7px;
  box-sizing: border-box;
}

#messages_everyone {
    background-image: url(../images/everyone.svg);
    height: 30px;
    width: 30px;
    margin-right: 8px;
}

.messages_notify_all {
    color: #A3A3A3;
}

/*AppearIn*/

.appearIn img {
  height: 57px;
}

.appearIn .appearIn-data-cont {
    height: 57px;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 6px;
}

.appearIn .appearIn-data-cont a {
  border: 1px solid #1eb6f8;
  padding: 3px 9px;
  border-radius: 13px;
  margin-top: 3px;
}

.appearIn .appearIn-data-cont a:hover {
  text-decoration: none !important;
  opacity: 0.8;
}

/* Rections */
.reactions-item {
    border-color: #f2f2f2;
    border-width: 1px;
    border-style: solid;
    padding-left: 5px;
    padding-top: 2px;
    margin: 2px;
    min-width: 32px;
    height: 20px;
    border-radius: 12px;
    background-color: #f2f2f2;
    cursor: pointer;
}

.reactions-item img {
    width:16px;
    height:16px
}

.reactions-item span {
    color: #B5B5B5;
    font-size: 14px;
    margin-top: 1px;
    margin-left: 2px;
    font-weight: lighter;
}

.reactions-react {
    right: 10px;
    position: absolute;
    top: 10px;
    cursor: pointer;
}

.reactions-react img {
    width:25px;
    height:25px;
}

.reactions-widget {
    right: 20px;
    bottom: 0px;
    position: absolute;
    border-width: 1px;
    border-color: #E8E8E8;
    border-style: solid;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 0;
    border-radius: 40px;
    background-color: #fff;
    z-index: 99;
}

.reactions-widget .reaction-wrap {
    height: 100%;
    padding: 12px 5px;
    box-sizing: border-box;
    cursor: pointer;
}


.reactions-widget .reaction-wrap:hover {
    background: #ebebeb;
}
.reactions-widget .reaction-wrap-left:hover {
    border-radius: 40px 0px 0px 40px !important;
}

.reactions-widget .reaction-wrap-right:hover {
    border-radius: 00px 40px 40px 0px !important;
}




.reactions-widget img
{
    width:30px;
    height:30px;
    margin-top: 5px;
    margin-left: 4px;
}

.reactions-widget span {
    color:#B5B5B5;
    font-size:9px;
    text-align:center;
    word-wrap: break-word;
    width: 54px;
    margin-top: 4px;
}

.reactions-widget .image-cont {
    cursor: pointer;
    display: inline-grid;
}
.reactions-widget .reaction-wrap:hover .image-cont {
    transform: scale(1.1) translateY(-10px);
    transition: transform 0.2s;
}

/* Attachments */
.message-attachment {
    background: #F5F6F8;
    padding: 10px;
    border-radius: 5px;
    max-width: 380px;
    min-height:30px;
    position: relative;
    margin-top: 8px;
    margin-bottom: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
}
.message-attachment .tr-loader {
    top:0;
    left:0;
}

.messageUnfurl {
    width:100%;
}

.messageUnfurl p {
    font-size: 13px;
    font-weight: 400;
    padding: 0 0 16px 0;
    margin: 0;
    margin-left: 5px;
}

.messageUnfurl a {
    font-weight: normal;
    font-size: 16px;
    padding: 4px 0 4px 0;
    margin: 0;
    margin-left: 5px;
}
.message-photo {
    height: 200px;
    width: 200px;
    max-width: 380px;
    background-size: cover;
    flex-shrink: 0;
    box-sizing: border-box;
}

#messages_dropZone {
    top: 0;
	left: 0;
	height: 100%;
	width:100%;
	position: absolute;
    z-index: 99;
	border: 1px solid #2196F3;
	box-sizing: border-box;
	background-color: rgba(2555,255,255,0.8);
}

#messages_dropZone .dropIcon {
	background-image: url(/app/images/dropZone/dragOver.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 145px;
	height: 90px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -45px 0 0 -72px;
}

.messages_previewHolder {
    background-size: cover;
    object-fit: cover;
    box-sizing: border-box;
    border: solid 1px #d2d2d2;
}

#messages_attachment_text {
    height: 100px;
    box-sizing: border-box;
    border-left: solid 1px #d2d2d2;
    border-top: solid 1px #d2d2d2;
    border-bottom: solid 1px #d2d2d2;
    border-right: none;

    overflow: auto;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* Message upload */
.message-upload {
    height: 3px;
    width: 100%;
    background-color: #D8D8D8;
}
.messageUnfurl .flex-row p {
    padding: 10px;
}
#messages_loading_uploadBar {
    height: 16px;
    border: 1px solid #ccc;
    font-weight:100;
    background: repeating-linear-gradient( 45deg, #ebebeb, #ebebeb 10px, #ccc 10px, #ccc 20px );
    box-sizing: border-box;
    flex-shrink: 0;
    position: absolute;
    bottom: 58px;
    z-index: 999;
}
#div_messages .message-upload-bar {
    height: 3px;
    background: #FFB400;
    width: 0%;
    display: inline-block;
}
#div_messages .message-upload-bar--fullpage {
    height: 16px;
    margin-right: auto;
}
#div_messages .message-upload-text {
    position: absolute;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.1em;
}
#div_messages .message-upload-cancel {
    position: absolute;
    bottom: 30px;
    z-index: 10000;
    min-width: 100px;
    text-align: center;
}
img.messages_previewHolder {
    margin-right: 10px;
}

/* messages.css */

/*body:before {
  content: url(/app/images/messages/null-screen/no-conversations.png)
           url(/app/images/messages/null-screen/no-anarchived.png)
           url(/app/images/messages/null-screen/single-chat.png);
  visibility: hidden;
  position: absolute;
  left: -999em;
}*/

.conversationWrap {
    width: 100%;
    flex: 1;
    overflow: auto;
    position: relative;
}

#conversationList {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background: white;
  overflow-y: auto;
  height: 100%;
}

#conversationList li {
  border-bottom: 1px solid #ebebeb;
  position: relative;
  padding: 13px 5px;
  height: 70px;
  box-sizing: border-box;
  cursor: pointer;
}

#conversationList li.selected {
  background-color: #D6F1FD;
}

#conversationList .profile-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cdcdcd;
  top: 19px;
  left: 24px;
  position: absolute;
}

#conversationList .profile-images {
  height: 18px;
  width:18px;
  border-radius: 50%;
  border: 2px solid #cdcdcd;
  top: 18px;
  left: 24px;
  position: absolute;
}

#conversationList .profile-images:nth-of-type(2) {
  height:18px;
  width:18px;
  border-radius: 50%;
  border: 2px solid #cdcdcd;
  top: 30px;
  left: 30px;
  position: absolute;
}

#conversationList .messages-select {
  top: 24px;
  left: 2px;
  position: absolute;
}

#conversationList .topic {
  margin: 0 0 2px 50px;
  font-size: 12px;
  display: block;
  color: #FFB400;
  width: 100px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#conversationList .group-conversation, #conversationList .main-conversation {
  margin: 0 0 2px 50px;
  font-size: 11px;
  display: block;
  color: #FFB400;
  width: 78px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 15px;
  background-size: 14px;
  background-position: left;
  background-repeat: no-repeat;
}

#conversationList .group-conversation, #messagesWrap #subject.subject-group-conversation {
  background-image: url(/app/images/messages/group.png);
}

#conversationList .main-conversation, #messagesWrap #subject.subject-main-conversation {
  background-image: url(/app/images/messages/mainConvo.png);
}

#conversationList .user-name {
  margin: 0 0 0 50px;
  font-size: 12px;
  display: block;
  width: auto;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#conversationList .user-name .archive-icon {
  width: 11px;
  height: 11px;
  margin-right: 2px;
  background-image: url(/app/images/statusArchived.png);
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
}

#conversationList .user-name.small-width {
    width: 100px;
}

#conversationList .excerpt {
  display: block;
  margin: 4px 0 0 50px;
  font-size: 12px;
  font-weight: 300;
  max-width: 160px;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.6;
  overflow: hidden;
}

#conversationList .last-sent-time {
  position: absolute;
  top: 13px;
  right: 4px;
  font-weight: 300;
  font-size: 11px;
  opacity: 0.6;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

#conversationList .unread-messages {
  position: absolute;
  bottom: 12px;
  right: 3px;
  font-size: 11px;
  line-height: 12px;
  min-width: 17px;
  height: 17px;
  text-align: center;
  border-radius: 10px;
  background: #FF5366;
  color: white;
  /* padding-top: 2px; */
  padding: 3px 3px 0px 3px;
  box-sizing: border-box;
}

#messagesWrap {
  border: none;
  padding: 0;
  position: relative;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
	#messagesWrap .custom_tb {
		height:52px;
        max-height: 52px;
		border-left:0px none;
		border-right:0px none;
		border-top:0px none;
		background:#f9fafc;
		border-bottom:1px solid #ebebeb;
        flex: 1;
	}

#messagesGrid {
  box-sizing: border-box;
}

#messages_container {
  width: 100%;
  overflow-y: auto;
  overflow-x: overlay;
  padding: 15px 0px 25px 0px;
  box-sizing: border-box;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#messages_container .sender-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #cdcdcd;
}

#messages_container .sender-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #cdcdcd;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 4px;
}

#messages_container .sender-cont-right {
    vertical-align: top;
    display: inline-block;
    padding: 16px 12px 8px 12px;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

#messages_container .sender-cont-left {
  vertical-align: top;
  display: inline-block;
  padding: 16px 0 0 20px;
  width: 60px;
  box-sizing: border-box;
}

#messages_container .sender-cont-fullWidth {
  vertical-align: top;
  display: flex;
  padding: 16px 0 0 20px;
  width: 100%;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#messages_container .activty-wrap {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(6, 169,246, 0.16);
  padding:5px 16px;
  border-radius: 25px;
  max-width: 410px;
}

#messages_container .sender-cont-right .message-text {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #303133;
  margin: 2px 0;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: #303133;
}

#messages_container .sender-cont-right .message-text a {
  cursor: pointer;
}

#messages_container .sender-cont-right .sender-name {
        font-size: 14px;
        color: #303133;
        font-weight: bold;
}

#messages_container .sender-cont-right a:hover {
  text-decoration: underline;
}

#messages_container .sender-cont-right .sent-time {
  font-weight: 300;
  font-size: 12px;
  opacity: 1;
  color:#C2C7CC;
  margin-left: 5px;
}

#messages_container .sender-cont-right .not-sent-warning {
  /*position: absolute;*/
  right: 0;
  top: 11px;
  font-size: 12px;
  color: red;
  font-weight: 300;
}

#messages_container .sender-cont-right .not-sent-warning .retry {
  text-decoration: underline;
  cursor: pointer;
}

#messages_container .sender-cont-right .not-sent-warning .delete {
    text-decoration: underline;
    cursor: pointer;
}

#messages_container .header-item {
      text-align: center;
    height: 24px;
    margin: 8px 0px 8px 0px;
}

#messages_container .header-item::after {
  content: "";
  border-bottom: 1px solid #ebebeb;
  width: 95%;
  display: block;
  margin: -12px auto 0;
}

#messages_container .header-item span {
    background-color: #F8F8F8;
    font-family: Helvetica;
    color: #303133;
    font-size: 12px;
    display: inline-block;
    padding: 5px 22px;
    line-height: 14px;
    border-radius: 18px;
    font-weight: normal;
}

#messagesWrap .users-in-conversation-wrapper {
    display: flex;
    flex-grow: 1;
    width: 0;
    box-sizing: border-box;
}

#messagesWrap #users-in-conversation {
  color: black;
  margin-left: 15px;
  font-size: 18px;
  font-weight: 300;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#messagesWrap #subject {
  color: #FFB400;
  margin: 0 15px;
  font-size: 12px;
  font-weight: 300;
  flex-shrink: 0;
}

#messagesWrap #subject.subject-main-conversation, #messagesWrap #subject.subject-group-conversation {
  padding-left: 18px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: 15px;
  margin-top: 2px;
}

#messagesWrap #conversation_toolbar {
    flex-shrink: 0;
}

#div_newConversation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: absolute;
  bottom: 60px;
  padding: 6px 0 9px 0;
}

#messages_container .activity-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: -10px;
}

#messages_container .activity-name,
#messages_container .activity-text {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #606366;
}

#messages_container .activity-personalBest {
    font-size: 11px;
    color: #9b9b9b;
    font-weight: 400;
    text-align: center;
}

.content {
  margin: 0;
  padding: 0 !important;
}

#messageInputDiv {
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  padding: 11px;
  border-top: 1px solid #ebebeb;
}

#messageInput {
  padding: 7px;
  width: 100% !important;
  box-sizing: border-box;
  font-size: 14px;
  border: none;
  outline: none;
  line-height: 1.4;
  overflow-y: auto;
  max-height: 96px;
  white-space: pre-wrap;
}

.conversations-overlay {
  width: 100%;
  background: black;
  position: absolute;
  top: 99px;
  bottom: 0px;
  z-index: 1;
  opacity: 0.3;
  display: none;
}

#messages_null_screens {
  box-sizing: border-box;
  text-align: center;
  width: 100%;
}

.ui-dialog #messages_null_screens_img {
    height: 200px;
    width: 341px;
    margin-bottom: 15px;
}

#messages_null_screens_img {
    background-size: cover;
    height: 106px;
    width: 179px;
    margin-bottom: 30px;
}
#messages_null_screens_imgOnly {
  background-size: contain;
  height: 64px;
  width: 64px;
  margin-bottom: 27px;
  background-repeat: no-repeat;
  background-position: center;
}

.watch-the-video {
    width: 82px;
    height: 45px;
    text-shadow: 0 2px 4px rgba(188, 188, 188, 0.18);
    font-family: Helvetica;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #06a9f6;
    top: 33px;
    right: 20px;
    position: absolute;
}

.play-buttonVideo {
    width: 200px;
    height: 460px;
    position: absolute;
}

#messages_null_screens_img .play-buttonVideo {
    width: 200px;
    height: 280px;
    position: absolute;
}

#messages_null_screens_img img {
    margin: 0;
    min-height: auto !important;
    width: 40px !important;
    cursor: pointer;
    position: absolute;
}

.playArrow {
    position: absolute;
    pointer-events: none;
    top: 45px;
    left: 60px;
    width: 38px !important;
}

#newMessageData #messages_null_screens img,
#dialog_dailyMessage #messages_null_screens img {
    width: 400px;
}

#messages_null_screens p {
  display: flex;
  flex-direction: column;
  margin: 8px auto;
  max-width: 100%;
}

.null_screen_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
}

.null_screen_h2 {
  color: black !important;
}

#messages_null_screens .null_screen_text {
    width: 80%;
}

.conversation_header {
    border-bottom: 1px solid #ebebeb;
    height: 40px;
    min-height: 40px!important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#menu_message_listMore {
    position: absolute;
    top: 26px;
    left: 0;
    z-index: 100;
}

#conversation_empty {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

#conversation_empty p {
    color: #999;
    font-weight: 400;
    font-size: 14px;
}

#messageNewMessageBelow {
    color: white;
    width: 114px;
    height: 20px;
    border-radius: 14px;
    background-color: #06a9f6;
    font-size: 11px;
    font-weight: 400;
    display: inline-block;
    line-height: 15px;
    position: absolute;
    bottom: 60px;
    right: 8px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    z-index: 999;
}
#messageNewMessageBelow .tr-icon-small {
    height: 15px;
    width: 15px;
}

#messages_container .botCard {
    border: 1px solid #ebebeb;
    padding: 10px;
    border-radius: 3px;
}

#messages_container .botCard .gtBtn {
    width: 300px;
    margin: 2px 0;
}

#messages_container .botCard-subtitle {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    padding: 8px 0;
}

/* Automessages */
#messages_container .message-delete {
    position: absolute;
    height: 24px;
    width: 24px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    line-height: 19px;
    color: white;
    font-weight: 400;
    font-size: 12px;
    text-transform: lowercase;
    display: none;
    text-indent: -9999px;
    background-size: 100%;
    opacity: 0.8;
    background-image: url(/app/images/UI/Cancel.png);
}

#div_messages .messageItem .messageSendStatus {
    background-color: #2196F3;
    display:inline-block;
    height: 1px;
    width: 0%;
}
#messages_container .image--error {
    border: 1px solid rgba(255, 0, 0, 0.3);
    background-color: rgba(255,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-weight: 400;
    text-align: center;
}

#messages_input_wrap .disabledOverlay {
    height: 57px;
    background-color: #fffad5;
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0;
    z-index: 99;
    display: flex;
    flex-direction: row;
    padding: 14px;
    box-sizing: border-box;
}
#messages_input_wrap .disabledOverlay span {
    color: #999999;
    font-weight: 400;
}

#messages_input_wrap.autoMessages #messages_extra_buttons {
    right: 80px;
}

#btn__messages_autoMessage_add {
    margin-left: 8px;
    height: 35px;
    max-height: 35px;
    width: 60px;
}

.emojiPickerIconWrap {
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
}

#messages_no_connection {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    background-color: rgb(255, 83, 102);
    height: 20px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#messages_no_connection_text {
    color: white;
    font-size: 12px;
}

#messages_try_now_text {
    text-decoration: underline;
}

#div_messages .fileAttachment-cont {
    background-color: white;
    height: 68px;
    width: 290px;
    align-items: center;
}

#div_messages .fileAttachmentLogo {
    width: 40px;
    height: 46px;
}

#div_messages .fileType-name {
    font-size: 14px;
    color: rgb(213, 214, 214);
}
#div_messages .fileAttachment-data-cont {
    margin-left: 7px;
}

#div_messages .document-attachment {
    border: 1px solid rgb(213, 214, 214);
    padding: 0 0 0 10px;
    margin: 10px 0 0 0;
    min-height: 70px;
    cursor: pointer;
}

#div_messages .document-attachment:hover {
    border: 1px solid rgb(6, 169, 246);
}

#div_messages .video-attachment {
    border: 1px solid transparent;
    cursor: pointer;
    background-color: black;
    width: 190px;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#div_messages .video-attachment:hover {
    border: 1px solid rgb(6, 169, 246);
}

#videoClip {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.88);
}

#div_messages .messageVideo-data-cont {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playButton {
    width: 50px;
    height: 50px;
}

.video-attachment {
    background-size: cover;
    background-position: center;
}

#messages_file_attachment_text {
    width: 100%;
    height: 90px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ebebeb;
    outline: none;
}

#messages_file_attachment_text :focus {
    outline: none;
}

#messages_file_dialog_attachment #imagePreviewContainer {
    width: 100%;
    background-color: #f8f8f8;
}

#messages_file_dialog_attachment #filePreviewContainer{
    width: 100%;
    background-color: #f8f8f8;
}

#messages_file_dialog_attachment .previewContainer{
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ebebeb;
}

#messages_file_dialog_attachment #messages_image_previewHolder{
  background-color: white;
  border: 1px solid #ebebeb;
}

#messages_file_dialog_attachment #messages_file_previewHolder{
  background-color: white;
  border: 1px solid #ebebeb;
}

#messages_file_dialog_attachment .messages_previewName{
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 335px;
}

.reactions-container .reactions-react-item {
    border-color: #f2f2f2;
    border-width: 1px;
    border-style: solid;
    padding: 2px;
    height: 18px;
    width: 18px;
    border-radius: 12px;
    background-color: #f2f2f2;
    margin-right: 15px;
    margin-left: 8px;
    margin-top:2px;
    cursor: pointer;
}

.reactions-react-item img {
    width: 15px;
    height: 15px;
    margin:auto;
}

#edit_message_dropdown {
    position: absolute;
    background: white;
    z-index: 100;
}

#edit_message_dropdown .sub-nav {
    width: 80px;
    box-shadow: 2px 2px 10px 0 rgba(0,0,0, 0.2);
    list-style: none;
    z-index: 1001;
    background-color: #fff;
    color: #9a9a9a;
    border-radius: 3px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}
#edit_message_dropdown .sub-nav li {
    height: 34px !important;
    min-height: 15px;
    text-align: right;
    color: #9a9a9a;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    justify-content: flex-start;
    padding: 0 10px;
}

#edit_message_dropdown .sub-nav li:hover {
    cursor: pointer;
    background-color: #f2f2f2;
    color: #06a9f6;
}

#report_message_dropdown {
    position: absolute;
    background: white;
    z-index: 100;
}

#report_message_dropdown .sub-nav {
    width: 80px;
    box-shadow: 2px 2px 10px 0 rgba(0,0,0, 0.2);
    list-style: none;
    z-index: 1001;
    background-color: #fff;
    color: #9a9a9a;
    border-radius: 3px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}
#report_message_dropdown .sub-nav li {
    height: 34px !important;
    min-height: 15px;
    text-align: right;
    color: #9a9a9a;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    justify-content: flex-start;
    padding: 0 10px;
}

#report_message_dropdown .sub-nav li:hover {
    cursor: pointer;
    background-color: #f2f2f2;
    color: #FF5366;
}
