﻿

body, form {
    /*background: #FFF;*/
    color: #5d5d5d;
}

.orders, .addresses {
    padding: 0px 30px;
    /*margin: 0px 30px;*/
    background-color: #FFF;
}
.messages {
    padding-top: 50px;
    padding-bottom: 100px;
    text-align: center;
    background-color: #FFF;
}
.process_orders {
    width: 100%;
    height: 100px;
}
.new_address_div {
    width: 100%;
    margin: 30px auto;
    text-align: right;
    display: inline-block;
}

.status_div {
    width: 100%;
    margin: 30px auto;
    text-align: right;
}

.status_ddl {
    border: 0;
    padding: 0;
    border-radius: 0;
    width: 30%;
    z-index: 10;
    font-size: 14px;
    height: 30px;
}

.new_address_button {
    border: 0;
    padding: 0;
    border-radius: 0;    
    z-index: 10;
    font-size: 14px;
    height: 30px;
}


.process_bar {
    width: 100%;
    height: 30px;
    overflow: hidden;
    margin-top: 20px;
}

    .process_bar div {
        float: left;
        box-sizing: border-box;
    }

.process_active {
    height: 100%;
    background-color: RGB(2,51,110);
    line-height: 30px;
    text-align: center;
    color: #fff;
    width: 25%;
    border-left: 1px solid #FFF;
}

.process_inactive {
    height: 100%;
    background-color: #E0E0E0;
    line-height: 30px;
    text-align: center;
    width: 25%;
    border-left: 1px solid #FFF;
}

.delivery_ddl {
    border: 0;
    padding: 0;
    border-radius: 0;
    width: 50%;
    z-index: 10;
    font-size: 14px;
    height: 30px;
}

.address_information {
    padding-top: 50px;
}

.address_name, .address_zipcode, .address_phone, .address_country, .address_province, .address_city, .address_district, .address_line {
    float: left;
    margin: 5px auto;
}

.address_name_title, .address_name_information, .address_zipcode_title, .address_zipcode_information, .address_phone_title, .address_phone_information, .address_country_title, .address_country_information, .address_province_title, .address_province_information, .address_city_title, .address_city_information, .address_district_title, .address_district_information, .address_line_title, address_line_information {
    float: left;
}

.address_name_title, .address_phone_title, .address_country_title, .address_province_title, .address_city_title, .address_district_title {
    width: 30%;
}

.address_name_information, .address_phone_information, .address_country_information, .address_province_information, .address_city_information, .address_district_information {
    width: 64%;
    margin-right:6%;
}

.address_title {
    line-height: 36px;
}

.address_input {
    /*height: 30px;
    font-family: 微软雅黑;*/
    height: 30px;
    line-height: 30px;
    border: 0px;
    text-indent: 10px;
    border-bottom: 1px solid #dcdcdc;
    background: none;
}



.address_zipcode_title, .address_line_title {
    width: 15%;
}

.address_line_information, .address_zipcode_information {
    width: 82%;
    margin-right: 3%;
}

.address_line2_information {
    float: left;
    margin-top: 10px;
    margin-left: 15%;
}

.address_name, .address_phone, .address_country, .address_province, .address_city, .address_district {
    width: 50%;
}

.address_line, .address_zipcode {
    width: 100%;
}

.pagination{
    width:100%;
    background-color:#FFF;
    padding:10px;
    text-align:center;
}

.totals_note_message {
    color: red;
    text-align: right;
    width: 100%;
}
.product_deleted_price {
    text-decoration: line-through;
}
.product_saleprice {
    /*font-size: large;*/
    color: #000;
}
.product-image {
    float: left;
    width: 20%;
}

.product-details {
    float: left;
    width: 37%;
}

.product-price {
    float: left;
    width: 12%;
}

.product-quantity {
    float: left;
    width: 10%;
}

.product-removal {
    float: left;
    width: 9%;
}

.product-line-price {
    float: left;
    width: 12%;
    text-align: right;
}

/* This is used as the traditional .clearfix class */
.group:before, .shopping-cart:before, .column-labels:before, .column-order:before, .product:before, .totals-item:before, .order-totals:before, .order-totals:after,
.group:after,
.shopping-cart:after,
.column-labels:after,
.column-order:after,
.product:after,
.totals-item:after {
    content: '';
    display: table;
}

.group:after, .shopping-cart:after, .column-labels:after, .column-order:after, .product:after, .totals-item:after, .order-totals:after {
    clear: both;
}

.group, .shopping-cart, .column-labels, .column-order, .product, .totals-item, .order-totals {
    zoom: 1;
}

    /* Apply clearfix in a few places */
    /* Apply dollar signs */
    /*.product .product-price:before, .product .product-line-price:before, .totals-value:before {
        content: '$';
    }*/

/* Body/Header stuff */

h1 {
    font-weight: 100;
}

label, span {
    color: #aaa;
    color: #5d5d5d;
}

.shopping-cart {
    margin-top: 45px;
    margin-right: 45px;
    margin-bottom: 30px;
}

/* Column headers */
.column-labels label, .column-labels span {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.column-order {
    padding-top: 15px;
}
    .column-order a {
        font-size: 15px;
        color: #000;
        font-weight: 500;
    }

.column-labels .product-image, .column-labels .product-details, .column-labels .product-removal {
    text-indent: -9999px;
}

/* Product entries */
.product {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .product .product-image {
        text-align: center;
    }

        .product .product-image img {
            width: 100px;
        }

    .product .product-details .product-title {
        margin-right: 20px;
    }

    .product .product-details .product-description {
        margin: 5px 20px 5px 0;
        line-height: 1.4em;
    }

    .product .product-quantity input {
        width: 40px;
    }

    .product .remove-product {
        border: 0;
        padding: 4px 8px;
        background-color: #02336E;
        color: #fff;
        font-size: 12px;
        border-radius: 3px;
    }

        .product .remove-product:hover {
            /*background-color: #0256BA;*/
        }

/* Totals section */
.order-totals {
    margin-bottom: 10px;
}

.totals .totals-item, .order-totals .totals-item {
    float: right;
    clear: both;
    width: 100%;
    margin-bottom: 10px;
}

    .totals .totals-item label, .totals .totals-item span, .order-totals .totals-item label, .order-totals .totals-item span {
        float: left;
        clear: both;
        width: 79%;
        text-align: right;
    }

    .totals .totals-item .totals-value, .order-totals .totals-item .totals-value {
        float: right;
        width: 21%;
        text-align: right;
    }
.address_button {
    width: 100%;
    text-align: right;
}
    .address_button input, .address_button a {
        margin: 5px 10px;
    }

.address_edit_button {
    width: 100%;
    text-align: center;
    margin: 25px auto;
    display: inline-block;
}


    .address_edit_button input, .address_edit_button a {
        float: inherit;
        margin: 5px 10px;
    }

.update_message {
    width: 100%;
    text-align: right;
}

.success_message {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-bottom:30px;
}
.checkout {
    float: right;
    border: 0;
    margin-top: 20px;
    padding: 10px 45px;
    background-color: #02336E;
    color: #FFF;
    font-size: 20px;
    /*border-radius: 3px;*/
}

    .checkout:hover, .checkout:focus {
        background-color: #02336E;
    }


.pay, .edit_button {
    float: right;
    border: 0;
    margin-top: 10px;
    padding: 5px 25px;
    background-color: #02336E;
    color: #FFF;
}

    .pay:hover, .pay:focus, .edit_button:hover, .edit_button:focus {
        background-color: #02336E;
    }


/* Make adjustments for tablet */
@media screen and (max-width: 650px) {
    .status_ddl {
        width: 50%;
    }

    .delivery_ddl {
        width: 100%;
    }

    .address_name, .address_zipcode, .address_phone, .address_country, .address_province, .address_city, .address_district, .address_line {
        width: 100%;
    }

    .address_zipcode_title, .address_line_title {
        width: 30%;
    }

    .address_line_information, .address_zipcode_information {
        width: 64%;
        margin-right: 6%;
    }

    .address_line2_information {
        margin-left: 30%;
    }

    .shopping-cart {
        margin: 0;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .column-labels {
        display: none;
    }

    .product-image {
        /*float: right;*/
        width: auto;
    }

        .product-image img {
            margin: 0 0 10px 10px;
        }

    .product-details {
        float: none;
        margin-bottom: 10px;
        width: auto;
    }

    .product-price {
        clear: both;
        width: 70px;
    }

    .product-quantity {
        width: 100px;
        text-align:center;
    }

        .product-quantity input {
            margin-left: 20px;
        }

        .product-quantity:before {
            content: 'x';
        }

    .product-removal {
        width: auto;
    }

    .product-line-price {
        float: right;
        width: 70px;
    }
}
/* Make more adjustments for phone */
@media screen and (max-width: 350px) {
    .product-removal {
        float: right;
    }

    .product-line-price {
        float: right;
        clear: left;
        width: auto;
        margin-top: 10px;
    }

    .product .product-line-price:before {
        content: 'Item Total: $';
    }

    .totals .totals-item label, .totals .totals-item span, .order-totals .totals-item label, .order-totals .totals-item span {
        width: 60%;
    }

    .totals .totals-item .totals-value, .order-totals .totals-item .order-totals-value {
        width: 40%;
    }
}
