.list-kanban {min-width: 900px !important;}

#footer {display: none;}

.list-kanban>.kanban-columns-container>table [data-name="amount"] {
  color: #122e45 !important;
  font-weight: bold;
}
.list-kanban>.kanban-columns-container>table [data-name="amount"]:not(:empty)::before {
  content: "RF: "
}

.list-kanban>.kanban-columns-container>table [data-name="cSuccessFee"] {
  color: #00661A !important;
  font-weight: bold;
}
.list-kanban>.kanban-columns-container>table [data-name="cSuccessFee"]:not(:empty)::before {
  content: "SF: "
}

[data-name="cCompletedTasksList"] ul, [data-name="cOtherTasksList"] ul {padding-inline-start: 15px;}

[data-name="cCurrentLeadStatus"] {color: #0d45aa;}


.widget-table-head-1 {text-align: center; background-color: #f8f9fa; padding: 8px; color: var(--navbar-inverse-link-hover-color) !important; font-weight: 600 !important;}
.widget-table-head-1-active {text-align: center; background-color: #ecf5fd; padding: 8px; color: var(--navbar-inverse-link-hover-color) !important; font-weight: 600 !important;}
.widget-table-head-1-pre {text-align: center; background-color: #ece7f9; padding: 8px; color: var(--navbar-inverse-link-hover-color) !important; font-weight: 600 !important;}
.widget-table-head-1-lead {text-align: center; background-color: #d8bdfb; padding: 8px; color: var(--navbar-inverse-link-hover-color) !important; font-weight: 600 !important;}
.widget-table-head-1-pitch {text-align: center; background-color: #a4e0e3; padding: 8px; color: var(--navbar-inverse-link-hover-color) !important; font-weight: 600 !important;}
.widget-table-head-2 {justify-self: center; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; height: 150px; overflow: hidden; text-overflow: ellipsis; white-space: wrap; color: var(--navbar-inverse-link-hover-color); font-weight: 600; line-height: 14px;}

.nav-link [title="Проекты"] { color: var(--navbar-inverse-link-icon-hover-color) !important;}

.label-investments { background-color: #d7ebe1; color: #245457; }

@media screen and (max-width: 767px) {
  .list>table {min-width: 300px;}
  .list {max-width: 100vw; overflow-x: hidden;width: 106%;}
  .attachment-block a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 250px;
    display: inline-block;
    position: absolute;
    margin-left: 5px;
  }
  [data-name="url-7"] {display: none !important;}

.stream-head-text-container a[href*="#Document/view"] {
  white-space: normal;       /* разрешаем переносы */
  overflow-wrap: anywhere;   /* переносить даже длинные слова */
  word-break: break-word;    /* фолбэк */
}

.page-header .header-title, .page-header h3 {white-space: nowrap; line-height: 1.3em;}

}

.modal-header .close>span {
    top: -9px;
}

.kpi-image-view {
    width: 100%;
    height: 100%;
}

.kpi-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.kpi-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
