/* set the width with the existing elements  */
.rpm-pm-goal-updated-dashboard .pm-filter-top-right {
    width: fit-content;
}

.rpm-pm-goal-updated-dashboard .pm-column-body-1 .pm-column-wrap {
    flex-direction: column;
    width: 100%;
}

.rpm-pm-goal-updated-dashboard .pm-column-body-1,
.rpm-pm-goal-updated-dashboard .calender-view-wrap,
.rpm-pm-goal-updated-dashboard .kanban-view-wrap {
    max-width: 100%;
    flex: 100%;
}

.rpm-pm-goal-updated-dashboard .pm-column-body-2 {
    max-width: 0%;
    width: 0%;
}

.rpm-pm-goal-updated-dashboard.project-manager-body-wrap li.pm-list-btn {
    margin: 0;
    padding: 0;
}


/* New dashboard Priority styling  */
.goal-priority-Urgent .fa {
    color: #42221F !important;
}

.goal-priority-Medium .fa {
    color: #CF9F02 !important;
}

.goal-priority-Low .fa {
    color: #FEDEC8 !important;
}

.goal-priority-High .fa {
    color: #AE2E24 !important;
}
/* New dashboard Priority styling end */
/* Project manager css start */
.project-detail-wrap {
    padding: 20px 20px 10px;
}

.project-goal {
    font-weight: 500;
    margin-top: 0.7rem;
    margin-left: 1rem;
}

.project-title {
    font-weight: 700;
    padding: 22px 15px 12px;
    font-size: 18px;
    text-transform: capitalize;
    color: #333333;
}

.agenda-wrap {
    padding-left: 20px;
}
.project-manager-body-wrap .project-agenda {
    font-size: 15px;
    color: var(--body-title-color);
    padding-top: 12px;
}

.project-agenda {
    margin-left: 16px;
    font-weight: 500;
    padding-bottom: 20px;
    text-transform: capitalize;
    line-height: 18px;
}
.project-manager-body-wrap .agenda-wrap ul {
    overflow: hidden;
    margin-bottom: 20px;
}
.project-manager-body-wrap .project-goal-listing .task-progress-bar-line {
    height: 4px;
    background: #00CE08;
    position: absolute;
    top: 0px;
    left: 0px;
}
.project-goal-listing {
    padding: 0px 12px 0 35px;
}

.rpm-pm-goal-updated-dashboard.project-manager-body-wrap li.project-goal-wrap.pm-list-btn {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 20px 15px 10px;
    background: #fff;
    border-radius: 5px;
    border-left: 8px solid;
    gap: 10px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    cursor: unset;
}

.status-update-0,
.kanban-view-wrap .status-update-0 .goal-item {
    border-color: #E774BB !important;
}

.status-update-1,
.kanban-view-wrap .status-update-1 .goal-item {
    border-color: #FFAC4B !important;
}

.status-update-2,
.kanban-view-wrap .status-update-2 .goal-item {
    border-color: #6A9A23 !important;
}

.status-update-3,
.kanban-view-wrap .status-update-3 .goal-item {
    border-color: #37471F !important;
}

.status-update-4,
.kanban-view-wrap .status-update-4 .goal-item {
    border-color: #9F9F9F !important;
    background-color: #DBDBDB !important;
}

.status-update-5,
.kanban-view-wrap .status-update-5 .goal-item {
    border-color: #09326C !important;
    opacity: 0.6;
}
.status-update-5 .goal-detail-row-wrap .goal-detail-wrap > h4.goal-title{
    text-decoration: line-through;
}

/* KANBAN color swatch  */
.kanban-view-wrap .status-update-0 .goal-column-title {
    color: #E774BB;
}

.kanban-view-wrap .status-update-1 .goal-column-title {
    color: #FFAC4B !important;
}

.kanban-view-wrap .status-update-2 .goal-column-title {
    color: #6A9A23 !important;
}

.kanban-view-wrap .status-update-3 .goal-column-title {
    color: #37471F !important;
}

.kanban-view-wrap .status-update-4 .goal-column-title {
    color: #9F9F9F !important;
}

.kanban-view-wrap .status-update-5 .goal-column-title {
    color: #09326C !important;
}

/* Board view list hold color */
.list-board-hold .status-update-4, .kanban-view-wrap .status-update-4 .goal-item{
    background:#fff !important;
    opacity:1;
}
/* end */

.goal-detail-row-wrap {
    display: flex;
    gap: 12px;
}

.serial-number {
    background: #353382;
    height: 26px;
    min-width: 26px;
    width: 100%;
    padding-inline: 5px;
    max-width: fit-content;
    border-radius: 50px;
    color: #fff;
    display: grid;
    place-content: center;
    font-size: 16px;
}
/* 
.goal-title {
    font-weight: 400;
    margin: 4px 0 5px 0px !important;
} */

.goal-description {
    text-overflow: ellipsis;
    margin-bottom: 5px;
    max-width: 400px;
    overflow: hidden;
    white-space: nowrap;
}

.image-wrap {
    max-width: 350px;
    display: flex;
    flex-wrap: wrap;
}

.goal-image {
    max-width: 75px;
    border: 2px solid #DDDDDD;
    margin-right: 7px;
    margin-top: 5px;
}

.latest-status-update-wrap {
    min-width: 300px;
    max-width: 300px;
}

.latest-status-update-wrap img.goal-image {
    max-width: 65px;
}

.col-title-text {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-bottom: 6px;
    line-height: 14px;
}

.goal-priority,
.cost-wrap,
.time-spend,
.project-manager,
.replied-by,
.update-text-title {
    color: #555;
    font-size: 14px;
    font-weight: 400;
}

.goal-starting-end-date {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

.goal-row-wrap {
    display: flex;
    flex-direction: column;
}

.row-item-1 {
    min-width: 160px;
}

.row-item-2 {
    max-width: 100px;
    min-width: 80px;
}

/* .project-collaborator {
    width: 26px;
    height: 26px;
    background: #1090E0;
    border-radius: 50px;
    display: grid;
    place-content: center;
    font-size: 13px;
    color: #fff;
    min-width: 26px;
    line-height: normal;
} */

.collaborator-wrap {
    display: flex;
    gap: 6px;
}

.project-manager-body-wrap .project-goal-wrap .collaborator-wrap span:nth-child(2) {
    background: #F18200;
}

.project-manager-body-wrap .project-goal-wrap .collaborator-wrap span:nth-child(3) {
    background-color: #845DD9;
}

.response-wrap {
    background: #626262;
    width: fit-content;
    padding: 4px 9px;
    font-size: 10px;
    color: #fff;
    border-radius: 4px;
    position: relative;
}

.response-wrap:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 28%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #626262;
    rotate: 135deg;
}

.goal-row-wrap.response-collaborator-wrap {
    gap: 17px;
}

.reply-time,
.update-date-time {
    font-size: 10px;
    color: #888;
}

a.update-link {
    font-size: 14px;
    display: block;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    overflow: hidden;
    white-space: nowrap;
    max-width: 250px;
    color: #4F28A0 !important;
}

.pm-list-btn .goal-priority .fa {
    visibility: initial;
    padding-right: 6px;
    font-size: 15px;
}

/* .add-task-field-wrapper-body .status-update-container .add-task-inner-content-body .addtask-description-items p {
    font-size: 12px;
    font-weight: 400;
    color: #888888;
    padding-bottom: 0px;
    margin-bottom: 0;
    display: inline;
} */

/* .add-task-field-wrapper-body .status-update-container .add-task-inner-content-body .addtask-description-items span {
    font-size: 10px;
    font-weight: 500;
    line-height: 11px;
    background-color: #555555;
    border-radius: 50px;
    padding: 4px 11px;
    color: #fff;
    margin-left: 0px;
    display: block;
    width: max-content;
} */

/* .add-task-field-wrapper-body .status-update-container .add-task-inner-content-body .addtask-description-items h2 {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0;
} */

.add-task-field-wrapper-body .status-update-container .add-task-inner-content-body .addtask-description-items a {
    font-size: 14px;
    font-weight: 400;
    color: #4F28A0;
    word-wrap: break-word;
    text-wrap: wrap;
}


.add-task-field-wrapper-body .status-update-container .add-task-inner-content-body .addtask-wrapper-list {
    display: flex;
    column-gap: 15px;
    padding-top: 10px;
}



@media screen and (max-width: 767px) {
    .project-goal-wrap {
        flex-direction: column;
        gap: 25px;
    }

    .project-goal-listing {
        padding: 10px 0 0 0;
    }

    .goal-description {
        max-width: 250px;
    }

    .goal-detail-row-wrap {
        flex-direction: column;
    }
}


/* board view panel styling  */
.kanban-view-wrap .goal-column-body-heading .goal-column-title {
    font-size: 12px;
}

.kanban-view-wrap .goal-item {
    border-radius: 5px;
    border-left: 5px solid;
    border-bottom: none !important;
    position: relative;
    transition: var(--transition);
}

.kanban-view-wrap .goal-name {
    margin-block: 7px;
    font-weight: 400;
    font-size: 14px;
    text-transform: capitalize;
}

.priority-flag-wrap {
    position: absolute;
    top: 8px;
    right: 8px;
}

.priority-flag-wrap .fa {
    visibility: initial;
    font-size: 12px;
    color: #42221F;
}

.goal-desc {
    display: -webkit-box;
    max-width: 90%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
    font-size: 12px;
}

.goal-start-end-time {
    font-size: 10px;
    color: #777;
    margin-top: 6px;
    margin-bottom: 5px;
}

.project-collaborator-wrap {
    display: flex;
    max-width: 50%;
}

.project-collaborator-wrap .project-collaborator {
    width: 25px;
    height: 25px;
    font-size: 11px;
}

.project-collaborator-wrap .project-collaborator:not(:first-child) {
    margin-left: -5px;
}

.last-replied-by-wrap .replied-by {
    font-size: 10px;
    color: #555;
}

.last-replied-by-wrap .small-col-text {
    font-size: 8px;
    font-weight: 400;
    color: #666;
}

.project-manager-body-wrap .last-replied-by-wrap {
    column-gap: 10px;
}

.last-replied-by-wrap .response-wrap {
    padding: 3px 7px;
    font-size: 9px;
    top: -3px;
}


/* Goal Detail row column css start */
.goal-detail-row-wrap:nth-child(1) {
    width: 45%;
}

.project-goal-listing .project-goal-wrap .goal-detail-row-wrap .goal-detail-wrap .pm-goal-description-conatiner p {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 400;
    color: #333 !important;
}

.project-goal-listing .project-goal-wrap .goal-detail-row-wrap .goal-detail-wrap .pm-goal-description-conatiner a {
    color: #4F28A0 !important;
}

.project-goal-listing .project-goal-wrap .goal-detail-row-wrap .goal-detail-wrap .pm-goal-description-conatiner img {
    width: calc(30% - 5px);
    margin-right: 5px;
    object-fit: contain;
    margin-top: 4px;
}

.project-goal-listing .project-goal-wrap .goal-detail-row-wrap .goal-detail-wrap .pm-goal-description-conatiner ol,
.pm-goal-description-conatiner ul {
    margin-top: 5px;
}

.project-manager-body-wrap .agenda-wrap .add-task-list-child-items {
    margin-bottom: 0;
}


/* All agendas list items hover css start */

.project-manager-body-wrap .pm-column-wrap>ul {
    transition: all 0.2s ease;
}