/* 
Generic Styling, for Desktops/Laptops 
*/

.generated_for_desktop{
    display: table;
    table-layout: fixed;
}

.generated_for_desktop { 
    width: 100%; 
    border-collapse: collapse; 
}

.generated_for_desktop th { 
    color: black; 
    font-weight: bold;
}

.generated_for_desktop td, 
.generated_for_desktop th { 
    padding: 1.618em;
    display: table-cell;
    text-align: justify;
}

.generated_for_desktop td.td-btn-update{
    text-align: right;
}

.generated_for_desktop tr:nth-of-type(even), .generated_for_desktop th { 
    background-color: #f8f8f8;
}

.generated_for_desktop tr:nth-of-type(odd) {
    background-color: #fdfdfd;
}

.generated_for_mobile{
    display: none;
}

@media only screen and (max-width: 769px) {
    .generated_for_mobile{
        display: table;
    }

    /* Hide the Total row if the cart is empty */
    table.generated_for_mobile.wdm-quote-cart-table tr:has(td[colspan][class*="no-product"]) {
        display: table-row;
    }

    /* Hide the Total row permanently if the cart is empty */
    table.generated_for_mobile.wdm-quote-cart-table tr:has(th.product-name.cart-name) {
        display: none;
    }

    table.generated_for_mobile th.product-remove.cart-remove {
        display: block;
        border: 0;
        width: auto;
        position: relative;
        bottom: 4em;
        left: 204.5%;
        height: 0;
    }

    table.generated_for_mobile td.product-remove {
        border-top: 1px solid var(--ast-border-color);
        border-right: 0;
        order: -1;
    } 

    table.generated_for_mobile tr:first-child {
        display: flex;
    }
    
    body.theme-storefront table.generated_for_mobile tr:first-child {
        display: contents;
    }

    body.theme-storefront table.generated_for_mobile th.product-remove.cart-remove {
        background: white;
    }

    .quoteup-quote-cart table.generated_for_desktop.cart td,
    .quoteup-quote-cart table.generated_for_desktop.cart th{
        padding: 1.618em;
    }

    .generated_for_desktop {
        display: none;
    }

    .mpe-left.wdm-enquiry-form-label {
        display: none;
    }

    .td-btn-update{
        padding: 1.318em;
    }

    .update.wdm-update {
        font-size: 12px !important;
        width: 70%;
        height: 100%;
        padding: 0%;
        margin-left: 14% !important;
    }

    .PDFLogo{
        visibility: hidden;
        display: none;
    }

    .from-data, .to-data, .expiration-data {
        padding-left: 2px !important;
    }

    .mpe-right, .quoteup-quote-cart td.product-thumbnail img {
        width: 100%;
        max-width: 100%;
    }

    .generated_for_mobile td.product-thumbnail img{
        width: 100% !important;
        max-width: 1000% !important;
    }

    .generated_for_mobile td.product-thumbnail {
        width: 250% !important;
        max-width: 1000% !important;
    }
}

@media only screen and (max-width: 680px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 195.5%;
    }
}

@media only screen and (max-width: 610px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 188.5%;
    }
}

@media only screen and (max-width: 550px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 185.5%;
    }
}

@media only screen and (max-width: 520px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 183.5%;
    }
}

@media only screen and (max-width: 475px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 171.5%;
    }
}


@media only screen and (max-width: 431px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 192.5%;
    }
}

@media only screen and (max-width: 415px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 164.5%;
    }
}

@media only screen and (max-width: 391px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 161.5%;
    }

}
@media only screen and (max-width: 376px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 153.5%;
    }
}

@media only screen and (max-width: 366px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 146.5%;
    }
}

@media only screen and (max-width: 336px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 123.5%;
    }
}

@media only screen and (max-width: 309px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 102.5%;
    }
}

@media only screen and (max-width: 290px) {
    table.generated_for_mobile th.product-remove.cart-remove {
        left: 89.5%;
    }
}
