 /* global css for scroll bar for whole page */
 ::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

 /* global css for scroll bar for whole page */
 
 .line-through {
    text-decoration: line-through;
    color: #fff;
}

.equal-opacity {
    filter: contrast(0.5);
}

.green-btn {
    background: var(--green-btn);
    border-radius: 3px;
    padding: 5px 15px;
    color: var(--white-color);
    border: none;
    cursor: pointer;
    font-size: 12px;
    margin-right: 10px;
    margin-right: 10px;
}

.green-btn:focus {
    outline: none; 
}

.green-btn:focus {
    outline: none;
}

.mr10 {
    margin-right: 10px;
}

.mr100 {
    margin-right: 100px;
}

.plus-icon {
    font-size: 19px;
    color: var(--lite-gray);
    cursor: pointer;
}

.goal-user-icon {
    background: var(--user-color);
    width: 20px;
    height: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
}

.blue {
    background: var(--blue-user-color);
}

.goal-pencil-icon {
    float: right;
    font-size: 10px;
    color: var(--lite-gray);
    display: none;
    cursor: pointer;
}

.goal-item:hover .goal-pencil-icon {
    display: block;
}

.all-column-wrap {
    display: flex;
}

.project-manager-body-wrap {
    /* width: 100%;
    height: 100%; */
}

.project-manager-filter {
    background: var(--white-color);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-bottom: solid 1px #dfdfdf;
    justify-content: space-between;
}

.goal-filter {
    display: flex;
    align-items: center;
}

.goals-columns-wrap {
    display: flex;
    width: 100%;
    overflow-y: scroll;
    height: calc(100% - 100px);
    overflow-x: hidden;
}

.project-manager-select-items {
    width: 155px;
    border: none;
    padding: 0 5px 0 0;
    background: none;
    margin-right: 10px;
    cursor: pointer;
}

.project-manager-select-items:focus {
    padding: 0;
}

.search-min {
    padding: 10px 0 10px 30px;
}

.search-agenda {
    padding: 10px 0 10px 40px;
}

.search-area {
    display: flex;
}

.search-area button {
    background: none;
    border: none;
    color: var(--lite-gray);
    cursor: pointer;
}

.search-area button:focus {
    outline: none;
}

.search-area input {
    border: none;
    font-size: 12px;
}

.search-area input:focus {
    outline: none;
    background: none;
}

.goal-column-body {
    background: var(--column-bg);
    height: 100%;
    flex: 16.66%;
    max-width: 16.66%;
    padding:13px 7px;
    min-height: 100%;
}


.goal-column-body-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.goal-item {
    background: var(--white-color);
    padding: 9px;
    margin: 5px 0;
    height: auto;
}

.goal-item:hover {
    background: var(--form-bg);
}

.goal-title-breadcrumb {
    font-size: 9px;
    color: var(--lite-text-gray);
    margin-bottom: 8px;
}

.goal-column-body h4 {
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 5px;
    color: var(--lite-gray);
    word-break: break-word;
}

.goal-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--lite-text-gray)
}

.goal-column-item {
    padding: 10px 10px 5px;
    overflow: auto;
    max-width: 100%;
    height: calc(100% - 36px);
}

.goal-form {
    background: var(--form-bg);
    padding: 10px 7px;
}

.input-form label {
    font-size: 11px;
    color: var(--lite-text-gray);
    margin-bottom: 5px;
}

.input-form select {
    background: var(--white-color);
    border: solid 1px var(--stroke-color);
    width: 100%;
    padding: 5px;
    margin-bottom: 8px;
    font-size: 12px;
}

.goal-form .input-form>input[type='text'] {
    background: var(--white-color);
    border: solid 1px var(--stroke-color);
    width: 100%;
    padding: 5px;
    margin-bottom: 8px;
    font-size: 12px;
}

.cancel-btn {
    color: #AC729F;
    font-size: 13px;
    text-decoration: underline !important;
}

.delete-btn {
    color: var(--delete-red);
    font-size: 13px;
    float: right;
    text-decoration: underline !important;
}

.goal-column-body-4 .goal-item {
    opacity: 60%;
}

.goal-column-body-5 h4 {
    text-decoration: line-through;
}

.goal-column-body-0 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--green-color);
    text-transform: uppercase;
}

.goal-column-body-1 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-blue);
    text-transform: uppercase;
}

.goal-column-body-2 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--green-color);
    text-transform: uppercase;
}

.goal-column-body-3 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--red-color);
    text-transform: uppercase;
}

.goal-column-body-4 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
}

.goal-column-body-5 .goal-column-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--lite-green);
    text-transform: uppercase;
}

.goal-product-wrap {
    display: flex;
    height: 100vh;
}

.goal-name {
    cursor: move;
    display: inline-block;
}

.goals-list {
    padding-bottom: 10%;
    position: relative;
    min-height: 500px;
}

/* calendar and goal filter start */
.calendar-columns-wrap {
    width: 100%;
    overflow-y: scroll;
    height: calc(100% - 105px);
    overflow-x: hidden;
}

.calendar-filter {
    margin-right: 10px;
    cursor: pointer;
    background: #6396ff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;

    & .filter-text {
        color: #fff;
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
    }

    & .filter-text:hover {
        background: #7aa4f7;
        border-radius: 3px;
    }

    & .filter-text.active {
        background: #3f7efc;
        border-radius: 3px;
    }
}


.calendar-filter-wrap,
.goal-filter-wrap {
    padding: 8px 10px;
    border-right: 1px solid #ffffff9c;
}

.calendar-filter-wrap .bi.bi-calendar {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

.goal-filter-wrap img {
    height: 16px;
    width: 16px;
}

.calendar-head-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 15px;
}

.calendar-left-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows-section {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 3px;
}

.left-arrow,
.right-arrow {
    padding: 10px;
    border-right: 1px solid #dadce0;
    cursor: pointer;
}

.right-arrow {
    border-right: none;
}

.left-arrow i,
.right-arrow i {
    font-size: 13px;
    color: #000;
}

.left-arrow:hover,
.right-arrow:hover {
    background: #e3e3e3;
}

.calendar-tabs-section a:hover,
.calendar-tabs-section a.active {
    background: #e3e3e3;
    border-right: 1px solid #dadce0;
}

.calendar-tabs-section a:hover {
    background: #f3f3f3;
}

.calendar-month-year h4 {
    margin: 0;
    padding-left: 15px;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
}

.calendar-tabs-section {
    background: #fff;
    border: 1px solid #dadce0;
    display: flex;
}

.calendar-tabs-section a {
    font-size: 13px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0px 10px;
    border-right: 1px solid #dadce0;
    /*height: 30px; */
    display: inline-block;
    line-height: 30px;
}

.calendar-body-section {
    padding: 0 10px;
}

/* calendar and goal filter end */

/* add goal modal start */
#add-goal-modal .modal-dialog {
    max-width: 550px;
}

#add-goal-modal .modal-content .modal-body form select.form-control {
    padding: 10px;
}

#add-goal-modal .form-control::placeholder {
    color: #495057;
}

#add-goal-modal input[type="time"]:focus,
input[type="date"]:focus {
    outline: none;
    box-shadow: none;
}

#add-goal-modal #form_cal_goal {
    & .form-group input[type=text]::placeholder {
        display: none;
    }
}

/* add goal modal start */

/* goal item start */
.goal-list-item-wrapper {
    width: 100%;
    position: relative;
    z-index: 99;
}

.goal-list-item-wrapper.expand-left{
    width: calc(100% + 6px);
    padding-left: 6px;
    left: -6px;
}
.goal-list-item-wrapper.expand-center{
    width: calc(100% + 12px);
    padding-inline: 6px;
    left: -6px;
}
.goal-list-item-wrapper.expand-right{
    width: calc(100% + 6px);
    padding-right: 6px;
}

.goal-list-item {
    padding: 4px;
    margin: 3px 0;
    white-space: normal;
    font-size: 11px;
    line-height: 130%;
    text-align: left;
    color: #fff;
    /* height: 20px; */
    text-shadow: 1px 1px 2px #000;
}

.goal-list-detail {
    display: none;
    overflow: hidden;

    & span {
        display: block;
        /* text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap; */
    }
}


/* Day page css  */

.calendar-body-section {
    & .goal_wrapper {
        background: rgb(51, 51, 153);
        left: 0px;
        top: 0;
        border-radius: 5px;
        position: absolute;
        height: calc(100% - 5px);
        padding: 0.2rem;
        margin-left: 8px;
        border: 1px solid #888;
        opacity: 0.9;
        width: 300px;
        text-shadow: 1px 1px 6px #000;
        z-index: 99;

        & .goal_item {
            padding: 4px;
            white-space: normal;
            font-size: 12px;
            line-height: 130%;
            text-align: left;
            color: #fff;

            & .goal_detail {
                overflow: hidden;

                & small {
                    font-size: 13px;
                    display: block;
                    margin-bottom: 5px;
                }
            }
        }
    }


}


.calendar-body-section .calendar tbody td.td-date:hover {
    background-color: var(--form-bg);
}

.calendar-body-section .calendar .td-date {
    cursor: pointer;
}

/* .calendar-columns-wrap .calendar-body-section .calendar table tbody tr td .goal-list-item-wrapper {
    display: none;
} */
.calendar-columns-wrap .calendar-body-section .calendar table tbody tr:first-child td:first-child .goal-list-item-wrapper {
    display: block;
}

/* .calendar-columns-wrap .calendar-body-section .calendar table tbody tr:first-child td:nth-child(4) .goal-list-item-wrapper {
    display: block;
} */
/* .calendar-columns-wrap .calendar-body-section .calendar table tbody tr:first-child td:nth-child(4) .goal-list-item-wrapper .goal-list-item {
    position: absolute;
    width: 35%;
    top: 48px;
} */
/* goal item end */

/* daily calendar start */
.daily-calendar {
    margin-top: 20px;
    margin-bottom: 20px;
}

.daily-calendar table {
    width: 100%;
}

.daily-calendar thead {
    background-color: #e3e3e3;
}

.daily-calendar thead th {
    text-transform: uppercase;
    color: #575757;
    font-size: 11px;
    padding: 10px 0 10px 10px;
    text-align: center;
    letter-spacing: 0.03em;
    /* width: 100%; */
}

.daily-calendar tbody {
    background-color: #f2f2f2;
}

.daily-calendar tbody td {
    color: #15202e;
    background-color: #fff;
    /*padding: 5px;*/
    border-bottom: 1px solid #c5c5c5;
    /*width: 14.3%; */
    /*vertical-align: unset; */
    position: relative;
}

.daily-calendar tbody td:nth-child(1) {
    width: 5%;
    border-right: 1px solid #c5c5c5;
    border-bottom: none;
    vertical-align: bottom;
}

.daily-calendar tbody td:nth-child(2) {
    width: 90%;
    cursor: pointer;
    height: 60px;
}

.daily-calendar tbody td>div {
    /* min-height: 30px; */
    text-align: center;
    position: relative;
    bottom: -10px;
    z-index: 1;
}

.daily-calendar tbody td:last-child::before {
    content: '';
    height: 1px;
    width: 10px;
    background: #c5c5c5;
    display: block;
    position: absolute;
    left: -10px;
    bottom: -1px;
    z-index: 1;
}

.daily-calendar tbody tr:last-child td:last-child {
    border-bottom: none;
}

.daily-calendar tbody tr:last-child td:last-child::before {
    content: none;
}

.daily-td-first,
.daily-td-last {
    height: 30px;
    width: 100%;
    top: 0;
}

/* daily calendar end */
/* Goal css start 28-March-24 */
.goal-task-content p {
    font-size: 9px;
    color: #666666;
}

.goal-task-content h6 {
    font-size: 9px;
    color: #555555;
}

/* 13-06-2023  */
.calendar-body-section .calendar tbody tr,
.calendar-body-section .calendar thead tr {
    display: flex;
    justify-content: space-between;
}

.calendar-body-section .calendar {

    & td {
        border-left: 1px solid #c5c5c5;
        border-top: 1px solid #c5c5c5;
        border-right: 0;
        border-bottom: 0;
    }

    & td:first-child {
        border-left: 0;
    }
}

.calendar-body-section .calendar tbody td>div {
    height: 100%;
}

.calendar thead th {
    width: 100%;
}

.goal_wrapper.week-view {
    margin-left: 0;
    width: 100%;
    height: 20px;
    padding: 0;
    cursor: pointer;

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

.week-row {
    padding-inline: 10px;
}

.weak-table {
    width: 100%;

    & thead {
        & tr {
            background-color: #e3e3e3;
            height: auto;

            & th {
                vertical-align: middle;
                text-align: center;
                padding: 10px;
                color: #575757;
                font-size: 11px;
                text-transform: uppercase;
            }
        }
    }

    & tr {
        height: 60px;
        background-color: #fff;

        & td {
            position: relative;

            & .weak-td-1,
            & .weak-td-2 {
                width: 100%;
                height: 30px;
            }
        }

        & td:first-child {
            vertical-align: bottom;
            text-align: center;
            border-block: 0;

            & .daily-time {
                position: relative;
                bottom: -5px;
                z-index: 1;
            }
        }

        & td:nth-child(2)::before {
            content: '';
            height: 1px;
            width: 10px;
            background: #c5c5c5;
            display: block;
            position: absolute;
            left: -10px;
            bottom: -1px;
            z-index: 1;
        }

        & td:not(:first-child) {
            /* width: 13.5%; */
        }
    }
}

.table-bordered {

    & td,
    & th {
        border: 1px solid #c5c5c5;
        border-bottom-width: 1px !important;
    }
}

.goal_wrapper {
    background: rgb(51, 51, 153);
    left: 0;
    right: 0;
    top: 0;
    border-radius: 5px;
    position: absolute;
    height: 100%;
    padding: 0.5rem;
    border: 1px solid #888;
    opacity: 0.9;
    width: calc(100% - 8px);
    margin-inline: auto;
    text-shadow: 1px 1px 6px #000;

    & .goal_item {
        padding: 4px;
        white-space: normal;
        font-size: 12px;
        line-height: 130%;
        text-align: left;
        color: #fff;

        & .goal_detail {
            overflow: hidden;

            & small {
                font-size: 15px;
                display: block;
                margin-bottom: 5px;
            }
        }
    }
}

.weak-td-inner,
.daily-td-inner {
    position: relative;
}

/* timeline page css  */
.timeline-body tr > td{
    height:130px;
}
 

/* .expand-right-timeline{
    width: calc(100% + 4px);
    width: 100%;
}
    
.expand-center-timeline{
    width: calc(100% + 4px);
    left: -6px;
    width: 100%;
} */

/* .goal-list-item-timeline{
    position: unset;
}  */

/* .timeline-table {
    & tr {
        & td{
            position:relative;
        } */
   .expand-right {
    width: calc(100% + 6px);
}
.goal-list-item-wrapper {
    width: 100%;
    position: relative;
    z-index: 99;
}

    .expand-left-timeline{
        padding-right:3px;
    }
/* timeline page css  */

@media (max-width:767px) {
    .goal-column-body {
        max-width: 100%;
        margin-bottom: 5px;
        height: auto !important;
        min-height: auto;
    }

    .goals-columns-wrap {
        display: block;
        height: calc(100% - 110px);
    }

    .project-manager-filter {
        width: 100%;
        /* overflow-x: auto; */
        padding:5px 20px 10px 15px;
    }

    .goal-filter {
        /* overflow-x: scroll; */
        display: flex;
        /* padding-bottom: 10px; */
        align-items: center;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .search-area input {
        width: 60px;
        padding-left: 0;
        padding-right: 0;
        height: 30px;
    }

    .search-area input:focus {
        padding-left: 0;
        padding-right: 0;
    }

    .project-manager-select-items {
        width: 100%;
        height: 20px;
    }

    .project-manager-body-wrap {
        width: calc(100% - 55px);
    }

    .btn-style {
        padding: 6px 5px !important;
        font-size: 12px !important;
    }

    .goal-column-body-5 {
        margin-bottom: 50px;
    }

    .goals-list {
        padding-bottom: 0;
    }
}