/* deklaracja zmiennych */
:root {
    --color-very-light-grey: #efefef;
    --color-grey-disabled: #e9ecef;
    --color-grey-subheader-multi: #e8e8e8;
    --color-light-grey: #dee2e6;
    --color-grey-subheader: #dcdcdc;
    --color-grey-subheader0: #c0c0c0;
    --color-grey: #cacaca;
    --color-report-light-grey: #d9d9d9;
    --color-report-border-grey: #d0cece;
    --color-report-grey: #bfbfbf;
    --color-ico-grey: #b3b3b3;
    --color-light-grey-td: #9e9e93;
    --color-grey-header: #9b9b9b;
    --color-report-dark-grey: #9b9b9b;
    --color-grey-shaddow: #888888;
    --color-grey-modal-header:#767676;
    --color-dark-grey: #53595f;
    --color-very-dark-grey: #343a40;
    --color-alert-info-backgrond: #c0e6ff;
    --color-cyan: #17a2b8;
    --color-very-light-blue: #D8E9FC;
    --color-alert-info-border: #80c6ff;
    --color-field-focus-border: #80bdff;
    --color-ico-blue: #42aaf5;
    --color-light-blue: #3994F7;
    --color-blue: #006ADC;
    --color-darker-blue: #2764A5;
    --color-dark-blue: #003D80;
    --color-alert-info-text: #003968;
    --color-very-light-yellow: #fff3cd;
    --color-light-yellow: #e7d6a1;
    --color-diff-text: #fff585;
    --color-alert-warning-border: #ffd965;
    --color-yellow: #F1D900;
    --color-ico-yellow: #F1D900;
    --color-diff-modify: #f7b900;
    --color-for-gradient-yellow: #fca83a;
    --color-dark-yellow:#ffde768f;
    --color-very-dark-yellow: #924f00;
    --color-warning: #856404;
    --color-light-green: #e9ffe1;
    --color-alert-success-background: #d4edda;
    --color-diff-add: #4aa725;
    --color-light-green-td: #92d050;
    --color-ico-green: #4aa725;
    --color-alert-border: #96c2a0;
    --color-green-th: #4cbd8b;
    --color-green: #1D824C;
    --color-success: #00751a;
    --color-alert-success-text: #155724;
    --color-light-red: #f8d7da;
    --color-error: #dc3545;
    --color-red: #D6032D;
    --color-red-td: #ff0000;
    --color-diff-remove: #ff0000;
    --color-ico-red: #ff0000;
    --color-light-red-td: rgba(255, 0, 0, 0.9);
    --color-alert-danger-text: #7b0000;
    --color-alert-danger-border: #721c24;
}

/* ogólne */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-top: 5px;
}
.navbar {
    padding: 0;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--color-blue);
}
.btn-primary {
    background-color: #00366f;
    border-color: #00366f;
}
.btn-success {
    background-color: #1B7E5A;
    border-color: #1B7E5A;
}
.btn-danger {
    background-color: #a72734;
    border-color: #a72734;
}
.btn-light {
    background-color: #ffffff;
    border-color: #e1e2e3;
}
.btn-light:hover {
    background-color: var(--color-very-light-grey);
}
.btn-light:focus {
    border-color: black;
    background-color: var(--color-very-light-grey);
}
.btn-orange {
    background-color: #d88c33;
    border-color: #d88c33;
    color: #fff;
}
.btn-orange:hover,
.btn-orange:focus {
    background-color: #ffa031;
    border-color: #ffa031;
    color: #fff;
}
.btn-orange:focus {
    border-color: black;
}
.btn-info:focus {
    background-color: #138496;
    border-color: black;
}
.btn-primary:focus {
    background-color: #0069d9;
    border-color: black;
}
.btn-secondary:focus {
    background-color: #5a6268;
    border-color: black;
}
.btn-success:focus {
    background-color: #218838;
    border-color: black;
}
.btn-light-yellow {
    background-color: var(--color-very-light-yellow);
    border-color: var(--color-very-dark-yellow);
    color: var(--color-very-dark-yellow);
}
.btn-light-yellow:hover {
    background-color: var(--color-very-dark-yellow);
    border-color: var(--color-very-dark-yellow);
    color: var(--color-very-light-yellow);
}
.btn-light-green {
    background-color: var(--color-light-green);
    border-color: var(--color-green);
    color: var(--color-green);
}
.btn-light-green:hover {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-light-green);
}
.btn-tool {
    color: #6a6a6a;
}
.btn-tool:hover {
    background-color: var(--color-very-light-grey);
}
.btn-tool:focus {
    border-color: black;
    background-color: var(--color-very-light-grey);
}
.btn-warning-ico {
    padding: 0 .3rem;
    font-size: 0.5rem;
}
#global_show_all {
    white-space: nowrap;
    width: 147px;
    min-width: 147px;
    max-width: 147px;
}
.main-header {
    height: 40px;
    border-bottom: none;
}
.main-footer {
    color: #595959;
}
a {
    color: var(--color-blue);
}
.text-success {
    color: #1B7E5A !important;
}
.text-warning {
    color: #ae5a00 !important;
}
.text-bold {
    font-weight: 600;
}
.text-bold-none {
    font-weight: normal;
}
.tooltip {
    pointer-events: none;
}
.tooltip-inner {
    max-width: 80vw;
    text-align: left;
}
a[data-toggle="tooltip"], a[x-tooltip] {
    color: #000;
}
.d-grid {
    display: grid;
}
/*Strona startowa*/
.main-page .content-wrapper{
    background-color: transparent;
}
/* Górne menu */
.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.6);
}
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
    background-color: var(--color-blue);
}
.navbar-dark .profile-item {
    min-width: 210px;
}
.navbar-dark .navbar-nav .nav-item .nav-link.active:focus {
    background-color: var(--color-blue);
    filter: brightness(90%);
}
.navbar-dark .navbar-nav .nav-item .nav-link.active:hover {
    filter: brightness(90%);
    border: none;
}
.navbar-dark .navbar-nav .nav-link:focus {
    border: 1px solid var(--color-field-focus-border);
    outline: none;
    background-color: var(--color-dark-grey);
}
.navbar-dark .navbar-nav .nav-link:not(.active):hover {
    background-color: var(--color-dark-grey);
}
.profile-item a .fas {
    display: inline-block;
    width: 20px;
    text-align: center;
}
/* Boczne menu */
.nav-sidebar .nav-link>.right, .nav-sidebar .nav-link>p>.right {
    top: .3rem;
}
.sidebar .nav-link {
    padding: .01rem;
}
.content-header {
    padding: 0 .5rem;
}
.brand-link {
    display: flex;
    align-items: center;
    text-align: center;
    height: 190px;
}
.brand-link-shaddow {
    box-shadow: 0 5px 5px var(--color-grey-shaddow);
}
.logo {
    height: 60px;
}
.user-panel.pb-3 {
    padding-bottom: .2rem !important;
}
.user-panel.mt-3 {
    margin-top: .2rem !important;
}
.main-footer {
    padding: .2rem .5rem;
}
.nav-sidebar .menu-open > .nav-link i.right {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.sidebar-mini.sidebar-collapse .main-sidebar:hover {
    background-color: white;
}
.left .fa-book {
    position: relative;
    bottom: 15px;
}

/* Kafelki */
.info-box-with-footer {
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 10px;
}
.info-box-with-footer .info-box {
    margin-bottom: 0; color: #000;
    border-radius: .25rem .25rem 0 0;
}
.info-box-with-footer .info-box-icon {
    min-width: 70px !important;
}
.info-box-with-footer .info-box-text {
    white-space: normal !important;
}
.info-box-with-footer .info-box-footer {
    display: block;
    position: relative;
    text-align: center;
}
.info-box-with-footer.bg-lightblue a.info-box-footer:hover {
    filter: brightness(10%);
}
.info-box-with-footer a.footer-warning:hover {
    opacity: .5;
}
.info-box-with-footer .badge-primary {
    background-color:#012d5d;
}
.bg-lightblue { /* Zmienić w plikach szablonu */
    background-color: var(--color-dark-blue) !important;
}
.info-box-with-footer.bg-lightblue a.info-box-footer:hover{
    color: white;
    filter: brightness(65%);
}
.bg-white {
    background-color: white;
}
.bg-light-yellow {
    background-color: var(--color-very-light-yellow);
}
.bg-light-green {
    background-color: var(--color-light-green);
}
/* Nagłówek z opisem przedsięwzięcia */
.content-header .h1-span, .table-data-states .h1-span {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: .2rem;
    font-weight: 500;
    line-height: 1.3;
}
.table-project .h1-span-ellipsis,
.table-wallet .h1-span-ellipsis {
    margin-top: -6px;
}
.table-project .h1-span-ellipsis,
.table-wallet .h1-span-ellipsis,
.table-data-states .h1-span-ellipsis,
.modal-header .h1-span-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table-data-states #extra-options {
    height: 30px;
}
.content-header .top-info {
    background-color: #fff;
}
.content-header .top-info .top-label,
.content-header .fixed-top-info .top-label {
    font-size: .8rem;
    color: #656b71;
    margin-bottom: unset;
}
.content-header .top-info p.phaze_name {
    font-size: 1rem;
    color: #000;
    font-weight: bold;
}
.content-header .top-info h1 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: .2rem;
}
.content-header .top-info .form-group {
    margin-top: 5px;
    margin-bottom: 3px;
}
.content-header .top-info .form-group.btn-project-and-phase {
    margin-top: 4px;
}
.content-header .top-info .btn {
    margin: 0;
}
.card-condensed-header.top-info {
    padding: .1rem .5rem .05rem .5rem;
}
.card-condensed-footer.top-info {
    padding: .3rem .5rem
}
.card-condensed-header h2 {
    margin-top: .1rem;
    margin-bottom: 0;
}
.card-title.top-info {
    margin-bottom: 0;
    font-size: .9rem;
}
.table-pure th {
    background-color: #fff !important;
}
table.table-valign-top td {
    vertical-align: top;
}
.remove-padding-left {
    padding-left: 0;
}
[class*=icheck-] {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
.intervals [class*="icheck-"] {
    margin-bottom: 0 !important;
    margin-top: 4px !important;
}
.top-info .top-actions {
    padding-bottom: .1rem;
}
/* Tabele obiektów */
.card-fake {
    background-color: transparent;
    box-shadow: none;
}
.table-list {
    margin-bottom: 0;
    background-color: #ffffff;
}
.table-list thead th,
.sub-table-list thead th,
.sub2-table-list thead th {
    vertical-align: middle;
}
.table-list td, .table-list th,
.sub-table-list td, .sub-table-list th,
.sub2-table-list td, .sub2-table-list th {
    vertical-align: middle;
}
.table-list td, .sub-table-list td {
    overflow-wrap: anywhere;
}
.table-list th {
    background-color: var(--color-grey-header);
    vertical-align: middle;
}
.blue-layout .table-list th {
    background-color: var(--color-dark-blue);
    color: white;
    vertical-align: middle;
    font-weight: 600;
}
.blue-layout .table-list .report-preview th  {
    color: black;
}
.blue-layout .opinion-preview .sub-table-list th {
    color: black;
}
.blue-layout .table-list th a {
    color: white;
}
.blue-layout .sub-table-list th,
.blue-layout .sub2-table-list th {
    font-weight: 600;
}
.table-list tbody tr:first-child {
    box-shadow: 0 5px 10px var(--color-grey-shaddow);
}
.modal-content .table-list tbody tr:first-child {
    box-shadow: none;
}
/*
.table-list tbody tr:nth-child(2) td {
    padding-top: 10px;
}*/
.table-list .sub-table-list tbody tr:first-child,
.table-list .sub-table-list thead tr:first-child {
    box-shadow: none;
}
.no-background {
    background-color: initial !important;
}
.no-shadow {
    box-shadow: none !important;
}
.with-shadow {
    box-shadow: 0 5px 10px var(--color-grey-shaddow) !important;
}
.sub-table {
    padding-right: 0 !important;
    padding-left: .25rem !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}
.table-label {
    font-weight: bold;
    display: inline-block;
}
.action-icons3 { /* aby była stała szerokość kolumny w formularzu, gdzie nowy obiekt nie ma mikroraportu */
    min-width: 120px;
}
.table-expand, .row-expand {
    min-width: 44px;
    max-width: 44px;
    width: 44px;
    text-align: center;
    vertical-align: middle !important;
}
.table-expand-wide {
    min-width: 55px;
    max-width: 55px;
    width: 55px;
}
.table-expand-sub-import {
    min-width: 30px;
    max-width: 30px;
    width: 30px;
}
.table-list .object-name,
.sub-table-list .object-name {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0;
    word-break: break-word;
}
.table-list .subobject-name {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0;
}
.table-list .sr-only-header th {
    padding: 0;
    border: none;
    box-shadow: none;
}
.sub-table-list {
    margin-bottom: 0;
    background-color: #ffffff;
}
.sub-table-list th, .td-sub-table-bg {
    background-color: var(--color-grey-subheader);
    vertical-align: middle !important;
}
.blue-layout .sub-table-list th {
    background-color: var(--color-grey-header);
    vertical-align: middle;
    color: #000; /* Uspójnienie koloru nagłówka (w przypadku braku tooltipa) */
}
/*stopniowanie koloru szarego na potrzeby zestawień - średni odcień szarego*/
.blue-layout .sub-table-list .color-grey {
    background-color: var(--color-grey);
}
/*stopniowanie koloru szarego na potrzeby zestawień - jaśniejszy odcień szarego*/
.blue-layout .sub-table-list .color-light-grey {
    background-color: var(--color-very-light-grey);
}
.sub-table-list th.sub-th {
    background-color: var(--color-grey-subheader);
}

/*sub2-th odnosi sie do drugiego wiersza*/
.sub-table-list th.sub2-th {
    background-color: var(--color-grey-subheader0);
}
.sub-table-list td .form-group,
.sub2-table-list td .form-group {
    margin-bottom: 0;
}
.sub2-table-list th,
.sub-table-list .sub2-table-list th {
    background-color: var(--color-grey-subheader);
}
.sub2-table-list th.sub-th {
    background-color: #f2f2f2 !important;
}
.table-content {
    border-radius: initial;
    margin-top: 0.6rem;
    padding-bottom: 0.35rem;
    padding-top: 0.35rem;
}
.list-content, .form-content {
    border-radius: initial;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    padding-top: 0.5rem;
    padding-left: 0.45rem;
}
.list-content .info-box {
    margin: 0.25rem 0.7rem 0 0.25rem;
}
.indicator-details .info-box:first-child {
    margin: .5rem 0.7rem 0 0.25rem;
}
.no-margin-right {
    margin-right: 0;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.no-margin-top {
    margin-top: 0;
}
.no-padding-right {
    padding-right: 1px;
}
.no-padding-right .sticky-col-right {
    right: -1px;
}
.no-padding-left {
    padding-left: 0 !important;
}
.no-padding {
    padding: 0 !important;
}
.no-padding-0-2 {
    padding-left: 0;
    padding-right: 2px;
}
.no-padding-0-2 .sticky-col-right {
    right: -2px;
}
.min-width-300 {
    min-width: 300px;
}
.min-width-250 {
    min-width: 250px;
}
.min-width-200 {
    min-width: 200px;
}
.min-width-140 {
    min-width: 140px;
}
.teams-list {
    margin-left: -20px;
    white-space: nowrap;
    margin-bottom: 0;
}
.th-phase, .th-actual-and-planned {
    font-weight: 700;
    background-color: #ffffff !important;
}
.th-phase:hover, .th-sum-value:hover {
    background-color: rgba(0,0,0,.075) !important;
}
.th-sum-control {
    min-width: 135px;
}
.div-fields-date-from-to {
    margin-left: 0 !important;
}
.div-date-from .input-group-sm>.input-group-append>.input-group-text,
.div-date-to .input-group>.input-group-append>.input-group-text {
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
}
.div-date-from {
    margin-left: 0;
    margin-right: 5px;
}
.label-date-from-to {
    margin-right: 15px;
    margin-left: 10px;
}
.div-date-to {
    margin-left: 0;
    margin-right: 0;
}
.date-from-to-errors {
    width: calc(130px + 130px + 50px);
}
.date-from-to-errors .date-from-error {
    margin-right: 45px; /* odstęp do kolejnego pola */
}
.reported {
    min-width: 40px;
    max-width: 40px;
    width: 40px;
}
.th-text-wide {
    min-width: 220px;
    max-width: 220px;
    width: 220px;
}
.th-date {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.th-date-wide {
    min-width: 160px;
    max-width: 160px;
    width: 160px;
}
.th-date-very-wide {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.th-days {
    min-width: 105px;
    max-width: 105px;
    width: 105px;
}
.td-sub-date-import {
    min-width: 130px;
    max-width: 130px;
    width: 130px;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.th-value-with-date {
    min-width: 175px;
    max-width: 175px;
    width: 175px;
}
.th-date-modification {
    min-width: 210px;
    max-width: 210px;
    width: 210px;
}
.th-date-from-to {
    width: 165px;
    min-width: 165px;
    max-width: 165px;
}
.th-amount {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.th-interval {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.th-time {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
.th-project-name {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.th-role {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.th-role-wide {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}
.th-role-in-enterprise {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
}
.th-role-in-enterprise-wide {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.td-date,
.box-content .td-date {
    text-align: center;
    white-space: nowrap;
}
.td-weight {
    text-align: center;
}
.th-state {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.th-state-wide {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.th-open-state {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}
.th-progress {
    width: 85px;
    min-width: 85px;
    max-width: 85px;
}
.th-value {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.th-value-wide {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.th-status {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
}
.th-realization-status {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.th-delay {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.th-achieved-delay-status {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.th-budget-delay {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.td-delay,
.td-reported,
.td-rate {
    text-align: center;
    vertical-align: middle;
}
.td-trend {
    height: 50px;
    text-align: center;
    vertical-align: top !important;
}
.th-weight {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}
.th-weight-wide {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.th-type {
    width: 125px;
    max-width: 125px;
    min-width: 125px;
}
.th-type-wide {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.th-category {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
}
.th-category-small {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.th-enterprise-category {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.th-enterprise-group {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}
.th-significance {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.th-project-affiliation-type {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.th-phase-date {
    width: 11vw;
}
.th-phase-date-wide {
    width: 12vw;
}
.th-phase-name {
    width: 185px;
    min-width: 185px;
    max-width: 185px;
}
.th-phase-pure-name {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.th-category-wide {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
}
.th-current-phase {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.th-direction {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.th-rating {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
}
.th-rating-role {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.th-complementary-product {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
}
.th-complementary-status-product {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.th-implementation-stage {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
}
.th-no {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.th-action-effect {
    width: 195px;
    min-width: 195px;
    max-width: 195px;
}
.th-verification-name {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
@media only screen and (min-width: 1920px) {
    .th-verification-name {
        min-width: 200px;
        max-width: 200px;
        width: 200px;
    }
}
.td-no {
    text-align: center;
}
.th-file {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.th-file-wide {
    width: 185px;
    min-width: 185px;
    max-width: 185px;
}
.td-file-name {
    word-break: break-all
}
.td-date-field {
    text-align: center;
}
.td-date-field .input-group {
    margin: auto;
    width: 140px;
}
.td-pure-checkbox {
    min-width: 30px;
    width: 30px;
    text-align: center;
}
.th-pure-checkbox {
    min-width: 30px;
    max-width: 30px;
    width: 30px;
    text-align: center;
}
.td-pure-checkbox-label {
    text-align: left;
}
.td-pure-checkbox-label label {
    margin-bottom: 0;
}
.th-last-name {
    min-width: 220px;
    max-width: 220px;
    width: 220px;
}
.th-first-name {
    min-width: 115px;
    max-width: 115px;
    width: 115px;
}
.th-first-name-wide {
    min-width: 145px;
    max-width: 145px;
    width: 145px;
}
.th-first-and-last-name {
    min-width: 230px;
    max-width: 230px;
    width: 230px;
}
.th-signature {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.th-communication-channel {
    min-width: 120px;
    max-width: 120px;
    width: 120px;
}
.th-phone {
    min-width: 145px;
    max-width: 145px;
    width: 145px;
}
.th-esp {
    min-width: 300px;
    max-width: 300px;
    width: 300px;
}
.th-email {
    min-width: 300px;
    max-width: 300px;
    width: 300px;
}
.th-institution-name {
    min-width: 300px; /* tylko 'min-width', żeby się dopasowywało do szerokości */
}
.th-institution-role {
    width: 250px;
    max-width: 250px;
    min-width: 250px;
}
.th-undertaking-type {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
}
.th-undertaking-full-name {
    width: calc(70% - 400px);
    max-width: calc(70% - 400px);
    min-width: calc(70% - 400px);
}
.th-department-name {
    min-width: 200px; /* tylko 'min-width', żeby się dopasowywało do szerokości */
}
.th-section-name {
    min-width: 200px; /* tylko 'min-width', żeby się dopasowywało do szerokości */
}
.th-position {
    min-width: 170px;
    max-width: 170px;
    width: 170px;
}
.th-city {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.th-postal-city {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.th-street {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.th-building {
    min-width: 85px;
    max-width: 85px;
    width: 85px;
}
.th-local{
    min-width: 70px;
    max-width: 70px;
    width: 70px;
}
.th-postcode {
    min-width: 90px;
    max-width: 90px;
    width: 90px;
}
.th-institutional-role {
    min-width: 270px;
    max-width: 270px;
    width: 270px;
}
.th-acronym {
    min-width: 140px;
    max-width: 140px;
    width: 140px;
}
@media only screen and (min-width: 2560px) {
    .th-acronym {
        min-width: 160px;
        max-width: 160px;
        width: 160px;
    }
}
.th-date-state {
    min-width: 150px;
    width: 150px;
    max-width: 150px;
}
.th-date-status {
    min-width: 150px;
    width: 150px;
    max-width: 150px;
}
.th-selected-in-pm {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.th-range-of-data {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.th-implementation-status {
    min-width: 140px;
    max-width: 140px;
    width: 140px;
}
.th-report-state {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.th-relevance {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.th-achievement-level {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.th-number {
    min-width: 200px;
    width: 200px;
    max-width: 200px;
}
.th-group-size {
    min-width: 160px;
    width: 160px;
    max-width: 160px;
}
/* Klawisze akcji */
.btn-trash {
    color: #ffffff !important;
    background-color: var(--color-blue);
    width: 35px;
}
.btn-expand-all {
    color: var(--color-blue);
    border-color: transparent;
}
.btn-expand-all:hover,
.btn-expand-all:focus {
    filter: brightness(99%);
}
.btn-expand-all i {
    margin-left: 5px;
    margin-right: 4px;
}
.btn-expand-state {
    text-align: right;
    vertical-align: top !important;
    width: 43px !important;
    min-width: 43px;
    max-width: 43px
}
#filter_button.btn-light {
    color: var(--color-blue);
    border-color: var(--color-blue);
}
#filter_button.btn-light:hover {
    background-color: var(--color-very-light-grey);
}
#filter_button.btn-light:focus {
    border-color: black;
    background-color: var(--color-very-light-grey);
}
/* Ikonki */
.ico-reported {
    color: var(--color-green);
    font-size: 1.5rem;
}
.ico-delay-punctual,
.ico-rate-punctual,
.panel-rating-punctual{
    font-size: .75rem;
    color: black !important;
    background-color: var(--color-ico-green);
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.5em;
    border: 2px solid black;
}
.ico-delay-delayed,
.panel-rating-warning,
.ico-rate-warning {
    font-size: .75rem;
    color: black !important;
    background-color: var(--color-ico-yellow);
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.85em;
    border: 2px solid black;
}
.ico-delay-critical,
.panel-rating-danger,
.ico-rate-endangered {
    font-size: .75rem;
    color: black !important;
    background-color: var(--color-ico-red);
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.67em;
    border: 2px solid black;
}
.ico-delay-implemented,
.panel-rating-closed,
.ico-rate-closed {
    font-size: .75rem;
    color: black !important;
    background-color: var(--color-ico-blue);
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.55em;
    border: 2px solid black;
}
.ico-rate-unknown,
.panel-rating-no-data {
    font-size: .75rem;
    color: black !important;
    background-color: var(--color-ico-grey);
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.6em;
    border: 2px solid black;
}
.panel-icon {
    font-size: 1.2em;
    margin-top: 10px;
}
.th-rate-ico{
    width: 63px;
    min-width: 63px;
    max-width: 63px;
}
.card-condensed-body .table-condensed {
    margin: 10px 2px;
}
table.table-condensed  td, table.table-condensed  th {
    padding: .1rem .25rem .1rem .25rem;
}
.table-condensed .th-sub-table {
    background-color: var(--color-grey-disabled);
    font-weight: normal;
    white-space: nowrap;
}
.table-scrollable {
    display: block;
    overflow-x: auto;
    margin: 0 !important;
}
.table-scrollable th {
    white-space: nowrap;
}
.table-expand .btn-fake {
    color: transparent;
    border-color: transparent;
    background-color: transparent;
}
.table-scrollable .row-expand {
    position: absolute;
    right: 0;
    display: block;
    border: none;
}
.table-scrollable .td-project-name {
    white-space: nowrap;
}
.table-scrollable .td-project-name label {
    margin-bottom: 0;
}
.table-scrollable .td-project-name .read-more-wrap,
.table-scrollable .td-project-name .read-more-target {
    font-weight: normal;
}
.table-scrollable .td-project-name .read-more-trigger {
    font-size: .75rem;
    font-weight: normal;
    margin-right: 0;
}
.table-scrollable .td-project-name i.fas {
    font-size: .7rem;
}
.table-clear {
    width: auto;
    margin-bottom: 0;
}
.table-clear th, .table-clear .td-header {
    background-color: #fff !important;
}
.table-control {
    margin-top: .7rem !important;
}
.table-control th, .table-control td {
    color: #000000;
    border-top: 1px solid #939393;
}
.table-control th {
    border-bottom: 2px solid #939393 !important;
}
/* Panele */
.card-condensed2 h3 {
    margin-top:.2rem;
    font-size: 1.1rem;
    font-weight: normal;
}
.card-condensed2 h4 {
    font-size: 1.1rem;
    font-weight: normal;
}
.card-condensed-header, .card-condensed-body, .card-condensed2-body {
    padding: .2rem .5rem;
}
.card-condensed-title {
    font-size: 1.3rem;
}
.card-condensed-title2 {
    font-size: 1.1rem;
}
.card-condensed-title-list {
    font-size: 1.3rem;
}
.card-condensed-footer {
    padding: .5rem 1rem;
}
.card-condensed-body .form-group, .card-condensed2-body .form-group {
    margin-bottom:.2rem;
}
.card-condensed-body .col-form-label, .card-condensed2-body .col-form-label {
    padding-top: 0;
    padding-bottom: 0;
}
.card-condensed-body {
    padding-left: 15px;
    padding-right: 15px;
}
.card-condensed-body label, .card-condensed2-body label {
    margin-top: 3px;
}
.card-condensed-body table th {
    vertical-align: middle;
}
.content-help .custom-file-label::after,
.content-admin .card-scroller-y .custom-file-label::after{
    height: 100%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f07c" !important;
}
/* Listy obiektów */
.label-list {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
    font-weight: bolder;
    text-align: right!important;
    display: inline-block!important;
}
.label-list-w45 {
    min-width: 45px;
    max-width: 45px;
    width: 45px;
}
.label-list-w90 {
    min-width: 90px;
    max-width: 90px;
    width: 90px;
}
.label-list-w110 {
    min-width: 110px;
    max-width: 110px;
    width: 110px;
}
.label-list-budget {
    min-width: 270px;
    max-width: 270px;
    width: 270px;
}
.label-list-budget-second-col {
    min-width: 290px;
    max-width: 290px;
    width: 290px;
}
@media only screen and (min-width: 1366px) {
    .label-list-budget {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
    }
}
@media only screen and (min-width: 1536px) {
    .label-list-budget,
    .label-list-budget-second-col {
        min-width: 360px;
        max-width: 360px;
        width: 360px;
    }
}
@media only screen and (min-width: 1920px) {
    .label-list-budget {
        min-width: 440px;
        max-width: 440px;
        width: 440px;
    }
    .label-list-budget-second-col {
        min-width: 510px;
        max-width: 510px;
        width: 510px;
    }
}
@media only screen and (min-width: 2560px) {
    .label-list-budget {
        min-width: 440px;
        max-width: 440px;
        width: 440px;
    }
    .label-list-budget-second-col {
        min-width: 580px;
        max-width: 580px;
        width: 580px;
    }
}
.label-list-budget-cost {
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}
.label-list-w140 {
    min-width: 140px;
    max-width: 140px;
    width: 140px;
}
.label-list-w160 {
    min-width: 160px;
    max-width: 160px;
    width: 160px;
}
.label-list-w180 {
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}
.label-list-w190 {
    min-width: 190px;
    max-width: 190px;
    width: 190px;
}
.label-list-w200 {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
}
.label-list-w223 {
    min-width: 223px;
    max-width: 223px;
    width: 223px;
}
.label-list-w230 {
    min-width: 230px;
    max-width: 230px;
    width: 230px;
}
.label-list-w245 {
    min-width: 245px;
    max-width: 245px;
    width: 245px;
}
.label-list-w260 {
    min-width: 260px;
    max-width: 260px;
    width: 260px;
}
.label-list-w280 {
    min-width: 280px;
    max-width: 280px;
    width: 280px;
}
.label-list-w293 {
    min-width: 293px;
    max-width: 293px;
    width: 293px;
}
.label-list-w310 {
    min-width: 310px;
    max-width: 310px;
    width: 310px;
}
.label-list-w402 {
    min-width: 402px;
    max-width: 402px;
    width: 402px;
}
.label-list-w635 {
    min-width: 635px;
    max-width: 635px;
    width: 635px;
}
.value-list {
    font-weight: normal;
    white-space: normal !important;
    margin-left: 1rem !important;
    overflow-wrap: anywhere;
}
.value-list-w100 {
    min-width: 100px;
    max-width: 100px;
    width: 100px;
}
.value-table {
    white-space: nowrap!important;
    vertical-align: middle!important;
    line-height: 1;
    text-align: right;
}
.value-table span.small-date {
    font-size: smaller;
}
.table-hover tbody tr.remove-table-hover:hover{
    background-color:#fff;
}
.table-actions {
    min-width: 5rem;
    width: 5rem;
    max-width: 5rem;
    text-align: center;
}
.actions {
    white-space: nowrap;
    width: 110px;
}
table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: .1em;
}
.paginate_button .page-link {
    padding: .3rem .5rem;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: .4em;
}
/* style dla listy korzyści */
#openThisTable1_1, #openThisTable1_2, #openThisTable1_3 {
    display: none;
}
.info-box {
    margin-bottom: 0;
    min-height: 45px;
}
.project-panel .info-box {
    min-height: 85px;
}
.info-box-content.rezultat {
    width: 40vw;
}
.unit-position {
    position: relative;
    left: 4%;
}
.indicator-table {
    margin-bottom: 0 !important;
}
.list-indicator-content {
    padding-top: .2rem;
    padding-left: .2rem;
}
.indicator-table tbody tr:first-child {
    box-shadow: 0 .3rem .3rem rgba(0,0,0,.3)!important;
}
.indicator-value-and-date {
    font-weight: bold;
}
.indicator-value-and-date span {
    font-weight: normal;
    font-size: 80%;
}
/* Bar rating */
.rating {
    width: .5rem;
    height: 1.2rem;
    background-color: #ffe4bb;
    color: #ffe4bb;
    margin: .05rem;
    font-size: .5rem;
}
.rating.active {
    background-color: #521328;
    color: #521328;
}
.th-score {
    width: 8rem;
}
.score {
    margin-left: .5rem;
    color: #521328;
    font-weight: bold;
}
/* Alerty */
.alert-condensed {
    padding: 0.2rem !important;
    margin-bottom: .1rem;
}
.alert-condensed p {
    margin-bottom: 0;
}
.alert-dismissible p {
    padding-right: 1rem;
}
.alert-dismissible-wide-controls div.warning-text {
    padding-right: 3.2rem;
}
.alert-dismissible .close {
    padding: 0 0.5rem !important;
}
.finish-project-modal .alert-warning .close, .finish-program-modal .alert-warning .close {
    padding: 0 1.2rem !important;
}
.alert-warning {
    color: var(--color-warning);
    background: var(--color-very-light-yellow);
    border-color: var(--color-alert-warning-border);
}
.modal-body .alert-warning .close {
    color: var(--color-warning);
    opacity: initial;
}
.alert-warning a {
    text-decoration: none;
    color: var(--color-darker-blue);
}
.alert-success {
    color: var(--color-alert-success-text);
    background-color: var(--color-alert-success-background);
    border-color: var(--color-alert-border);
}
.alert-success a {
    text-decoration: none;
    color: var(--color-darker-blue);
}
.alert-success .close {
    color: var(--color-alert-success-text);
    opacity: initial;
}
.alert-danger {
    color: var(--color-alert-danger-text);
    background-color: var(--color-light-red);
    border-color: var(--color-alert-danger-border);
}
.alert-danger .close {
    color: var(--color-alert-danger-border) !important;
    opacity: initial;
}
.alert.alert-danger a {
    text-decoration: none;
    color: var(--color-darker-blue);
}
.alert.alert-info {
    color: var(--color-alert-info-text);
    background-color: var(--color-alert-info-backgrond);
    border-color: var(--color-alert-info-border);
}
.alert.alert-info .close {
    color: var(--color-alert-info-text) !important;
    opacity: initial;
}
.alert.alert-info i.fas {
    color: var(--color-alert-info-text);
}
.alert.alert-info .btn-dark:focus {
    background-color: var(--color-alert-info-backgrond);
}
.alert.alert-info a {
    text-decoration: none;
    color: var(--color-darker-blue);
}
.alert ul {
    margin-bottom: 0;
}
.form-alert {
    margin-right: 0.5rem;
}
/* Formularze */
.text-label {
    font-weight: 700;
    text-align: right!important;
}
.text-value {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
}
.required-info {
    color: #c90000;
}
.required:before {
    content:"*";
    color: #c90000;
}
.invalid-feedback {
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: inline-block;
    white-space: normal;
}
.date-div {
    width: 120px;
}
.date-div .input-group-sm > .form-control {
    padding: .25rem .4rem;
}
.date-div .input-group-sm>.input-group-append>.input-group-text {
    padding: .25rem .4rem;
}
.date-div .input-group-sm>.input-group-append>.input-group-text {
    font-size: 1rem;
}
.date-field {
    max-width: 100px;
}
.td-formset-add-row {
    border-bottom: none;
    border-left: none;
    border-right: none;
}
.btn-formset-add {
    color: var(--color-dark-blue);
    border: 1px solid var(--color-dark-blue);
    background-color: white;
}
.btn-formset-add:focus {
    border-color: black;
    background-color: var(--color-very-light-grey);
}
.btn-formset-add:hover {
    background-color: var(--color-very-light-grey);
}
.btn-formset-del {
    color: var(--color-light-blue);
    border: 1px solid var(--color-light-blue);
}
.btn-formset-del:focus {
    border-color: black;
    background-color: var(--color-very-light-grey);
}
.btn-formset-del:hover {
    background-color: var(--color-very-light-grey);
}
.checkbox-div label {
    margin-top: 0;
}
.native-checkbox {
    padding-top: calc(.375rem + 1px);
}
.label-for-autocomplete-text {
    font-size: inherit;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 0;
}
span.label-for-autocomplete-text {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}
.select2-dropdown.reducingzindexclass {
    z-index: 2;
}
.select2-dropdown.increasedzindexclass {
    z-index: 1050;
}
.select2-container.select2-container--classic.select2-container--open li.select2-results__option.select2-results__option--highlighted {
    background-color: var(--color-blue);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: black;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: white;
    color: black;
}
.select2-container--classic .select2-results__option[aria-disabled=true] {
    /* ukrycie zablokowanej opcji pola */
    display: none;
}
.select2-selection--single, .select2-selection--multiple {
    border: 1px solid var(--color-grey) !important;
    border-radius: .2rem;
    background-image: none !important;
    font-size: .875rem;
    padding-left: .25rem;
    line-height: 1.3;
}
.select2-container--classic .select2-selection--single {
    background-color: #fff !important;
}
.select2-selection__arrow {
    width: 17px !important;
    background-image: none !important;
}
div.is-invalid .select2-selection--single,
div.is-invalid .select2-selection--multiple {
    border: 1px solid var(--color-error) !important;
}
div.is-invalid .select2-selection--multiple {
    line-height: 1.3 !important;
}
.select2-container--focus .select2-selection--single,
.select2-container--focus .select2-selection--multiple {
    border: 1px solid var(--color-field-focus-border) !important;
}
.select2-container--classic.select2-container--disabled .select2-selection--single {
    background-color: var(--color-grey-disabled) !important;
    cursor: default;
}
.select2-container--classic.select2-container--disabled .select2-selection--multiple {
    background-color: var(--color-grey-disabled) !important;
    cursor: default;
}
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: black;
}
.btn-help {
    padding: 1px 1px !important;
    color: #0063CC;
    background-color: inherit;
    border: none;
}
.is-invalid {
    border-color: var(--color-error);
    background-image: none !important;
}
.right-addon {
    border-top-right-radius: .2rem !important;
    border-bottom-right-radius: .2rem !important;
}
.select-with-copy-button {
    display: flex;
}
.select-with-copy-button .select2-container--classic .select2-selection--single,
.select-with-copy-button .select2-container--classic .select2-selection--single .select2-selection__arrow {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.select-with-copy-button .select-div {
    width: calc(100% - 40px);
}
.select-with-copy-button .input-group-append {
    width: 40px;
    margin-left: 0;
}
.select-with-copy-button .input-group-append>.right-addon {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 28px;
    background-color: #ddd;
}
.left-addon {
    border-top-left-radius: .2rem !important;
    border-bottom-left-radius: .2rem !important;
}
.addon-is-invalid {
    border-color: var(--color-error);
}
.check-box {
    margin-left: 0 !important;
}
.btn-add {
    margin: .2rem 0.2rem;
}
.errors-line {
    margin-top: -.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.date-field-error {
    padding-left: 0;
}
.date-from-error {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.textarea-error {
    margin-top: 0;
}
.date-error {
    width: 132px;
    display: block;
}
.form-text ul {
    margin-bottom: 0;
}
.table-range-date {
    margin: 0;
}
.table-range-date th, .table-range-date td {
    border: none;
}
.btn-warning-ico {
    padding: 0 .3rem;
    font-size: 0.5rem;
}
.products-changes label {
    text-align: left !important;
}
.products-changes div {
    padding-left: 5px;
}
.products-changes textarea {
    margin-left: 14px;
}
.spinnerOverlay {
    display: none;
    position: fixed;
    z-index: 1045000001 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center rgba(0 0 0 / 0.5) url(../img/spinner.gif);
    cursor: wait;
}
.spinnerOverlayTransparent {
    background: transparent !important;
}
/* style dla pokaż więcej do Przyczyny opóźnienia */
.read-more-state {
    display: none;
}
.read-more-target {
    display: inline-block;
    opacity: 0;
    max-height: 0;
    font-size: 0;
}
.read-more-target > span {
    display: none;
}
.read-more-target p {
   margin: 0;
}
.read-more-target p span {
    display: none;
}
.read-more-state:checked ~ .read-more-wrap {
    display: none;
}
.read-more-state:checked ~ .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}
.read-more-state:checked ~ .read-more-target p {
    margin-bottom: 1rem ;
}
.read-more-state:checked ~ .read-more-target p span {
    display: inline-block;
}
.read-more-state ~ .read-more-trigger:before {
    content: 'Pokaż więcej';
}
.read-more-state:checked ~ .read-more-trigger:before {
    content: 'Pokaż mniej';
}
.read-more-trigger {
    cursor: pointer;
    margin-right: 5px;
    display: inline-block;
    font-size: .9em;
    font-weight: bold;
    line-height: 2;
    font-family: 'Montserrat', sans-serif;
}
.fa-chevron-right {
    font-size: .8em;
}
.show-text {
    display: none;
}
.show-text:target {
    display: block;
}
p.read-more-wrap, p.read-more-target {
    margin-bottom: 0.5em;
}
.fa-chevron-right {
    font-size: .5em;
}
.fa-chevron-right {
    font-size: .5em;
}
/* ujednolicenie do makiety */
.btn-table-add  {
    width: 100%;
}
.wide-table-scroller {
    overflow-x: auto;
    position: relative;
}
.wide-planned-div {
    margin-top: 1rem;
    margin-bottom: 0;
    margin-left: .25rem;
}
.wide-reached-div {
    margin-top: 1rem;
    margin-bottom: .5rem;
    margin-left: 0.25rem;
}
.wide-table,
.report-wide-table {
    display: block;
    border: none;
    margin-bottom: 0;
    box-shadow: none !important;
    overflow-x: auto;
    position: relative;
}
.report-wide-table {
    width: calc(100vw - 250px - 2rem - 2rem);
    transition: width .3s ease-in-out;
}
.sidebar-collapse .report-wide-table {
    width: calc(100vw - 2rem - 2rem);
}
.wide-planned-div .wide-table th:first-child, .wide-table .sticky-col,
.wide-reached-div .wide-table th:first-child, .wide-table .sticky-col {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    left:0;
    z-index:1;
}
.reason{
    height: 80px;
}
.wide-planned-div .th-wide-table,
.wide-reached-div .th-wide-table {
    min-width: 120px;
    max-width: 120px;
    width: 120px;
    white-space: normal;
    min-height: 39px;
}
.wide-planned-div th,
.wide-reached-div th {
    background-color: var(--color-grey-disabled) !important;
}
.list-indicator-content .wide-planned-div tbody tr:first-child th,
.form-group.wide-planned-div tbody tr:first-child th {
    border: 1px solid var(--color-grey-disabled);
    border-bottom: 1px solid var(--color-light-grey);
    border-top: 1px solid var(--color-light-grey);
}
.form-group.wide-planned-div tbody tr:first-child th:nth-last-child(1) {
    border-right: 1px solid var(--color-light-grey);
}
.wide-planned-div th.planned-col {
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}
.wide-planned-div th.planned-col-header-form {
    width: 240px !important;
}
td.planned-date.td-form-field,
td.reached-date.td-form-field,
td.base-date.td-form-field {
    white-space: normal !important;
}
td.planned-date.td-form-field,
td.planned-value.td-form-field,
td.td-delay.td-form-field,
td.planned-delay-reason.td-form-field {
    width: 240px !important;
}
.wide-reached-div th.base-col-header-form,
.wide-reached-div th.reached-col-header-form {
    width: 160px !important;
}
td.base-date.td-form-field,
td.base-value.td-form-field,
td.reached-date.td-form-field,
td.reached-value.td-form-field {
    width: 160px !important;
}
td.project-general.td-form-field,
td.program-general.td-form-field {
    min-width: 130px !important;
}
.wide-planned-div .input-group,
.wide-reached-div .input-group {
    margin: auto;
    width: 130px;
}
.wide-reached-div th.base-col,
.wide-reached-div th.reached-col {
    min-width: 120px;
    max-width: 120px;
    width: 120px;
}
.wide-reached-div th.reached-col {
    border-right: 1px solid var(--color-grey-disabled);
}
.wide-planned-div td,
.wide-planned-div th,
.wide-reached-div td,
.wide-reached-div th {
    padding: .5rem !important;
}
.wide-planned-div td.planned-value,
.wide-reached-div td.reached-value,
.wide-reached-div td.base-value {
    vertical-align: middle;
    text-align: left;
}
.wide-planned-div td.planned-date,
.wide-reached-div td.reached-date,
.wide-reached-div td.base-date {
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}
.wide-planned-div td.planned-delay-reason {
    vertical-align: top;
    text-align: left;
    font-size: smaller;
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}
.wide-planned-div td.planned-delay-reason label {
    font-weight: normal;
    margin-bottom: 0;
}
.wide-table td.td-wide-table {
    width: 140px !important;
    font-weight: bold;
    white-space: nowrap;
}
.wide-table td.td-wide-table.td-form-field {
    font-weight: normal;
    white-space: normal;
}
.wide-table td.td-wide-table.td-form-field .invalid-feedback {
    line-height: 1;
}
.wide-table td.td-wide-table.delay-reason {
    font-size: 80%;
    font-weight: normal;
    white-space: normal;
}
.wide-table td.action-button {
    background-color: #fff;
    border-left: 0 !important;
    border-top: 0 !important;
    text-align: center;
    vertical-align: middle!important;
}
.wide-table th.wide-table-base-header,
.wide-table th.wide-table-current-header,
.wide-table th.wide-table-planned-header {
    text-align: center;
    vertical-align: middle!important;
    background-color: var(--color-grey-disabled);
    font-weight: normal;
}
.wide-table th.wide-table-current-header,
.wide-table th.wide-table-planned-header {
    border-right: 1px solid var(--color-grey-disabled);
}
.wide-table th.wide-table-col-header {
    background-color: var(--color-grey-disabled);
    border-left: 1px solid var(--color-grey-disabled);
    border-right: 1px solid var(--color-grey-disabled);
    text-align: center;
    vertical-align: middle!important;
    min-width: 120px;
    max-width: 120px;
    width: 120px;
}
.wide-table th.wide-table-planned-col-header {
    background-color: var(--color-grey-disabled);
    border-left: 1px solid var(--color-grey-disabled);
    border-right: 1px solid var(--color-grey-disabled);
    text-align: center;
    vertical-align: middle!important;
    min-width: 180px;
    max-width: 180px;
    width: 180px;
}
.wide-table .btn-wide-table-add {
    color: #1B7E5A;
    /*color: #1f2d3d; */
    background-color: #fff;
    border: 1px solid #1B7E5A;
}
.wide-table .btn-wide-table-add:hover {
    color: #fff;
    background-color: #1B7E5A;
    border: 1px solid #1B7E5A;
}
.wide-table .btn-wide-table-del {
    color: #a72734;
    background-color: rgb(233,236,239,0);
    border: 1px solid #a72734;
}
.wide-table .btn-wide-table-del:hover {
    color: #fff;
    background-color: #a72734;
    border: 1px solid #a72734;
}
.wide-table .btn-wide-table-del-pushed {
    color: #fff;
    background-color: #a72734;
    border: 1px solid #a72734;
}
.wide-table .btn-wide-table-del-pushed:hover {
    color: #a72734;
    background-color: rgb(233,236,239,0);
    border: 1px solid #a72734;
}
.wide-planned-div .wide-table .planned-value .form-group,
.wide-planned-div .wide-table .planned-date .form-group,
.wide-planned-div .wide-table .planned-delay-reason .form-group,
.wide-reached-div .wide-table .base-value .form-group,
.wide-reached-div .wide-table .reached-value .form-group,
.wide-reached-div .wide-table .base-date .form-group,
.wide-reached-div .wide-table .reached-date .form-group {
    margin-bottom: 0;
}
.card-condensed2 {
    margin-top: 1rem;
}
.wide-planned-table th {
    width: 170px;
}
.wide-planned-table th:first-child {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position:sticky;
    left:0;
    z-index:1000;
    white-space: nowrap;
}
.wide-planned-table .form-group {
    margin-bottom: 0;
    width: 140px !important;
}
.wide-planned-table .planned-input {
    width: 140px !important;
}
.base-table {
    margin: 0 !important;
    width: 260px;
}
.base-table th, .base-table td {
    min-width: 140px;
}
.wsk-hide {
    display: none;
}
.wsk-header {
    line-height: 1.5; /* ustawić na 1, jeśli będzie trzeba ścisnąć wiersz nagłówkowy wskaźnika */
}
.base-and-planned-table {
    margin-bottom: .5rem;
}
.none {
    display: none;
}
.nowrap {
    white-space: nowrap;
}
.modal-body {
    white-space: normal;
}
/* kroki formularza */
.step {
    height: 1.5rem;
    width: 1.5rem;
    background-color: #bbbbbb;
    color: #000000;
    border: none;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    opacity: .5;
}
.step.active {
    opacity: 1;
}
.step.finish {
    opacity: 1;
    background-color: #4CAF50;
}
/*dla trendu rosnący/malejący*/
.fa-arrow-up {
    transform: rotate(50deg);
    -ms-transform: rotate(50deg); /* IE 9 */
}
.fa-arrow-up.decreases {
    transform: rotate(130deg);
    -ms-transform: rotate(130deg); /* IE 9 */
}
.nohover:hover {
    background-color: #fff !important;
}

/* Klasa dla linków w roli przycisku Anulowania w formularzach */
a.btn-cancel {
    color: #ffffff !important;
}

/* Klasa dla linków pod ikonami */
a.info-box-icon:hover{
    filter: brightness(65%);
}
/* Klasy dla 2paska - projekty */
.card-enterprise {
    border-radius: 0;
    margin-bottom: 5px;
}
.card-enterprise table {
    margin: 0 !important;
    width: 100%;
}
.card-enterprise table thead th {
    vertical-align: top;
    border: 0;
    font-weight: 300;
    padding-top: 0;
}
.card-enterprise table th:last-child {
    width: 39px;
}
.content-header .card-enterprise h1 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: .2rem;
}
/* Klasy dla 3paska - stany */
.card-data-states {
    border-radius: 0;
    margin-bottom: 5px;
}
.card-data-states table {
    font-size:0.8rem;
    margin: 0 !important;
    width: 100%;
}
.active-status {
    background-color: var(--color-very-light-blue);
}
.table-data-states-closed tbody tr:first-child,
.table-data-states-ondemand tbody tr:first-child {
    background-color:inherit;
}
.card-data-states table thead th {
    vertical-align: middle;
    border: 0;
    font-weight: 300;
    padding-top: 0 !important;
}
.card-data-states table th:last-child {
    width: 10px;
}
.completion-phase tr:first-child {
    background-color: inherit !important;
}
.btn-compare {
    margin: 10px 0;
}
.btn-clear {
    border: none;
    background-color: inherit;
    color:#1f22ed ;
    font-weight: 600;
}
.card-data-states table th:last-child button:focus {
    outline: none;
}
.card-data-states table tr:last-child td,
.card-data-states table tr:last-child th {
    padding-bottom: 1px;
    border: 0 !important;
}
.card-data-states table thead tr:last-child td {
    padding-bottom: 5px;
}
.change_range {
    color: #1f2d3d;
}
.card-data-states table td {
    font-weight: 400;
    border: 0;
}
.table-data-states-closed button, .table-data-states-ondemand button,
.btn-data-states, .completion-phase div.btn-data-states,
.table-data-states label.data-state-info  {
    text-align: center;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    background-color: white;
    font-size: 0.75rem;
    padding: 4px 0;
    border: 1px solid #58636E;
    color: #58636E;
    line-height: 1.1;
}
.table-data-states label.data-state-info {
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.table-data-states.disabled-states label.data-state-info {
    cursor: initial;
}
.data-state {
    display: inline-block;
    width: 0;
    height: 0;
    line-height: 0;
    position: absolute !important;
}
.data-state:checked ~ .data-state-info,
.data-state:checked ~ .btn-data-states {
    background-color: var(--color-dark-blue);
    color: white;
    border: solid 1px var(--color-dark-blue);
}
.data-states, .phase-states {
    width: 7vw !important;
    padding: 4px 0;
    margin-bottom: 15px;
    line-height: 1;
    font-weight: 700;
}
.phase-states {
    margin-bottom: 5px;
}
.phase-states.partial-dark-blue-bg {
    color: white !important;
    background: white;
    background: linear-gradient(90deg, white 15%, var(--color-dark-blue) 15%, var(--color-dark-blue) 85%, white 85%)
}
.completion-phase {
    margin-bottom: 10px;
}
.btn-data-states:focus {
    outline: none;
}
.completion-phase div.btn-data-states:hover {
    cursor: pointer;
}
.completion-phase a.btn-data-states:focus {
    background-color: #1d4f86;
    border-color: black;
}
.table-data-states-closed, .table-data-states-ondemand {
    border: 0;
}
.table-data-states-closed td, .table-data-states-closed th,
.table-data-states-ondemand td, .table-data-states-ondemand th{
    border: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 0.75rem;
}
.table-data-states-closed td, .table-data-states-ondemand td {
    padding-top: 0 !important;
}
.fa-check {
    color: #428c4e;
}
.btn .fa-check {
    color: #ffffff;
}
.fa-clock {
    color: #1f22ed;
}
.data-states-title {
    text-align: left;
    padding-top: 1rem !important;
    font-weight: 700 !important;
}
.data-states-sub-title {
    text-align: left;
    font-weight: 600 !important;
}
.table-data-states-closed th, .table-data-states-ondemand th, .completion-phase th {
    min-width: 40px;
    max-width: 40px;
    width: 40px;
}
.info{
    margin-left: 5px;
}
.card-data-states .table-condensed td {
    padding: .2rem .25rem .2rem 0;
}
.btn-compare:hover {
    color: white;
}
.th-data-open-states {
    min-width: 175px;
    width: 175px;
    max-width: 175px;
    font-weight: 700;
}
td.data-states-phase {
    text-transform: uppercase;
}
th.data-states-phase {
    width: 100%;
}
.data-states-col {
    min-width: 95px;
    width: 95px;
    max-width: 95px;
}
.data-states-accepted-data {
    min-width: 133px;
    width: 133px;
    max-width: 133px;
}
.data-states-accepted-reports {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
}
.data-states-agreed {
    min-width: 80px;
    width: 80px;
    max-width: 80px;
}
.td-state {
    white-space: nowrap;
    text-overflow: ellipsis;
}
.td-data-status {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: .1rem .25rem .1rem .25rem !important;
}
@media only screen and (min-width: 1400px) {
    .data-states-col,
    .data-states-agreed {
        min-width: 125px;
        width: 125px;
        max-width: 125px;
    }
    .data-states-accepted-data,
    .data-states-accepted-reports {
        min-width: 150px;
        width: 150px;
        max-width: 150px;
    }
}
@media only screen and (min-width: 1536px) {
    th.data-states-phase { /* przestawienie kolumny fazy z ruchomej na stałą o szerokości 200px */
        min-width: 200px;
        width: 200px;
        max-width: 200px;
    }
    .data-states-col,
    .data-states-accepted-data,
    .data-states-accepted-reports,
    .data-states-agreed {
        width: calc((100% - 175px - 200px - 40px)/6); /* 100% - tabela; 175px - data; 200px - faza; 40px - guzik */
        max-width: unset;
    }
}
.states-change-range {
    min-width: 20px;
    width: 20px;
    max-width: 20px;
}
.table-data-states .states-name-or-number {
    height: 52px;
    vertical-align: middle;
    padding-left: 0;
}
input.data-state:focus + label {
    background-color: var(--color-very-light-grey);
}
input.data-state:checked:focus + label {
    background-color: #1d4f86;
    border-color: black;
}
.extra-options-all:hover {
    background-color: var(--color-very-light-yellow);
    cursor: pointer;
}
.table-data-states.disabled-states .extra-options-all:hover {
    background-color: initial;
    cursor: initial;
}
.table-data-states.disabled-states .extra-options-all.bg-light-green:hover {
    background-color: var(--color-light-green);
}
.extra-options-all label {
    border: none;
    line-height: unset;
    padding: 0;
}
.extra-options-all .open-state {
    float: left!important;
    position: relative;
    top: 2px;
}

/* cele */
.table-strategies .th-strategy-name {
    width: calc(50% - 44px);
    max-width: calc(50% - 44px);
    min-width: calc(50% - 44px);
}
/* działania */
.th-operation-implementation-level{
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.th-prev-or-next-reaction {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}
.th-prev-or-next-delay {
    width: 195px;
    min-width: 195px;
    max-width: 195px;
}
@media only screen and (max-width: 1400px) {
    .th-prev-or-next-delay {
        width: 110px;
        min-width: 110px;
        max-width: 110px;
    }
}
/* ryzyka */
.risks-col {
    min-width: 100px;
    max-width: 100px;
    width: 100px;
}
.risk-significance {
    width: 85px;
    max-width: 85px;
    min-width: 85px;
}
.risk-impact {
    width: 65px;
    max-width: 65px;
    min-width: 65px;
}
.risk-impact-wide {
    width: 145px;
    max-width: 145px;
    min-width: 145px;
}
.risk-actuality-status {
    width: 110px;
    max-width: 110px;
    min-width: 110px;
}
.th-risk-actuality-status {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
}
.risk-level {
    width: 105px;
    max-width: 105px;
    min-width: 105px;
}
.th-risk-level {
    width: 105px;
    max-width: 105px;
    min-width: 105px;
}
.risk-level-wide {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
}
.risk-operations_to_do {
    width: 110px;
    max-width: 110px;
    min-width: 110px;
}
.risk-scope-change-direction {
    width: 135px;
    max-width: 135px;
    min-width: 135px;
}
.th-risk-scope-change-direction {
    width: 105px;
    max-width: 105px;
    min-width: 105px;
}
.risk-overall-risk-reaction {
    width: 200px;
    max-width: 200px;
    min-width: 200px;
}
.th-risk-probability {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}
.th-risk-probability-short {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
}
.th-risk-probability-short-wide {
    width: 145px;
    min-width: 145px;
    max-width: 145px;
}
.risks-level .th-risk-probability {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}
.risks-level .th-risk-probability-wide {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.th-risk-probability-wide {
    width: 225px;
    min-width: 225px;
    max-width: 225px;
}
@media only screen and (max-width: 1340px) {
    .th-risk-level {
        width: 105px;
        max-width: 105px;
        min-width: 105px;
    }
    .risk-table td {
        word-break: break-word;
    }
}
.table-phase {
    margin-bottom: .5rem !important;
}
.table-phase {
    width: 100%;
    margin-right: auto !important;
}
.table-phase th {
    background-color: var(--color-grey-disabled) !important;
    vertical-align: middle !important;
}
.table-phase thead th:first-child {
    width: 20%;
}
.table-phase thead th:nth-child(2){
    width: 45%;
}
.table-level {
    margin-bottom: .5rem !important;
}
.table-level {
    width: 100%;
    margin-right: auto !important;
}
.table-level th {
    background-color: var(--color-grey-disabled) !important;
    vertical-align: middle !important;
}
.th-risk-reaction {
    width: 195px;
    min-width: 195px;
    max-width: 195px;
}
.th-risk-reaction-wide {
    width: 225px;
    min-width: 225px;
    max-width: 225px;
}
.th-risk-changes {
    width: 285px;
    min-width: 285px;
    max-width: 285px;
}
.th-risk-status {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.th-risk-status-wide {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.th-actions-implemented {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
/* decyzje */
.decisions .th-date-wide {
    min-width: 130px;
    width: 130px;
    max-width: 130px;
}
.decisions .th-type {
    min-width: 90px;
    width: 90px;
    max-width: 90px;
}
/* budżet */
/* Budżet style dla głównej tabeli pozycji kosztowej - problem za dużej tabeli dla małych ekranów */
.costs-details .wide-table-scroller,
.costs-details {
    overflow-y: hidden!important;
}
.costitem-sticky {
    width: calc(100% - 7.5px); /* żeby się pozbyć zbędnego paska przewijania */
}
@media only screen and (max-width: 1440px) {
    .costs-details {
        overflow-x: auto;
    }

    .costs-details .sub-table,
    .costitem-sticky,
    .project-cost-item-row {
        display: contents;
    }

    .costs-details .list-indicator-content {
        position: sticky;
        left: 0;
    }
}
.th-financing-source {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}
.th-action-financing-sources-table {
    min-width: 175px;
    width: 175px;
    max-width: 175px;
    position: sticky;
    left: 0;
    z-index: 1;
}
.th-financing-sources-table {
    min-width: 175px;
    width: 175px;
    max-width: 175px;
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 5px 3px 5px var(--color-grey-header);
}
.table-budget {
    width: 100%;
    margin-bottom: .5rem !important;
    margin-right: auto !important;
}
.table-budget th {
    background-color: var(--color-grey-disabled) !important;
    vertical-align: middle !important;
}
table.financing-sources-table td {
    /* bez `width`, żby się dopasowywało w razie potrzeby */
    min-width: 300px;
    max-width: 300px;
}
table.financing-sources-table th.border-separator-top,
table.financing-sources-table td.border-separator-top {
    border-top: 10px solid var(--color-light-grey);
}
table.financing-sources-table th.border-separator-bottom,
table.financing-sources-table td.border-separator-bottom {
    border-bottom: 10px solid var(--color-light-grey);
}
table.financing-sources-table td.sticky-col-right {
    min-width: 100px;
    box-shadow: -5px 3px 5px var(--color-grey-header);
}
table.financing-sources-table th.sub-th:not(th.border-separator-bottom), .financing-sources-table td {
    border-bottom: 1px solid var(--color-light-grey);
    border-right: 1px solid var(--color-light-grey);
}
table.financing-sources-table th.sub-th, .financing-sources-table td:not(td.fake-header) {
    border-left: 1px solid var(--color-light-grey);
}
table.financing-sources-table td,
table.financing-sources-table th {
    border-top: none;
}
table.financing-sources-table th.fake-header,
table.financing-sources-table td.fake-header {
    border-left: none;
    border-right: none;
    background-color: transparent;
    height: 37px;
}
table.financing-sources-table .sources {
    background-color: var(--color-grey);
    font-weight: 700;
}
.td-financing_source_description_value {
    max-width: 220px;
}
.td-financing_source{
    max-width: 300px;
}
@media only screen and (min-width: 1280px) {
    .budget-product-and-date-row div.col-sm-3 {
        flex: inherit;
        max-width: calc(100% - 16.666667% - 247px - 283px); /* 16.666667% - szerokość labelki produktu (col-sm-2); 247px - szerokość labelki daty; 283px - szerokość pola daty */
    }
    .budget-product-and-date-row label.col-sm-3 {
        flex: inherit;
        max-width: 247px;
    }
    .budget-product-and-date-row div.col-sm-4 {
        flex: inherit;
        max-width: 283px;
    }
}
/* doświadczenia */
.table-recommendations {
    margin-top: .5rem !important;
}
.table-recommendations, .add_recommendation {
    width: 85%;
    margin-left: auto !important;
    margin-right: auto !important;
}
.table-recommendations th {
    background-color: var(--color-grey-disabled) !important;
    vertical-align: middle !important;
}
.table-recommendations thead th:first-child {
    width: 45%;
}
.table-recommendations thead th:nth-child(2){
    width: 20%;
}
.div-states {
    width: 100% !important;
    padding-right: 20px !important;
}
.th-recommendation-purpose {
    width: 221px;
    min-width: 221px;
    max-width: 221px;
}
/* ----- RIGHT ACTION MODAL ----- */
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 100%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.right .modal-body {
    padding: 5px;
}

.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}
.modal.right.fade.in .table-filter-or-group th {
    border-top: none;
}
.modal-body.sort-and-filter-or-group {
    display: flex;
    flex-direction: column;
    flex-flow: wrap;
}
.modal-body .modal-with-table .sub-table-list th {
    background-color: var(--color-grey-modal-header);
}
.sort-and-filter-or-group div {
    padding-left: 0;
}
.sort-and-filter-or-group caption {
    caption-side: top;
    padding-bottom: 0;
    padding-left: 0.25rem;
    color: var(--color-dark-grey) ;
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 0;
}
.sort-and-filter-or-group .breadcrumb {
    padding: .5rem .5rem;
}
.sort-and-filter-or-group .breadcrumb .breadcrumb-item.active {
    color: var(--color-very-dark-grey);
    font-weight: 600;
}
.sort-and-filter-or-group table {
    height: 0;
    max-height: 50%;
}
.quick-filters {
    position: relative;
    bottom: 2px;
}
#quickFilterModal .col-form-label {
    padding-right: 0;
}
/* Modal importu */
#ImportModal .input-group-sm>.form-control {
    padding: 1px;
}
.modal-footer .bg-light, .bg-light>a {
    color: #ffffff !important;
}
.import-type-header {
    font-weight: bold;
    text-align: center;
    padding: 5px;
    background-color: var(--color-light-grey);
}
.table-import-main,
.table-import-errors {
    border-bottom: 1px solid #939393;
    margin-top: 0.1rem;
    margin-bottom: 0;
}
.table-import-main th, .table-import-main td,
.table-import-errors th, .table-import-errors td {
    color: #000000;
    border-top: 1px solid #939393;
}
.table-import-errors th,
.table-import-project th,
.table-import-states th {
    border-top: none;
    border-bottom: 2px solid #939393 !important;
}
.table-import-project th.sticky-top,
.table-import-states th.sticky-top {
    background-color: white;
}
.table-import-main .th-project-name {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.table-import-main th,
.table-import-main td {
    vertical-align: middle;
}
.table-import-main.bg-gradient-yellow {
    background: var(--color-dark-yellow) linear-gradient(223deg,var(--color-for-gradient-yellow),var(--color-dark-yellow)) repeat-x!important
}
.table-import-main.bg-light-yellow {
    background-color: var(--color-dark-yellow);
}
.import-from-others label {
    font-weight: 700;
}
.current-import {
    margin-top: 1rem;
}
.current-import .import-alert .alert-dismissible div.col-sm-12 {
    max-height: calc(100vh - 264px - 1rem);
    overflow-y: auto;
}
.import-details {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.import-details .th-no {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.th-import-area {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.th-import-source {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.th-import-state {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
}
/* MODAL - Historia importów */
#HistoryImportModal .modal-content {
    width: 90vw;
}
#HistoryImportModal .modal-body {
    max-height: calc(100vh - 1.75rem - 1.75rem - 50px);
    overflow-y: auto;
    padding-top: 0;
}
#HistoryImportModal .modal-body .th-sticky th {
    position: sticky;
    top: 0.99rem;
}
#HistoryImportModal .modal-body > div.white-bg-for-sticky {
    background-color: white;
    height: 1rem;
    position: sticky;
    top: 0;
    margin-left: -1rem;
    margin-right: -1rem;
}
#HistoryImportModal .import-not-successful {
    background-color: var(--color-very-light-grey);
    box-shadow: inset 0 90px 15px -80px var(--color-dark-grey);
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
}
#HistoryImportModal .import-not-successful table {
    box-shadow: -3px 2px 5px var(--color-grey-header);
}
#HistoryImportModal .import-not-successful table th {
    background-color: var(--color-grey);
}
.th-username {
    min-width: 100px;
    max-width: 250px;
}
.th-import-mode {
    min-width: 115px;
    width: 115px;
    max-width: 115px;
}
.th-import-successful {
    min-width: 95px;
    width: 95px;
    max-width: 95px;
}
/* MODALE na środku */
.modal#dateConfirmationModal {
    z-index: 1052;
}
.modalSpinnerOverlay {
    display: none;
    position: absolute;
    z-index: 1045000001 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center rgba(0 0 0 / 0.5) url(../img/spinner.gif);
}
.process-warning-modal.second-modal {
    z-index: 1070 !important;
}
.modal-backdrop.custom-backdrop {
    z-index: 1060 !important;
}
.action-bar-modal .modal-dialog {
    overflow-y: initial !important
}
.action-bar-modal .modal-body {
    max-height: 90vh;
    overflow: auto;
}
.action-bar-modal .modal-content,
.form-modal .modal-content,
.action-modal .modal-content {
    background-color: var(--color-dark-blue);
    border-radius: 0;
    z-index: 1045000000 !important;
}
.sticky-col-right .action-modal {
    z-index: 1045000000 !important;
}
.action-bar-modal .modal-header,
.form-modal .modal-header,
.action-modal .modal-header {
    border-radius: 0;
    padding: .2rem .2rem;
    color: white;
}
.action-bar-modal .modal-body,
.form-modal .modal-body,
.action-modal .modal-body {
    background-color: white;
    color: #000000;
}
.action-bar-modal .modal-footer,
.form-modal .modal-footer,
.action-modal .modal-footer {
    border-radius: 0;
    padding: .2rem;
    background-color: white;
}
.action-bar-modal .close,
.form-modal .close,
.action-modal .close {
    font-size: 1.5rem;
    line-height: 1.2;
    color: white;
    opacity: initial;
    text-shadow: none;
}
.action-modal .filter-title {
    font-size: 1.5rem;
}
.action-modal .close {
    padding: .3rem 1rem .5rem 1rem;
    margin: 0 -1rem 0 0;
}
.action-modal .alert .close {
    margin: 0 0 0 0;
}
#replaceDataFromPeriodModal.action-modal .alert-danger .close,
#replaceDataFromProjectModal.action-modal .alert-danger .close,
#ImportModal.action-modal .alert-danger .close {
    margin: 0;
}
.action-modal .modal-title {
    font-size: 1.2rem;
    padding: .5rem 0;
}
.action-modal .filter-title {
    font-size: 1.5rem;
}
.action-bar-modal .modal-item {
    margin-bottom: .1rem;
    padding-left: 1rem;
}
.action-bar-modal .modal-item a,
.action-bar-modal .modal-sub-header .list-item a {
    color: #000000;
    font-weight: bold;
}
.action-bar-modal .modal-sub-header {
    margin-top: 1rem;
    font-size: smaller;
    opacity: .7;
}
.action-bar-modal .modal-sub-header.temp-item {
    margin-top: 0;
    margin-bottom: .7rem;
}
.action-bar-modal .modal-sub-header .empty-list {
    padding-left: 1rem;
}
.action-bar-modal .modal-sub-header .list-item {
    font-weight: bold;
    padding-left: 1rem;
}
.action-bar-modal .modal-sub-header .list-item .fa,
.action-bar-modal .modal-sub-header .list-item .far {
    font-size: 1.2rem;
}
.fa-check.active-item {
    position: absolute;
    left: 10px;
    margin-top: 4px;
    color: #000000;
    font-size: initial !important;
}
.form-modal .modal-warning {
    font-size: .89rem;
    line-height: 1.2;
}
.action-bar-modal hr,
.form-modal hr {
    margin: 0 -1rem 1rem -1rem;
}
.modal-alert .alert-dismissible .close {
    margin: 0;
}
/* MODAL - Procesy biznesowe */
.business-modal-dialog {
    display: table;
    min-width: 570px;
    margin-top: 20vh;
}
.sponsor-acceptance-modal-dialog {
    display: table;
    min-width: 80%;
    margin-top: 10vh;
}
.sponsor-acceptance-modal-dialog .modal-body {
    max-height: 70vh;
    overflow: auto;
}
.sponsor-acceptance-modal-dialog .th-date {
    min-width: 105px;
    max-width: 105px;
    width: 105px;
}
.sponsor-acceptance-modal-dialog .entitled {
    background-color: #e9ffe1;
}
.sponsor-acceptance-modal-dialog .not_entitled {
    background-color: #fff3cd ;
}
.business-approval-modal-dialog {
    display: table;
    min-width: 630px;
    margin-top: 5vh;
}
.business-acceptance-modal-dialog {
    display: table;
    min-width: 600px;
    margin-top: 20vh;
}
.business-approval-modal-dialog .approval-modal-header {
    background-color: var(--color-grey);
    display: flex;
    justify-content: space-between;
}
.business-acceptance-modal-dialog .contains-data {
    border-style: groove;
}
.business-acceptance-modal-dialog .object-reported {
    border-left: 6px solid red
}
.business-opinion-modal-dialog {
    display: table;
    min-width: 1200px;
    margin-top: 20vh;
}
@media only screen and (max-width: 1440px) {
    .business-opinion-modal-dialog {
        min-width: 90%;
    }
}
.business-opinion-modal-dialog .th-date {
    min-width: 105px;
    max-width: 105px;
    width: 105px;
}
.business-opinion-modal-dialog .th-report-state {
    min-width: 115px;
    max-width: 115px;
    width: 115px;
}
.business-opinion-modal-dialog .th-opinion-state {
    min-width: 165px;
    max-width: 165px;
    width: 165px;
}
.business-opinion-modal-dialog .judgement-checkbox-list {
    padding-left: 1rem;
}
.business-opinion-modal-dialog .judgement-checkbox-list label {
    font-weight: normal;
}
.business-opinion-modal-dialog .judgement-checkbox-list ul {
    list-style-type: none;
    margin-block-start: 0;
    padding-inline-start: 0;
    margin-bottom: 0;
}
.business-opinion-modal-dialog ul.judgement-list {
    padding-inline-start: 35px;
}
/* MODAL - Warunków oceny */
.explanation-rating-modal-dialog {
    display: table;
    min-width: 90%;
    margin-top: 5vh;
}
.explanation-rating-modal-dialog .modal-body {
    max-height: 85vh;
    overflow-y: auto;
}
.explanation-rating-modal-dialog .modal-content {
    background-color: var(--color-light-grey);
}
.explanation-rating-modal-dialog .modal-header {
    border-bottom-color: black;
}
.explanation-rating-modal-dialog .modal-title {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1;
}
.explanation-rating-modal-dialog .card-header.active {
    background-color: var(--color-field-focus-border);
}
.explanation-rating-modal-dialog .td-explanation-check {
    text-align: center;
    vertical-align: middle;
    font-size: 1.5rem;
    padding: .2rem;
    color: white;
    width: 40px;
}
.explanation-rating-modal-dialog .td-explanation-check span {
    color: var(--color-green);
}
.explanation-rating-modal-dialog .td-explanation-dont-check span {
    color: var(--color-red);
}
.affiliation-modal-dialog {
    display: table;
    width: 90vw;
}
.affiliation-modal-dialog table {
    min-width: 90vw;
}
.affiliation-modal-dialog table th {
    font-weight: 600;
}
.affiliation-modal-dialog .affiliation-table-scroll {
    max-height: 90vh;
    overflow: auto;
}
.program-affiliation-modal-dialog {
    display: table;
    min-width: 30vw;
}

.program-affiliation-modal-dialog p {
    text-align: center;
}
/* Mikroraporty - button, modal */
.microreport-button {
    padding: 0;
}
.microreport-button span {
    width: 32px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.microreport-modal-dialog {
    display: table;
    min-width: 90vw;
}
.microreport-modal-dialog .modal-content {
    background-color: var(--color-dark-blue);
    white-space: initial;
}
.microreport-modal-dialog .modal-header {
    color: #ffffff;
}
.microreport-modal-dialog .modal-title {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1;
}
.microreport-modal-dialog .close {
    font-size: 1.5rem;
    line-height: 1;
    color: white;
    opacity: initial;
    text-shadow: none;
}
.microreport-modal-dialog .modal-chart-container {
    height: 500px;
    background-color: #ffffff;
}
.microreport-modal-dialog label {
    font-weight: normal !important;
}
.microreport-modal-dialog .modal-body {
    padding: 1rem;
}
/* MODAL - Mikroraporty z tabelą */
.microreport-modal-dialog.modal-with-table {
    height: auto;
}
.microreport-modal-dialog.modal-with-table div.microreport-content {
    padding: 1rem;
    background-color: #fff;
    max-width: calc(90vw - 2*1rem); /* 9vw - szerokość modala; 2*1rem - paddingi modala */
    max-height: calc(90vh - 56px - 2*1rem); /* 90vh - wysokość modala; 56px - wysokość nagłówka modala; 2*1rem - paddingi modala **/
}
.microreport-modal-dialog.modal-with-table .microreport-table-title {
    font-size: 1.2em;
    color: #333; /* kolor tytułu wykresu w Highcharts */
    font-weight: 700;
    display: flex;
}
.microreport-modal-dialog.modal-with-table div.microreport-content .export-button {
    font-size: 1rem;
    padding: 0 6px;
    border: none;
    background-color: #fff;
}
.microreport-modal-dialog.modal-with-table div.microreport-content .export-button:hover,
.microreport-modal-dialog.modal-with-table div.microreport-content .export-button:focus {
    background-color: #e3e3e3; /* kolor hamburgera wykresu Highcharts po najechaniu */
}
.microreport-modal-dialog.modal-with-table .table-report {
    margin-bottom: 0;
}
.microreport-modal-dialog.modal-with-table table.table-report th {
    vertical-align: middle;
    text-align: center;
    background-color: var(--color-report-light-grey);
}
.microreport-modal-dialog.modal-with-table table.table-report.rows2 tr:nth-child(1) th {
    background-color: var(--color-report-grey);
}
/* MODAL - Mikroraport dla Oceny */
.microreport-modal-dialog .modal-body.rating-table  {
    max-height: 90vh;
    text-align: left;
}
.microreport-modal-dialog .td-microreport-rating-comment {
    width: calc((90vw - 4rem - 110px - 80px - 8*65px - 50px)/2); /* 90vw - szerokość modala; 4rem=2x1rem - paddingi modala + 2x1rem - paddingi diva z tabelą; 110px - stan danych; 80px - status realizacji; 4x65px+4x65px - oceny; 50px - zapas */
    min-width: calc((90vw - 4rem - 110px - 80px - 8*65px - 50px)/2); /* 90vw - szerokość modala; 4rem=2x1rem - paddingi modala + 2x1rem - paddingi diva z tabelą; 110px - stan danych; 80px - status realizacji; 4x65px+4x65px - oceny; 50px - zapas */
    max-width: calc((90vw - 4rem - 110px - 80px - 8*65px - 50px)/2); /* 90vw - szerokość modala; 4rem=2x1rem - paddingi modala + 2x1rem - paddingi diva z tabelą; 110px - stan danych; 80px - status realizacji; 4x65px+4x65px - oceny; 50px - zapas */
}
@media only screen and (max-width: 1280px) {
    .microreport-modal-dialog .td-microreport-rating-comment {
        width: 170px;
        min-width: 170px;
        max-width: 170px;
    }
}
.microreport-modal-dialog .td-microreport-rating-comment div {
    width: calc(100% - 1px);
    min-width: calc(100% - 1px);
    max-width: calc(100% - 1px);
}
.microreport-modal-dialog .rating-table .th-realization-status-rating {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.microreport-modal-dialog.rating-modal .th-rating {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}
/* MODAL - Mikroraport dla Ryzyk */
.microreport-modal-dialog.risks-modal .modal-body  {
    max-height: 85vh;
    max-width: calc(90vw - 2px);
}
.microreport-modal-dialog.risks-modal .modal-chart-container.modal-with-table {
    max-height: 80vh;
    overflow: auto;
    max-width: calc(100% - 1px);
}
.microreport-modal-dialog.risks-modal th  {
    white-space: nowrap;
}
.microreport-modal-dialog.risks-modal .th-risk-name  {
    max-width: 20vw;
    min-width: 20vw;
}

/* TODO: usunać? - to jest związane ze starym, prototypowym mikroraportem \srs\apps\web\common\actions\modals\report.html */
.modal-chart-modal {
    width: 950px;
}
/* end TODO */

/* modal RODO */
.rodo-modal-dialog .modal-content {
    background-color: var(--color-red);
    border: 1px solid var(--color-red);
}
.rodo-modal-dialog .modal-title {
    font-weight: 600;
}
/* modal obsługa faz */
#finishEnterpriseModalBody .date {
    align-content: center;
}
/* klawisze akcji */
.global-actions {
    margin-bottom: .1rem;
}
.global-actions .btn-group  {
    margin-right: 1rem;
    margin-bottom: .2rem;
    border-radius: .2rem;
}
.global-actions .btn-dropdown,
.btn-compare {
    background-color: var(--color-dark-blue);
    color: #ffffff !important;
}
.global-actions .btn-action {
    margin-bottom: .2rem;
    background-color: var(--color-blue);
    color: #ffffff;
}
.btn-dark-blue {
    background-color: var(--color-dark-blue);
    color: #ffffff !important;
}
.btn-dark-blue:hover {
    opacity: 0.9;
}
.btn-dark-blue:disabled {
    opacity: 0.65;
}
.btn-dark-blue:focus {
    border-color: black;
    opacity: 0.9;
}
.btn-blue {
    background-color: var(--color-blue);
    color: #ffffff !important;
}
.btn-blue:hover,
.btn-dark-blue:hover {
    filter: brightness(90%);
}
.btn-blue:focus {
    border-color: black;
    filter: brightness(90%);
}
.btn-outline-secondary:focus {
    border-color: black;
    border-right-width: 3px;
    filter: brightness(90%);
}
.btn-blue .fa-edit {
    margin-left: -1px;
    margin-right: -2px;
    width: 17px;
}
.btn .fa-trash-alt,
.btn .fa-plus {
    width: 17px;
}
.btn-light-blue {
    background-color: var(--color-light-blue);
    color: #ffffff !important;
}
.btn-light-blue:hover {
    filter: brightness(90%);
}
.btn-light-blue:focus {
    border-color: black;
    filter: brightness(90%);
}
.btn-dark:hover {
    background-color: var(--color-very-dark-grey);
    border-color:  var(--color-very-dark-grey);
    opacity: 0.8;
}
.btn-dark:focus {
    background-color:  var(--color-very-dark-grey);
    border-color: black;
    opacity: 0.8;
}
.btn-show-control {
    position: absolute;
    top: 0;
    right: 2px;
    border-color: transparent;
    background-color: transparent;
}
.btn-show-control:hover {
    background-color: transparent;
    border-color: transparent;
}
.btn-close-control {
    right: 25px !important;
    opacity: 1 !important;
    color: #1f2d3d;
}
.action-modal .modal-header {
    padding: 0 1rem;
}
.action-modal p.filter-main-label {
    margin-bottom: .1rem;
}
.action-modal .form-group {
    margin-bottom: .1rem;
}
.action-modal .col-form-label {
    padding-bottom: 0;
}
.action-modal hr {
    margin-bottom: 0;
}
.action-modal .btn.submit {
    margin-top: .1rem;
}
.active-filter, .active-sort {
    padding: .2rem;
    white-space: nowrap;
    width: auto;
}

.vip-actions .btn-columns .dropdown-badge {
    font-size: .85rem;
    margin-top: 1px;
    min-width: 26px;
    font-weight: normal;
}
.vip-actions .dropdown-menu.columns-dropdown-menu {
    padding: 5px;
    min-width: 12rem;
}
.vip-actions .dropdown-menu.pre-scrollable {
    max-height: 60vh;
    overflow-y: auto;
}
.vip-actions #columns_list.dropdown-menu.pre-scrollable {
    width: 570px;
    overflow-x: auto;
}
.vip-actions .dropdown-menu.columns-dropdown-menu .dropdown-divider {
    margin: 0 0 10px 0;
}
.vip-actions .dropdown-menu.columns-dropdown-menu .column-label {
    font-weight: normal;
}
.vip-actions .dropdown-menu.columns-dropdown-menu a {
    color: initial;
}
/* dla ikonek w menusach akcji */
.vip-actions .fa-check {
    color: #212529 !important;
}
/* kolorowe lewe menu */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: var(--color-blue);
}
.menu-open {
    background-color: #fff;
}
.nav-pills .nav-link.active {
    color: #fff !important;
    background-color: var(--color-blue) !important;
}
.nav-pills .nav-link:not(.active):hover {
    color: var(--color-blue);
}
.menu-open .nav-link:focus,
.nav-pills .nav-link:not(.active):focus {
    outline: none;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    padding-right: 0;
}
.nav-pills .nav-link.active:focus {
    filter: brightness(90%);
    outline: none;
    padding-right: 0;
}
.nav-item > hr {
    display: none;
}
.nav-sidebar .nav-item>.nav-link {
    margin-bottom: 0;
}
.nav-sidebar .nav-item>.nav-link.d-flex i {
    margin-top: 5px;
}
.nav-sidebar .nav-item>.nav-link.d-flex p {
    margin-left: 5px;
}
.nav-treeview .nav-icon {
    opacity: 0;
}
.menu-open   > a.nav-link {
    color: #0A0A0A ;
}
.nav-link-expanded {
    width: 100%;
    display: table;
    padding-left: 11px!important; /* do zwiększenie wcięcia podpozycji menu bocznego */
}
.nav-link-expanded i, .nav-link-expanded p {
    display: table-cell;
}
/* Mini-Raporty */
h3.report-modal {
    font-size: 1.25rem;
}
h4.report-modal {
    font-size: 1.25rem;
}
/* Raporty formularzowe */
.report-table thead th {
    vertical-align: middle;
}

.report-table tr.sticky {
    position: fixed;
    top: 200px;
    right: 8px;
    z-index: 3;
    left: 258px;
    transition: left .3s ease-in-out;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}
.sidebar-collapse .report-table tr.sticky {
    left: 17px;
    transition: left .3s ease-in-out;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}
.modal-open tr.sticky {
    right: 29px;
}
.report-table .th-date {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.report-table .table-actions {
    min-width: 90px;
    max-width: 90px !important;
    width: 90px;
}
.report-options {
    padding: 10px 0 10px 7px !important;
}
.th-report-pure-checkbox {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    text-align: center;
}
.report-table .th-report-state {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.report-table .th-report-status {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.report-table .th-project-name {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.report-table .th-project-short-name {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}
.report-table .td-project-short-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 300px;
}
.th-report-generating-date {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
/* Raporty formularzowe - HTML */
.report-preview {
    padding: 1rem !important;
    /* jakby trzeba było kombinować według makiety
    background-color: #f4f6f9;
    border: none; */
}
.report-preview .report-preview-details {
    background-color: #fff;
}
.report-preview .report-details-background {
    background-color: var(--color-grey-subheader);
    margin: -1rem;
    padding-bottom: 1px;
    -webkit-box-shadow: inset 0 90px 15px -80px var(--color-dark-grey);
    -moz-box-shadow: inset 0 90px 15px -80px var(--color-dark-grey);
    box-shadow: inset 0 90px 15px -80px var(--color-dark-grey);
}
.report-preview .report-details-shadow {
    border-top: 1px solid var(--color-dark-blue);
    box-shadow: -3px 5px 5px var(--color-grey-header);
}
.report-preview .report-details-metrics {
    margin: .5rem 44px .5rem 0;
}
.report-preview th {
    background-color: var(--color-grey);
    vertical-align: middle !important;
}
.report-preview  tbody tr:first-child,
.report-preview thead tr:first-child {
    box-shadow: none;
}
.report-preview h2.title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.report-preview .title-with-border {
    color: var(--color-dark-blue);
    text-align: center;
    border-bottom: 3px solid var(--color-dark-blue);
    margin-top: 0;
    margin-bottom: 1rem;
}
.report-preview h3,
.report-preview h4 {
    margin-top: 1rem;
}
.report-preview h3.report-empty {
    font-size: 1.4rem;
}
.report-preview .report-paragraph-section h3,
.report-preview .report-paragraph-section h4 {
    color: var(--color-dark-blue);
    text-align: left;
    margin-top: 1rem;
    margin-bottom: .5rem;
}
.report-preview h4 {
    font-size: 1.3rem;
}
.report-preview .paragraph-section h4 {
    color: var(--color-dark-blue);
}
.report-preview .main-informations {
    width: 100%;
}
.report-preview .report-sub-th {
    font-size: 1.3rem;
}
.report-preview .sub2-table-list th {
    background-color: var(--color-grey);
}
.report-preview .th-report-metrics {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
}
.report-preview .goals {
    width: 100%;
}
.report-preview .goals .th-date-wide,
.report-preview .results .th-date-wide,
.report-preview .benefits .th-date-wide,
.report-preview .products .th-date-wide,
.report-preview .budget .th-date-wide,
.report-preview .maintenance .th-date-wide,
.report-preview .stabilization .th-date-wide {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}
.report-preview .goals .th-value,
.report-preview .results .th-value,
.report-preview .benefits .th-value,
.report-preview .stabilization .th-value {
    width: 165px;
    min-width: 165px;
    max-width: 165px;
}
.report-preview .results {
    width: 100%;
}
.report-preview .stabilization {
    width: 100%;
}
.report-preview .benefits {
    width: 100%;
}
.report-preview .products {
    width: 100%;
}
.report-preview .products .th-maturity {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.report-preview .products .th-complementary-product {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}
.report-preview .products .th-complementary-product-description {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}
.report-preview .milestones {
    width: 100%;
}
.report-preview .milestones th.th-date-wide {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
}
.report-preview .budget {
    width: 100%;
}
.report-preview .risks {
    width: 100%;
}
.report-preview .legislatives {
    width: 100%;
}
.report-preview .contact {
    width: 100%;
}
.report-preview .area {
    width: 100%;
}
.report-preview .strategies {
    width: 100%;
}
.report-preview .contact .opinions th,
.report-preview .contact .decisions th {
    text-align: center;
}
.report-preview .operations {
    width: 100%;
}
.report-preview .problems {
    width: 100%;
}
.report-preview .experiences {
    width: 100%;
}
.report-preview .delays {
    width: 100%;
}
.report-preview .maintenance {
    width: 100%;
}
.report-preview .decisions {
    width: 100%;
}
.report-preview .decisions .th-date {
    min-width: 120px;
    width: 120px;
    max-width: 120px;
}
.report-preview .decisions .th-category {
    min-width: 395px;
    width: 395px;
    max-width: 395px;
}
.report-preview .decisions .th-lp {
    min-width: 45px;
    width: 45px;
    max-width: 45px;
}
.report-preview .maintenance .th-verifying {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}
.report-preview .maintenance .th-value {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.report-preview .maintenance .th-risk-strength {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.report-preview .legal-environment {
    width: 100%;
}
.report-preview .financial-progress {
    width: 100%;
}
.report-preview .financial-progress .th-costs {
    width: 610px;
    min-width: 610px;
    max-width: 610px;
}
.report-preview .financial-progress .th-value {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.report-preview .material-progress {
    width: 100%;
}
.report-preview .material-progress .th-milestone-delay-reason {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
@media only screen and (min-width: 1600px) {
    .report-preview .material-progress .th-milestone-delay-reason {
        width: 420px;
        min-width: 420px;
        max-width: 420px;
    }
}
.report-preview .material-progress .th-goal-indicator-measure,
.report-preview .material-progress .th-benefit-indicator-measure,
.report-preview .maintenance .th-benefit-indicator-measure {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.report-preview .material-progress .th-value {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.report-preview .material-progress .th-goal-indicator-delay-reason,
.report-preview .material-progress .th-benefit-indicator-delay-reason {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
@media only screen and (min-width: 1600px) {
    .report-preview .material-progress .th-goal-indicator-delay-reason,
    .report-preview .material-progress .th-benefit-indicator-delay-reason {
        width: 420px;
        min-width: 420px;
        max-width: 420px;
    }
}
.report-preview .realizations_description {
    width: 100%;
}
.report-preview .significant_changes {
    width: 100%;
}
.report-preview .recommendations {
    width: 100%;
}
.report-preview .recommendations .th-category {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.report-preview .recommendations .th-date-wide {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}
.report-preview .problems {
    width: 100%;
}
.report-preview .main-informations .th-summaries-general {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.report-preview .problems .th-date-wide {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.report-preview .problems .th-implemented-activities {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.report-preview .problems .th-action-effect {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.report-preview .problems .th-category {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
}
.report-preview .risks {
    width: 100%;
}
.report-preview .risks .th-date-wide {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.report-preview .risks .th-impact {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
}
.report-preview .risks-level {
    width: 100%;
}
.report-preview .risks-level .risk-impact {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
}
.report-preview .risks-actions .risk-actuality-status {
    width: 195px;
    min-width: 195px;
    max-width: 195px;
}
.report-preview .risks-actions .risk-level {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.report-preview .risks-actions {
    width: 100%;
}
.report-preview .risks-connections {
    width: 100%;
}
.report-preview .risks-connections .th-phase {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
    font-weight: 600;
    background-color: var(--color-grey-header) !important;
}
.report-preview .risks-rate {
    width: 100%;
}
.report-preview .risks-rate .rate-trend {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
/* Opiniowanie danych */
.btn-add-opinion {
    margin: 0 .2rem;
}
.opinion-div {
    padding-right: 23px;
}
.opinion-operation-div {
    padding: 0;
}
.table-opinion-list th,
.table-opinion-list td,
.table-opinion-list thead th,
.table-opinion-form th,
.table-opinion-form td,
.table-opinion-form thead th {
    border: 1px solid var(--color-dark-grey)
}
.table-opinion,
.table-opinion-list,
.table-opinion-list  th,
.table-opinion-form,
.table-opinion-form  th,
.opinion-div .opinion-empty {
    background-color: var(--color-very-light-blue) !important;
}
.table-opinion-form .checkbox-div {
    margin: auto;
}
.table-opinion th {
    vertical-align: middle !important;
}
.table-opinion-form .form-group {
    margin-bottom:.2rem;
}
.table-opinion-form .btn-formset-del {
    background-color: white;
}
.table-opinion-form .btn-formset-del:focus,
.table-opinion-form .btn-formset-del:hover {
    background-color: var(--color-very-light-grey);
}
.table-opinion-list .th-acceptance,
.table-opinion-form .th-acceptance {
    width: 100px;
    max-width: 100px;
    min-width: 100px;
}
.table-opinion-list .th-institution,
.table-opinion-form .th-institution {
    width: 120px;
    max-width: 120px;
    min-width: 120px;
}
/* Opinie */
.btn-opinion-details {
    border: none;
}
.btn-opinion-details:focus {
    border: 1px solid black;
}
.content-opinion table thead th {
    vertical-align: middle;
}
.content-opinion .sub-th {
    background-color: var(--color-grey);
}
.content-opinion .td-opinion-details {
    max-width: calc(100vw - 300px);
}
.content-opinion .th-status {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.content-opinion .th-opinion-path {
    min-width: 110px;
    max-width: 110px;
    width: 110px;
}
.content-opinion .th-date-wide {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.content-opinion .th-arrangements-end-date {
    width: 145px;
    min-width: 145px;
    max-width: 145px;
}
.content-opinion .th-recipients {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.content-opinion .td-recipients p,
.modal .td-recipients p {
    margin-bottom: 0;
}
.content-opinion .opinions-diff {
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.content-opinion .opinions-diff .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}
.content-opinion .opinions-diff .sub-sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 28px;
    z-index: 2;
}
.opinions-diff.blue-layout tr:nth-child(2) th {
    background-color: var(--color-grey-header);
    color: black;
}
.content-opinion .th-operation-type {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.messages-content .rendered-template {
    padding-top: calc(.375rem + 1px);
}
.messages-content .rendered-template-content {
    background-color: var(--color-very-light-blue);
    padding: 0 .5rem;
}

.opinion-data-with_indicator .opinion-data-card {
    margin: 0.75rem 0.7rem 0.5rem;
}
.opinion-data-preview {
    margin-bottom: 0;
}
.opinion-data-card {
    padding: .5rem;
    margin-bottom: 0;
    margin-top: .5rem;
    border: 2px solid var(--color-light-blue)
}
.sub-table-list.opinion-preview td{
    vertical-align: top;
}

.opinion-preview table td,
.opinion-data-preview table td {
    overflow-wrap: anywhere;
}
.opinion-preview .th-field-opinion-no {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}

.opinion-preview .th-field-institution-abbr {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
}
.opinion-preview .th-abbreviation,
.opinion-data-preview .th-abbreviation {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.opinion-preview .th-opinion-field,
.opinion-data-preview .th-opinion-field {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
@media only screen and (min-width: 1600px) {
    .opinion-preview .th-opinion-field,
    .opinion-data-preview .th-opinion-field {
        min-width: 250px
    }
}
@media only screen and (min-width: 1920px) {
    .opinion-preview .th-opinion-field,
    .opinion-data-preview .th-opinion-field {
        min-width: 300px
    }
}
.opinion-preview .th-opinion-author,
.opinion-data-preview .th-opinion-author {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
@media only screen and (min-width: 1600px) {
    .opinion-preview .th-opinion-author,
    .opinion-data-preview .th-opinion-author {
        min-width: 180px
    }
}
@media only screen and (min-width: 1920px) {
    .opinion-preview .th-opinion-author,
    .opinion-data-preview .th-opinion-author {
        min-width: 200px
    }
}
.opinion-preview .th-acceptance-result,
.opinion-data-preview .th-acceptance-result {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
@media only screen and (min-width: 1920px) {
    .opinion-preview .th-acceptance-result,
    .opinion-data-preview .th-acceptance-result {
        min-width: 130px
    }
}
.opinion-preview .th-acceptance-date,
.opinion-data-preview .th-acceptance-date {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
@media only screen and (min-width: 1600px) {
    .opinion-preview .th-acceptance-date,
    .opinion-data-preview .th-acceptance-date {
        min-width: 180px
    }
}
@media only screen and (min-width: 1920px) {
    .opinion-preview .th-acceptance-date,
    .opinion-data-preview .th-acceptance-date {
        min-width: 210px
    }
}

/* Kolumna i Select 2 w opiniowaniu dla Identyfiktora pola w zalezności od rozdzielczości */
.opinion-preview .th-field-identifier {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
    width: 100px;
}
@media only screen and (min-width: 1280px) {
    .opinion-preview .th-field-identifier {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 100px;
    }
}
@media only screen and (min-width: 1400px) {
    .opinion-preview .th-field-identifier {
        width: 230px;
        min-width: 230px;
        max-width: 230px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 200px;
    }
}
@media only screen and (min-width: 1600px) {
    .opinion-preview .th-field-identifier {
        width: 330px;
        min-width: 330px;
        max-width: 330px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 300px;
    }
}
@media only screen and (min-width: 1920px) {
    .opinion-preview .th-field-identifier {
        width: 530px;
        min-width: 530px;
        max-width: 530px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 500px;
    }
}
@media only screen and (min-width: 2048px) {
    .opinion-preview .th-field-identifier {
        width: 630px;
        min-width: 630px;
        max-width: 630px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 600px;
    }
}
@media only screen and (min-width: 2560px) {
    .opinion-preview .th-field-identifier {
        width: 730px;
        min-width: 730px;
        max-width: 730px;
    }
    .opinion-preview .select2-container--classic .select2-selection--single .select2-selection__rendered {
        width: 700px;
    }
}
/* Całkowite ukrywanie bocznego menu - szerokość musi być taka sama jak margines */
.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before {
    width: 0;
}
.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .main-header {
    margin-left: 0 !important;
}
/* Ewentualna zmiana szerkokości bocznego menu - szerokość musi być taka sama jak margines */
.main-sidebar, .main-sidebar::before {
    width: 250px;
}
body:not(.sidebar-mini-md) .main-header,
body:not(.sidebar-mini-md) .content-wrapper {
    margin-left: 250px;
}
/* Blokowanie górnych pasków */
.content-project {
    margin-top: 195px;
}
.content-program { /* musi tu zostać, żeby w każdym widoku nie trzeba było ładować dedykowanego pliku dla Programów */
    margin-top: 195px;
}
.content-wallet { /* musi tu zostać, żeby w każdym widoku nie trzeba było ładować dedykowanego pliku dla Portfeli */
    margin-top: 195px;
}
.content-user {
    padding-top: 200px !important;
}
.content-user .card-primary.card-outline {
    border-color: #003d80;
}
.sidebar {
    height: calc(100% - 185px - 1rem);
}
.fixed-help {
    margin-left: 250px;
    position: fixed;
    top: 45px;
    right: 8px;
    left: 10px;
    z-index: 1005;
    padding-top: 25px;
}
.fixed-user {
    margin-left: 250px;
    position: fixed;
    top: 45px;
    right: 8px;
    left: 10px;
    z-index: 1005;
}
.user-name-label {
    min-width: 90px;
}
.institution-name {
    width: calc(100% - 90px); /* 90px = labelka - szerokość potrzebna do ucinania długiej nazwy instytucji na pasku w Profilu użytkownika */
}
.fixed-admin {
    margin-left: 250px;
    position: fixed;
    top: 45px;
    right: 8px;
    left: 10px;
    z-index: 1005;
}
.fixed-top-info {
    margin-left: 250px;
    position: fixed;
    top: 45px;
    right: 8px;
    left: 10px;
    z-index: 1005;
}
.fixed-top-info .project-name-or-number,
.fixed-top-info .program-name-or-number,
.fixed-top-info .wallet-name-or-number {
    height: 51px;
    vertical-align: middle;
}
.fixed-top-states {
    margin-left: 250px;
    position: fixed;
    top: 100px;
    right: 8px;
    left: 10px;
    z-index: 1004;
}
.fixed-top-global-actions {
    margin-left: 250px;
    position: fixed;
    top: 157px;
    right: 8px;
    left: 10px;
    z-index: 1002;
}
.fixed-left-menu {
    margin-top: 13px !important;
}
body:not(.layout-fixed).layout-navbar-fixed .wrapper .main-sidebar .sidebar {
    margin-top: 186px;
}
/*.wrapper .content-wrapper {
    min-height: calc(100vh - 186px - 186px);
}*/
.position-for-fixed-navbars-3 { /* dla mock'apu korzyści */
    margin-top: 176px;
}
.background-for-fixed-navbars-3 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1002;
    background-color: #ffffff; /*#f4f6f9;*/
    height: 190px;
    box-shadow: 0 5px 5px var(--color-grey-shaddow);
}
.background-for-fixed-navbars-1-hidden {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1002;
    background-color: #ffffff; /*#f4f6f9;*/
    height: 40px;
    box-shadow: 0 5px 5px var(--color-grey-shaddow);
}
body.sidebar-collapse .fixed-top-info,
body.sidebar-collapse .fixed-user,
body.sidebar-collapse .fixed-help,
body.sidebar-collapse .fixed-top-states,
body.sidebar-collapse .fixed-top-global-actions {
    transition: margin-left .3s ease-in-out;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    margin-left: 0;
}
.fixed-top-info,
.fixed-top-states,
.fixed-user,
.fixed-help,
.fixed-top-global-actions {
    transition: margin-left .3s ease-in-out;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    margin-left: 250px;
}
.card-data-states.fixed-top-states .info {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
}
.form-check-label {
    margin: 3px 3px 0 !important;
}
/* Kolorowanie błędnego snippeta Select2 */
.select2.is-invalid + .select2-container .select2-selection {
    border-color: var(--color-error) !important;
}
.reactive-select2.is-invalid + .select2-container .select2-selection {
    border-color: var(--color-error) !important;
}
/* Usunięcie paddinga z prawej dla błędnego pola */
input.form-control.form-control-sm.is-invalid {
    padding-right: 0.5rem;
}
/* Kolorowanie Select2 z atrybutem `multiple` jako nieaktywny */
.select2-multiple-invalid {
    background-color: var(--color-grey-disabled) !important;
    pointer-events: none;
}
/* Rags */
.font-awesome .fa {
    font-family: "Font Awesome 5 Free", sans-serif;
}
.hide {
    display: none;
}
.rags-col {
    width: 50px !important;
}
div.rag {
    text-align: center;
}
.rag ~.form-group.hide ~p.invalid-feedback {
    text-align: center;
    display: inline-block;
    margin: 0;
}
.td-btn-rag-explanation {
    position: relative;
}
.btn-rag-explanation {
    background-color: transparent;
    border: 1px solid var(--color-grey);
    position: absolute;
    top: .1rem;
    right: .2rem;
    padding: .15rem .6rem;
    font-size: 1.2rem;
    font-weight: bold;
}
.btn-rag-explanation-list {
    background-color: transparent;
    border: 1px solid var(--color-grey);
    padding: .15rem .6rem;
    font-size: 1.2rem;
    font-weight: bold;
}
.btn-rag, .btn-rag:active {
    border: 1px solid var(--color-grey);
    border-radius: .2rem;
    padding: .15rem;
    background-color: transparent;
}
.btn-rag:focus, .btn-rag:hover {
    border: 1px solid var(--color-field-focus-border);
    outline: none;
}
.btn-rag:focus>.tooltip:hover
{
    outline: none;
}
.tooltip p {
    margin-bottom: 0;
}
span [id^="rag_div-"].form-group {
    margin-bottom: .23rem;
}
/* Przyklejona kolumna: z prawej */
.sticky-col-right {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position:sticky;
    right:0;
    z-index:2;
    white-space: nowrap;
    background: white;
    box-shadow: -5px 2px 5px var(--color-grey-header);
}
/* Przyklejona druga kolumna: z prawej */
.sticky-col-2right {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position:sticky;
    right:44px;
    z-index:2;
    white-space: nowrap;
    background: white;
}
/* Złamanie długich słów */
.break-on-words {
    word-break: break-word;
}
/* Select2 - zawijanie zbyt długich tekstów */
.form-group .select2-container {
  position: relative;
  z-index: 2;
  float: left;
  width: 100% !important;
  margin-bottom: 0;
  display: table;
  table-layout: fixed;
}
/* Select2 - w tabeli dotyczącej zródeł finansowania w formularzu budżetu */
.financing-sources-table .select2-container {
    z-index: 0;
}
.th-w-50-width-select2 {
    width: calc(50% - 44px);
    max-width: calc(50% - 44px);
    min-width: calc(50% - 44px);
}
li.select2-selection__choice {
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
}
ul.select2-selection__rendered {
    padding-right: 12px !important;
}

/*panel projektu*/
figure.highcharts-figure {
    margin: 0;
}
.panel-box {
    padding: 0;
}
.box-title {
    border-radius: .25rem 0 0 .25rem;
    font-size: 15px;
    text-align: center;
    width: 30px;
    padding: 5px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    background-color: var(--color-dark-blue);
    color: white;
    display: flex;
    align-items: center;
    min-height: 200px;
    font-weight: 700;
    margin-bottom: 0;
}
.box-title-blue {
    border-radius: 0.25rem 0.25rem 0 0;
    font-size: 1.25rem;
    text-align: center;
    height: 50px;
    padding: 5px 15px;
    background-color: var( --color-dark-blue);
    color: white;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.box-content {
    margin: 10px;
}
.first-column-section {
    min-width: 150px;
    width: 150px;
    max-width: 150px;
    flex-grow:0;
}
.second-column-section {
    min-width: 200px;
    width: 200px;
    max-width: 200px;
    flex-grow:0;
}
.box-section {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: .25rem;
    background: #fff;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .4rem;
    position: relative;
    height: 100%;
    text-align: center;
}
.box-section table {
    text-align: initial;
}
.box-content span, .title-rating, .panel-program span {
    font-weight: bold;
    display: block;
}
.box-content p { /* TODO: do usunięcia po wdrożeniu klasy `empty_chart` na Panelu Projektu */
    display: block;
    color: var(--color-darker-blue);
    font-weight: bold;
    margin: 0.5rem 0 0 0;
    font-size: 1.5rem;
}
p.empty-chart {
    display: block;
    color: var(--color-darker-blue);
    font-weight: bold;
    margin: 0.5rem 0 0 0;
    font-size: 1.5rem;
}
.box-progress {
    height: 170px;
}
.box-rating {
    height: 50%;
}
.box-rating .panel-rating-danger,
.box-rating .panel-rating-warning,
.box-rating .panel-rating-punctual,
.box-rating .panel-rating-closed,
.box-rating .panel-rating-no-data{
    margin: .9rem 0.5rem 0 0;
    font-size: 1.6rem;
}
.box-rating-state .panel-rating-danger,
.box-rating-state .panel-rating-warning,
.box-rating-state .panel-rating-punctual,
.box-rating-state .panel-rating-closed,
.box-rating-state .panel-rating-no-data{
    margin: 1rem 0.5rem 0 0;
    font-size: 2rem;
}
.panel-rating-warning {
    background-color: var(--color-yellow);
}
.box-rating .fas.fa-caret-down,
.managers-panel .fas.fa-caret-down,
.dashboard-general-information .fas.fa-caret-down {
    color: var(--color-red);
    font-size: 2.5rem;
    position: relative;
    top: 8px;
}
.box-rating .fas.fa-caret-up,
.managers-panel .fas.fa-caret-up,
.dashboard-general-information .fas.fa-caret-up,
.report-preview .main-information-paragraph .fas.fa-caret-up {
    color: var(--color-green);
    font-size: 2.5rem;
    position: relative;
    top: 8px;
}
.box-rating .fas.fa-minus:not(.panel-rating-closed),
.managers-panel .fas.fa-minus:not(.ico-rate-closed),
.dashboard-general-information .fas.fa-minus:not(.ico-delay-implemented),
.report-preview .main-information-paragraph .fas.fa-minus {
    color: var(--color-yellow);
    font-size: 2rem;
    position: relative;
    top: 8px;
}
.panel-rag button {
    margin: .4rem .5rem 0 0;
}
.panel-rag button i {
    margin: 0 !important;
}
div[id^="panel-rag_div"].form-group {
    margin-bottom: 0;
    margin-top: 10%;
}
.box-content th {
    text-align: center;
    padding: 0.3rem;
}
.box-content td {
    padding: 0.3rem;
}
.range-td-size {
    width: 170px;
}
.time-td-size {
    width:162px;
}
.budget-td-size {
    width: 122px;
}
.panel-label {
    text-align: right;
    font-weight: 700;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}
.panel-value {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.panel-label.under {
    padding: 0.5rem 1rem 0.5rem 0;
}
.project-panel .table-report {
    margin-bottom: 0;
}
.project-panel .table-report th,
.project-panel .table-report td {
    border-color: var(--color-report-border-grey);
}
.project-panel .table-report th {
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    background-color: var(--color-report-light-grey);
}
.project-panel .box-section,
.project-panel .box-content .info-box {
    box-shadow: -1px -1px 1px rgba(0, 0, 0, .125), 4px 4px 4px rgba(0, 0, 0, .2);
}
/* Tabela faz - postęp realizacji projektu */
.panel-progress-bar-phase {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}
.panel-progress-bar-date {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 0;
}
.panel-progress-bar {
    width: 100%;
    margin-bottom: 2rem;
}
.panel-progress-bar tr {
    font-size: 0;
}
.panel-progress-bar thead tr:first-child td {
    background-color: var(--color-dark-blue);
    text-align: center;
    border: 1px solid var(--color-light-grey);
    color: white;
    padding: 0.4rem 0.8rem;
}
.panel-progress-bar thead tr:first-child td a {
    color: white;
    font-weight: 600;
}
.panel-progress-bar thead th {
    text-align: center;
}
.panel-progress-bar, .panel-progress-bar tfoot td {
    border-bottom: none;
}
.date-phase {
    position: relative;
    font-weight: bold;
    font-size: 0.8rem;
    width: calc(100% - 1px);
    max-width: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}
.date-phase.start {
    top: 20px;
    left: -34px;
}
.date-phase.end {
    top: 35px;
    left: -104px;
}
.date-phase-start {
    position: relative;
    top: 20px;
    right: 8px;
    font-weight: bold;
    font-size: 0.8rem;
    width: calc(75% - 1px);
    max-width: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block
}
.data-phase-stabilization,
.data-phase-closing,
.date-stabilization .date-phase {
    width: calc(53% - 1px);
}
.date-phase-end {
    position: relative;
    top: 20px;
    left:5px;
    font-weight: bold;
    font-size: 0.8rem;
    width: calc(45% - 1px);
    max-width: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    text-align: right;
    float: right;
}
.date-stabilization .date-phase-end {
    float: right;
}
.rating {
    display: inline-block;
    margin: 0.5%;
    width: 4%;
    height: 0.8rem;
    border: 1px solid var(--color-darker-blue);
    background-color: white;
    float: left;
}
.rating.active {
    background-color: var(--color-darker-blue)
}
.rating.delayed {
    background-color: var(--color-red);
    border: 1px solid var(--color-red);
}
.date-phase.delayed {
    color: var(--color-red);
}
/* zmiana układu wykresów z sekcji budżetu dla małych rozdzielczości */
.budget-execution-wide-screen {
    display: inline;
}
.budget-execution-narrow-screen {
    display: none;
}
.budget-execution-narrow-screen .box-section {
    margin-bottom: 0;
}
@media only screen and (max-width: 1440px) {
    .budget-execution-wide-screen {
        display: none;
    }
    .budget-execution-narrow-screen {
        display: block;
    }
}
@media only screen and (min-width: 1441px) {
    .budget-structure-wide-screen {
        max-width: 620px;
    }
}
/* style dla dashbordu podstawowe inf. o projekcie 1p1d */
.gantt-table-header {
    border-bottom: none !important;
}
.gantt-table-header-sub {
    border-top: none !important;
}
.gantt-table-chart {
    margin: 0 !important;
    padding: 0 !important;
}
.gantt-table-chart-header {
    height: 20px;
}
/*style do usunięcia po zrobienu nowego Gantta w programach*/
.gantt-table-name-col {
    min-width: 300px;
    max-width: 300px;
    width: 300px;
}
.gantt-table-td {
    height: 40px !important;
}
.gantt-table-groups-col {
    min-width: 150px;
    max-width: 150px;
    width: 150px;
}
.project-panel .info-box table th {
    vertical-align: middle;
}

.number-projects {
    color: var(--color-darker-blue);
    font-size: 85px;
}
.td-red {
    background-color: var(--color-red-td) !important;
}
.td-yellow {
    background-color: var(--color-yellow) !important;
}
.td-green {
    background-color: var(--color-light-green-td) !important;
}
.td-grey {
    background-color: var(--color-light-grey-td) !important;
}
.td-red, .td-yellow, .td-green, .td-grey {
    min-width: 40px;
}
.info-box-content.box-content {
    padding: 0!important;
}

/* Szerokości */
.w-px-500 {
    width: 500px;
}
.w-px-220 {
    width: 220px;
}
.w-95 {
    width: 95%;
}
.w-90 {
    width: 90%;
}
.w-80 {
    width: 80%;
}
.w-70 {
    width: 70%;
}
.w-60 {
    width: 60%;
}
.w-45 {
    width: 45%;
}
.w-40 {
    width: 40%;
}
.w-30 {
    width: 30%;
}
.w-35 {
    width: 35%;
}
.w-exactly-30 {
    width: 30%;
    min-width: 30%;
    max-width: 30%;
}
.w-25 {
    width: 25%;
}
.w-20 {
    width: 20%;
}
.w-like-col-2 {
    width: 16.666667%;
}
.w-15 {
    width: 15%;
}
.w-10 {
    width: 10%;
}
.w-5 {
    width: 5%;
}
footer img {
    margin: 0 15px;

}
.main-logo {
    width: 50%;
    margin-left: auto;
    margin-right: auto
}
.main .content-wrapper {
    display: flex;
    align-items: center;
}
.main .content-wrapper img {
    width: 100%;
}
.main footer, .main nav,
.main .content-wrapper {
    margin: 0!important;
}
/* style dla dashboard */

.dashboard-content .objects-list ol,
.panel .objects-list ol {
    margin-bottom: 0;
    padding-left: 15px;
}
.fa-arrow-right {
    font-size: 4rem;
    margin-top: 30px;
    color: var(--color-yellow);
}
.fa-arrow-right.up {
    transform: rotate(320deg);
    color: var(--color-green);
}
.fa-arrow-right.down {
    transform: rotate(40deg);
    color: var(--color-red);
}
.panel-progress-bar-phase {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    text-align: center;
}
/* Style dla Zestawień */
.td-w130 {
    min-width: 130px;
    max-width: 130px;
    width: 130px;
    text-align: right;
}
.summaries-content {
    border-radius: initial;
    margin-top: 0.6rem;
    padding: .5rem .45rem .35rem .45rem;
}
.summaries-content th {
    text-align: center;
    vertical-align: middle !important;
}
.summaries-content .th-value {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.summaries-content .th-rating {
    min-width: 120px;
}
.summaries-content .risk-level {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
}
.summaries-content .main-informations {
    width: 100%;
}
.summaries-content .main-informations .th-summaries-general {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
}
.summaries-content .activity {
    width: 100%;
}
.summaries-content .activity .th-date {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.summaries-content .phases {
    width: 100%;
}
.summaries-content .phases .th-phase {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    font-weight: 600;
    background-color: var(--color-grey-header) !important;
}
.summaries-content .phases .th-progress {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .goals .th-goals,
.summaries-content .goals .th-goals-indicator {
    min-width: 210px;
}
.summaries-content .goals .reported {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
.summaries-content .goals .th-trend {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.summaries-content .goals .th-progress {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.summaries-content .goals .th-delay {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.summaries-content .goals .th-days_delay {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.summaries-content .goals .th-lp,
.summaries-content .benefits .th-lp {
    min-width: 75px;
    width: 75px;
    max-width: 75px;
}
.summaries-content .goals .th-value {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.summaries-content .goals .th-date-wide {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.summaries-content .goals .th-phase {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    background-color: var(--color-grey-header) !important;
}
.summaries-content .trend {
    text-align: center;
}
.summaries-content .trend .fas.fa-caret-up {
    color: var(--color-green);
    font-size: 2.5rem;
}
.summaries-content .trend .fas.fa-caret-down {
    color: var(--color-red);
    font-size: 2.5rem;
}
.summaries-content .trend .fas.fa-minus {
    color: var(--color-yellow);
    font-size: 2rem;
}
.summaries-content .strategies {
    width: 100%;
}
.summaries-content .experiences-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 1555px) {
    .summaries-content .experiences-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .experiences {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .experiences.multi-d .th-experiences {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .experiences.multi-d .td-data {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .experiences.multi-d table {
    width: auto;
}
.summaries-content .budget-execution.multi-d .td-data {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .budget-execution.multi-d table {
    width: auto;
}
.summaries-content .rating-trend-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 1555px) {
    .summaries-content .rating-trend-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .rating-trend {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .rating-trend.multi-d .td-data {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .rating-trend.multi-d table {
    width: auto;
}
.summaries-content .products .th-product,
.summaries-content .products .th-operation-group,
.summaries-content .products .th-costitem,
.summaries-content .products .th-delay-reason {
    width: 25%;
    min-width: 200px;
}
.summaries-content .products .th-operations {
    min-width: 200px;
    width: 200px;
    max-width: 200px;
}
.summaries-content .products-operation-group {
    grid-row: 1;
    overflow-x: auto
}
.summaries-content .products-operation-group-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2510px) {
    .summaries-content .products-operation-group-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .products-operation-group .th-product {
    min-width: 200px;
}
.summaries-content .products-operation-group .th-operation-group {
    min-width: 200px;
}
.summaries-content .products-operation-group .th-operations {
    min-width: 200px;
}
.summaries-content .products-operation-group .th-date-wide {
    min-width: 175px;
    max-width: 175px;
    width: 175px;
}
.summaries-content .products-operation-group .th-costitem {
    min-width: 200px;
}
.summaries-content .products-operation-group .th-delay-reason {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}
.summaries-content .time-progress table {
    width: 240px;
}
.summaries-content .time-progress .th-summaries-general {
    width: 235px;
    min-width: 235px;
    max-width: 235px;
}
.summaries-content .time-progress .th-summaries-general-date {
    width: 265px;
    min-width: 265px;
    max-width: 265px;
}
@media only screen and (max-width: 1536px) {
    .summaries-content .time-progress.d-flex {
        display: initial !important;
    }
    .summaries-content .time-progress .th-summaries-general {
        width: 265px;
        min-width: 265px;
        max-width: 265px;
    }
}
.summaries-content .phases th.phase,
.summaries-content .project-rating .td-delay.global-rating{
    width: 235px;
    min-width: 235px;
    max-width: 235px;
}
.summaries-content .phases .th-date {
    min-width: 110px;
    width: auto;
    max-width: 100%;
}
.summaries-content .phases {
    grid-row: 1;
    overflow-x: auto
}
.summaries-content .phases-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 1715px) {
    .summaries-content .phases-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .project-rating {
    width: 100%;
}
.summaries-content .project-rating .global-rating i {
    font-size: 2rem;
}
.summaries-content .project-products-and-milestones {
    width: 100%;
}
.summaries-content .project-budget {
    width: 100%;
}
.summaries-content .project-risks {
    width: 100%;
}
.summaries-content .results {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .results-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2568px) {
    .summaries-content .results-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .results .th-results,
.summaries-content .results .th-product,
.summaries-content .results .th-results-indicator {
    min-width: 210px;
}
.summaries-content .results .reported {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
.summaries-content .results .th-trend {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.summaries-content .results .th-progress {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.summaries-content .results .th-delay {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.summaries-content .results .th-days_delay {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.summaries-content .results .th-value {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.summaries-content .results .th-date-wide {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.summaries-content .general-information-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2568px) {
    .summaries-content .general-information-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .general-information {
    grid-row: 1;
    overflow-x: auto;
}
.report-preview .general-information {
    width: 100%;
}
/*aktywność użytkowników*/
.summaries-content .activity {
    display: flex;
    justify-content: center;
}
.summaries-content .activity .table {
    width: auto;
}
.summaries-content .activity .th-number {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.summaries-content .activity .th-date-wide {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
/*zmiany w danych projektu*/
.summaries-content .phases-changes .th-area {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.summaries-content .phases-changes .th-number {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

/*Style dla zestawień tryb multi*/
.summaries-content .informations-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2426px) {
    .summaries-content .informations-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .informations {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .informations-grid-table .informations .th-phase,
.summaries-content .budget-grid-table .budget .th-phase {
    background-color: var(--color-grey-header) !important;
    min-width: 140px;
    width: 140px;
    max-width: 140px;
}
.summaries-content .informations-grid-table .informations .th-role {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .informations-grid-table .informations .th-role-wide {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.summaries-content .informations-grid-table .informations .th-date-wide {
    width: 195px;
    min-width: 195px;
    max-width: 195px;
}
.summaries-content .informations-grid-table .informations .th-delay {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.summaries-content .informations-grid-table .informations .th-delay-wide {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}
.summaries-content .informations-grid-table .informations .th-progress {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.summaries-content .informations-grid-table .informations .th-date {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.summaries-content .informations-grid-table .informations .th-category {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.summaries-content .informations-grid-table .informations .th-costs {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.summaries-content .strategies-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2426px) {
    .summaries-content .strategies-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .strategies-grid-table .strategies {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .strategies-grid-table .strategies .th-goal-strategies-name {
    min-width: 240px;
}
.summaries-content .strategies-grid-table .strategies .th-strategies-particular-goal {
    min-width: 220px;
}

.summaries-content .strategies-grid-table .strategies .th-phase {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    background-color: var(--color-grey-header) !important;
}
.summaries-content .strategies-grid-table .strategies .th-object-name {
    min-width: 200px;
}
.summaries-content .strategies-grid-table .strategies .th-strategies-area {
    min-width: 200px;
}
.summaries-content .budget-grid-table .budget .th-days-delay {
    min-width: 175px;
    width: 175px;
    max-width: 175px;
}
.summaries-content .budget-grid-table .budget .th-delay-reason {
    min-width: 200px;
}
/*realizowane strategie i programy strategiczne */
.summaries-content .strategies-grid-table .strategies.multi .th-goal-strategies-name {
    min-width: 275px;
}
.summaries-content .strategies-grid-table .strategies.multi .th-strategies-particular-goal {
    min-width: 275px;
}
.summaries-content .risks-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2426px) {
    .summaries-content .risks-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .risks {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .risks-grid-table .risks .th-phase {
    background-color: var(--color-grey-header) !important;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.summaries-content .risks-grid-table .risks .th-date {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.summaries-content .risks-grid-table .risks .th-category {
    min-width: 90px;
}
.summaries-content .risks-grid-table .risks .th-object-name {
    min-width: 200px;
}
.summaries-content .risks-grid-table .risks .th-level {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.summaries-content .risks-grid-table .risks .th-impact {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
}
.summaries-content .risks-grid-table .risks .th-management-actions {
    min-width: 200px;
}
.summaries-content .risks-grid-table .risks .th-effect {
    min-width: 200px;
}
.summaries-content .risks-grid-table .risks .th-risk-operations-to-do {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
.summaries-content .risks-grid-table .risks .th-direction {
    width: 290px;
    min-width: 290px;
    max-width: 290px;
}
.summaries-content .products-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2426px) {
    .summaries-content .products-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .products-grid-table .products {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .results .th-phase {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    background-color: var(--color-grey-header) !important;
}
.summaries-content .budget-grid-table {
    margin-right: 0;
    display: grid;
    flex-wrap: wrap;
    margin-left: -7.5px;
}
@media only screen and (min-width: 2426px) {
    .summaries-content .budget-grid-table {
        margin-right: -7.5px;
    }
}
.summaries-content .strategies-grid-table .budget {
    grid-row: 1;
    overflow-x: auto;
}
.summaries-content .budget .th-phase {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    background-color: var(--color-grey-header) !important;
}
.summaries-content .budget .th-financing-source {
    min-width: 200px;
}
.summaries-content .products-operation-group.multi .th-phase {
    background-color: var(--color-grey-header) !important;
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .products-operation-group.multi .th-role {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.summaries-content .products-operation-group.multi .th-delay-reason {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}
.summaries-content .products-operation-group.multi .th-delay {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.summaries-content .products-operation-group.multi .th-date-wide {
    width: 265px;
    min-width: 265px;
    max-width: 265px;
}
.summaries-content .products-operation-group.multi .th-costitem {
    min-width: 200px;
}
/* Style dla wykresy i grafiki */
.diagrams-content {
    border-radius: initial;
    margin-top: 0.6rem;
    padding: .5rem .45rem .35rem .45rem;
}
.diagrams-content th {
    text-align: center;
}
.diagrams-content .main-informations {
    width: 100%;
}
.diagrams-content .main-informations .th-summaries-general {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
}
.diagrams-content .payment-execution {
    width: 70vw;
}
.diagrams-content .highcharts-pie,
.diagrams-content .highcharts-column
{
    width: 70vw;
}
.diagrams-content .highcharts-pie.auto-width,
.diagrams-content .highcharts-column.auto-width
{
    width: auto;
}
@media only screen and (min-width: 1300px) {
    .diagrams-content .highcharts-pie {
        width: 60vw;
    }
}
@media only screen and (min-width: 1500px) {
    .diagrams-content .highcharts-pie {
        width: 50vw;
    }
}
@media only screen and (min-width: 1900px) {
    .diagrams-content .highcharts-pie {
        width: 40vw;
    }
}
.diagrams-content .highcharts-line {
    width: 70vw;
}
.diagrams-content .highcharts-line.auto-width {
    width: auto;
}
/* Wykresy i grafiki tryb multi */

.about-project .fas {
    font-size: 2rem;
    margin: 10px 0;
}
.project-spending-funds .highcharts-header {
    background-color: var(--color-grey);
    padding: 0.75rem;
    font-weight: bold;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center
}

.project-spending-funds .highcharts-body {
    border: 1px solid var(--color-light-grey);
    height: 10vw;
    padding-top: 15px;
}
.project-progress div {
    width: 25vw;
}
.project-progress .highcharts-header {
    background-color: var(--color-grey);
    padding: 0.75rem;
    font-weight: bold;
    text-align: center;
    height: 50px;
    align-items: center
}

.project-progress .highcharts-body {
    border: 1px solid var(--color-light-grey);
    height: 20vw;
    padding-top: 2vw;
}
/*Struktura projektów wg strategii/programów*/
.diagrams-content .highcharts-figure .sor-menu{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.diagrams-content .highcharts-figure button.buttonlinks {
    color: white;
    background-color: black;
}
.diagrams-content .highcharts-figure button.buttonlinks:hover,
.diagrams-content .highcharts-figure button.buttonlinks:focus {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid black;
}
.diagrams-content .highcharts-figure button.buttonlinks.active {
    color: inherit;
    background-color: var(--color-grey);
    border: 1px solid black;
    outline: none;
}
.diagrams-content .highcharts-figure button.buttonlinks.active:hover,
.diagrams-content .highcharts-figure button.buttonlinks.active:focus {
    background-color: rgba(202, 202, 202, 0.2);
}
/* Wykresy z biblioteki ZingChart */
.zc-ref, /* TODO: sprawdzić czy ukrywanie nazwy jest zgodne z licencją */
#chart-license-text {
    display: none;
}
.zc-menu.zc-style {
    border: 1px solid rgb(153, 153, 153) !important;
}
.zc-menu-sep {
    border-bottom: 0 !important;
}
.zc-menu.zc-style .chart-menu-item {
    border-top: 0 !important;
}
/* Panel Menadzerski */
.managers-panel {
    max-height: calc(100vh - 205px);
}
.managers-panel table th {
    vertical-align: middle;
}
.managers-panel table,
.wide-table-scroller table,
.table-pagination.wide-table,
.wide-table {
    border-collapse: separate;
    border-spacing: 0;
}
.managers-panel table.data-state-condensed.wide-table {
    width: calc(100vw - 250px - 30px - 44px - 25px - 2px - 15px); /* 250px - lewe menu; 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12 */
    position: sticky;
    left: 30px;
    box-shadow: -3px 2px 5px var(--color-grey-header);
    transition: width 0.3s ease-in-out;
}
body.sidebar-collapse .managers-panel table.data-state-condensed {
    width: calc(100vw - 30px - 44px - 25px - 2px - 15px); /* 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12 */
}
.managers-panel table.data-state-condensed .th-process-stage-small {
    min-width: 120px;
    width: calc((100vw - 250px - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 250px - lewe menu; 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość   */
    transition: width 0.3s ease-in-out;
}
body.sidebar-collapse .managers-panel table.data-state-condensed .th-process-stage-small {
    width: calc((100vw - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość   */
}
.managers-panel table.data-state-condensed .th-process-stage {
    min-width: 130px;
    width: calc((100vw - 250px - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 250px - lewe menu; 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość    */
    transition: width 0.3s ease-in-out;
}
body.sidebar-collapse .managers-panel table.data-state-condensed .th-process-stage {
    width: calc((100vw - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość    */
}
.managers-panel table.data-state-condensed .th-process-stage-wide {
    min-width: 200px;
    width: calc((100vw - 250px - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 250px - lewe menu; 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość    */
    transition: width 0.3s ease-in-out;
}
body.sidebar-collapse .managers-panel table.data-state-condensed .th-process-stage-wide {
    min-width: 200px;
    width: calc((100vw - 30px - 44px - 25px - 2px - 15px - 30px - 190px - 125px)/6); /* 30px - pozycja z lewej; 44px - szerokość kolumny ze strzałką; 25px - lewy pasek przewijania + cień; 2px - padding na div.managers-panel; (2x7.5px)= 15px - padding na głównym div.col-sm-12; 30px, 190px i 125px  - szerokość komórek zawierających stałe szerokości (komórka zawierająca checkbox,Otwarte stany danych, Status danych); 6 - liczba komórek, które mają dostać szerokość    */
}
.managers-panel table.data-state-condensed tr td,
.managers-panel table.data-state-condensed tr th {
    position: static !important;
}
.managers-panel table.data-state-condensed tr td {
    background-color: var(--color-very-light-grey) !important;
}
.managers-panel table.data-state-condensed tr th {
    background-color: var(--color-grey);
    color: black;
}
.managers-panel table.data-state-condensed tr th.th-status {
    min-width: 125px!important;
}
.managers-panel table.data-state-condensed tr th.th-author {
    min-width: 190px;
}
.managers-panel .btn-less-more {
    position:relative;
    right:0;
    bottom:0;
    float: right;
}
.managers-panel .th-phase-panel {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
}
.managers-panel .th-name {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
}
@media only screen and (max-width: 1600px) {
    .managers-panel .th-name {
        min-width: 300px;
    }
}
@media only screen and (max-width: 1366px) {
    .managers-panel .th-name {
        min-width: 200px;
    }
}
.th-short-name {
    min-width: 200px;
}
@media only screen and (max-width: 1536px) {
    .th-short-name {
        min-width: 140px;
    }
}
@media only screen and (max-width: 1440px) {
    .th-short-name {
        min-width: 125px;
    }
}
@media only screen and (max-width: 1366px) {
    .th-short-name {
        min-width: 95px;
    }
}
.th-short-name-wide {
    min-width: 250px;
    width: 250px;
    max-width: 250px;
}
.managers-panel .th-role-panel {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.managers-panel .th-number-panel {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.managers-panel .th-number-wide-panel {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.managers-panel .th-number-very-wide-panel {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.managers-panel .th-status-panel {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.managers-panel .th-type-panel {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.managers-panel .th-scope {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.managers-panel .th-category-panel {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
}
.managers-panel .th-is-active-panel {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.managers-panel .th-is-last-state-panel {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
}
.managers-panel .th-last-implemented-panel {
    width: 500px;
    min-width: 500px;
    max-width: 500px;
}
.managers-panel .th-level-panel {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.managers-panel .th-date-panel {
    width: 109px;
    min-width: 109px;
    max-width: 109px;
}
.managers-panel .th-date-wide-panel {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.managers-panel .th-date-very-wide-panel {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
}
.managers-panel .th-undertaking_type-panel {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}
.managers-panel .th-undertaking-type {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
}
.managers-panel .th-description,
.managers-panel .th-source-description-panel {
    width: 500px;
    min-width: 500px;
    max-width: 500px;
}
.managers-panel .th-description-panel {
    width: 420px;
    min-width: 420px;
    max-width: 420px;
}
.managers-panel .th-type-wide-panel {
    width: 155px;
    min-width: 155px;
    max-width: 155px;
}
.managers-panel .th-contract-no-panel {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}
.managers-panel .th-closed-project {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}
.managers-panel .th-realization-time-panel {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.managers-panel .th-progress-panel {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}
.managers-panel .th-progress-wide-panel {
    width: 185px;
    min-width: 185px;
    max-width: 185px;
}
.managers-panel .th-progress-very-wide-panel {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.managers-panel .th-rating-panel {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
}
.managers-panel .th-trend-panel {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.managers-panel .th-rating-wide-panel {
    width: 145px;
    min-width: 145px;
    max-width: 145px;
}
.managers-panel .th-group-panel {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}
.managers-panel .th-financing-source-panel {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
}
.managers-panel .th-currency-panel {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}
.managers-panel .th-costs-panel {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.managers-panel .th-costs-wide-panel {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}
.managers-panel .th-costs-very-wide-panel {
    width: 255px;
    min-width: 255px;
    max-width: 255px;
}
.managers-panel .th-step-panel {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}
.managers-panel .th-step-wide-panel {
    width: 185px;
    min-width: 185px;
    max-width: 185px;
}
.managers-panel table.available-enterprises thead th:not(tbody th) {
    position: sticky;
    top: 0;
    z-index: 3;
}
.managers-panel table.available-enterprises tbody tr td:nth-child(-n+4) {
    position: sticky;
    z-index: 2;
    background-color: white;
}
.managers-panel .managers-panel-main-header th {
    background-color: var(--color-dark-blue);
    color: white;
    font-weight: 600;
}
.managers-panel .managers-panel-main-header th a[data-toggle="tooltip"] {
    color: white;
}
.showandhide-merged_column {
    background-color: var(--color-very-light-grey) !important;
}
.managers-panel table.available-enterprises thead tr th:nth-child(-n+4) {
    position: sticky;
    z-index: 4;
}
.managers-panel table.available-enterprises tbody tr td:nth-child(1):not(.td-pure-checkbox),
.managers-panel table.available-enterprises thead tr th:nth-child(1):not(.td-pure-checkbox){
    left: 0;
}
.managers-panel table.available-enterprises tbody tr td:nth-child(2),
.managers-panel table.available-enterprises thead tr th:nth-child(2){
    left: 30px;
}
.managers-panel table.available-enterprises tbody tr td:nth-child(3),
.managers-panel table.available-enterprises thead tr th:nth-child(3){
    left: 140px;
    width: 105px;
    min-width: 105px;
}
.managers-panel table.available-enterprises tbody tr td:nth-child(4),
.managers-panel table.available-enterprises thead tr th:nth-child(4){
    left: 245px;
}
.managers-panel .enterprise-table th a[data-toggle="tooltip"] {
    color: white;
}
/* Klasy dla Callout */
.callout {
    margin: .5rem 0 1rem 0;
    padding: 0.5rem;
}
.callout p.callout_title {
    margin-bottom: 0;
    font-weight: bold;
}
.callout.callout-warning {
    background-color: #d39e0015;
}
.callout.callout-warning p.callout_title {
    color: #d39e00;
}
.callout.callout-danger {
    background-color: #bd213015;
}
.callout.callout-danger p.callout_title {
    color: #bd2130;
}
.callout.callout-success {
    background-color: #1e7e3415;
}
.callout.callout-success p.callout_title {
    color: #1e7e34;
}
.callout.callout-info {
    border-left-color: #1aafc7;
    background-color: #1aafc715;
}
.callout.callout-info p.callout_title {
    color: #1aafc7;
}
/* Style dla raportów w trybie multi */
.report-enterprises-list th {
    background-color: var(--color-grey-header);
}
.report-enterprises-list .th-state,
.report-enterprises-list .th-status,
.report-enterprises-list .th-phase-name {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}
.chart--container {
    height:100%;
    width:100%;
    min-height:150px;
}
.zc-ref { display:none; }
#myChart-license-text a,
#myChart1-license-text a{
    z-index: -1;
    position: relative;
}
/* Stylowanie komunikatu o braku danych */
.no-data-information {
    border: 1px solid var(--color-light-grey);
    padding: 0.1rem 0.5rem;
    margin-top: 2.5rem;
}
/* Kalendarz - datepicker */
.datepicker {
    z-index: 1050 !important;
}
/* Stylowanie komunikatu o wylogowaniu */
.session_security_overlay {
    z-index:10001 !important;
}
.session_security_modal {
    z-index:10002 !important;
}
/* Style dla błędów kontrastu sr-only */
.sr-only {
    color: black;
    background-color: white;
}
.blue-layout th a {
    background-color: inherit;
}
/* Style dla paska przewijania */
.fl-scrolls {
    z-index: 2;
}

/* kolor tła dla zablokowanego pola z edytorem summernote */
.note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false], .note-editor.note-frame .note-editing-area .note-editable[contenteditable=false] {
    background-color: var(--color-grey-disabled);
}
/* style dla walidacji miękkich */
.modal.justification .modal-body .col-form-label {
    padding-top: 0;
}
.modal.justification .modal-body textarea.form-control-sm {
    padding-top: 2px;
}
.justification,
.justification td {
    color: var(--color-warning);
}
.justification-with-explanation td {
    color: var(--color-success);
}
.strong-error td {
    color: var(--color-red);
}
.warning.justification {
    font-size: 80%;
}
.justification .fa-exclamation-circle, .justification.justified {
    color: var(--color-success);
}
.form-control.is-warning {
    border-color: var(--color-warning);
}
.addon-is-warning {
    border-color: var(--color-warning);
}
/* style dla edytora filtrowania/sortowania */
.th-operator {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.th-sort-level {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}
.th-sort-order {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}
.disabled-stored-filter-button {
    cursor: not-allowed;
    opacity: 0.5;
}
/* wyświetlanie zablokowanych przedsięwzięć na listach np. Panelu Menadżerskim */
.locked-affiliated-enterprise {
    color: #dc3545 !important;
}

@media only screen and (max-width: 1439px) {
    .table-products .th-date-wide {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }
}
