/* Cart, checkout and order pages (cart.group). Colors follow main.css. */

#contentColumn .cart {
    text-align: left;
    font-size: 16px;
}

.cart h2 {
    margin: 25px 0 10px 0;
}

.cart .notice {
    background-color: #ffffff;
    border-left: 5px solid #0390d5;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.cart .notice.error {
    border-left-color: #f64d12;
}

.cart .error-text {
    color: #c43a0b;
    font-size: 14px;
}

/* Item and totals tables */

.cart table.cart-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.cart table.cart-table th {
    background-color: #00557c;
    color: #ffffff;
    font-weight: normal;
    text-align: left;
    padding: 8px 10px;
}

.cart table.cart-table td {
    border-bottom: 1px solid #aadbf3;
    padding: 10px;
    vertical-align: top;
}

.cart table.cart-table .num {
    text-align: right;
    white-space: nowrap;
}

.cart #contentColumn img.cart-thumb,
.cart img.cart-thumb {
    float: left;
    width: 60px;
    margin: 0 12px 0 0;
    padding: 3px;
}

.cart .personalization {
    margin: 6px 0 0 0;
    font-size: 14px;
    overflow: hidden;
}

.cart .personalization dt {
    float: left;
    clear: left;
    font-weight: bold;
    margin-right: 5px;
}

.cart .personalization dd {
    margin: 0;
    white-space: pre-line; /* keep the line breaks in Special Notes */
}

/* Order notes, on the order and review pages */
.cart .order-notes {
    white-space: pre-line;
}

.cart input.qty {
    width: 3.5em;
}

.cart table.totals {
    width: 320px;
    margin: 15px 0 0 auto;
    border-collapse: collapse;
}

.cart table.totals td {
    padding: 4px 0;
}

.cart table.totals td.num {
    text-align: right;
}

.cart table.totals tr.grand td {
    border-top: 2px solid #00283c;
    font-weight: bold;
    font-size: 18px;
    padding-top: 8px;
}

/* Buttons and actions */

.cart .button,
.cart button,
.cart input[type="submit"] {
    display: inline-block;
    background-color: #027cb6;
    border: 0;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    font-family: arial, helvetica, sans-serif;
    font-size: 16px;
    padding: 9px 18px;
    text-decoration: none;
}

.cart .button:hover,
.cart button:hover,
.cart input[type="submit"]:hover {
    background-color: #00557c;
    color: #ffffff;
    text-decoration: none;
}

.cart .button.primary,
.cart button.primary {
    background-color: #f64d12;
    font-weight: bold;
}

.cart .button.primary:hover,
.cart button.primary:hover {
    background-color: #c43a0b;
}

.cart button[disabled] {
    opacity: .6;
    cursor: wait;
}

.cart .button.secondary,
.cart input[type="submit"].secondary {
    background-color: transparent;
    color: #00283c;
    text-decoration: underline;
    padding-left: 0;
    padding-right: 0;
}

.cart .button.continue {
    background-color: #00557c;
    color: #ffffff;
}

.cart .button.continue:hover {
    background-color: #003a55;
}

/* Remove is a submit button (qty 0) styled as a text link */
.cart button.remove-item,
.cart button.remove-item:hover {
    background: none;
    border: 0;
    border-radius: 0;
    color: #00283c;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
}

/* First submit in the cart form, so Enter in a qty field updates instead of removing */
.cart input[type="submit"].default-submit {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cart .actions {
    margin-top: 20px;
    overflow: hidden;
}

.cart .actions .right {
    float: right;
}

/* Checkout form */

.cart .checkout-columns {
    overflow: hidden;
}

.cart .checkout-form {
    float: left;
    width: 520px;
}

.cart .checkout-summary {
    float: right;
    width: 340px;
    background-color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
}

.cart .checkout-summary h2 {
    margin-top: 0;
}

.cart fieldset {
    border: 0;
    background-color: #ffffff;
    margin: 0 0 20px 0;
    padding: 15px;
}

.cart legend {
    color: #0390d5;
    font-size: 20px;
    padding: 0;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.cart .field {
    clear: both;
    margin-bottom: 10px;
}

.cart .field label {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

.cart .field input[type="text"],
.cart .field input[type="email"],
.cart .field input[type="tel"],
.cart .field select,
.cart .field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #7fb9d6;
    font-size: 16px;
    padding: 6px;
}

.cart .field small {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

.cart .field-pair {
    clear: both;
    overflow: hidden;
}

.cart .field-pair .field {
    float: left;
    width: 48%;
    clear: none;
}

.cart .field-pair .field + .field {
    margin-left: 4%;
}

.cart .choice {
    clear: both;
    margin-bottom: 8px;
}

.cart .choice label {
    display: inline;
    font-size: 16px;
}

/* Coupon box under the cart totals (was inline styles in cart/index) */
.cart .coupon-field {
    width: 320px;
    margin: 15px 0 0 auto;
}

.cart .coupon-field input[type="text"] {
    width: 60%;
}
