@font-face {
    font-family: 'Gotham-Book';
    src: url('/fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham-Book';
    src: url('/fonts/Gotham-Medium.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.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;
	}

    .pager td table tbody tr,
    .pager td,
    .pager tr td{
        display: flex !important;
        padding-left:0% !important;
    }

    .table.table-no-more,
    .table.table-no-more thead,
    .table.table-no-more tbody,
    .table.table-no-more tr,
    .table.table-no-more th,
    .table.table-no-more td {
        display: block;
    }

        .table.table-no-more thead tr {
            left: -9999px;
            position: absolute;
            top: -9999px;
        }

        .table.table-no-more th {
            display: none;
        }

        .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: none;
            width: 100% !important;
            font-family: var(--font-name);
            color: #000000;
        }

        .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;
        }



    .GridPager td {
        display: flex;
    }
}
.pager a,
.pager td table tbody tr td {
    display: inline-table !important;
    padding: 0px 10px;
    margin-right: 4px;
    border-radius: 3px;
    /*min-width: 10px;
    min-height: 10px;*/
    /*border: solid 1px #c0c0c0;*/
    /*background: #e9e9e9;*/
    /*box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);*/
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.pager a {
    /*background-color: #f5f5f5;*/
    color: #1C3865;
    min-width: 15px;
    max-width: 15px;
    padding: 8px;
    text-align: center;
    border-collapse: separate;
    font-family: var(--font-name);
    /*min-width:10px;
    min-height:10px;*/
    /*border: 1px solid #969696;*/
}

.pager span {
    display: inline-block !important;
    padding: 8px;
    border-collapse: separate;
    color: #ffffff;
    font-family: var(--font-name);
    background-color: var(--company-btn-color);
}
.pager input {
    color: #969696;
    padding: 4px 0 4px 0;
    text-align: center;
    border-collapse: separate;
}

    .ast-grid-qta{
        display:inline !important; 
    }



