﻿.divTable {
    display: table;
    width: 100%;
}

.divTableRow {
    display: table-row;
}

.divTableHeading {
    background-color: #EEE;
    display: table-header-group;
}

.divTableCell, .divTableHead {
    border: 0px solid #999999;
    display: table-cell;
    vertical-align: top;
}

.divTableHeading {
    background-color: #EEE;
    display: table-header-group;
    font-weight: bold;
}

.divTableFoot {
    background-color: #EEE;
    display: table-footer-group;
    font-weight: bold;
}

.divTableBody {
    display: table-row-group;
}

.ast-grid-qta {
    min-width: 120px;
}

/*parte legata dialog calendario ajax section incluso nella griglia*/

.CalendarNoWR {
    background-color: #fff;
    border: 1px solid #646464;
    color: #000;
}


    .CalendarNoWR td {
        display: inline-block !important;
        padding-left: 0 !important;
        background-color: #fff;
        border-color: #fff;
        cursor: default;
        border-bottom: none;
    }


    .CalendarNoWR .ajax__calendar_container .ajax__calendar_invalid .ajax__calendar_day {
        background-color: #fff;
        border-color: #fff;
        color: #646464;
        cursor: default;
        text-decoration: line-through !important;
        border-bottom: none;
    }


    .CalendarNoWR .ajax__calendar_dayname {
        width: 20px;
        border-bottom: none;
    }

    .CalendarNoWR .ajax__calendar_day {
        border-bottom: none;
        width: 20px;
    }


/* Tables - No More Tables technique (991px is the bootstrap SM max-width) */


.OrderTotalFooter {
    display: none;
}

@media only screen and (max-width: 991px) {
    .OrderTotalFooter {
        display: block;
    }

    .OrderTotalGridFooter td {
        display: none !important;
    }

    .table.table-no-more th {
        display: none !important;
    }

    .table.table-no-more,
    .table.table-no-more thead,
    .table.table-no-more tbody,
    .table.table-no-more tr,
    .table.table-no-more td {
        display: block;
    }

        /*.table.table-no-more thead tr {
		left: -9999px;
		position: absolute;
		top: -9999px;
	}*/

        .table.table-no-more tr {
            border-bottom: 1px solid #DDD;
        }

        .table.table-no-more td {
            border: none;
            position: relative;
            padding-left: 50%;
            text-align: left;
            white-space: normal;
        }

            .table.table-no-more td:before {
                content: attr(data-title);
                font-weight: bold;
                left: 6px;
                padding-right: 10px;
                position: absolute;
                text-align: left;
                top: 8px;
                white-space: nowrap;
                width: 45%;
            }

        .table.table-no-more.table-bordered td {
            border-bottom: 1px solid #EFEFEF;
        }

        .table.table-no-more.table-condensed td:before {
            top: 5px;
        }

    html.dark .table.table-no-more tr,
    html.dark .table.table-no-more.table-bordered td {
        border-bottom-color: #262b33;
    }

    .dataTables_wrapper .dataTables_length {
        margin-bottom: 15px;
    }

        .dataTables_wrapper .dataTables_length label {
            float: none;
            width: 100%;
        }

    .dataTables_wrapper .dataTables_filter label {
        width: 100%;
    }

    .dataTables_wrapper .datatables-footer .dataTables_info {
        margin-bottom: 15px;
        text-align: center;
    }

    .dataTables_wrapper .datatables-footer .dataTables_paginate {
        float: none;
        text-align: center;
    }

        .dataTables_wrapper .datatables-footer .dataTables_paginate .pagination {
            display: inline-block;
        }

    .ast-grid-qta {
        display: inline !important;
    }
}


.headerCss {
    border-style: hidden;
    background-color: #e1e4eb !important;
    color: black !important;
    position: sticky;
    top: 0
}

    .headerCss th {
        /*position: sticky;
                top: 0*/
    }

        .headerCss th a {
            color: black !important;
        }

.headerCss_Pager {
    border-style: hidden;
    background-color: #e1e4eb !important;
    color: black !important;
    position: sticky;
    top: 0;
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
    z-index:11;
}

    .headerCss_Pager th {
        /*position: sticky;
                top: 0*/
    }

        .headerCss_Pager th a {
            color: black !important;
        }


