﻿table {
    width: 100%;
    border-spacing: 0;
    background-color: var(--bs-card-color);
    font-size: 14px;
}
table thead{

    color:#000 !important;
}
thead th {
    color: #000 !important;
    text-align: left;
    background-color: #F9FAFC;
}

thead th, tbody td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #E7E7E7;
}

tbody td:first-child {
        border-left: 4px solid transparent;
        transition: all ease 0.3s;
    }

tbody tr:last-child td {
    border-bottom: 0 !important;
}

table.dataTable tbody tr:hover{
    background:var(--bs-table-hover-bg) !important;
}
tbody tr:hover td:first-child {
    border-left-color: #0F6FDE;
}

td.status {
    text-align: center;
}

.mytxt {
    padding: 5px 10px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
}

@media (max-width: 420px) {
    .mediadate {
        padding: 5px 8px !important;
        font-size: 9px !important;
    }

    .profile-card .card-body {
        padding: 15px 10px 10px;
    }

    .mediadate_input {
        height: auto !important;
        padding: 5px 8px !important;
        font-size: 9px !important;
    }

    .mediabtn {
        padding: 5px 8px;
        font-size: 9px !important;
    }

    label {
        font-size: 10px;
    }
}
@media (max-width: 615px) {
    table thead {
        display: none;
    }

    table tbody {
        display: flex;
        flex-wrap: wrap;
        padding: 4px;
    }

    table tbody tr, table tbody td {
            display: block;
            border: 0;
        }

    table tbody td {
            padding: 2px;
            font-weight: bold;
        }

    table tbody td:before {
                content: attr(data-name);
                width: 89px;
                display: inline-block;
                text-transform: capitalize;
                font-weight: 700;
                font-size: 11px;
            }
    table tbody td.status {
        width: auto;
        position: absolute;
        bottom: 2.5rem;
        right: -4px;
    }

    table tbody tr {
            position: relative;
            width: calc(100% - 8px);
            border: 1px solid #E7E7E7;
            padding: 4px;
            margin: 4px;
    }

    tbody td:nth-child(2) {
        border-left: 4px solid transparent;
        transition: all ease 0.3s;
    }

    tbody td:first-child {
        border-left: 0;
    }

    tbody tr:hover td:nth-child(2) {
        border-left-color: #0F6FDE;
    }

    .getqty, .getEmployee {
        width: 95px;
    }
}

/*///////////////------------------------------for Approval Status---------------//////////////////////////*/
.status_div2{
    display:none;
}
@media (max-width: 615px) {
    .status_div1{
        display:none;
    }
    .status_div2{
    display: block;
}
}

/*///////////////------------------------------Hide Btn  (Action Button Which show on hover)---------------//////////////////////////*/

   .hidebtn {
            //display:none;
            font-size: 9px !important;
            padding: 2px 7px;
          
        }

/*///////////////------------------------------for Card View Css---------------//////////////////////////*/

 .card_view thead {
        display: none;
    }

    .card_view tbody {
        display: flex;
        flex-wrap: wrap;
        padding: 4px;
    }

    .card_view tbody tr, .card_view tbody td {
            display: block;
            border: 0;
        }

    .card_view tbody td {
            padding: 2px;
            font-weight: bold;
        }

    .card_view tbody td:before {
                content: attr(data-name);
                width: 120px;
                display: inline-block;
                text-transform: capitalize;
                font-weight: 700;
                font-size: 11px;
            }
    .card_view tbody td.status {
        width: auto;
        position: absolute;
        bottom: 2.5rem;
        right: -4px;
    }

    .card_view tbody tr {
            position: relative;
            width: calc(100% - 8px);
            border: 1px solid #E7E7E7;
            padding: 4px;
            margin: 4px;
    }

    .card_view tbody td:nth-child(1) {
        border-left: 4px solid #0F6FDE;
        transition: all ease 0.3s;
    }

   .card_view  tbody tr:hover td:nth-child(1) {
        border-left-color: #0F6FDE;
    }


/*///////////////------------------------------for Nested Table CSS---------------//////////////////////////*/


.child-row .childrow_sub
{
    padding-left: 4rem; 
}
.child-row .nested_table thead 
{
    background: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
   
}
.child-row .nested_table thead  th
{
    background:none;
    color:#000 !important;
    padding: 10px;
}
table.dataTable tbody .child-row:hover{
    background:none !important; 
}

.card_view  tbody tr:hover td:nth-child(1) {
        border-left-color: none !important;
    }

/*///////////////------------------------------for Modal Width Extend---------------//////////////////////////*/


@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90% !important;
        margin-right: auto;
        margin-left: auto;
    }
}

/*///////////////------------------------------for Dropdown list---------------//////////////////////////*/


.customddl
{
    width:100% ;
    color: #6e6e6e;
    line-height: 1.5;
    font-size: 13px;
    height: 2.813rem;
    border-radius: 0.375rem;
    padding: 0.375rem 1rem;
    border-color: rgba(0, 0, 0, 0.1);
}

/*///////////////------------------------------for autocomplete list---------------//////////////////////////*/

.ui-menu {
    padding-top: 5px !important;
    border: 1px solid #f4eeee;
    border-top: 0;
    border-radius: 5px;
    max-height: 100px !important;
    height: 200px !important;
    overflow-y: auto !important;
}
.ui-helper-hidden-accessible{
    display:none;
}
.ui-menu li {
    padding: 8px;
}

.ui-menu li:hover {
    background: rgb(234 231 231 / 40%);
}

/*///////////////------------------------------for card hearder and card body and list action btns (.mediabtn)---------------//////////////////////////*/

.author-profile .info-list li {
    padding: 0.8rem 2rem !important;
}

author-profile .author-media img {
    height: 130px;
}

.card-header {
    padding: 10px !important;
}

.sw > .tab-content {
    overflow: visible !important;
}

.scrollcheck {
    max-height: 200px;
    overflow-y: auto;
}

.profile-card .card-header .title:after {
    top: -7px;
    left: 2px;
    width: 2rem;
    height: 5px;
    border-radius: 15px 0px 15px 0px;
}

.profile-card .card-body {
    padding: 15px 20px 10px;
}

.profile-card .m-b30 {
    margin-bottom: 10px !important;
}

.mediabtn {
    margin-right: 5px;
    font-size: 9px !important;
    padding: 2px 7px !important;
}

/*///////////////------------------------------For Bootstrap date Time Picker---------------//////////////////////////*/

   .bootstrap-datetimepicker-widget .datepicker th
        {
            color: #808080 !important;
            border: none;
            border-radius: 0;
        } 
   
/*///////////////------------------------------For table Show entiers drop down---------------//////////////////////////*/
   
      .profile-form .form-control, .profile-form .bootstrap-select .dropdown-toggle {
    height: 39px;
    font-size: 1rem;
    border-radius: 0.375rem;
    border-color: #E6E6E6;
}

/*///////////////------------------------------For req no show in top approval dashboards---------------//////////////////////////*/

.req_ul li{
    position:relative;
}
.req_ul .reqno_show{
    background: var(--bs-info);
    color: #fff;
    width:25px;
    height:25px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    position: absolute;
    top:-5px;
    right:-5px;
}


/*///////////////------------------------------Change Scroll Bar Color---------------//////////////////////////*/


/*jsgrid-grid-body::-webkit-scrollbar, .dataTables_scrollBody::-webkit-scrollbar, .table-responsive::-webkit-scrollbar{

    background:red !important;
}*/