@import "../../../styles-variables.scss";
.table th {
    // font-family: "Roboto-Semibold" !important;
    font-family: $fontFamilyMedium !important;
    font-size: inherit !important;
    padding: 10px 10px !important;
    font-weight: unset !important;
}

.table td {
    // font-family: "roboto-regular" !important;
    // font-size: 0.83rem !important;
    padding: 5px 6px !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.table-footer td {
    padding: 0px !important;
}

.invisible {
    visibility: hidden;
}

.btn-item {
    padding: 0.375rem !important;
}

.ng-select-container {
    border: none !important;
}

.btn.disabled,
.btn:disabled {
    cursor: not-allowed;
}

.th-class {
    min-width: 250px;
}

.import {
    background-color: black !important;
    border: 1px solid black !important;
}

.search-icon {
    margin-top: 14px !important;
    margin-left: 10px !important;
    color: rgb(116, 114, 114);
    font-size: 11px !important;
}

.count {
    color: white;
    background-color: $text-color-base;
    border-radius: 100px;
    font-size: 11px;
}

.filter-item {
    padding-left: 30px !important;
    position: absolute;
}

.row-item {
    padding: 9px 11px !important;
}

.last-row {
    padding: 0px !important;
}

.action-icons {
    font-size: 11px !important;
    padding-top: 4px;
}

.download-icon {
    position: absolute;
    right: 28px;
    color: black;
    font-size: 18px !important;
    padding-top: 0;
    top: 13px;
    cursor: pointer;
}

.indication-class {
    color: #0f62fe !important;
}

.table tbody td {
    font-size: inherit;
    background: $color-white;
    padding: 10px 10px !important;
    // font-family: "roboto-medium";
}

.form-control {
    border: none !important;
}

.ng-select .ng-select-container {
    border-bottom: none !important;
}

.logo-img {
    width: 2rem;
    height: 2rem;
}

.view-icons_container {
    position: absolute;
    right: 0px;
    color: black;
    font-size: 18px !important;
    padding-top: 0;
    top: 8px;
    em {
        cursor: pointer;
    }
}

.activity {
    .start-container {
        padding: 5px 10px;
        background: #269e26;
        color: white;
        border-radius: 5px 5px 5px 5px;
        margin: 0 6px;
    }
    .end-container {
        padding: 5px 10px;
        background: #717771;
        color: white;
        border-radius: 5px 5px 5px 5px;
        margin: 0 6px;
    }
    em {
        margin: 0 6px;
        color: #c1b9b9;
    }
}

.table {
    margin-bottom: 0px !important;
    color: $text-color-base !important;
}

.table-action-width {
    // min-width: 205px !important;
    width: 240px !important;
}

.custom-action-width {
    min-width: 70px !important;
}

.sort {
    float: right;
    padding-right: 10px;
}

.sort .fa-sort {
    color: #b8b8b8;
    cursor: pointer;
}

.sort .fa-sort-desc,
.sort .fa-sort-asc {
    color: #2865dc;
    cursor: pointer;
}

.label-action {
    background: transparent;
    border: none;
    color: black;
    padding: 0px 10px;
}

.check-mark {
    height: 20px;
    width: 20px;
    background-color: $node-content-wrapper-focusedBgClr;
}

span.clickable-element {
    color: $clickable-element-clr;
    cursor: pointer;
    &:hover {
        text-decoration: underline;
    }
}

.clickable-element {
    color: $clickable-element-clr;
    cursor: pointer;
    &:hover {
        text-decoration: underline;
    }
}

.action-btn {
    padding: 7px;
    cursor: pointer;
    background-color: $clickable-element-clr;
    border: 2px solid $clickable-element-clr;
    color: white;
    float: right;
}

table {
    width: 100% !important;
    margin-bottom: 8px;
    // border: 0px !important;
    thead {
        tr {
            background: $table-header-bg-clr;
            border: 0.8px solid $nav-itemBorderClr !important;
            .table-coloum-serial-no-header {
                min-width: 44px !important;
                width: 44px !important;
            }
            th {
                &:focus {
                    outline: none;
                }
                input {
                    background: transparent;
                    border: 0px;
                    border-bottom: 1px solid gray;
                    border-radius: 0px;
                    box-shadow: none;
                    padding-left: 0px;
                    padding-right: 0px;
                    color: $text-color-base !important;
                }
                .search {
                    position: relative;
                    .form-control {
                        // border-bottom: 1px solid gray !important;
                    }
                    i {
                        position: absolute;
                        top: 25%;
                        opacity: 0.3;
                        left: 85%;
                        pointer-events: none;
                    }
                }
            }
        }
    }
}

.dataTables_scrollBody {
    position: relative;
    overflow: auto;
    width: 100%;
    background: #f7f5f3;
}

.dataTables_scrollHead {
    position: relative;
    overflow: hidden;
    width: 100%;
    overflow-y: auto !important;
    border: 1px solid $container-borderClr;
}

.table-cell-width-header {
    min-width: 130px;
    // max-width: 160px;
}

.table-cell-width {
    min-width: 130px;
    max-width: 130px;
    word-break: break-word;
}

.empty-state {
    text-align: center;
    padding: 20px 130px;
    display: block;
}

.table-cell-action {
    cursor: default;
}

.pagination-footer {
    background-color: $color-white;
    // display: none;
}

.pagination-div {
    padding-top: 7px;
    float: right;
    padding-right: 7px;
}

.show-mobile {
    display: none;
}

.show-web {
    display: block;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 0;
    border-bottom-width: 0px !important;
}

.table-hover tbody tr:hover {
    background-color: transparent !important;
}

.table-bordered th,
.table-bordered td {
    border: 0px !important;
    border-bottom: 1px solid $container-borderClr !important;
}

@media only screen and (max-width: 768px) {
    .show-mobile {
        display: block;
    }
    .show-web {
        display: none;
    }
}

@media only screen and (max-width: 768px) and (max-height: 768px) {
    .dataTables_scrollBody {
        max-height: 100% !important;
    }
    .clone .scroll_LeftBody,
    .clone .scroll_RightBody {
        max-height: 100% !important;
    }
    .clone-right,
    .clone-left {
        display: none;
    }
}

.fs-18 {
    font-size: 18px;
    cursor: pointer;
}

span.pc-4 {
    padding: 0px 21px;
}

.dataTables_scrollBody.clone {
    width: 128px;
}

.clone {
    position: absolute;
    top: 0;
    pointer-events: all;
}

.clone-left {
    left: 0;
}

.clone-right {
    right: 8px;
}

.clone th,
.clone td {
    visibility: hidden !important;
    border: none;
}

.clone tbody th {
    visibility: visible !important;
}

.clone .fixed-side {
    background: $color-white;
    visibility: visible !important;
}

.filter-column {
    padding: 1rem 0rem;
}

.center-aligned {
    text-align: center;
}

.filter-table-padding {
    margin-bottom: -10px;
}

.status-colored {
    padding: 4px 10px;
    color: $color-white;
    border-radius: 24px;
}

.Active {
    background-color: #02bd02;
}

.Completed {
    background-color: #212529;
}

.Cancelled {
    background-color: #ff0000;
}

.availablePercentage {
    text-align: center;
    width: 80%;
    padding: 5px;
}

.chart {
    height: 60px;
    width: 270px;
}

.searchRow {
    background: white !important;
    th {
        padding: 3px 10px !important;
    }
}

::placeholder {
    color: $placeholder-clr !important;
    font-family: $fontFamilyBase;
}

.fa-folder {
    color: #e9e935;
}

.dataTables_scrollBody table tbody tr {
    td:first-child {
        border-left: 1px solid $container-borderClr;
    }
    td:last-child {
        border-right: 1px solid $container-borderClr;
    }
    // &:last-child td {
    //     border-bottom: 1px solid $container-borderClr;
    // }
}

.border-bottom {
    border-bottom: 1px solid $container-borderClr;
}

.right_fixed_header {
    position: sticky;
    z-index: 2;
    // width: 150px !important;
    // min-width: 150px !important;
    // max-width: 150px !important;
    background-color: #E5EAEF;
    right: 0;
    // border-left: 1px solid #dee2e6;
}

.right_fixed_body {
    position: sticky;
    z-index: 2;
    // width: 150px !important;
    // min-width: 150px !important;
    // max-width: 150px !important;
    background-color: white;
    right: 0;
    // border-left: 1px solid #dee2e6;
    text-align: center !important;
}