
/* < 1200px = mobile header */
@media screen and (max-width: 1199px) {
    footer#page-header-desktop { display: none !important; }
    footer#page-footer-desktop { display: none !important; }

    #OrderDetailTable {
        width: 1280px;
    }
    
    #LineItemTableContainer .overflow-x-scroll {
        width: 95vw;
    }
}

/* < 992px Mobile page breakdown begins */
@media screen and (max-width: 991px) {
    .align-items-center {
        -webkit-box-align: unset !important;
        -ms-flex-align: unset !important;
        align-items: unset !important;
    }
    
    /* Start Order List page */
    .item_swift_customercenter .item_swift_customercenterapp > div {
        width: auto;
    }

    .item_swift_customercenter .item_swift_customercenterapp header {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 92vw !important;
    }

    .portal-order-list-container {
        overflow-x: auto;
    }
    .portal-order-list-container table.d-none {
        display: unset !important;
    }
    /* End Order List page */

    /* Start Order Details page */
    
    .portal-order-line-items-tbl {
        width: 150%;
    }
    .item_swift_customercenterapp table#OrderDetailTable.d-none {
        display: unset !important;
    }

    .responsive > thead th {
        display: block;
    }
    .responsive > tbody td,
    .responsive > tbody th {
        display: block;
    }
    .responsive > tbody > tr:nth-child(even) td,
    .responsive > tbody > tr:nth-child(even) th {
        background-color: #eee;
    }
    [row-header] {
        position: relative;
        /* width: 50%;*/
        vertical-align: middle;
    }
    [row-header]:before {
        content: attr(row-header);
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        width: 50%;
        padding-right: 30px;
        white-space: nowrap;
        overflow: hidden;
    }

    #shipping-items .table-clean {
        width: 100%;
    }
    #shipping-items .d-table-row {
        display: grid !important;
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    #shipping-items .d-table-row .d-table-cell {
        padding-left: 0 !important;
    }
    #shipping-items .d-table-row .d-table-cell table {
        width: 100%;
    }

    .portal-order-detail-tabs.container {
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    /* End Order Details page */
}
@media screen and (min-width: 576px) {
    .container, .container-sm {
        max-width: unset !important;
    }
    .portal-order-line-items-tbl {
        width: 100%;
    }
}
@media screen and (max-width: 576px) {
    .portal-order-line-items-tbl {
        width: 175%;
    }
}

@media only screen and (max-width: 478px) {
    .portal-order-detail-tabs li.nav-item {
        padding-right: 0.2rem;
    }
    .portal-order-line-items-tbl {
        width: 225%;
    }
}