/*
Custom css
*/
.display-none {
  display: none;
}
.w-xxl {
  width: 408px;
  border: 1px solid #c1c1c1;
  padding: 20px;
}
#imagePreview {
  width: 145px;
  height: 145px;
  background-position: center center;
  background-size: cover;
  -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
  display: inline-block;
	border-radius:50%;
}
#organisation-image {
  display: none;
}
.uploadImage {
  display: block;
  position: relative;
  width: 150px;
  height: 150px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin: 10px auto;
}
.uploadImage .uploadfile {
  position: absolute;
  top: 0;
  width: 147px;
  height: 147px;
  border-radius: 50%;
  line-height: 125px;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  font-size: 30px;
  color: #fff;
}
.uploadImage img {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: contain;
}
.uploadImage:hover div {
  opacity: 1;
}
.badge {
  line-height: 1.3;
}
.avatar img {
  border-radius: 500px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.actions .link {
  cursor: pointer;
}
table.table-sort th a {
  display: block;
  width: 100%;
}
table.table-sort th a {
  padding-right: 18px;
  position: relative;
}
table.table-sort th a:before, table.table-sort th a:after {
  border: 6px solid transparent;
  content: "";
  display: block;
  height: 6px;
  right: 0px;
  top: 50%;
  position: absolute;
  width: 6px;
}
table.table-sort th a:before {
  border-bottom-color: #999;
  margin-top: -14px;
}
table.table-sort th a:after {
  border-top-color: #999;
  margin-top: 1px;
}
table.table-sort th a.asc:before {
  border-bottom-color: #000;
  margin-top: -15px;
}
table.table-sort th a.desc:after {
  border-top-color: #000;
  margin-top: 1px;
}
.error-message {
  color: red;
  font-size: 12px;
}
.scrollable .group-list {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}
#message_documents, #direct_message_documents {
  display: none;
}
.custom-document-upload-btn {
  padding: 25px 30px;
  border-radius: 5px;
  cursor: pointer;
}
.icon-thumbnail {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  width: fit-content;
}
.thumbnail-box {
  height: 80px;
  border-radius: 4px;
}
.thumbnail-small-box {
  height: 40px;
  border-radius: 4px;
  width: 40px;
}
.thumbnail-box .close, .thumbnail-small-box .close {
  position: absolute;
  right: 8px;
  top: -14px;
  color: red;
  opacity: 1;
}
.display-none {
  display: none;
}
.message-unread {
  border-left: 4px solid #ea2e49;
}
.msg-delete-icon, .org-edit-icon {
  position: absolute;
  bottom: 27px;
  right: 35px;
}
.message {
  position: relative;
  padding: 10px;
}
.direct-message-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 40rem;
  z-index: 2;
  box-sizing: border-box;
  background: white;
}
.direct-message-chat .contact.bar {
  flex-basis: 3.5rem;
  flex-shrink: 0;
  margin: 1rem;
  box-sizing: border-box;
}
.direct-message-chat .messages {
  padding: 1rem;
  flex-shrink: 2;
  overflow-y: auto;
}
.direct-message-chat .messages .time {
  font-size: 0.8rem;
  background: #eee;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  color: #999;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}
.direct-message-chat .messages .message {
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  margin: 1rem 0rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  min-height: 2.25rem;
  width: 66%;
  border:1px solid #e1e1e1;
  /*box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);*/
}
.direct-message-chat .messages .message.myself {
  margin: 1rem 1rem 1rem auto;
  border-radius: 5px;
  background: #fff;
  color: rgba(70, 90, 110, 0.85);
  width: 66%;
}
.direct-message-chat .messages .message .typing {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0rem;
  box-sizing: border-box;
  background: #ccc;
  border-radius: 50%;
}
.direct-message-chat .messages .message .typing.typing-1 {
  -webkit-animation: typing 3s infinite;
          animation: typing 3s infinite;
}
.direct-message-chat .messages .message .typing.typing-2 {
  -webkit-animation: typing 3s 250ms infinite;
          animation: typing 3s 250ms infinite;
}
.direct-message-chat .messages .message .typing.typing-3 {
  -webkit-animation: typing 3s 500ms infinite;
          animation: typing 3s 500ms infinite;
}
.direct-message-chat .input {
  box-sizing: border-box;
  flex-basis: 4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.direct-message-chat .input i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #666;
  cursor: pointer;
  transition: color 200ms;
}
.direct-message-chat .input i:hover {
  color: #333;
}
.direct-message-chat .input textarea {
  border: 1px solid #ddd;
  background-image: none;
  background-color: white;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  flex-grow: 2;
  letter-spacing: 0.025em;
}
.direct-message-chat .input textarea:placeholder {
  color: #999;
}

@-webkit-keyframes typing {
  0%, 75%, 100% {
    transform: translate(0, 0.25rem) scale(0.9);
    opacity: 0.5;
  }
  25% {
    transform: translate(0, -0.25rem) scale(1);
    opacity: 1;
  }
}

@keyframes typing {
  0%, 75%, 100% {
    transform: translate(0, 0.25rem) scale(0.9);
    opacity: 0.5;
  }
  25% {
    transform: translate(0, -0.25rem) scale(1);
    opacity: 1;
  }
}
.max-height-direct-msg-list {
  max-height:38rem;
}

#direct_message_chat {
    height: 39rem;
    overflow: auto;
}
#dashboard_start_date, #dashboard_end_date {
  width: 130px;
}
.max-width-20 {
  max-width: 20% !important;
}
.dashboard-counter {
  position: absolute;
  right: 0px;
}
.inset .list-body:after {
  bottom: -0.15rem;
}
.disable-dashboard-box {
  opacity: 0.3;
}
.disable-dashboard-alert-box {
  position: absolute;
  text-align: center;
  width: 100%;
  top: 50%;
}
.cursor-pointer {
  cursor: pointer;
}
.dashboard-log-box {
  height: 490px;
  overflow-y: scroll;
}
.btn .next a {
  display: block;
}
.badge.grey {
  background-color: #ddd;
  color: #333;
  font-weight: normal;
  font-size: 11px;
  border-radius: 10px;
  padding: 3px 7px;
  margin-bottom: 10px;
}
a.anchor-text:hover {
  text-decoration: underline;
}
.fit-cover {
  object-fit: cover !important;
}
.group_privacy_options label {
  display: block;
}
.tree-dot-icon {
  float: right;
  text-align: center;
  width: 25px;
}
.tree-dot-icon:hover, .three-dot:hover {
  border-radius: 2px;
  border:1px solid #e1e1e1;
}
.three-dot {
  width: 25px;
  padding: 5px;
}
.bootstrap-datetimepicker-widget table {
  width: 100%;
  text-align: center;
}
.text-primary {
  color: #337ab7 !important;
}
.border-primary {
 border-color: #337ab7 !important;
}
.counter-badge {
  width: 18px;
  height: 18px;
  padding: 2.2px;
  margin-top: 6px;
  text-align: center;
  display: table;
}
.table {
  color: rgba(70, 90, 110, 0.85);
}
.delete_account {
  position: absolute;
  bottom: 41px;
  left: 25px;
}
.custom-select {
  font-size: 14px;
}
