/***********
Custom style
 */
.w-40px {
    width: 40px;
}

.w-30px {
    width: 30px !important;
}

.show {
    display: block !important;
}

.hidden {
    display: none !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.grid-item {
    padding: 20px;

}

.bg-p {
    background: yellow !important;
    color: #000000 !important;
}

.bg-p-2 {
    background: #1d97ff !important;
    color: #FFFFFF !important;
}

.bg-weekend {
    background: #8f8e8e !important;
    color: #FFFFFF;
    /*border-color: #797878 !important;*/
}

.bg-holiday {
    background: #3182c7 !important;
}

.table-timekeeping-head {
    background: #9acbf3 !important;
}

.table-timekeeping {
    table-layout: fixed;
}

.table-timekeeping td {
    overflow: hidden;
}

.table-timekeeping td.stick {
    position: sticky;
}

.table-timekeeping tr.bg-active td {
    background: #1e6b8b;
    color: #FFFFFF;
}

.text-day {
    height: 50px;
}

.modal:nth-child(1) {
    z-index: 1055 !important;
}

.modal-backdrop.show:nth-child(2) {
    z-index: 1054 !important;
}

.modal:nth-child(2) {
    z-index: 1058 !important;
}

.modal-backdrop.show:nth-child(2) {
    z-index: 1057 !important;
}

.modal:nth-child(3) {
    z-index: 1061 !important;
}

.modal-backdrop.show:nth-child(3) {
    z-index: 1060 !important;
}

/*.modal-backdrop.show:nth-of-type(even) {*/
/*    z-index: 1048 !important;*/
/*}*/
/*.modal-backdrop.show:nth-child(2){*/
/*    z-index: 1054 !important;*/
/*}*/
.select2-container--bootstrap-5 .select2-dropdown {
    z-index: 1060;
}

.box-note {
    width: 45px;
    height: 45px;
    padding: 13px 0px;
    display: inline-block;
    text-align: center;
    line-height: 14px;
    color: #000;
}

.table-scroll {
    border: 1px solid #e8edf0;
}

.table-heading.table,
.table-scroll .table {
    border-radius: 0px;
}

.table-scroll .table tbody tr td:last-child {
    /*border-right-color: transparent;*/
}

.table-heading.table tbody tr td:first-child,
.table-scroll .table tbody tr td:first-child {
    border-left-color: transparent;
}

.table-scroll .table tbody tr td {
    padding: 7px 10px !important;
}

.table-heading.table thead tr th {
    background: #ebebeb;
    border-width: 0px;
}

.resource-content {
    overflow-y: auto;
    display: flex;
    border: 1px solid #f2f2f2;
    padding-top: 10px;
    background: #FFF;
}

.resource-content .section-month {
    flex: 0 0 440px;
    margin: 0px 15px;

}

#section-main {
    overflow: hidden;
}

.section-month .inner-content {
    overflow-x: auto;
    padding-right: 5px;
}

.section-month .line-0,
.section-month .line-1 {
    display: flex;
}

.section-month .line-0 {
    margin-bottom: 5px;
}

.section-month ._name {
    flex: 0 0 calc(100% - 200px);
}

.section-month ._ratio {
    flex: 0 0 60px;
}

.section-month ._skill {
    flex: 0 0 50px;
}

.section-month ._status {
    flex: 0 0 70px;
}

.section-month .team ._name {
    flex: 0 0 calc(100% - 180px);
}

.section-month .team ._status,
.section-month .team ._skill {
    flex: 0 0 50px;
}

.section-month ._skill,
.section-month ._status {
    margin-right: 10px;
}

.section-month input,
.section-month select {
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 12px;
}

.section-month table {
    margin-bottom: 5px;
}

.section-month table td {
    padding: 2px;
}

.project-month {
    border: 1px solid #e8edf0;
    margin-bottom: 10px;
    background: #FFFFFF;
    padding-left: 0px;
    padding-right: 0px;
}

.project-month .project-header {
    border-bottom: 1px solid #e8edf0;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
}

.row-resource {
    display: flex;
}

.row-resource .col-left {
    flex: 0 0 400px;
    background: #FFF;
    padding: 10px;

}

.row-resource .col-right {
    flex: 0 0 calc(100% - 420px);
    margin-left: 20px;
    overflow: hidden;
    display: block;
    width: calc(100% - 420px);
}

.row-resource .col-right .nav-pills .nav-link {
    background: #ebebeb;
    margin-left: 10px;
    border-radius: 3px 3px 0px 0px;
}

.row-resource .col-right .nav-pills .nav-link.active {
    border-radius: 3px 3px 0px 0px;
    background: #1e6b8b;
}

.project-status-1 {
    background-color: #FFFFFF;
}

.project-status-2 {
    background-color: #f6f2d1;
}

.project-status-3 {
    background-color: #c0e9fc;
}

.project-status-4 {
    background-color: #8f8e8e;
}

.project-status-2 .project-header {
    border-bottom-color: #e2ce8d;
}

.project-status-2 .project-drop td {
    border-bottom-color: #efe2b1;
    color: #333;
}

.project-status-3 .project-header {
    border-bottom-color: #86bfd9;
}

.project-status-3 .project-drop td {
    border-bottom-color: #b2d9ef;
    color: #333;
}

.project-status-4 .project-header {
    border-bottom-color: #6d6d6d;
}

.project-status-4 .project-drop td {
    color: #FFFFFF;
    border-bottom-color: #838080;
}

.pl-32px {
    padding-left: 32px;
}

.b-line-bottom {
    border-bottom: 1px solid #f2f2f2;
}

.p-25px {
    padding: 25px;
}

.pl-100px {
    padding-left: 100px;
}

.leaving-today {
    border-left: 3px solid #ffb300;
    border-radius: 0 5px 5px 0px;
}

.pickr .pcr-button {
    border: 1px solid #075E25FF;
}

.assign-padding {
    padding: 2px 5px !important;
}

.table-assign tbody tr {
    border-bottom-width: 0px;
    border-top-width: 0px;
}

.table-assign {
    /*width: auto !important;*/
}

.total-assign {
    background: rgba(0, 164.71591328681012, 255, 1) !important;
    border-width: 1px;
}

.position-1 {
    background: rgb(246, 232, 148) !important;
}

.position-2 {
    background: rgb(166, 239, 230) !important;
}

.row-assign .active {
    background: rgb(241, 218, 76) !important;
    font-weight: bold;
}

.table.table-padding > :not(caption) > * > * {
    padding: 0.4rem 0.5rem;
}

.disabled-scroll {
    overflow: hidden !important;
}

.m-r-5 {
    margin-right: 5px;
}

@-moz-document url-prefix() {
    .col-user {
        width: 100px !important;
    }
}

@media screen and (max-width: 1700px) {
    .col-user {
        width: 120px !important;
    }
}

@media screen and (min-width: 1701px) {
    .col-user {
        min-width: 120px;
    }
}

.modal-backdrop.show + .select2-container {
    z-index: 1100;
}

.bg-center {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    height: 100vh;
}

.fw-600 {
    font-weight: 600;
}

.miw-100px{
    min-width: 100px;
}

.link-button {
    background: none;
    border: none;
    color: #868686;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}


.table thead tr th {
    text-align: center;
    text-transform: none;
}
.table tbody tr td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}
.table tbody tr td.fixed-row {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--tblr-primary);
}
.table tbody tr td.text-center {
    text-align: center;
}
.table tbody tr td.text-end {
    text-align: end;
}
.table tbody tr.disabled td {
    pointer-events: none;
    cursor: not-allowed;
}
.table tbody tr.disabled td.fixed-row {
    opacity: 1;
}
.table tbody tr.disabled td.fixed-row .d-opacity {
    opacity: 0.5;
}

.project {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}
.project.expanded .toggle-icon {
    transform: rotate(0deg);
}
.project.collapsed .toggle-icon {
    transform: rotate(-90deg);
}
.project .project-header {
    background: #f7f7f7;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.project .toggle-icon {
    transition: transform 0.3s ease;
}
.project .project-container {
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.project .project.expanded .project-container {
    max-height: none;
}

.w--100 {
    width: 100px !important;
}
.w--110 {
    width: 110px !important;
}
.w--120 {
    width: 120px !important;
}
.w--130 {
    width: 130px !important;
}
.w--140 {
    width: 140px !important;
}
.w--160 {
    width: 160px !important;
}
.w--170 {
    width: 170px !important;
}
.w--180 {
    width: 180px !important;
}
.w--200 {
    width: 200px !important;
}
.w--210 {
    width: 210px !important;
}
.w--220 {
    width: 220px !important;
}
.w--230 {
    width: 230px !important;
}
.w--250 {
    width: 250px !important;
}
.w--300 {
    width: 300px !important;
}
.w--340 {
    width: 340px !important;
}
.w--480 {
    width: 480px !important;
}

.mw--auto {
    min-width: auto !important;
}
.mw--100 {
    min-width: 100px !important;
}
.mw--110 {
    min-width: 110px !important;
}
.mw--120 {
    min-width: 120px !important;
}
.mw--130 {
    min-width: 130px !important;
}
.mw--140 {
    min-width: 140px !important;
}
.mw--150 {
    min-width: 150px !important;
}
.mw--160 {
    min-width: 160px !important;
}
.mw--170 {
    min-width: 170px !important;
}
.mw--180 {
    min-width: 180px !important;
}
.mw--200 {
    min-width: 200px !important;
}
.mw--210 {
    min-width: 210px !important;
}
.mw--220 {
    min-width: 220px !important;
}
.mw--230 {
    min-width: 230px !important;
}
.mw--250 {
    min-width: 250px !important;
}
.mw--300 {
    min-width: 300px !important;
}
.mw--340 {
    min-width: 340px !important;
}
.mw--480 {
    min-width: 480px !important;
}

.select2-container .select2-selection--multiple {
    min-height: 38px;
    height: 38px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.select2-container .select2-selection--multiple::-webkit-scrollbar {
    height: 6px;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    float: none !important;
    display: inline-block;
    margin: 2px 5px 2px 0;
}

.select2-container .select2-search--inline {
    display: none !important;
}
