﻿body {
}

/*
  Dashboard: gray strip ends at the sidebar.
  White content starts after a gutter so it no longer sits on the gray.
*/
@media (min-width: 992px) {
  .our-dashbord.dashbord {
    background-color: #ffffff;
  }

  /* Gray only through the sidebar column (centered 1500px container) */
  .our-dashbord.dashbord:before {
    display: block !important;
    background-color: #fafafa;
    width: calc(50% - min(750px, 50%) + 280px) !important;
  }

  .our-dashbord.dashbord > .container > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .our-dashbord.dashbord > .container > .row > .col-lg-4,
  .our-dashbord.dashbord > .container > .row > .col-xl-3 {
    flex: 0 0 280px;
    max-width: 280px;
    width: 280px;
    background-color: #fafafa;
    padding: 10px 16px 40px 0;
    margin-right: 48px; /* gutter between gray sidebar and white content */
    position: relative;
    z-index: 2;
    box-sizing: border-box;
  }

  .our-dashbord.dashbord > .container > .row > .col-lg-8,
  .our-dashbord.dashbord > .container > .row > .col-xl-9,
  .our-dashbord.dashbord > .container > .row > .col-lg-6,
  .our-dashbord.dashbord > .container > .row > .col-xl-6 {
    flex: 1 1 auto;
    max-width: calc(100% - 328px);
    width: calc(100% - 328px);
    background-color: #ffffff;
    padding-left: 12px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
}

.our-dashbord.dashbord .user_profile {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 110px;
  padding: 18px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.our-dashbord.dashbord .user_profile .media {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.our-dashbord.dashbord .user_profile .media img {
  align-self: center;
  flex-shrink: 0;
}

.our-dashbord.dashbord .user_profile .media .media-body {
  padding-top: 0;
  overflow-wrap: anywhere;
}

.our-dashbord.dashbord .user_profile .media .media-body h5,
.our-dashbord.dashbord .user_profile .media .media-body p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.3;
}

.our-dashbord.dashbord .dashbord_nav_list {
  margin-left: 0;
  padding-right: 5px;
}

.our-dashbord.dashbord .dashbord_nav_list li a {
  white-space: nowrap;
}

.inbox_user_list ul li.contact.active {
  background-color: #eef6e4;
}

.inbox_user_list ul li.contact.has-unread {
  background-color: #f3f9ea;
}

.inbox_user_list ul li.contact.has-unread .name {
  color: #5f8f24;
  font-weight: 700;
}

.inbox_chatting_box .chatting_content li.media.sent.unread-message .media-body p {
  background-color: #dff3c4;
  border-color: #79b530;
  color: #355214;
  box-shadow: inset 3px 0 0 #79b530;
}

.inbox_chatting_box .chatting_content li.media .new-tag {
  background: #79b530;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
  padding: 1px 6px;
  text-transform: uppercase;
}

.header_user_notif .user_notif .so_content ul li a {
  color: inherit;
  display: block;
  text-decoration: none;
}

.header_user_notif .user_notif .so_content ul li a:hover h5 {
  color: #79b530;
}

.header_user_notif .user_notif .so_content ul li.unread-alert h5 {
  color: #5f8f24;
  font-weight: 700;
}

.inbox_user_list .inbox-note,
.inbox_user_list .empty-inbox {
  color: #7f7f7f;
  font-size: 14px;
  margin: 0;
  padding: 0 0 12px;
}

.inbox_user_list .name .unread {
  background: #79b530;
  border-radius: 10px;
  color: #ffffff;
  font-size: 11px;
  margin-left: 6px;
  padding: 1px 6px;
}

.inbox_user_list ul li.contact .wrap .meta p.preview,
.inbox_user_list ul li.contact .wrap .meta p.contact-email {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox_user_list ul li.contact .wrap .meta p.contact-email {
  color: #9a9a9a;
  font-size: 12px;
  margin: 0;
}

.message_container .col-chat {
  min-height: 640px;
  position: relative;
}

.message_container .inbox_chatting_box {
  padding-bottom: 20px;
}

.message_container .message_input {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 10px 24px 24px;
}

.message_container .message_input form input.form-control {
  padding-right: 150px;
}

.inbox_chatting_box .chatting_content li.media .media-body p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.inbox_chatting_box .chatting_content li.chat-date {
  clear: both;
  float: none;
  padding: 24px 0 0;
  width: 100%;
}

.message_container .message-error {
  color: #e74c3c;
  margin: 0 0 8px;
  min-height: 0;
}
