
.rdt_TableHead {
    z-index: 10 !important;
}

/* Datatable эхний 2 мөрийг болон сүүлийн 1 мөр
    ID = datatableLeftTwoRightOne
*/
#datatableLeftTwoRightOne .MuiTableCell-head:first-of-type,
#datatableLeftTwoRightOne .MuiTableCell-body:first-of-type,
#datatableLeftTwoRightOne .rdt_TableCol:first-of-type,
#datatableLeftTwoRightOne .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

#datatableLeftTwoRightOne .MuiTableCell-body:nth-child(2),
#datatableLeftTwoRightOne .MuiTableCell-head:nth-child(2),
#datatableLeftTwoRightOne .rdt_TableCol:nth-child(2),
#datatableLeftTwoRightOne .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

#datatableLeftTwoRightOne .MuiTableCell-body:last-child,
#datatableLeftTwoRightOne .MuiTableCell-head:last-child,
#datatableLeftTwoRightOne .rdt_TableCol:last-child,
#datatableLeftTwoRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

@media only screen and (max-width: 576px)
{
    #datatableLeftTwoRightOne .MuiTableCell-body:first-of-type,
    #datatableLeftTwoRightOne .MuiTableCell-head:first-of-type,
    #datatableLeftTwoRightOne .rdt_TableCol:first-of-type,
    #datatableLeftTwoRightOne .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftTwoRightOne .MuiTableCell-body:nth-child(2),
    #datatableLeftTwoRightOne .MuiTableCell-head:nth-child(2),
    #datatableLeftTwoRightOne .rdt_TableCol:nth-child(2),
    #datatableLeftTwoRightOne .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftTwoRightOne .MuiTableCell-body:last-child,
    #datatableLeftTwoRightOne .MuiTableCell-head:last-child,
    #datatableLeftTwoRightOne .rdt_TableCol:last-child,
    #datatableLeftTwoRightOne .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}


/* Datatable эхний 2 мөрийг
    ID = datatableLeftTwo
*/

#datatableLeftTwo .MuiTableCell-body:first-of-type,
#datatableLeftTwo .MuiTableCell-head:first-of-type,
#datatableLeftTwo .rdt_TableCol:first-of-type,
#datatableLeftTwo .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftTwo .MuiTableCell-body:nth-child(2),
#datatableLeftTwo .MuiTableCell-head:nth-child(2),
#datatableLeftTwo .rdt_TableCol:nth-child(2),
#datatableLeftTwo .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

@media only screen and (max-width: 576px)
{
    #datatableLeftTwo .MuiTableCell-body:first-of-type,
    #datatableLeftTwo .MuiTableCell-head:first-of-type,
    #datatableLeftTwo .rdt_TableCol:first-of-type,
    #datatableLeftTwo .rdt_TableCell:first-of-type {
        position: static;
    }

    #datatableLeftTwo .MuiTableCell-body:nth-child(2),
    #datatableLeftTwo .MuiTableCell-head:nth-child(2),
    #datatableLeftTwo .rdt_TableCol:nth-child(2),
    #datatableLeftTwo .rdt_TableCell:nth-child(2) {
        position: static;
    }
}


/* Datatable эхний 1 мөрийг болон сүүлийн 1 мөр
    ID = datatableLeftOneRightOne
*/
#datatableLeftOneRightOne .MuiTableCell-body:first-of-type,
#datatableLeftOneRightOne .MuiTableCell-head:first-of-type,
#datatableLeftOneRightOne .rdt_TableCol:first-of-type,
#datatableLeftOneRightOne .rdt_TableCell:first-of-type {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftOneRightOne .MuiTableCell-body:last-child,
#datatableLeftOneRightOne .MuiTableCell-head:last-child,
#datatableLeftOneRightOne .rdt_TableCol:last-child,
#datatableLeftOneRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

@media only screen and (max-width: 576px)
{
    #datatableLeftOneRightOne .MuiTableCell-body:first-of-type,
    #datatableLeftOneRightOne .MuiTableCell-head:first-of-type,
    #datatableLeftOneRightOne .rdt_TableCol:first-of-type,
    #datatableLeftOneRightOne .rdt_TableCell:first-of-type {
        position: static;
    }

    #datatableLeftOneRightOne .MuiTableCell-body:last-child,
    #datatableLeftOneRightOne .MuiTableCell-head:last-child,
    #datatableLeftOneRightOne .rdt_TableCol:last-child,
    #datatableLeftOneRightOne .rdt_TableCell:last-child {
        position: static;
    }
}


/* Datatable эхний 1 мөрийг
    ID = datatableLeftOne
*/
#datatableLeftOne .MuiTableCell-body:first-of-type,
#datatableLeftOne .MuiTableCell-head:first-of-type,
#datatableLeftOne .rdt_TableCol:first-of-type,
#datatableLeftOne .rdt_TableCell:first-of-type {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


@media only screen and (max-width: 576px)
{
    #datatableLeftOne .MuiTableCell-body:first-of-type,
    #datatableLeftOne .MuiTableCell-head:first-of-type,
    #datatableLeftOne .rdt_TableCol:first-of-type,
    #datatableLeftOne .rdt_TableCell:first-of-type {
        position: static;
    }
}

/* Datatable сүүлийн 1 мөрийг
    ID = datatableRightOne
*/
#datatableRightOne .MuiTableCell-body:last-child,
#datatableRightOne .MuiTableCell-head:last-child,
#datatableRightOne .rdt_TableCol:last-child,
#datatableRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

@media only screen and (max-width: 576px)
{
    #datatableRightOne .MuiTableCell-body:last-child,
    #datatableRightOne .MuiTableCell-head:last-child,
    #datatableRightOne .rdt_TableCol:last-child,
    #datatableRightOne .rdt_TableCell:last-child {
        position: static;
    }
}


/* Datatable эхний 4 мөр сүүлийн 1 мөр
    ID = datatableLeftFourRightOne
*/
#datatableLeftFourRightOne .MuiTableCell-head:first-of-type,
#datatableLeftFourRightOne .MuiTableCell-body:first-of-type,
#datatableLeftFourRightOne .rdt_TableCol:first-of-type,
#datatableLeftFourRightOne .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(2),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(2),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(2),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(3),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(3),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(3),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(3) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 350px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(4),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(4),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(4),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(4) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 510px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


#datatableLeftFourRightOne .MuiTableCell-body:last-child,
#datatableLeftFourRightOne .MuiTableCell-head:last-child,
#datatableLeftFourRightOne .rdt_TableCol:last-child,
#datatableLeftFourRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


@media only screen and (max-width: 576px)
{
    #datatableLeftFourRightOne .MuiTableCell-body:first-of-type,
    #datatableLeftFourRightOne .MuiTableCell-head:first-of-type,
    #datatableLeftFourRightOne .rdt_TableCol:first-of-type,
    #datatableLeftFourRightOne .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:nth-child(2),
    #datatableLeftFourRightOne .MuiTableCell-head:nth-child(2),
    #datatableLeftFourRightOne .rdt_TableCol:nth-child(2),
    #datatableLeftFourRightOne .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:nth-child(3),
    #datatableLeftFourRightOne .MuiTableCell-head:nth-child(3),
    #datatableLeftFourRightOne .rdt_TableCol:nth-child(3),
    #datatableLeftFourRightOne .rdt_TableCell:nth-child(3) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:nth-child(4),
    #datatableLeftFourRightOne .MuiTableCell-head:nth-child(4),
    #datatableLeftFourRightOne .rdt_TableCol:nth-child(4),
    #datatableLeftFourRightOne .rdt_TableCell:nth-child(4) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:last-child,
    #datatableLeftFourRightOne .MuiTableCell-head:last-child,
    #datatableLeftFourRightOne .rdt_TableCol:last-child,
    #datatableLeftFourRightOne .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }

}

/* Datatable эхний 3 мөр сүүлийн 1 мөр
    ID = datatableLeftThreeRightOne
*/
#datatableLeftThreeRightOne .MuiTableCell-head:first-of-type,
#datatableLeftThreeRightOne .MuiTableCell-body:first-of-type,
#datatableLeftThreeRightOne .rdt_TableCol:first-of-type,
#datatableLeftThreeRightOne .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftThreeRightOne .MuiTableCell-body:nth-child(2),
#datatableLeftThreeRightOne .MuiTableCell-head:nth-child(2),
#datatableLeftThreeRightOne .rdt_TableCol:nth-child(2),
#datatableLeftThreeRightOne .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftThreeRightOne .MuiTableCell-body:nth-child(3),
#datatableLeftThreeRightOne .MuiTableCell-head:nth-child(3),
#datatableLeftThreeRightOne .rdt_TableCol:nth-child(3),
#datatableLeftThreeRightOne .rdt_TableCell:nth-child(3) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 350px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


#datatableLeftThreeRightOne .MuiTableCell-body:last-child,
#datatableLeftThreeRightOne .MuiTableCell-head:last-child,
#datatableLeftThreeRightOne .rdt_TableCol:last-child,
#datatableLeftThreeRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


@media only screen and (max-width: 576px)
{
    #datatableLeftThreeRightOne .MuiTableCell-body:first-of-type,
    #datatableLeftThreeRightOne .MuiTableCell-head:first-of-type,
    #datatableLeftThreeRightOne .rdt_TableCol:first-of-type,
    #datatableLeftThreeRightOne .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOne .MuiTableCell-body:nth-child(2),
    #datatableLeftThreeRightOne .MuiTableCell-head:nth-child(2),
    #datatableLeftThreeRightOne .rdt_TableCol:nth-child(2),
    #datatableLeftThreeRightOne .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOne .MuiTableCell-body:nth-child(3),
    #datatableLeftThreeRightOne .MuiTableCell-head:nth-child(3),
    #datatableLeftThreeRightOne .rdt_TableCol:nth-child(3),
    #datatableLeftThreeRightOne .rdt_TableCell:nth-child(3) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOne .MuiTableCell-body:last-child,
    #datatableLeftThreeRightOne .MuiTableCell-head:last-child,
    #datatableLeftThreeRightOne .rdt_TableCol:last-child,
    #datatableLeftThreeRightOne .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}



/* Datatable эхний 4 мөр сүүлийн 1 мөр (checkbox ашигласан table-д зориулсан болно)
    ID = datatableLeftFourRightOne
*/
#datatableLeftFourRightOne .MuiTableCell-head:first-of-type,
#datatableLeftFourRightOne .MuiTableCell-body:first-of-type,
#datatableLeftFourRightOne .rdt_TableCol:first-of-type,
#datatableLeftFourRightOne .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(2),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(2),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(2),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 47px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(3),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(3),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(3),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(3) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 147px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOne .MuiTableCell-body:nth-child(4),
#datatableLeftFourRightOne .MuiTableCell-head:nth-child(4),
#datatableLeftFourRightOne .rdt_TableCol:nth-child(4),
#datatableLeftFourRightOne .rdt_TableCell:nth-child(4) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 397px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}



#datatableLeftFourRightOne .MuiTableCell-body:last-child,
#datatableLeftFourRightOne .MuiTableCell-head:last-child,
#datatableLeftFourRightOne .rdt_TableCol:last-child,
#datatableLeftFourRightOne .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

@media only screen and (max-width: 576px)
{
    #datatableLeftFourRightOne .MuiTableCell-body:first-of-type,
    #datatableLeftFourRightOne .MuiTableCell-head:first-of-type,
    #datatableLeftFourRightOne .rdt_TableCol:first-of-type,
    #datatableLeftFourRightOne .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:nth-child(2),
    #datatableLeftFourRightOne .MuiTableCell-head:nth-child(2),
    #datatableLeftFourRightOne .rdt_TableCol:nth-child(2),
    #datatableLeftFourRightOne .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:nth-child(3),
    #datatableLeftFourRightOne .MuiTableCell-head:nth-child(3),
    #datatableLeftFourRightOne .rdt_TableCol:nth-child(3),
    #datatableLeftFourRightOne .rdt_TableCell:nth-child(3) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOne .MuiTableCell-body:last-child,
    #datatableLeftFourRightOne .MuiTableCell-head:last-child,
    #datatableLeftFourRightOne .rdt_TableCol:last-child,
    #datatableLeftFourRightOne .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}


#expandableRowsId .cLPfJ{
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


/* Datatable эхний 2 мөрийг болон сүүлийн 2 мөр
    ID = datatableLeftTwoRightTwo
*/
#datatableLeftTwoRightTwo .MuiTableCell-head:first-of-type,
#datatableLeftTwoRightTwo .MuiTableCell-body:first-of-type,
#datatableLeftTwoRightTwo .rdt_TableCol:first-of-type,
#datatableLeftTwoRightTwo .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

#datatableLeftTwoRightTwo .MuiTableCell-body:nth-child(2),
#datatableLeftTwoRightTwo .MuiTableCell-head:nth-child(2),
#datatableLeftTwoRightTwo .rdt_TableCol:nth-child(2),
#datatableLeftTwoRightTwo .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

#datatableLeftTwoRightTwo .MuiTableCell-body:last-child,
#datatableLeftTwoRightTwo .MuiTableCell-head:last-child,
#datatableLeftTwoRightTwo .rdt_TableCol:last-child,
#datatableLeftTwoRightTwo .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}

#datatableLeftTwoRightTwo .MuiTableCell-body:nth-last-child(2),
#datatableLeftTwoRightTwo .MuiTableCell-head:nth-last-child(2),
#datatableLeftTwoRightTwo .rdt_TableCol:nth-last-child(2),
#datatableLeftTwoRightTwo .rdt_TableCell:nth-last-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 200px;
    z-index: 5;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa
}


@media only screen and (max-width: 576px)
{
    #datatableLeftTwoRightTwo .MuiTableCell-body:first-of-type,
    #datatableLeftTwoRightTwo .MuiTableCell-head:first-of-type,
    #datatableLeftTwoRightTwo .rdt_TableCol:first-of-type,
    #datatableLeftTwoRightTwo .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftTwoRightTwo .MuiTableCell-body:nth-child(2),
    #datatableLeftTwoRightTwo .MuiTableCell-head:nth-child(2),
    #datatableLeftTwoRightTwo .rdt_TableCol:nth-child(2),
    #datatableLeftTwoRightTwo .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftTwoRightTwo .MuiTableCell-body:last-child,
    #datatableLeftTwoRightTwo .MuiTableCell-head:last-child,
    #datatableLeftTwoRightTwo .rdt_TableCol:last-child,
    #datatableLeftTwoRightTwo .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}


/* Datatable эхний 3 мөр сүүлийн 1 мөр
    ID = datatableLeftThreeRightOneCheckBox
*/
#datatableLeftThreeRightOneCheckBox .MuiTableCell-head:first-of-type,
#datatableLeftThreeRightOneCheckBox .MuiTableCell-body:first-of-type,
#datatableLeftThreeRightOneCheckBox .rdt_TableCol:first-of-type,
#datatableLeftThreeRightOneCheckBox .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftThreeRightOneCheckBox .MuiTableCell-body:nth-child(2),
#datatableLeftThreeRightOneCheckBox .MuiTableCell-head:nth-child(2),
#datatableLeftThreeRightOneCheckBox .rdt_TableCol:nth-child(2),
#datatableLeftThreeRightOneCheckBox .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftThreeRightOneCheckBox .MuiTableCell-body:nth-child(3),
#datatableLeftThreeRightOneCheckBox .MuiTableCell-head:nth-child(3),
#datatableLeftThreeRightOneCheckBox .rdt_TableCol:nth-child(3),
#datatableLeftThreeRightOneCheckBox .rdt_TableCell:nth-child(3) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 200px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


#datatableLeftThreeRightOneCheckBox .MuiTableCell-body:last-child,
#datatableLeftThreeRightOneCheckBox .MuiTableCell-head:last-child,
#datatableLeftThreeRightOneCheckBox .rdt_TableCol:last-child,
#datatableLeftThreeRightOneCheckBox .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


@media only screen and (max-width: 576px)
{
    #datatableLeftThreeRightOneCheckBox .MuiTableCell-body:first-of-type,
    #datatableLeftThreeRightOneCheckBox .MuiTableCell-head:first-of-type,
    #datatableLeftThreeRightOneCheckBox .rdt_TableCol:first-of-type,
    #datatableLeftThreeRightOneCheckBox .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOneCheckBox .MuiTableCell-body:nth-child(2),
    #datatableLeftThreeRightOneCheckBox .MuiTableCell-head:nth-child(2),
    #datatableLeftThreeRightOneCheckBox .rdt_TableCol:nth-child(2),
    #datatableLeftThreeRightOneCheckBox .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOneCheckBox .MuiTableCell-body:nth-child(3),
    #datatableLeftThreeRightOneCheckBox .MuiTableCell-head:nth-child(3),
    #datatableLeftThreeRightOneCheckBox .rdt_TableCol:nth-child(3),
    #datatableLeftThreeRightOneCheckBox .rdt_TableCell:nth-child(3) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftThreeRightOneCheckBox .MuiTableCell-body:last-child,
    #datatableLeftThreeRightOneCheckBox .MuiTableCell-head:last-child,
    #datatableLeftThreeRightOneCheckBox .rdt_TableCol:last-child,
    #datatableLeftThreeRightOneCheckBox .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}


/* Datatable эхний 3 мөр сүүлийн 1 мөр (checkbox ашигласан table-д зориулсан болно)
    ID = datatableLeftFourRightOneCheckbox
*/
#datatableLeftFourRightOneCheckbox .MuiTableCell-head:first-of-type,
#datatableLeftFourRightOneCheckbox .MuiTableCell-body:first-of-type,
#datatableLeftFourRightOneCheckbox .rdt_TableCol:first-of-type,
#datatableLeftFourRightOneCheckbox .rdt_TableCell:first-of-type {
    position: sticky;
    left: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOneCheckbox .MuiTableCell-body:nth-child(2),
#datatableLeftFourRightOneCheckbox .MuiTableCell-head:nth-child(2),
#datatableLeftFourRightOneCheckbox .rdt_TableCol:nth-child(2),
#datatableLeftFourRightOneCheckbox .rdt_TableCell:nth-child(2) {
    box-shadow: 6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 100px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

#datatableLeftFourRightOneCheckbox .MuiTableCell-body:nth-child(3),
#datatableLeftFourRightOneCheckbox .MuiTableCell-head:nth-child(3),
#datatableLeftFourRightOneCheckbox .rdt_TableCol:nth-child(3),
#datatableLeftFourRightOneCheckbox .rdt_TableCell:nth-child(3) {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    left: 200px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}


#datatableLeftFourRightOneCheckbox .MuiTableCell-body:last-child,
#datatableLeftFourRightOneCheckbox .MuiTableCell-head:last-child,
#datatableLeftFourRightOneCheckbox .rdt_TableCol:last-child,
#datatableLeftFourRightOneCheckbox .rdt_TableCell:last-child {
    box-shadow: -6px 0px 6px -3px rgba(9, 30, 66, 0.25);
    position: sticky;
    right: 0px;
    position: -webkit-sticky; /* Safari */
    background-color: #f8f7fa;
    z-index: 5;
}

@media only screen and (max-width: 576px)
{
    #datatableLeftFourRightOneCheckbox .MuiTableCell-body:first-of-type,
    #datatableLeftFourRightOneCheckbox .MuiTableCell-head:first-of-type,
    #datatableLeftFourRightOneCheckbox .rdt_TableCol:first-of-type,
    #datatableLeftFourRightOneCheckbox .rdt_TableCell:first-of-type {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOneCheckbox .MuiTableCell-body:nth-child(2),
    #datatableLeftFourRightOneCheckbox .MuiTableCell-head:nth-child(2),
    #datatableLeftFourRightOneCheckbox .rdt_TableCol:nth-child(2),
    #datatableLeftFourRightOneCheckbox .rdt_TableCell:nth-child(2) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOneCheckbox .MuiTableCell-body:nth-child(3),
    #datatableLeftFourRightOneCheckbox .MuiTableCell-head:nth-child(3),
    #datatableLeftFourRightOneCheckbox .rdt_TableCol:nth-child(3),
    #datatableLeftFourRightOneCheckbox .rdt_TableCell:nth-child(3) {
        box-shadow: none;
        position: static;
    }

    #datatableLeftFourRightOneCheckbox .MuiTableCell-body:last-child,
    #datatableLeftFourRightOneCheckbox .MuiTableCell-head:last-child,
    #datatableLeftFourRightOneCheckbox .rdt_TableCol:last-child,
    #datatableLeftFourRightOneCheckbox .rdt_TableCell:last-child {
        box-shadow: none;
        position: static;
    }
}