﻿/*
-------------------
09_SHOPPING CART
-------------------
*/

#cart {
    padding-bottom: 20px;
}

#cart h1 {
    margin: 20px 0 5px 0;
    font-size: 32px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
}

#cart p {
    margin: 10px 0;
}

/*
CART ITEM LIST
DRAFTED: 4/8/2016
UPDATE 6/12/2016 - BJAS
UPDATE 2/20/2016 - BJAS
	- Changed font-families to inherited
	- Changed cart column widths to percentages
	- Added the most common variables at the top
	- Seperated colors, sizes and styles
*/

/*-------------------- COMMON VARIABLES --------------------*/

#cartitemlist {
	display: inline-block;
	width: 100%;
	font-family: inherit;
}

#cartitemlist strong {
    font-family: inherit;
}

/* Set the product image size */

#cartitemlist .product_image img {
    width: 100%; /*convert to pixel width as needed */
}

/* Set the common border colors */

/*-------------------- END COMMON VARIABLES --------------------*/

#cart_display p {
    margin: 20px 0;
}

#cartitemlist .cart_header,
#cartitemlist .cart_content {
    display: table;
}

#cartitemlist .cart_contents {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#cartitemlist .cart_row {
    display: table-row;
}

#cartitemlist .product_image,
#cartitemlist .product_description,
#cartitemlist .qty,
#cartitemlist .unit_price,
#cartitemlist .total_amount,
#cartitemlist .column_button {
    display: table-cell;
    vertical-align: middle;
}

#cartitemlist .product_image {
    width: 15%;
    text-align: center;
}

#cartitemlist .product_description_header,
#cartitemlist .product_description {
    width: 70%;
    padding: 0 1%;
    font-family: inherit;
}

#cartitemlist .product_description {
    font-family: inherit;
}

#cartitemlist .qty {
    width: 5%;
    text-align: center;
}

#cartitemlist .qty input {
    width: 100%;
    padding: 2px 1px 2px 0;
    border: 1px solid #959595;
    text-align: center;
}

#cartitemlist .unit_price,
#cartitemlist .total_amount {
    width: 10%;
    text-align: right;
}

#cartitemlist .column_button {
    width: 5%;
    text-align: right;
}

#cartitemlist .column_button img {
    margin-top: -4px;
}

#cartitemlist .subtotal,
#cartitemlist .subtotal_price {
    display: inline-block;
    margin: 5px 0;
    font-size: inherit;
    text-align: right;
}

#cartitemlist .subtotal {
    width: 84.5%;
    margin-bottom: 10px;
    padding: 0;
}

#cartitemlist .subtotal_price {
    width: 10%;
}

#cartitemlist .cart_header {
    width: 100%;
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: solid 1px;
}

#cartitemlist .cart_row:first-child {
    border-bottom: solid 1px;
}

#bottom_buttons {
    display: table;
    margin: 20px auto;
    text-align: center;
}

#bottom_buttons .update,
#bottom_buttons .checkout,
#bottom_buttons .continue {
	display: inline-block;
	margin: 10px 0;
	transition: background 150ms ease-in-out, color 150ms ease-in-out, box-shadow 150ms ease-in-out;
	font-family: inherit;
	vertical-align: middle;
}

#bottom_buttons .update {
}

#bottom_buttons .checkout,
#bottom_buttons .continue {
}

#bottom_buttons .checkout a,
#bottom_buttons .continue a {
    margin: 0 10px;
    padding: 5px 10px 6px;
    text-decoration: none;
}

#bottom_buttons .update input.btn {
	margin: 0 10px;
	padding: 10px 35px;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	background-color: #174195;
	border: 2px solid #174195;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

#bottom_buttons a.btn {
	margin-left: 10px;
	padding: 10px 35px;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	background-color: #174195;
	border: 2px solid #174195;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

#bottom_buttons .update input.btn:hover,
#bottom_buttons a.btn:hover {
	background-color: #fff;
	color: #174195;
}

.empty_cart {
    margin: 20px 0;
    text-align: center;
}

.disclaimer {
    display: block;
    margin-top: 10px;
    padding-bottom: 10px;
    background-color: transparent;
}
