/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.container-smart .rb-loading {
  height: auto;
  background-color: #fff;
  min-height: 327px;
  width: 100%;
}

.rich-editor {
  border: 1px solid #eee;
  border-radius: 2px;
  line-height: 1;
  margin-top: -1px;
}

.rich-editor.active {
  border-color: #ddd;
  border-color: #4285f4;
}

.rich-editor textarea {
  width: 100%;
  padding: 8px 10px 6px;
  border: 0 none;
  outline: none;
  resize: none;
  -webkit-appearance: none;
  font-size: 1rem;
  line-height: 1.6;
  height: 56px;
}

.rich-editor .action-btns {
  background-color: #f5f5f5;
  padding: 1px 4px 0;
}

.rich-editor.drop .action-btns {
  background-color: #fff7c5;
}

.rich-editor .action-btns li > a,
.rich-editor .action-btns li a.at-user {
  display: inline-block;
  padding: 7px 5px;
  font-size: 19px;
  color: #888;
  width: 32px;
  text-align: center;
  position: relative;
}

.rich-editor .action-btns li > a:hover,
.rich-editor .action-btns li a.at-user:hover {
  color: rgb(64, 64, 64);
}

.emoji-wrapper {
  background-color: #fff;
  width: 397px;
  border: 1px solid #ebeff2;
  border-right-width: 0;
  border-bottom-width: 0;
}

.emoji-wrapper > a {
  display: inline-block;
  border-right: 1px solid #ebeff2;
  border-bottom: 1px solid #ebeff2;
  font-size: 0;
  padding: 0;
}

.emoji-wrapper > a img {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin: 3px;
}

.emoji-wrapper > a:hover {
  background-color: #ebeff2;
}

.feeds-post {
  padding: 20px;
  background-color: #fff;
}

.feeds-post > .list-unstyled a {
  display: inline-block;
  padding: 2px 8px;
}

.feeds-post > .list-unstyled a:hover {
  color: #4285f4;
}

.btn.btn-scope {
  width: auto;
  min-width: 0;
}

.btn.btn-scope > .zmdi,
.btn.btn-scope > .mdi {
  margin-right: 4px;
}

.attachment {
  margin-top: 10px;
}

.types-bar {
  background-color: #fff;
  margin-top: 15px;
  position: sticky;
  top: 60px;
  z-index: 1;
}

.types-bar .nav-tabs {
  border-color: #fff;
  position: relative;
  border-bottom: 1px solid #eee;
}

.types-bar .nav-tabs > li.nav-item a.nav-link {
  padding-top: 12px;
  padding-bottom: 9px;
  font-weight: bold;
}

.types-bar .nav-tabs > li.nav-item a.nav-link.active {
  color: #4285f4;
  color: var(--rb-theme-color);
}

.types-bar span.float-right {
  position: absolute;
  right: 20px;
  margin-top: 3px;
}

.feeds-list > div {
  padding: 12px 20px 6px;
  margin: 5px 0;
  background-color: #fff;
}

.feeds-list > div:last-child {
  margin-bottom: 0;
}

.feeds-list > div.focus {
  outline: 2px solid #fbbc05;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.feeds-list .feeds {
  display: flex;
}

.feeds-list .feeds > .user {
  min-width: 54px;
  width: 54px;
  font-size: 0;
  line-height: 1;
}

.feeds-list .feeds > .user .avatar {
  width: 36px;
  height: 36px;
}

.feeds-list .feeds > .content {
  flex-grow: 1;
}

.feeds-list .feeds > .content .meta .badge {
  color: #aaa;
  font-weight: normal;
  border-radius: 99px;
  line-height: 1.4;
}

.feeds-list .feeds > .content .meta .badge.badge-warning {
  border: 1px solid #fbbc05;
  color: #fff;
}

.feeds-list .feeds > .content .rich-content {
  font-size: 1.1rem;
  padding-top: 5px;
  line-height: 1.5;
  overflow: hidden;
}

.rich-content > .texts {
  margin-bottom: 6px;
}

.rich-content > .texts img.emoji {
  width: 26px;
  height: 26px;
  line-height: 1;
  font-size: 0;
}

.rich-content > .texts > a[href]:hover {
  text-decoration: underline;
}

.rich-content > .related {
  margin-bottom: 6px;
  font-size: 12px;
}

.rich-content > .img-field {
  margin-bottom: 8px;
}

.rich-content > .file-field {
  margin-bottom: 5px;
}

.rich-content > .img-field .img-thumbnail:hover,
.rich-content > .file-field .img-thumbnail:hover {
  opacity: 0.8;
}

.rich-content > .img-field .img-thumbnail {
  width: 124px;
  height: 124px;
  border-radius: 4px;
}

.comment-list .rich-content > .img-field .img-thumbnail {
  width: 114px;
  height: 114px;
}

.rich-content > .img-field > span:nth-child(5n) {
  margin-right: 0;
}

.feeds-list .actions {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #eee;
  text-align: right;
}

.feeds-list .actions li {
  padding: 0;
  margin: 0;
}

.feeds-list .actions li > a {
  display: inline-block;
  padding: 6px 0 6px 24px;
}

.feeds-list .actions li > a:hover,
.feeds-list .actions li > a.active {
  color: #4285f4;
}

.feeds-list .actions li > a > .zmdi {
  left: 6px;
}

.feeds-list > div .hover-show {
  display: none;
}

.feeds-list > div:hover .hover-show {
  display: inline-block;
}

.feeds-pages {
  margin-top: 10px;
}

.feeds-pages .float-left > p {
  margin: 9px 0 0;
}

.feeds-pages .pagination {
  margin-bottom: 0;
}

.feeds-list .list-nodata {
  background-color: transparent;
}

.comments {
  margin-left: 56px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.comments .comment-reply {
  background-color: #f5f5f5;
  background-color: #f8f8f8;
  padding: 15px;
  margin-bottom: 15px;
  margin-top: 4px;
}

.comments .rich-editor {
  margin-top: 0;
}

.comments .rich-editor textarea {
  height: 36px;
}

.comments .reply-mask {
  border: 1px solid #eee;
  border-radius: 2px;
  background-color: #fff;
  height: 39px;
  color: #aaa;
  padding: 9px 10px;
  cursor: text;
}

.comments .reply-mask:hover {
  border-color: #ddd;
}

.comment-list > div {
  padding: 8px 0 5px;
  margin: 5px 0 0;
  border-bottom: 1px solid #eee;
}

.comment-list .feeds > .user {
  width: 42px;
  min-width: 46px;
}

.comment-list .feeds > .user .avatar {
  width: 32px;
  height: 32px;
}

.comment-list .feeds > .content .meta > .float-right > span {
  color: #aaa;
  font-size: 12px;
}

.comment-list .feeds > .content .meta > .float-right .fixed-icon {
  padding-left: 10px;
  padding-right: 2px;
  margin-left: 10px;
}

.comment-list .feeds > .content .meta > .float-right .fixed-icon > .zmdi {
  left: auto;
  right: 0;
}

.comment-list .actions {
  border-top: 0 none;
  padding-top: 0;
  margin-top: -5px;
}

.comment-list .actions .time {
  margin-top: 8px;
}

.comments .feeds-pages {
  margin-bottom: 15px;
}

.comments .feeds-pages .float-left > p {
  margin-top: 3px;
  display: none;
}

.side-wrapper {
  position: sticky;
  top: 60px;
  background-color: #f5f5f5;
  padding: 12px;
}

@media (max-width: 992px) {
  .side-wrapper-parent {
    margin-top: 25px;
  }
}

.side-wrapper .search .input-group-text {
  width: 70px;
  text-align: center;
  padding: 8px 5px 5px;
  display: inline-block;
}

.side-wrapper .accordion .card-header button {
  padding: 5px 10px;
  font-size: 1rem;
  font-weight: normal;
}

.side-wrapper .accordion .card-header button .icon {
  margin-right: 7px;
  font-size: 1.7rem;
  top: 0;
  width: 10px;
}

.side-wrapper .card {
  background-color: transparent;
  box-shadow: 0 0 0 #fff;
}

.side-wrapper .card .card-body {
  padding-bottom: 5px;
}

.side-wrapper .aside-tree {
  padding: 0;
  max-height: 240px;
}

.side-wrapper .aside-tree li.active > a::before {
  font-family: 'Material-Design-Iconic-Font';
  content: '\f136';
  float: right;
  font-size: 1.2rem;
  transform: translateY(-1px);
}

.side-wrapper .aside-tree li > i.zmdi {
  position: absolute;
  right: 3px;
  top: 4px;
  width: 24px;
  height: 26px;
  text-align: center;
  font-size: 1.4rem;
  cursor: pointer;
  padding-top: 3px;
  color: #777;
  display: none;
}

.side-wrapper .aside-tree li.active > i.zmdi {
  background-color: #4285f4;
  color: #f5f5f5;
}

.side-wrapper .aside-tree li:hover > i.zmdi,
.side-wrapper .aside-tree li > i.zmdi.star {
  display: block;
}

.side-wrapper .aside-tree li > i.zmdi:hover,
.side-wrapper .aside-tree li > i.zmdi.star {
  color: #fbbc05;
}

.side-wrapper .aside-tree li > i.zmdi.star::before {
  content: '\f27d';
}

#collapseSearch .card-body {
  padding-left: 30px;
}

#collapseSearch .card-body .input-group + .input-group {
  margin-top: 10px;
}

#collapseSearch .card-body .input-group > input {
  padding-right: 50px;
}

#collapseSearch .card-body .input-group .append {
  position: absolute;
  right: 10px;
  z-index: 3;
  color: #bbb;
  font-size: 1.35rem;
}

#collapseSearch .card-body .input-group .append .icon {
  margin-top: 10px;
}

#collapseSearch .card-body .input-group .append > a {
  height: 32px;
  width: 16px;
  font-size: 1.308rem;
  transform: translateY(-1px);
  color: #737373;
  display: none;
  text-align: center;
}

#collapseSearch .card-body .input-group .append > a:hover {
  color: #5a5a5a;
}

#collapseSearch .card-body .input-group .append > a.show {
  display: inline-block;
}

.card-header .add-group {
  font-size: 15px;
  position: absolute;
  right: 14px;
  top: 3px;
  padding: 6px;
  color: #404040;
  opacity: 0.6;
  display: none !important;
}

.card-header:hover .add-group {
  display: block !important;
}

.card-header .add-group:hover {
  opacity: 0.9;
}

.card-header .add-group + .add-group {
  right: 40px;
}

.related-select {
  border-radius: 2px;
  margin-top: 10px;
  background-color: #eee;
}

.fixed-icon {
  position: relative;
  padding-left: 17px;
  color: #777;
}

.fixed-icon > .zmdi {
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  margin-top: 2px;
}

.fixed-icon.right {
  padding-left: 0;
  padding-right: 17px;
}

.fixed-icon.right > .zmdi {
  left: auto;
  right: 0;
}

.arrow_box {
  position: relative;
  background: #fff;
  border-top: 1px solid #4285f4;
  width: 32px;
  transition: margin-left linear 0.1s;
  margin-left: 8px;
}

.arrow_box::after,
.arrow_box::before {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box::after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 6px;
  margin-left: -6px;
}

.arrow_box::before {
  border-color: rgba(66, 133, 244, 0);
  border-bottom-color: #4285f4;
  border-width: 7px;
  margin-left: -7px;
}

.feed-options {
  margin-top: 10px;
  border-radius: 3px;
  padding-top: 18px;
  padding-right: 10px;
  border: 1px solid #f5f5f5;
  background-color: #f5f5f5;
}

.feed-options dt {
  color: #777;
  font-weight: normal;
  text-align: right;
  padding-top: 6px;
}

.feed-options .form-control {
  max-width: 200px;
}

.feed-options .input-group-prepend {
  height: 37px;
}

.feed-options + .feed-options {
  margin-top: -20px;
  border-top: 0 none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.feed-options.related {
  padding-right: 16px;
}

.rich-content > .appends {
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.rich-content > .appends span {
  color: #777;
}

.rich-content > .appends span.badge {
  padding: 3px 5px;
  line-height: 1;
  color: #fff;
  font-weight: normal;
  transform: translateY(-1px);
}

.rich-content > .appends span.badge.badge-light {
  color: #404040;
}

.search-member {
  position: relative;
  margin-bottom: 7px;
  margin-top: -5px;
}

.search-member input {
  border: 0 none;
  border-bottom: 1px solid #d5d8de;
  width: 100%;
  padding: 4px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0 none;
  background-color: transparent;
  border-radius: 3px;
}

.search-member input:focus {
  border-color: #bababa;
  background-color: rgba(255, 255, 255, 0.6);
}

.search-member::after {
  position: absolute;
  content: '\f1c3';
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  right: 10px;
  color: #bbb;
  font-size: 1.25rem;
  margin-top: 7px;
}

#collapseUser .aside-tree li > a {
  padding-top: 6px;
  padding-bottom: 6px;
}

#collapseUser .aside-tree li > a .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 6px;
  font-size: 0;
}

#collapseUser .aside-tree li.active > a::before {
  transform: translateY(2px);
}

.aside-tree li.nodata {
  min-height: 36px;
  padding-top: 9px;
}

.read-status .user-show {
  margin: 0;
  margin-right: 3px;
  margin-bottom: 3px;
}

.read-status .user-show .avatar {
  width: 24px;
  height: 24px;
}

.unread-status .user-show {
  margin-right: 12px;
  margin-left: 0;
}

.unread-status .user-show .name {
  color: #404040;
}

.side-wrapper + .announcement-wrapper {
  margin-top: 20px;
}

.side-wrapper + .announcement-wrapper > div + div {
  margin-top: 10px;
}

.side-wrapper + .announcement-wrapper > div {
  padding: 15px;
  border: 1px solid #fbbc05;
  background-color: #fff !important;
  color: #404040;
  box-shadow: 0.5px 0.9px 0 rgba(0, 0, 0, 0.07);
  border-radius: 2px;
}

.side-wrapper + .announcement-wrapper > div::after {
  right: 15px;
}

.side-wrapper + .announcement-wrapper > div .icon {
  color: #fbbc05;
}

.side-wrapper + .announcement-wrapper > div p {
  white-space: unset !important;
  max-height:125px;
}
