﻿/*****************Shopping Cart start**************/
.shoppingCart {
    border: 1px solid #d8d8d8;
    padding: 10px;
    margin: 10px auto 10px auto;
    display: inline-block;
    width: 100%;
}

    .shoppingCart table {
        width: 100%;
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
        /*background-color: #add3e3 !important;*/
        border-collapse: collapse;
        border: none !important;
    }

        .shoppingCart table thead th {
            background-color: #bdeafd !important;
            font-size: 14px !important;
            height: 35px !important;
            border: 1px solid #add3e3;
            padding: 10px;
        }

            .shoppingCart table thead th:nth-child(n+4) {
                text-align: center;
            }

        .shoppingCart table tbody td {
            background-color: #f5fcff !important;
            padding-top: 10px;
            padding-bottom: 10px;
            padding-left: 10px;
            text-align: center !important;
            border: 1px solid #add3e3;
            vertical-align: top;
        }

        .shoppingCart table tbody td:nth-child(6) {
            padding-left: 3px;
            padding-right: 3px;
        }

        .shoppingCart table tbody td:nth-child(6) input{
            background-color: #ffffff;
            border: 1px solid #e2e1e1;
            padding-left: 3px;

        }

        .shoppingCart table tbody tr td:first-child {
            border-left: none;
        }

        .shoppingCart table tbody tr td:last-child {
            border-right: none;
        }

        .shoppingCart table tbody td:nth-child(-n+3) {
            text-align: left !important;
        }

        .shoppingCart table tbody td:first-child {
            text-align: center !important;
        }

        .shoppingCart table tbody tr:nth-child(even) td {
            background-color: #ffffff !important;
        }

        .shoppingCart table tr:last-child {
            height: 50px;
            font-size: 20px;
        }

        .shoppingCart table tbody tr:last-child th {
            padding-left: 15px;
            background-color: #f0f5f7 !important;
            border-top: 2px solid white !important;
            border-bottom: 2px solid white !important;
            border-right: none !important;
            border-left: none !important;
        }

        .shoppingCart table tr:last-child th:first-child {
            color: #878585;
            text-align: right !important;
        }

        .shoppingCart table .btn {
            background-color: #fbc639;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            border-radius: 0px;
            border: none;
            margin: 2px 2px;
            color: #666666;
        }

            .shoppingCart table .btn:hover {
                color: #000000;
            }

        .shoppingCart table .btnDelete {
            background-color: #7d7c7b;
            color: #cccccc;
        }

            .shoppingCart table .btnDelete:hover {
                color: #ffffff;
            }

.shoppingCartAdditionalInfo {
    background-color: #f4f7f9;
    height: 70px;
    width: 100%;
    vertical-align: middle;
    line-height: 60px;
    font-weight: bold;
}

    .shoppingCartAdditionalInfo .deliveryInfo {
        line-height: 20px;
        text-align: center;
        border-right: 1px solid #d7d7d7;
        height: 70px;
        padding-top: 5px;
        text-align: left;
    }

        .shoppingCartAdditionalInfo .deliveryInfo select {
            font-weight: normal;
            background-color: #76C7E9;
            color: #ffffff;
            padding-left: 10px;
            line-height: 22px;
        }

    .shoppingCartAdditionalInfo .codDetails {
        line-height: 17px;
    }

        .shoppingCartAdditionalInfo .codDetails .codDescription {
            font-weight: normal;
            font-size: 10px;
        }

.checkoutButtons .btn-continue-shopping {
    background-color: #fbc639;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #666666;
    width: 200px;
    font-weight: bold;
}

        .checkoutButtons .btn-continue-shopping:hover {
            color: #000;
        }

.checkoutButtons .btn-checkout {
    background-color: #363d3e;
    background-color: #4EA32A;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #000;
    width: 200px;
    font-weight: bold;
}

        .checkoutButtons .btn-checkout:hover {
            color: #fff;
        }


/**************************************************/

#ShoppingCart {
    padding-bottom: 10px;
    background-color: #fff;
    border-radius: 5px;
}

.mfp-close {
    margin-top: 10px;
}

#ShoppingCart #itemList {
    height: 400px;
    overflow: auto;
}

/*#ShoppingCart table {
    width: 100%;
    background-color: #eee;
    border: solid 0 #555;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    overflow: scroll;
}

#ShoppingCart td, #ShoppingCart th {
    background-color: #fff;
    border: solid 0 #555;
    padding: 3px 3px 3px 5px;
    margin: 0 0 0 0;
}

#ShoppingCart .continueShopping {
    margin-left: 4%;
    width: 45%;
    display: inline-block;
    text-align: left;
}

#ShoppingCart .submitButton {
    width: 45%;
    display: inline-block;
    text-align: right;
}

#ShoppingCart .formInput {
    width: 220px;
}

    */

@media screen and (max-width:770px) {

    #ShoppingCart {
        margin-bottom: 40px;
    }

        #ShoppingCart table, #ShoppingCart #itemList {
            height: auto;
            overflow: visible;
        }

    .shoppingCart table tbody td:first-child {
        text-align: left !important;
    }

    #tblEnquiryCart table, #tblEnquiryCart thead, #tblEnquiryCart tbody, #tblEnquiryCart tbody tr:not(:last-child) th, #tblEnquiryCart tbody tr:not(:last-child) td, #tblEnquiryCart tr:not(:last-child) {
        display: block;
    }

    .shoppingCart table tbody td:nth-child(6) {
            padding-left: 30%;
        }

        #tblEnquiryCart tbody tr:last-child td {
            display: inline-block;
        }


        #tblEnquiryCart thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    #tblEnquiryCart TR:nth-of-type(odd) td {
        background: #eee;
    }

    #tblEnquiryCart tr {
        border: 1px solid #ccc;
    }


    .shoppingCart table tbody td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        text-align: left !important;
        min-height: 20px;
    }

    

    #tblEnquiryCart td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 25%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(1):before {
        content: "S.No";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(2):before {
        content: "Image";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(3):before {
        content: "Title";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(4):before {
        content: "Height";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(5):before {
        content: "Width";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(6):before {
        content: "Qty";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(7):before {
        content: "Item Price";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(8):before {
        content: "Item Total";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(9):before {
        content: "Notes";
    }

    #tblEnquiryCart tr:not(:last-child) td:nth-of-type(10):before {
        width: 5%;
    }


    #tblEnquiryCart tr:last-child th {
        width: 10%;
        border:none;
    }

    .shoppingCartAdditionalInfo .codDetails, .shoppingCartAdditionalInfo .checkoutButtons, .shoppingCartAdditionalInfo .deliveryInfo {
        text-align: center;
        background-color: #f4f7f9;
        border-top: 2px solid #ffffff;
        border-right: none;
    }
}
