/*!
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.
*/

html,
body {
  overflow: auto;
  height: 100%;
}

.view-body .main-content {
  padding: 20px 25px;
  margin-top: 60px;
}

.view-body .related-list > .list-nodata {
  padding: 41px 0;
}

.view-body.loading .main-content {
  display: none;
}

.view-body.hide-aside .main-content > .row > .view-operating {
  display: none;
}

.view-body.hide-aside .main-content > .row > .col-md-9,
.view-body.hide-aside .main-content > .row > .col-md-10 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

@keyframes spinAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.view-body.loading .view-header .zmdi-refresh {
  animation: spinAnimation 1s infinite linear;
}

.main-content .tab-container {
  margin-top: -8px;
  padding-right: 4px;
}

.main-content .tab-content {
  margin: 0;
  padding: 18px 0 0;
}

.view-header {
  padding: 15px 20px;
  height: 61px;
  border-bottom: 1px solid #e6e6e6;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background-color: #fff;
  background-color: rgba(230, 230, 230, 0.8);
  border-bottom-color: rgba(230, 230, 230, 1);
  /* background: linear-gradient(to bottom, rgba(230, 230, 230, 1), rgba(230, 230, 230, 0.7)); */
}

.view-header .header-icon {
  float: left;
}

.view-header .title {
  line-height: 1.428571;
  display: inline-block;
  margin: 0;
  font-size: 1.538rem;
  max-width: 80%;
}

.view-header .title > .badge {
  position: absolute;
  margin-left: 6px;
  margin-top: 5px;
}

.view-header > span > .close {
  font-size: 1.638rem;
  opacity: 0.6;
  padding: 1rem;
  height: 40px;
  margin: -7px -1rem -1rem auto;
}

.view-header > span > .close.sm {
  font-size: 1.45rem;
  margin-right: -7px;
}

.view-header > span > .close:hover {
  opacity: 0.8;
}

.view-header > span > .close.sm.J_record-prev .mdi,
.view-header > span > .close.sm.J_record-next .mdi {
  font-size: 21px;
}

.rbview-form > .row .form-group {
  padding-top: 4px;
  padding-bottom: 4px;
}

.rbview-form .form-control-plaintext {
  min-height: 37px;
}

.rbview-form .form-control-plaintext[data-copy]:hover,
.rbview-form .form-control-plaintext[data-copy]:hover .badge {
  cursor: pointer;
  font-weight: bold !important;
}

.rbview-form .type-NTEXT .form-control-plaintext {
  max-height: 72px;
  position: relative;
  word-break: break-all;
}

.rbview-form .type-NTEXT .form-control-plaintext > p {
  margin: 0;
  line-height: 1.428571;
}

.rbview-form .type-NTEXT .form-control-plaintext > p:empty {
  height: 18.56px;
}

.rbview-form .type-NTEXT.col-sm-12 .form-control-plaintext {
  max-height: 134px;
}

.rbview-form .type-NTEXT .form-control-plaintext.md-content {
  max-height: 1001px;
}

.rbview-form .type-NTEXT .ntext-action {
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0;
}

.rbview-form .type-NTEXT.editable .ntext-action {
  right: 24px;
}

.rbview-form .type-NTEXT .ntext-action > a {
  background-color: #eee;
  background-color: #f8f9fa;
  color: #aaa;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 5px;
  font-size: 16px;
  text-align: center;
  padding-top: 2px;
  border-radius: 2px;
}

.rbview-form .type-NTEXT .col-form-control:hover .ntext-action {
  opacity: 1;
}

.rbview-form .type-NTEXT .ps-container.ntext-expand {
  max-height: 1000px !important;
  height: auto;
}

.rbview-form .type-NTEXT .ps-container.ntext-expand + .ntext-action .mdi-arrow-expand::before {
  content: '\F0615';
}

.nav-tabs > li.nav-item a.nav-link {
  padding: 11px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-tabs,
.nav-tabs > li.nav-item {
  position: relative;
}

.nav-tabs .vtab-settings {
  position: absolute;
  right: 0;
  top: 2px;
  padding: 9px 8px;
  font-size: 1.2rem;
  opacity: 0.6;
  display: none !important;
}

.nav-tabs .vtab-settings:hover {
  opacity: 0.8;
}

.nav-tabs:hover .vtab-settings {
  display: inline-block !important;
}

.nav-tabs .badge {
  position: absolute;
  top: -1px;
  right: -4px;
  font-size: 0.8462rem;
  font-weight: normal;
  line-height: 1.3;
  background-color: var(--rb-theme-color);
}

.related-list {
  min-height: 200px;
}

.related-list .card {
  border: 1px solid #ebebeb;
  padding: 0;
  margin-bottom: 9px;
}

.related-list .card:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.related-list .card .header-title {
  padding: 10px 0;
  margin: 0;
  cursor: default;
  position: relative;
}

.related-list .card .header-title::after {
  position: absolute;
  font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  content: '\f278';
  color: #aaa;
  right: 15px;
  margin-top: 2px;
  font-size: 1.2rem;
}

.related-list .card .header-title .record-meta {
  padding-right: 30px;
  text-align: right;
}

.related-list .card .header-title .record-meta .badge {
  margin-right: 13px;
}

.related-list .card .header-title .record-meta a.edit {
  color: #999;
  font-size: 1.231rem;
  margin-left: -38px;
  margin-top: -2px;
  position: absolute;
  display: none;
  padding: 0 10px;
}

.related-list .card .header-title .record-meta a.edit:hover {
  color: #4285f4;
}

.related-list .card:hover .header-title .record-meta a.edit,
.related-list .card.active .header-title .record-meta a.edit {
  display: inline-block;
}

.related-list .related-toolbar {
  margin-bottom: 13px;
}

.related-list .related-toolbar.feeds {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 13px;
}

.related-list .card-table {
  border: 1px solid #ebebeb;
  border: 1px solid #dee2e6;
  border-radius: 3px;
}

.related-list .card-table .data-list .table th {
  border-top: 0 none;
}

.view-operating {
  padding-top: 3px;
  padding-left: 5px;
}

@media (max-width: 768px) {
  .view-operating {
    padding-left: 15px;
  }
}

.view-operating > div {
  margin-top: 15px;
}

.view-operating > div.view-action {
  margin-top: 30px;
}

.view-operating .form-line {
  margin-bottom: 10px;
}

.view-operating dt {
  font-weight: normal;
}

.view-action .col-lg-6 {
  margin-bottom: 0.769231rem;
}

.view-action .col-lg-6:nth-child(odd) {
  padding-right: 5px;
}

.view-action .col-lg-6:nth-child(even) {
  padding-left: 5px;
}

.view-action .col-lg-6 .btn {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991px) {
  .view-action .col-lg-6 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.view-date .col-lg-4,
.view-user .col-lg-4 {
  padding-right: 0;
  color: #222;
  color: #404040;
}

.view-user .col-lg-8 {
  min-height: 30px;
  margin-top: -6px;
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}

.view-date .col-lg-8 {
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 991px) {
  .view-user .col-lg-8,
  .view-date .col-lg-8 {
    padding-left: 15px;
    margin-top: 5px;
  }
}

.view-user .row ul > li {
  margin-bottom: 0;
  margin-right: 7px;
  line-height: 1;
}

.view-user .row ul > li:last-child {
  margin-right: 0;
}

.view-user .row:last-child {
  margin-bottom: 0;
  margin-top: 18px;
  min-height: 36.5px;
}

.view-user .user-show {
  line-height: 1;
  cursor: pointer !important;
}

.shares-list {
  min-height: 60px;
}

.shares-list .user-avatar {
  line-height: 30px;
  color: #444;
}

.shares-list .badge-light {
  font-weight: normal;
}

.shares-list .table > tbody td {
  padding: 8px 10px;
  border-width: 0;
}

/* editable */

.rbview-form .form-group.editable a.edit {
  position: absolute;
  right: 0;
  top: 0;
  color: #aaa;
  width: 24px;
  height: 24px;
  margin-top: 5px;
  padding-top: 1px;
  text-align: center;
  border-radius: 2px;
  background-color: #f8f9fa;
  display: none;
}

.rbview-form .form-group.editable a.edit::before {
  font-family: 'Material-Design-Iconic-Font', serif;
  content: '\f158';
  font-size: 16px;
  display: inline-block;
}

.rbview-form .form-group.editable a.edit:hover,
.rbview-form .type-NTEXT .ntext-action > a:hover {
  color: #4285f4;
}

.rbview-form .form-group.editable a.edit:active,
.rbview-form .type-NTEXT .ntext-action > a:active {
  box-shadow: inset 0 2px 0 #e6e6e6;
  background-color: #f0f0f0;
}

.rbview-form .form-group.editable > div:hover > a.edit {
  display: block;
}

.rbview-form .form-group.editable > div .edit-oper {
  text-align: right;
}

.rbview-form .form-group.editable > div .edit-oper .btn {
  width: 28px;
  height: 28px;
  overflow: hidden;
  line-height: 1.2;
  padding: 0;
  min-width: 0;
  min-height: 0;
  font-weight: bold;
}

.rbview-form.readonly .form-group.editable a.edit {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.type-AVATAR .edit-oper,
.type-BOOL .edit-oper,
.type-FILE .edit-oper,
.type-MULTISELECT .edit-oper,
.type-IMAGE .edit-oper,
.type-SIGN .edit-oper {
  border-top: 1px solid #dbdbdb;
}

.type-AVATAR .edit-oper,
.type-SIGN .edit-oper {
  margin-top: 6px;
}

.type-IMAGE .edit-oper {
  margin-top: -2px;
}

.type-MULTISELECT .edit-oper {
  margin-top: -1px;
}

.rbview-form .img-field .img-upload.img-thumbnail.zoom-in {
  background-color: transparent;
}

.rbview-form-inside {
  display: none;
  padding: 10px 15px;
}

.rbview-form-inside > .rb-loading {
  height: 60px;
}

.rbview-form-inside > .alert {
  margin: 10px auto !important;
}

.card.active .rbview-form-inside {
  display: block;
}

.card.active .header-title {
  background-color: #eee;
}

.card.active .header-title::after {
  content: '\f273';
}

.modal-body .feed-options.related {
  display: none;
}

.view-history .view-history-items {
  padding: 0;
  margin: 0;
  position: relative;
}

.view-history .view-history-items::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 20px;
  width: 2px;
  background: #ddd;
  left: 6px;
}

.view-history .view-history-items > li {
  position: relative;
  padding-left: 24px;
  height: 28px;
  color: #777;
}

.view-history .view-history-items > li::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 1px;
  width: 12px;
  height: 12px;
  background-color: #ddd;
  border-radius: 50px;
  border: 2px solid #fff;
}

.view-history .view-history-items > li b:first-child {
  font-weight: normal;
}

.CodeMirror-fullscreen {
  top: 110px;
}

.editor-toolbar.fullscreen {
  top: 60px;
}

/* over Feeds */

.feeds-list.inview {
  border-top: 1px solid #eee;
}

.feeds-list.inview > div {
  position: relative;
  padding: 12px 1px 2px;
  border-bottom: 1px solid #eee;
  margin: 0;
}

.feeds-list.inview .feeds + .actions {
  border: 0 none;
  padding: 0;
  margin: -32px 0 0;
}

.feeds-list.inview .feeds > .content .rich-content > .appends a:not([href]):not([tabindex]) {
  cursor: default;
}

.feeds-list.inview .J_relatedRecord a {
  color: #444;
  cursor: text;
}

.tasks-list.inview .card:hover {
  box-shadow: 0 0 0 #fff;
}

.tasks-list.inview .header-title .title {
  padding-left: 45px;
}

.tasks-list.inview .header-title .title .custom-control {
  position: absolute;
  left: 15px;
  margin: 0;
}

.tasks-list.inview .header-title::after {
  content: '';
}

.tasks-list.inview .header-title .task-meta {
  text-align: right;
  color: #878787;
  font-size: 12px;
  padding-top: 1px;
}

.tasks-list.inview .header-title .task-meta > span {
  margin-left: 10px;
  position: relative;
}

.tasks-list.inview .header-title .task-meta > span + span::before {
  content: '·';
  margin-right: 10px;
  font-weight: bolder;
}

.tasks-list.inview .header-title .task-meta > span .avatar {
  position: absolute;
  margin-top: -4px;
  margin-left: -24px;
  cursor: default;
}

.tasks-list.inview .header-title .task-meta > span img {
  width: 26px;
  height: 26px;
}

.tasks-list.inview .card.priority-2 .header-title,
.tasks-list.inview .card.priority-3 .header-title {
  border-left: 4px solid #f7b904;
}

.tasks-list.inview .card.priority-3 .header-title {
  border-left-color: #ea3f30;
}

.tasks-list.inview .card.priority-2 .header-title .title,
.tasks-list.inview .card.priority-3 .header-title .title {
  padding-left: 41px;
}

.tasks-list.inview .card.priority-2 .header-title .title .custom-control,
.tasks-list.inview .card.priority-3 .header-title .title .custom-control {
  left: 11px;
}

.tasks-list.inview .card.status-1 .title {
  color: #8c8c8c;
  opacity: 0.5;
}

.tasks-list.inview .card.status-1 .title a {
  color: #8c8c8c;
}

.map-show {
  height: 100px;
  margin-bottom: 4px;
}

.type-LOCATION.col-sm-6 .map-show {
  height: 200px;
}

.type-LOCATION.col-sm-9 .map-show {
  height: 300px;
}

.type-LOCATION.col-sm-12 .map-show {
  height: 400px;
}

.form-control-plaintext.multi-values {
  padding-top: 4px;
  padding-bottom: 3px;
}

.form-control-plaintext.multi-values > a,
.form-control-plaintext.multi-values > span {
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 4px;
  margin-bottom: 3px;
  display: inline-block;
  border: 1px solid #ccc;
  background-color: #fff;
  line-height: 21px;
}

.form-control-plaintext.multi-values > a,
.form-control-plaintext.multi-values > span {
  border-color: #f2f2f2;
  background-color: #f2f2f2;
}

.file-list.inview {
  border-top: 1px solid #eee;
}

.file-list.inview .file-list-item {
  padding-left: 10px;
  padding-right: 1px;
}

.file-list.inview .file-list-item:hover {
  background-color: transparent !important;
}

.type-PICKLIST .form-control-plaintext .badge,
.type-STATE .form-control-plaintext .badge,
.type-CLASSIFICATION .form-control-plaintext .badge {
  font-size: 13px;
  line-height: 17px;
  border: 0 none;
  font-weight: normal;
  color: #fff;
  border-radius: 99px;
  padding: 3px 6px;
  min-width: 23px;
}

.type-PICKLIST .form-control-plaintext .badge.text-dark,
.type-STATE .form-control-plaintext .badge.text-dark,
.type-CLASSIFICATION .form-control-plaintext .badge.text-dark {
  padding-left: 0;
  color: #404040;
  color: #222 !important;
}

.type-PICKLIST .form-control-plaintext,
.type-STATE .form-control-plaintext,
.type-CLASSIFICATION .form-control-plaintext {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* approved-steps */

.modal-body.approved-steps-body {
  min-height: 55px;
}

.timeline.approved-steps {
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 5px;
  margin-right: 15px;
}

.timeline.approved-steps::before {
  top: 25px;
  left: 108px;
}

.timeline.approved-steps > div.no-joint {
  border-right: 3px solid #409eff;
  border-radius: 9px;
}

.timeline.approved-steps > div.joint {
  border-right: 3px solid #409eff;
  border-radius: 6px;
  margin-right: 30px;
  position: relative;
}

.timeline.approved-steps > div.joint:empty {
  display: none;
}

.timeline.approved-steps > div.joint::after {
  position: absolute;
  content: attr(_title);
  right: -35px;
  top: 50%;
  margin-top: -10px;
  font-size: 12px;
  color: #777;
}

.timeline.approved-steps .timeline-item {
  padding-left: 140px;
  margin-bottom: 15px;
}

.timeline.approved-steps .timeline-item::before {
  top: 16px;
  left: 100px;
  border-color: #f7b904;
  background-color: #fff;
}

.timeline.approved-steps .timeline-item.state0::before {
  border-color: #fff;
  background-color: #4285f4;
  border-color: #33a451;
  background-color: #fff;
}

.timeline.approved-steps .timeline-item.state10::before {
  border-color: #fff;
  background-color: #33a451;
}

.timeline.approved-steps .timeline-item.state11::before,
.timeline.approved-steps .timeline-item.state12::before,
.timeline.approved-steps .timeline-item.state13::before {
  border-color: #fff;
  background-color: #ea3f30;
}

.timeline.approved-steps .timeline-item.state21::before {
  border-color: #fff;
  background-color: #f7b904;
}

.timeline.approved-steps .timeline-item.state1::before {
  border-color: #fff;
  background-color: #dbdbdb;
}

.timeline.approved-steps .timeline-item.state1.w::before {
  border: 0 none;
  background-color: #fff;
  content: '\f337';
  font-family: 'Material-Design-Iconic-Font', serif;
  color: #f7b904;
  font-size: 20px;
  margin-top: -2px;
}

.timeline.approved-steps .timeline-content {
  padding: 8px 15px;
  min-height: 48px;
  box-shadow: 0 0 #fff;
  background-color: #f5f5f5;
}

.timeline.approved-steps .timeline-content::before {
  top: 19px;
  background-color: #f5f5f5;
}

.timeline.approved-steps .timeline-date {
  top: 16px;
  line-height: 1.2;
  width: 80px;
}

.timeline.approved-steps .timeline-avatar {
  height: 32px;
  width: 32px;
}

.timeline.approved-steps .timeline-header > .blockquote {
  margin-top: 5px;
  padding: 2px 10px;
  padding-right: 0;
}

.timeline.approved-steps .timeline-header > .blockquote.cc {
  border-left: 0 none;
  padding-left: 0;
}

.timeline.approved-steps .timeline-header > .blockquote.cc a {
  color: #404040;
}

.timeline.approved-steps .timeline-header > .blockquote.cc a + a::before {
  content: ',';
  margin-left: 1px;
  margin-right: 4px;
  color: #8a8a8a;
}

.timeline.approved-steps .timeline-activity > .badge {
  padding: 2px 6px;
  line-height: 1;
  font-size: 12px;
  margin-left: 5px;
  cursor: help;
  border-radius: 99px 99px 99px 0;
  transform: translateY(-1px);
}

.timeline.approved-steps .timeline-item.last {
  position: relative;
  min-height: 30px;
  margin-top: -7px;
  margin-bottom: 5px;
}

.timeline.approved-steps .timeline-item.last > span {
  position: absolute;
  background-color: #dbdbdb;
  color: #777;
  border-radius: 50px;
  padding: 2px 6px;
  width: 50px;
  font-size: 12px;
  margin-left: -57px;
  margin-top: 8px;
  text-align: center;
}

.timeline.approved-steps > strong {
  padding-left: 140px;
  display: block;
}

.timeline.approved-steps .timeline-content p > a.action {
  position: absolute;
  right: 15px;
}

.report-list ul > li {
  position: relative;
}

.report-list ul > li.has-preview > a,
.report-list ul > li.has-pdf > a {
  margin-right: 40px;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.report-list ul > li.has-preview.has-pdf > a {
  margin-right: 80px;
}

.report-list ul > li > span {
  position: absolute;
  right: 0;
  top: 0;
}

.report-list ul > li > span > a {
  width: 38px;
  height: 38px;
  text-align: center;
  display: inline-block !important;
  margin-left: 2px;
  border-radius: 0 !important;
}

.report-list ul > li > span > a:last-child {
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

.report-list ul > li > span > a > .mdi {
  float: none !important;
  display: block !important;
  color: #555 !important;
}

.report-list ul > li > span > a:hover > .mdi {
  color: #fff !important;
}

.switch-view-mode .btn {
  border-radius: 4px;
  border: 0 none;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.switch-view-mode .btn .icon {
  margin-top: 9px;
  display: inline-block;
}

.switch-view-mode .btn.active .icon {
  color: var(--rb-btn-active-color) !important;
}

@media (min-width: 768px) {
  .view-body .col-md-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 21%;
    flex: 0 0 21%;
    max-width: 21%;
  }

  .view-body .col-md-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 79%;
    flex: 0 0 79%;
    max-width: 79%;
  }
}

.tab-content-bottom .tab-pane-bottom {
  padding: 0;
  margin-top: 25px;
  margin-bottom: 5px;
}

.tab-content-bottom .tab-pane-bottom h5 {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 14px !important;
  background-color: #eceff1;
  padding: 12px 15px;
  border-radius: 2px;
}

.tab-content-bottom .tab-pane-bottom h5 > i {
  margin-right: 10px;
  font-size: 15px;
}

.tab-content-bottom .tab-pane-bottom h5 > a {
  float: right;
  font-size: 1.5rem;
  width: 22px;
  height: 22px;
  display: block;
  text-align: right;
  margin-top: -2px;
}

.tab-content-bottom .tab-pane-bottom h5 > a:hover {
  color: #4285f4;
}

.tab-content-bottom .tab-pane-bottom.toggle-hide > div {
  display: none;
}

.tab-content-bottom .tab-pane-bottom.toggle-hide h5 > a.icon::before {
  content: '\f2fb' !important;
}

.tab-content-bottom .related-list {
  min-height: auto;
}

.view-header > span > .close.J_back {
  font-size: 1.6rem;
}

.view-action.invisible2,
.view-history.invisible2 {
  display: none;
}

.sop-toolbar-wrap {
  padding: 10px 18px;
  padding-top: 5px;
  margin-bottom: 18px;
  border-radius: 2px;
  background-color: #f7f7f7;
  background: linear-gradient(to right, #f7f7f7 0%, #ffd700 100%);
  background: linear-gradient(to right, #f7f7f7 0%, #e6f0ff 100%);
}

.sop-toolbar {
  position: relative;
  padding-top: 5px;
}

.sop-steps {
  display: table;
  margin: 0;
  width: 100%;
}

.sop-steps li {
  display: table-cell;
  position: relative;
  text-align: center;
}

.sop-steps li::before {
  position: absolute;
  content: '';
  height: 0;
  line-height: 0;
  font-size: 0;
  border-bottom: 3px solid #ccc;
  top: 12px;
  left: 0;
  width: 100%;
}

.sop-steps li.state-1::before {
  border-bottom: 3px dotted #f7b904;
}

.sop-steps li.state-2::before {
  border-bottom: 3px solid #33a451;
}

.sop-steps li > div {
  width: 160px;
  margin: 0 auto;
}

.sop-steps li > div > span {
  width: 28px;
  height: 28px;
  line-height: 28px;
  display: inline-block;
  background-color: #ddd;
  border-radius: 50%;
  text-align: center;
  color: #777;
  cursor: default;
  border: 2px solid #f7f7f7;
  font-size: 12px;
  font-weight: bold;
  position: relative;
}

.sop-steps li > div > span,
.sop-steps li > div > p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

.sop-steps li > div > p,
.sop-steps li > div > div.tip-content {
  margin-top: 4px;
  line-height: 1.2;
}

.sop-steps li > div > div.tip-content {
  font-size: 12px;
  font-weight: bold;
}

.sop-steps li.state-2 > div > span:hover,
.sop-steps li.state-1.related > div > span:hover {
  cursor: pointer;
  opacity: 0.9;
}

.sop-steps li.state-1 > div > span {
  background-color: #f7b904;
  color: transparent;
}

.sop-steps li.state-2 > div > span {
  background-color: #33a451;
  color: transparent;
}

.sop-steps li.state-2 > div > span > i.mdi {
  color: #fff;
  position: absolute;
  font-size: 16px;
  top: 4px;
  left: 4px;
}

.sop-steps li.state-1 > div > span > i.mdi {
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
}

.sop-steps li > div > span > em {
  background-color: #fff;
  color: #000;
  position: absolute;
  right: -9px;
  top: -8px;
  font-size: 0.8462rem;
  border-radius: 50%;
  font-style: normal;
  font-weight: normal;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
}

.sop-table p.blockquote {
  font-size: 1rem;
  border-left: 3px solid #ccc;
  padding-left: 6px;
  color: #444;
  margin: 0;
  margin-top: 2px;
  display: inline-block;
}

/* v3.7 */

.view-body .view-header {
  position: sticky;
}

.view-body .main-content {
  margin-top: 0;
}

.rbview-form div.formula-code {
  padding-top: 7px;
  padding-bottom: 7px;
}

.rbview-form .type-PICKLIST .form-control-plaintext > span.text-muted,
.rbview-form .type-CLASSIFICATION .form-control-plaintext > span.text-muted {
  display: inline-block;
  padding-top: 3px;
}

.view-action .btn-group .dropdown-menu:not(:has(> :not(.hide)))::after {
  display: block;
  content: attr(_title);
  padding: 8px 20px;
  color: #777;
  font-style: italic;
}
