/* Added To Cart Message */
#addedtocart {
    position: fixed;
    overflow: hidden;
    z-index: 900000;
    top: -120px;
    visibility: hidden;
    margin: 0 auto;
    left: 0;
    max-width: 800px;
    padding: 20px 40px;
    right: 0;
    background: #90905B;

    font-size: 16px;

    -webkit-transition: top 1s ease-in-out;
    -moz-transition: top 1s ease-in-out;
    -o-transition: top 1s ease-in-out;
    transition: top 1s ease-in-out;
}

    @media(max-width: 800px) {
        #addedtocart { max-width: 100%; }
    }


    /* Shift this to setting styles */
    #addedtocart, #addedtocart a { color: #fff; }
    #addedtocart .message {
        float: left;
        line-height: 25px;
        padding: 5px 0;
    }
    #addedtocart .message a { font-weight: 600; }

    #addedtocart .links { float: right; }
    #addedtocart .links a {
        display: inline-block;
        height: 35px;
        line-height: 25px;
        text-transform: uppercase;
        padding: 5px 12px;
        cursor: pointer;
        text-decoration: none;

        /* Shift this to setting styles */
        background: #614534;
    }

    #addedtocart.loaded { visibility: visible; }
    #addedtocart.expanded { top: 0; }


/*
 * Checkout
 */

/* Currently borrow from MMA addict */

.checkout-table {
    width: 100%;
    margin-bottom: 15px;
}
.checkout-table .checkout-row,
.checkout-table .label-row {
    height: 40px;
    line-height: 30px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    /*border-bottom: 1px solid #E8ECEE;*/
}

    .checkout-table .checkout-row.cart-balance,
    .checkout-table .checkout-row.cart-item-subtotal {
        border-bottom: 0;
    }

    .checkout-table .checkout-row > span,
    .checkout-table .checkout-row a.product-name {
        padding: 0 5px;
        min-width: 100px;
    }

    .checkout-table .checkout-row .price {
        float: right;
        margin-left: 10px;
        text-align: left;
    }

    .checkout-table .checkout-row .sku {
        float: left;
        margin-right: 10px;
    }

    .checkout-table .label-row span.qty,
    .checkout-table .label-row span.price {
        text-align: left;
    }

    .checkout-table .label-row .qty, .discounts-row .qty, .cart-item-subtotal .qty {
        float: right;
        text-align: left;
    }

   .confirm .checkout-table .label-row .qty,
   .receipt .checkout-table .label-row .qty {
        text-align: left;
    }

    .checkout-table .checkout-row .product-name { 
        width: calc(100% - 230px);
        display: inline-block;
        text-decoration: none;
    }
    .checkout-table .checkout-row a.product-name:hover, .confirm .checkout-table .checkout-row a.product-name:hover { text-decoration: underline; }
    @media(max-width: 600px) {
        .checkout-table .checkout-row span { width: 100px; }
    }


.checkout-table .checkout-row.cart-item .qty,
.checkout-table .checkout-row.cart-item-subtotal .subtotal {
    float: right;
    text-align: left;
}
    .qty .strikethrough { opacity: 0.5; }

.checkout-table .checkout-row.cart-item .qty input.form-control {
    float: right;
    height: 20px;
    line-height: 20px;
    width: 50px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
}

.checkout-table .checkout-row.your-balance,
.checkout-table .checkout-row.cart-balance,
.confirm .checkout-table .checkout-row.cart-item-subtotal {
    height: 40px;
    line-height: 30px;
    font-size: 16px;
}
    .checkout-table .checkout-row.cart-balance .price.negative { color: #ee0000; }


.checkout-table .checkout-row.topup {
    height: 40px;
    line-height: 30px;
    background-color: #F5F4ED;
    vertical-align: middle;
    padding: 5px 10px;

    border-bottom: 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
    .checkout-table .checkout-row.topup span:first-child { font-size: 16px; }

    .checkout-table .checkout-row.topup .qty { float: right; }
        .checkout-table .checkout-row.topup .qty input {
            width: 120px;
            text-align: right;
            margin-right: 4px;
        }

        @media(max-width: 400px) {
            .checkout-table .checkout-row.topup .qty { min-width: 0; float: left; max-width: 50%; }
            .checkout-table .checkout-row.topup .qty input { width: 100%; }
        }



    .checkout-table .checkout-row.topup .btn-link {
        float: right;
        line-height: 20px;
        margin-top: -1px;
    }


.checkout-table .ajax-loader {
    padding: 6px 0;
    text-align: center;
    border-bottom: 1px dashed #E8ECEE;
}

.confirm .btn.back { float: right; background: #bbb; margin-right: 10px; }
.confirm .btn.btn-confirm { float: right; }

.confirm .address-info .form-controls div {
    min-height: 20px;
    line-height: 20px;
    font-family: "omnes",sans-serif;
}


#checkout-form #shipping label {
    cursor: pointer;
    padding: 5px 5px 5px 33px;
    display: block;
    max-width: 500px;
    border-radius: 4px;
    position: relative;
    line-height: 21px;
}
#checkout-form #shipping label:hover { background: #eee; }
#checkout-form #shipping label input {
    position: absolute;
    left: 10px;
}


.btn-link.confirm { float: right; }

.checkout-table .checkout-row.topup span:first-child { float: left; }
@media(max-width: 500px) {
    .checkout-table .checkout-row.topup .btn-link { clear: both; }
}
@media(max-width: 767px) {

    .checkout-table .checkout-row, .checkout-table .label-row {
        height: auto;
        clear: both;
    }

    /* .checkout-table .checkout-row a.product-name { display: block; } */

    .checkout-table .checkout-row.topup { height: auto; }
}

.checkout-table .cart-item .qty .qty-toggle {
    opacity: 0.4;
    cursor: pointer;
    vertical-align: middle;
    margin: -2px 5px 2px 5px;
    height: 16px;
    width: 16px;
    background-image: url('/assets/commerce/images/icons/plus.png');
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    padding: 0;
    min-width: 0;
}
.checkout-table .cart-item .qty .qty-toggle:hover { opacity: 1; }
.checkout-table .cart-item .qty .qty-toggle.minus-quantity { background-image: url('/assets/commerce/images/icons/minus.png'); }
#content.checkout .checkout-table .checkout-row.cart-item .qty input.form-control, .checkout-table .checkout-row.cart-item .qty input.form-control {
    float: none;
    display: inline-block;
}

.strikethrough { text-decoration: line-through; }

.discount-code-label:last-child { padding-right: 5px; }
.discount-code-label {
    font-size: 12px;
    /* color: #880000; */
    padding-left: 5px;
    color: #999;
}

/* Checkout Form */
.checkout-form-columns { 
    clear: both;
    margin-bottom: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
#checkout-form .checkout-form-grouping {  }
#checkout-form .checkout-form-grouping label { display: none; }

@media(min-width: 600px) {
    .checkout-form-column {
        float: left;
        padding-right: 20px;
        width: 50%;
    }
    .checkout-form-column:last-child {
        float: right;
        padding-right: 0;
        padding-left: 10px;
    }
    .checkout-index .confirm {
        float: right;
        margin-right: 10px;
    }
}
.checkout-form-column {
    padding-right: 20px;
}

.checkout-index #shipping { padding-bottom: 30px; }
.checkout-form-grouping {
    margin-top: 30px;
}
    .checkout-form-grouping .form-controls {
        margin-bottom: 10px;
    }
    .checkout-form-grouping .errors {
        list-style: none;
        padding-left: 0;
        margin-left: 10px;
        margin-top: 5px;
    }
    .checkout-form-grouping .errors .error {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }






