﻿/* ######################## */
/*         CHECKOUT         */
/* ######################## */

/* Shopping Basket (and order confirmation page) */
#producttable table {
    width: 100%;
    border: solid 1px #b3b3b3;
    border-collapse: collapse
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {

    #producttable table {
        font-size: 0.8em;
    }

    #producttable th {
        font-size: 1.1em;
    }
}

@media only screen and (min-width: 601px) {

    #producttable th {
        font-size: 1.2em;
    }
}


#producttable th {
    padding: 10px;
    text-align: left;
    background-color: #b3b3b3;
    color: #fff;
}

#producttable td {
    padding: 10px;
    border: 0;
    font-size: 1em;
    border-bottom: solid 1px #ccc
}

.alignright {
    text-align: right;
}

.productimg {
    width: 50px;
    padding-right: 25px;
    float: left
}

.productname-name {
    font-weight: 700;
    color: #333;
    width: 45%;
}

a.productname-link {
    padding-top: 7px;
    text-decoration: none;
    font-size: 1.1em;
    color: #333
}

a.productname-link:hover {
    text-decoration: underline
}

a.productname-link-delivery {
    padding-left: 73px;
}

a.viewmoreproductdetails {
    text-decoration: underline;
    padding-right: 5px;
    color: #999;
    font-weight: 400
}

.productname-stickers {
    width: 8%;
}

.productname-brandsize {
    display: none;
    font-weight: normal;
}

.productname-brand {
    color: #333;
    width: 10%;
}

.productname-weight {
    color: #333;
    width: 7%;
}

.productname-surcharge {
    width: 7%;
}

.productname-price {
    color: #333;
    width: 7%;
}

.productname-price-now {
    font-weight: 700;
    color: #333;
    text-align: right;
    width: 7%;
}

.productname-price-was {
    font-weight: 700;
    color: #333;
    text-decoration: line-through;
    text-align: right;
    width: 7%;
}

.total-productname {
    color: #333;
    text-align: right;
    width: 7%;
    font-weight: 700;
}

.productname-remove {
    width: 7%;
}

.productname-remove a {
    color: #999;
    font-weight: 400;
}

.productname-remove-text {
    display: inline-block;
}

.productname-remove-image {
    display: none;
}

.oos_basket {
    color: Green;
    font-weight: 700;
    font-size: 1.2em
}

.totals {
    float: right;
    text-align: right;
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 1%;
}


/* Mobile Styles */
@media only screen and (max-width: 600px) {

    .totals {
        font-size: 1em;
    }

    .delivery_options {
        font-size: 1em;
        float: left;
        margin-top: 0px;
    }
}

@media only screen and (min-width: 601px) {

    .delivery_options {
        float: right;
        margin-top: 0px;
        margin-right: 8%;
    }
}



@media only screen and (min-width: 601px) and (max-width: 960px) {
    .productimg {
        display: none;
    }

    .productname-name {
        width: 265px;
    }

    a.productname-link-delivery {
        padding-left: 0;
    }

    .viewmoreproductdetails {
        display: none;
    }

    .productname-stickers {
        display: none;
    }

    .productname-brandsize {
        display: inline-block;
    }

    .productname-brand {
        display: none;
    }

    .productname-weight {
        display: none;
    }

    .productname-remove-text {
        display: none;
    }

    .productname-remove-image {
        display: inline-block;
    }
}

@media only screen and (max-width: 600px) {
    .productimg {
        display: none;
    }

    .productname-name {
        width: 265px;
    }

    a.productname-link-delivery {
        padding-left: 0;
    }

    .viewmoreproductdetails {
        display: none;
    }

    .productname-stickers {
        display: none;
    }

    .productname-brandsize {
        display: inline-block;
    }

    .productname-brand {
        display: none;
    }

    .productname-weight {
        display: none;
    }

    .productname-surcharge {
        display: none;
    }

    .productname-remove-text {
        display: none;
    }

    .productname-remove-image {
        display: inline-block;
    }
}


/* Checkout buttons */
#CTAs {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    display: inline-block
}

#checkoutCTA_Top {
    margin-top: 20px
}

.CTAtext {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {

    .CTAtext {
        font-size: 1.1em;
    }

    .continueshoppingCTA {
        width: 30%;
        padding: 2% 2%;
    }

    .emptybasketCTA {
        width: 22%;
        padding: 2% 2%;
    }

    .checkoutCTA {
        width: 30%;
        padding: 2% 2%;
    }

    .checkoutSagePay {
        width: 100%;
        height: 30px;
        padding: 8% 2%;
        font-size: 1.2em;
    }

    .amenddiscardCTA {
        width: 50%;
        padding: 2% 2%;
    }

    .amendcheckoutCTA {
        width: 30%;
        padding: 2% 2%;
    }
}

/* Desktop and Tablet Styles */
@media only screen and (min-width: 601px) {

    .CTAtext {
        font-size: 1.2em;
    }

    .checkoutCTA {
        font-size: 1.2em;
    }

    .continueshoppingCTA {
        width: 200px;
        padding: 15px 20px;
    }

    .emptybasketCTA {
        width: 150px;
        padding: 15px 20px;
    }

    .checkoutCTA {
        width: 200px;
        padding: 15px 20px;
    }

    .checkoutSagePay {
        width: 300px;
        padding: 15px 20px;
    }

    .amenddiscardCTA {
        width: 150px;
        padding: 10px 20px;
    }

    .amendcheckoutCTA {
        width: 200px;
        padding: 10px 20px;
    }
}

.continueshoppingCTA {
    background-color: #f60;
    color: #fff;
    text-align: center;
    display: block;
    text-decoration: none;
    float: left;
}

.emptybasketCTA {
    background-color: #ccc;
    color: #333;
    text-align: center;
    display: block;
    text-decoration: none;
    float: left;
    margin: 0 0 20px 10px;
}

.checkoutCTA {
    background-color: #64A70B;
    color: #fff;
    text-align: center;
    display: block;
    text-decoration: none;
    float: right;
}

.checkoutSagePay {
    background-color: #64A70B;
    color: #fff;
    text-align: center;
    display: block;
    text-decoration: none;
}

.amenddiscardCTA {
    background-color: #ccc;
    color: #333;
    text-align: center;
    display: inline;
    text-decoration: none;
    float: right;
    margin-right: 5px;
}

.amendcheckoutCTA {
    background-color: #64A70B;
    color: #fff;
    text-align: center;
    display: inline;
    text-decoration: none;
    float: right;
    margin-right: 5px;
}

@media only screen and (max-width: 800px) {
    .amenddiscardCTA {
        float: left;
        margin-left: 10px;
    }
}


/* Progress bar */
h1.progressbar {
    padding-top: 15px;
    margin-bottom: 30px;
    margin-right: 10%;
    float: left
}


/* Delivery page */
#deliveryform {
    max-width: 550px;
    float: left
}

#deliveryform h3 {
    color: #64A70B
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {

    #deliveryform table tr {
        line-height: 40px;
        vertical-align: middle
    }
}

td.checkout_form_label {
    font-weight: 700
}

.checkout_form_ddl {
    height: 2em
}


/* Order summary */
#ordersummary {
    max-width: 500px;
    float: right
}

#ordersummary_lines table {
    width: 100%;
    border: solid 1px #b3b3b3;
    border-collapse: collapse
}

#ordersummary_lines th {
    padding: 15px;
    text-align: left;
    background-color: #b3b3b3;
    color: #fff;
    font-size: 1.2em
}

#ordersummary_lines td {
    padding: 15px;
    border: 0;
    font-size: 1em;
    border-bottom: solid 1px #ccc
}

.ordersummary_totals {
    float: right;
    text-align: right;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 25px;
}

.ordersummary-name {
    color: #333;
    width: 65%;
}

.ordersummary-price {
    color: #333;
    width: 17%;
}

.ordersummary-quantity {
    color: #333;
    text-align: right;
    width: 5%;
}

.ordersummary-total {
    font-weight: 700;
    color: #333;
    text-align: right;
    width: 12%;
}

.ordersummary-remove {
    width: 10px;
}


@media only screen and (max-width: 600px) {
    .basket_summary_container #ordersummary_lines th {
        font-size: 1em
    }

    .basket_summary_container #ordersummary_lines td {
        font-size: 0.9em;
    }
}


/* Payment page */
#AddressDetails {
    background-color: #e0e0e0;
    padding: 15px 45px 15px 25px;
    margin-bottom: 10px
}

.promocodeCTA {
    background-color: #aaa;
    margin-right: 10px;
    text-align: center;
    width: 80px;
    display: block;
    text-decoration: none;
    float: right;
    padding: 5px 8px
}

.promocodeCTAtext {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2em
}

#CTAs_payment {
    width: 100%;
    display: inline-block;
    text-align: right;
}

.emptybasketCTA_payment {
    background-color: #ccc;
    color: #333;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    width: 150px;
    display: block;
    text-decoration: none;
    float: left;
    padding: 15px 20px
}


/* Stored CC form */
@media only screen and (min-width: 601px) {

    .cc_item {
        width: 100%;
        padding-top: 10px;
        height: 34px;
    }

    .cc_selected {
        width: 100%;
        padding-top: 10px;
        height: 34px;
        background-color: #ddd
    }

    .credit_cards span {
        display: inline-block;
        vertical-align: top
    }

    .cc_image {
        margin-left: 10px;
        width: 60px
    }

    .cc_type {
        width: 235px
    }

    .cc_name {
        width: 80px;
        text-align: right
    }

    .cc_expiry {
        width: 80px;
        text-align: right
    }

    .cc_remove {
        width: 60px;
        float: right;
        text-align: right
    }

    .cc_remove a {
        color: #aaa;
        font-weight: 400
    }

    .cc_lastfourdigits {
        margin-left: 10px;
        color: #aaa
    }
}


@media only screen and (max-width: 600px) {

    .cc_item {
        width: 100%;
        padding-top: 10px;
        height: 75px;
        border-bottom: 1px solid #ddd
    }

    .cc_selected {
        width: 100%;
        padding-top: 10px;
        height: 54px;
        border-bottom: 1px solid #ddd;
        background-color: #ddd
    }

    .credit_cards span {
        display: inline-block;
        vertical-align: top;
        font-size: .9em
    }

    .cc_image {
        width: 15%
    }

    .cc_type_name {
        display: none;
    }

    .cc_name {
        width: 20%;
        text-align: right
    }

    .cc_expiry {
        margin-left: 10px;
        width: 15%;
        text-align: right
    }

    .cc_remove {
        width: 20%;
        float: right;
        text-align: right
    }

    .cc_remove a {
        color: #aaa;
        font-weight: 400
    }

    .cc_lastfourdigits {
        margin-left: 10px;
        color: #aaa
    }
}


/* Order confirmation page */
#AddressDetails_OrderComplete {
    width: 400px;
    background-color: #e0e0e0;
    padding: 15px 45px 15px 25px;
    margin-bottom: 10px
}
