﻿.sub {
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
/* The Modal (background) */
.modal {
    display: none; /*Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 500; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 320px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

* {
    box-sizing: border-box;
}


.myTable {
    border-collapse: collapse;
    width: 100%;
    border: 0px;
    /*border: 1px solid #ddd;*/
    font-size: 15px;
}

    .myTable th, .myTable td {
        text-align: left;
        padding: 2px;
    }

    .myTable tr {
        border-bottom: 1px solid #ddd;
    }

        .myTable tr.header, .myTable tr:hover {
            background-color: #f1f1f1;
        }

#shopcart_content, #shopcart2_content {
    width: 450px;
}

@media screen and (max-width: 600px) {
    .myTable {
        border: 0;
    }

    #shopcart_content, #shopcart2_content {
        width: 350px;
    }
}

#shopcart {
    position: relative;
    top: 45px;
}

.shopping-cart .lighter-text {
    color: white;
    font-weight: bold;
}

.shopping-cart .main-color-text {
    color: white;
    font-weight: bold;
}

.shopping-cart .badge {
    background-color: #6394F8;
    border-radius: 10px;
    color: white;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 3px 7px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.shopping-cart {
    background: white;
    width: 320px;
    position: absolute;
    border-radius: 3px;
    padding: 0;
    right: 0px;
    text-align: left;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
}

    .shopping-cart .shopping-cart-header {
        border-bottom: 1px solid #E8E8E8;
        padding: 10px;
        background-color: #ed1c24;
        line-height: 30px;
    }

        .shopping-cart .shopping-cart-header .shopping-cart-total {
            float: right;
        }

    .shopping-cart .shopping-cart-items {
        /*padding-top: 20px;*/
        padding-left: 10px;
    }

        .shopping-cart .shopping-cart-items li {
            /*margin-bottom: 18px;
                display: inline;*/
            border-top: 1px solid rgba(0,0,0,0.05);
            display: flex;
            list-style: none;
            padding: 6px 0px;
            flex-flow: row wrap;
        }

            .shopping-cart .shopping-cart-items li > div {
                width: calc(100% - 110px);
            }

        .shopping-cart .shopping-cart-items img {
            float: left;
            margin-right: 12px;
            margin-top: 10px;
            width: 80px;
            height: 60px;
        }

        .shopping-cart .shopping-cart-items .item-name {
            display: block;
            padding-top: 10px;
            font-size: 14px;
            line-height: 1.5;
        }

        .shopping-cart .shopping-cart-items .item-price {
            color: #991113;
            margin-right: 8px;
        }

        .shopping-cart .shopping-cart-items .item-quantity {
            color: #333;
        }

    .shopping-cart:after {
        bottom: 100%;
        left: 89%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-bottom-color: #ed1c24;
        border-width: 8px;
        margin-left: -8px;
    }

    .shopping-cart .cart-icon {
        color: #515783;
        font-size: 24px;
        margin-right: 7px;
        float: left;
    }

    .shopping-cart .button {
        background: #991113;
        color: white;
        text-align: center;
        padding: 2px 5px;
        text-decoration: none;
        display: block;
        border-radius: 3px;
        font-size: 12px;
        margin: 25px 0 15px 0;
    }

        .shopping-cart .button:hover {
            background: #991113;
            color: white;
        }


    .shopping-cart a:hover {
        text-decoration: none;
    }

.shopping-cart-items .clearfix:after {
    content: "";
    display: table;
    clear: both;
}
