#process-info-container {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, minmax(340px, 458px));
    grid-template-areas: "block-1 block-2"
                         "block-1 block-3"
                         "block-4 block-5"
                         "block-6 block-6";
}

#process-price-info {
    grid-area: block-1;
}

#process-dates-info {
    grid-area: block-2;
}

#process-docs-info {
    grid-area: block-3;
}

#process-executor-info {
    grid-area: block-4;
}

#process-addition-info {
    grid-area: block-5;
}

#process-source-files {
    grid-area: block-6;
}

.remove-executor-grid,
#executor-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}

.pirs-card a.bi,
.pirs-card a.bi:hover,
.pirs-card a.bi:focus,
.pirs-card a.bi:active,
.pirs-card .tab-content a:hover,
.pirs-card .tab-content a:focus,
.pirs-card .tab-content a:active {
    color: var(--pirs-gray);
}

#process-view a.btn:hover,
#process-view a.btn:focus,
#process-view a.btn:active {
    color: var(--pirs-white);
}

.pirs-left-tabs-flex a.bi {
    font-size: 24px;
}

#process-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

#process-actions a {
    margin: 8px;
}

.action-process {
    display: inherit;
}

.avatar-big {
    width: 64px;
    height: 64px;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 40px;
}

.process-title {
    font-weight: 900;
    font-size: 32px;
    line-height: 37px;
    color: var(--pirs-white);
}

.process-status {
    margin-top: 8px;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    color: var(--pirs-white);
}

.block-title {
    font-size: 24px;
    line-height: 28px;
    color: var(--pirs-white);
}

#process-price-info .row,
#process-dates-info .row {
    margin: 7px 0;
}

#projectprocess-price-cont,
.process-executor-rating,
.process-price {
    font-size: 36px;
    line-height: 40px;
    color: var(--pirs-white);
}

.process-price > .rub svg {
    fill: var(--pirs-white);
}

#projectprocess-price-cont > .kv-editable-link:hover,
#projectprocess-price-cont > .kv-editable-link:active,
#projectprocess-price-cont > .kv-editable-link:focus,
#projectprocess-price-cont > .kv-editable-link {
    color: var(--pirs-white) !important;
}

.task-small-card .kv-editable-link:hover,
.task-small-card .kv-editable-link:active,
.task-small-card .kv-editable-link:focus,
.task-small-card .kv-editable-link {
    color: var(--pirs-gray) !important;
}

#projectprocess-price-cont > .kv-editable-value {
    margin-right: 0;
}

#projectprocess-price-cont .invalid-feedback {
    display: none;
}

#projectprocess-price-cont .help-block {
    font-size: 14px;
    line-height: 1;
}

.removed-executor-rating {
    font-size: 36px;
    line-height: 42px;
}

.process-price-agreement {
    font-size: 24px;
    color: var(--pirs-white);
}

.application-nds,
.process-nds {
    font-size: 10px;
    line-height: 12px;
}

.application-nds {
    margin-bottom: 4px;
}

.application-nds,
.process-nds {
    color: var(--pirs-gray);
}

.executor-type {
    font-size: 14px;
    line-height: 21px;
    color: var(--pirs-white);
}

.process-rub {
    font-size: 24px;
}

.sub-task-footer-title,
.application-pp-code {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
}

.sub-task-footer-title .help-block {
    font-size: 14px;
    text-align: left;
}

#pay-progress-bars {
    width: 190px;
}

.progress.count-progress,
.progress.pay-progress {
    overflow: inherit;
    height: 24px;
    background: var(--pirs-bg3);
    margin: 14px 0;
}

.progress.count-progress > .progress-bar,
.progress.pay-progress > .progress-bar {
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    padding-right: 2px;
}

.progress.count-progress > label,
.progress.pay-progress > label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 12px;
    line-height: 14px;
    padding-left: 6px;
}

.progress.pay-progress > label {
    width: 0;
}

.progress.count-progress {
    width: 33%;
}

#progress-pay1 {
    background-color: var(--pirs-green);
}

#progress-pay2 {
    background-color: var(--pirs-blue);
}

#progress-pay3 {
    background-color: var(--pirs-gray);
}

#progress-pay-red {
    background-color: var(--pirs-red);
}

#progress-pay-blue {
    background-color: var(--pirs-blue);
}

#progress-pay-green {
    background-color: var(--pirs-green);
}

#secure-checkbox,
#with_docs-checkbox,
#vor-checkbox,
#calculations-checkbox {
    display: revert;
}

.info-checkbox {
    margin: 10px 0;
}

.info-checkbox label {
    margin-left: 14px;
}

.info-checkbox .form-check-input {
    background-color: inherit;
    border: 1px solid var(--pirs-white);
}

.info-checkbox .form-check-input:checked {
    background-color: inherit;
    border: 1px solid var(--pirs-green);
}

.info-checkbox .form-check-input:disabled {
    filter: none;
    opacity: unset;
}

.info-checkbox .form-check-input[disabled] ~ .form-check-label,
.info-checkbox .form-check-input:disabled ~ .form-check-label {
    opacity: unset;
}

.process-main-dates,
.process-dates {
    font-size: 18px;
    line-height: 21px;
}

.process-main-dates {
    color: var(--pirs-white);
}

#projectprocess-date_limit-targ,
#projectprocess-date_limit-targ:hover,
#projectprocess-date_limit-targ:focus {
    color: var(--pirs-white) !important;
}

.process-warn,
.process-executor-fio,
.removed-executor-fio {
    font-size: 16px;
    line-height: 19px;
}

.process-executor-type {
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
}

.process-requests-count a,
.process-requests-count {
    font-weight: 300;
    font-size: 48px;
    color: var(--pirs-white);
    line-height: 64px;
}

.process-requests-count a,
.process-requests-count a:hover,
.process-requests-count a:focus,
.process-requests-count a:active,
.process-requests-count {
    line-height: 0;
}

#executor-info-grid .bi-star-fill {
    font-size: 14px;
    line-height: 40px;
    margin-bottom: -6px;
    margin-right: 5px;
}

.process-executor-job-duration {
    font-weight: 300;
    font-size: 10px;
    line-height: 12px;
}

.nav-link.active.double-upper-tab.active {
    color: var(--pirs-bg3);
    background-color: var(--pirs-green);
    border: 1px solig var(--pirs-green);
}

.nav-pills .nav-link.double-upper-tab {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 21px;
    background-color: var(--pirs-bg3);
    border: 1px solig var(--pirs-bg3);
    margin: 0;
    padding: 8px 16px;
    color: var(--pirs-white);
    border-radius: 5px 5px 0 0;
}


.pirs-card-body {
    position: relative;
    height: 290px;
    z-index: 2;
}

.star-icon,
.pirs-card-body .bi {
    margin-bottom: 12px;
}

.pirs-card-footer {
    position: relative;
    background: var(--pirs-gray);
    margin: -5px 0 1rem 0;
    padding: 13px 24px 8px 24px;
    z-index: 1;
    max-height: max-content;
    border-radius: 5px;
}

#process-view .pirs-card-footer a,
#process-view .pirs-card-footer a:hover,
#process-view .pirs-card-footer a:focus,
#process-view .pirs-card-footer a:active,
.pirs-card-footer {
    color: var(--pirs-bg3);
}

#process-view .pirs-card-footer.pirs-red a,
#process-view .pirs-card-footer.pirs-red a:hover,
#process-view .pirs-card-footer.pirs-red a:focus,
#process-view .pirs-card-footer.pirs-red a:active,
#process-view .pirs-card-footer.pirs-red {
    background: var(--pirs-red) !important;
    color: var(--pirs-white) !important;
}

#process-view .pirs-card-footer.pirs-green a,
#process-view .pirs-card-footer.pirs-green a:hover,
#process-view .pirs-card-footer.pirs-green a:focus,
#process-view .pirs-card-footer.pirs-green a:active,
#process-view .pirs-card-footer.pirs-green {
    background: var(--pirs-green) !important;
}

#process-view .pirs-card-footer .task-small-card a,
#process-view .pirs-card-footer .task-small-card a:hover,
#process-view .pirs-card-footer .task-small-card a:focus,
#process-view .pirs-card-footer .task-small-card a:active {
    background-color: inherit !important;
}

#process-view .pirs-card-footer .task-small-card a.bi,
#process-view .pirs-card-footer .task-small-card a.bi:hover,
#process-view .pirs-card-footer .task-small-card a.bi:focus,
#process-view .pirs-card-footer .task-small-card a.bi:active {
    color: var(--pirs-gray) !important;
}

.process-application-job-duration {
    font-size: 12px;
    line-height: 14px;
    color: var(--pirs-gray);
}

.process-application-fio,
.process-application-fio a {
    font-size: 24px;
    line-height: 28px;
    color: var(--pirs-white);
    margin: 10px 0;
}


.removed-executor-type,
.removed-executor-type a,
.process-application-type,
.process-application-type a {
    font-size: 14px;
    line-height: 16px;
    color: var(--pirs-gray);
}

.process-application-type,
.process-application-type a {
    margin-top: 22px;
}


.removed-executor-type,
.removed-executor-type a {
    margin-top: 16px;
}

.process-application-rating {
    font-weight: 300;
    font-size: 18px;
    line-height: 21px;
    margin-top: 18px;
    color: var(--pirs-white);
}

.application-warn {
    font-size: 14px;
    line-height: 16px;
}

.application-comment {
    font-size: 14px;
    line-height: 16px;
    margin-top: 24px;
    cursor: pointer;
}

.pirs-card-sub-check,
.pirs-card-comment {
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
}

.io-nav-arrow {
    margin-left: 14px;
    color: var(--pirs-white);
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.removed-executor-fio a {
    color: var(--pirs-white);
}

.process-in-sub-check-task .pirs-card-body,
.process-out-sub-check-task .pirs-card-body {
    height: 255px;
}

.date-label {
    width: 87px;
}

.process-task-card .pirs-card-body {
    height: 270px;
}

.pirs-card-small .pirs-card-body {
    height: 180px;
}

.process-task-card .in-sub-check-task {
    background: var(--pirs-bg3);
    color: var(--pirs-white);
    width: 120px;
    height: 64px;
    border-radius: 5px;
    padding: 10px;
}

.process-task-card .in-sub-check-task.pirs-green {
    background: var(--pirs-green);
}

.process-task-card .in-sub-check-task.pirs-red {
    background: var(--pirs-red);
}

.check-list-card {
    height: 140px;
    border-radius: 10px;
    background: var(--pirs-bg3);
    padding: 20px;
    min-width: 340px;
}

.check-list-value {
    font-size: 72px;
    line-height: 1;
}

.check-list-value .bi {
    font-size: 48px;
}

.task-by-team-footer-item .pirs-editable-container .pirs-editable-button {
    color: var(--pirs-bg3) !important;
}

.task-by-team-footer-item .pirs-editable-container .form-control,
.task-by-team-footer-item .pirs-editable-container .input-group-text {
    border: 1px solid var(--pirs-bg3) !important;
    color: var(--pirs-bg3) !important;
}

.task-by-team-footer-item .pirs-editable-container .kv-date-picker {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2326313A" class="bi bi-calendar3" viewBox="0 0 16 16"><path d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/><path d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>');
}

.subtask-by-team-card a,
.subtask-by-team-card a:hover,
.subtask-by-team-card a:focus,
.subtask-by-team-card a:active {
    color: var(--pirs-white) !important;
}


#process-view .subtask-by-team-card a.task-action-btn,
#process-view .subtask-by-team-card a.task-action-btn:hover,
#process-view .subtask-by-team-card a.task-action-btn:focus,
#process-view .subtask-by-team-card a.task-action-btn:active {
    color: var(--pirs-gray) !important;
}

#process-view .pirs-red .subtask-by-team-card a,
#process-view .pirs-red .subtask-by-team-card a:hover,
#process-view .pirs-red .subtask-by-team-card a:focus,
#process-view .pirs-red .subtask-by-team-card a:active,
#process-view .pirs-green .subtask-by-team-card a,
#process-view .pirs-green .subtask-by-team-card a:hover,
#process-view .pirs-green .subtask-by-team-card a:focus,
#process-view .pirs-green .subtask-by-team-card a:active {
    background-color: inherit !important;
}

.work-row {
    background: #020303;
}

.work-row:nth-child(2n) {
    background: #151E24;
}

.expertise-comment-count::after {
    content: "\f24e";
    font-family: bootstrap-icons !important;
    color: var(--pirs-gray);
    font-size: 1.5rem;
    position: relative;
    left: -50%;
    top: 0.5rem;
    z-index: -1;
}

.expertise-comment-count.have-new::after {
    color: var(--pirs-orange);
}

.badge.expertise-comment-count {
    font-weight: normal;
    color: var(--pirs-dark-gray);
    position: relative;
    z-index: 1;
    padding: 0;
}


.step-price {
    border: 1px solid var(--pirs-pale-gray);
    border-radius: 5px;
    box-shadow: none;
    background: transparent;
    width: 100%;
    height: 100%;
    padding: 6px;
    color: var(--pirs-gray);
}

@media screen and (max-width: 924px) {
    #process-info-container {
        grid-template-columns: minmax(340px, 1fr);
        grid-template-areas: "block-1"
                             "block-2"
                             "block-3"
                             "block-4"
                             "block-5"
                             "block-6";
    }
}

@media screen and (max-width: 1170px) {
    #process-actions,
    .process-header {
        flex-wrap: wrap;
    }

    #process-actions {
        justify-content: flex-start;
    }

    .process-title.text-ellipsis,
    .process-title.text-ellipsis .text-ellipsis {
        white-space: normal;
    }
}

@media screen and (max-width: 576px) {
    #process-view .desktop {
        display: none;
    }

    #process-view .nav.pirs-left-tabs > li > a {
        width: max-content;
        height: max-content;
        padding: 5px;
        margin: 0 0 16px 0;
    }

    #process-view .pirs-left-tabs {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    #process-view .pirs-left-tabs .bi {
        font-size: 45px;
        margin: 0;
        line-height: 1;
    }

    .action-process {
        display: block;
    }

    .process-title div {
        font-size: 20px !important;
        line-height: 28px;
    }
}
