/* -----------------------------------------------------------------------------------------------------------------------
File Author:	Ryan Marincovich (ryan@bicycletheory.com)
Date Created:   XXXX.XX.XX
Client:         X
File Purpose:	Shopping Cart style sheet
REVISIONS:
-------------------------------------------------------------------------------------------------------- 
CONTENTS
	- Global
	- Account / Shipping
	- Summary
	- Item Table
	- Billing, Shipping & Payment
	- Verification & Confirmation
	
	@media only screen and (max-width : 800px)
	@media only screen and (max-width : 600px)
	@media only screen and (max-width : 500px)
	@media only screen and (max-width : 450px)
	@media only screen and (max-width : 400px)
*/


/* ==>  Global  ---------------------------------------------------------------------------------------- */
#shoppingCart input[type=submit].small {
	width: auto;
	height: 30px;
	padding: 0 10px;
	text-transform: uppercase;
}
/*#shoppingCart > #Main a.button, 
#shoppingCart > #Side a.button {
	font-size: 12px; font-size: 1.2rem;
	line-height: 18px; line-height: 1.8rem;
}*/
#Side p,
#shoppingCart span.discount,
#shoppingCart .form-box .details,
#shoppingCart div.block p,
#shoppingCart #breadcrumbWrapper {
	font-size: 14px; font-size: 1.4rem;
	line-height: 22px; line-height: 2.2rem;
}
#Side div[class^=bar] p,
#shoppingCart div.block p.subhead,
#shoppingCart > #Main div[class*=button-bar] a {
	font-size: 18px; font-size: 1.8rem;
	line-height: 26px; line-height: 2.6rem;
}
#Side div.total p { 
	font-size: 26px; font-size: 2.6rem; 
	line-height: 30px; line-height: 3rem;
}
#itemTable div[class^=row] p.options {
    font-size: 14px; font-size: 1.4rem;
    line-height: 22px; line-height: 2.2rem;
}
@media only screen and (max-width : 600px) {
	#itemTable p {
		font-size: 12px; font-size: 1.2rem; 
		line-height: 20px; line-height: 2rem;
	}
	#itemTable a.button p,
	#itemTable p[class^=title] {
		font-size: 14px; font-size: 1.4rem;
		line-height: 22px; line-height: 2.2rem;
	}
}
@media only screen and (max-width : 500px) {
	div[class*=button-bar] input[type=submit],
	div[class*=button-bar] div.disabled p {
		font-size: 14px; font-size: 1.4rem;
		line-height: 22px; line-height: 2.2rem;
	}
	#Side div[class^=bar] p {
		font-size: 16px; font-size: 1.6rem;
		line-height: 24px; line-height: 2.4rem;
	}
}

div.payment div.block span,
#shoppingCart div.block p.subhead,
#shoppingCart div.discount p.code,
#itemTable div[class^=row] div.price > p,
#Side div.sub-head,
#Side div[class^=row] p.label,
#Side div.total,
#shoppingCart p.form-key,
#breadcrumbWrapper span { font-weight: bold; }

#itemTable a.button,
div[class*=button-bar] a, 
div[class*=button-bar] div.disabled p { font-weight: normal; }

#shoppingCart div.discount p.blurb,
#Side div[class^=row] p.note { font-style: italic; }

#shoppingCart .no-records a.button { font-style: normal; } 

div[class*=button-bar] input[type=submit]:first-child, 
div[class*=button-bar] a.button:first-child {
	color: #000;
	background: #fff;
	border: 1px solid #333;
}
/*#shoppingCart div[class*=button-bar] input[type=submit].right, 
#shoppingCart div[class*=button-bar] a.right {
	background: #0cf;
	color: #fff;
	border: 1px solid #0cf;
}*/
#shoppingCart { 
	width: 100%; 
	padding: 10px 0 0;
	float: left;
}
#shoppingCart.order-detail { padding-bottom: 30px; } 
#shoppingCart > div { padding: 20px 0 10px; }
#shoppingCart #AccountCheck {
	width: 100%;
	padding: 20px 0;
	margin: 10px 0 40px;
	float: left;
	border: 1px solid #ccc;
	background: url(/_themes/_images/modules/grad-form.png) bottom center repeat-x;
}
#AccountCheck *[class^=bar] { background: none; }
#AccountCheck *[class^=bar] p { color: #333; }
#AccountCheck .form-wrapper { 
	border: 0; 
	background: none;
}
#shoppingCart > #Main { 
	width: 70%; 
	float: left;
}
#shoppingCart > #Side { 
	width: 27%;
	float: right;
}
#shoppingCart div.half {
	width: 50%;
	padding: 0 10px;
	float: left;
	border-right: 1px dotted #333;
}
#shoppingCart div.right { 
	float: right; 
	border: 0;
}
#shoppingCart div.half .details { padding: 20px 10px 0; }
#shoppingCart div.half fieldset { padding: 0; }
#shoppingCart div.half div[class^=form-row] { 
	width: 100%;
	padding: 5px 10px; 
}
#shoppingCart div.half div[class^=form-row] > label { width: 32%; }
#shoppingCart div.half div[class^=form-row] div.field { width: 65%; }
#shoppingCart div.half select { width: 100%; }
#shoppingCart div.half div.check-row { padding-left: 32%; }
#shoppingCart div.half div.check-row input[type=checkbox] { margin: 5px 0 0 5px; }
#shoppingCart div.half div.check-row p.check-label { padding: 3px 0 0 30px; }
#shoppingCart .form-wrapper input[type=submit] { width: auto; }
@media only screen and (max-width : 650px) {
	#shoppingCart div.half { 
		width: 100%; 
		padding: 0 0 20px;
	}
}
@media only screen and (max-width : 900px) {
	#shoppingCart div.half div[class^=form-row] > label {
		width: 100%;
		padding: 5px 0 0 10px;
		text-align: left;
	}
	#shoppingCart div.half div[class^=form-row] > label span {
		left: 0;
		right: auto;
	}
	#shoppingCart div.half div[class^=form-row] div.field { 
		width: 100%;
		padding: 2px 10px 5px;
	}
	#shoppingCart div.half div.check-row { padding: 10px 10px 5px; }
}
#shoppingCart #breadcrumbWrapper {
	width: 100%;
	padding: 5px 0;
	margin: 10px 0 0;
	float: left;
	background: #f2f2f2;
}
#breadcrumbWrapper ul { 
	padding: 0 10px;
	margin: 0; 
}
#breadcrumbWrapper ul li {
	padding: 5px 5px 5px 0;
	display: inline-block;
}
#breadcrumbWrapper span { color: #000; }
#shoppingCart .error-full {
	width: 100%;
	margin: 5px 0 10px;
}
#shoppingCart div[class*=button-bar] {
	width: 100%;
	margin: 0;
	padding: 10px 0;
	float: left;
}
div[class*=button-bar] a, 
div[class*=button-bar] div.disabled {
	height: auto;
	min-height: 40px;
	float: left; 
}
div[class*=button-bar] a:active, 
div[class*=button-bar] a:hover, 
div[class*=button-bar] a:focus { text-decoration: none; }
div[class*=button-bar] a.right, 
div[class*=button-bar] div.right, 
div[class*=button-bar] input[type=submit] { float: right; }
#shoppingCart div.button-bar-center {
	padding: 0;
	text-align: center;
	border: none;
}
div.button-bar-center a { 
	width: 46%;
	padding: 0;
	margin: 0 0 0 27%;
}
div[class*=button-bar] div.disabled {
	padding: 0 20px;
	border: 1px solid #ccc;
	background: #ccc;
	color: #666;
	text-transform: uppercase;
}
div[class*=button-bar] div.disabled p { padding: 8px 0 5px; }
div[class*=button-bar] a.paypal { 
	min-height: 0;
	padding: 0;
	margin: 15px 0 0;
	clear: right; 
	background: none;
}
#seals { 
	width: 225px;
	float: right; 
}
#certificate {
	float: right;
	background: #fff url(/_themes/_images/buttons/geotrust.jpg) top center no-repeat;
	margin-top: 8px;
}
#merchant { float: left; }
#shoppingCart ul[class^=row] {
	width: 100%;
	margin: 0;
	float: left;
}
@media only screen and (max-width : 800px) {
	#shoppingCart > #Main,
	#shoppingCart > #Side { 
		width: 100%;
		float: left;
	}
}
/*@media only screen and (max-width : 650px) {
	div[class*=button-bar] a, 
	div[class*=button-bar] div.disabled { min-height: 30px; }
}*/
@media only screen and (max-width : 500px) {
	div.button-bar-center a { 
		width: 60%;
		padding: 0;
		margin: 0 0 0 20%;
	}
	div[class*=button-bar] input[type=submit],
	div[class*=button-bar] div.disabled {
		min-height: 30px;
		padding: 0 15px;
	}
	div[class*=button-bar] div.disabled p { padding: 4px 0; }
	/*div[class*=button-bar] a, 
	div[class*=button-bar] div.disabled {
		min-height: 30px;
	}*/
}
@media only screen and (max-width : 450px) {
	div[class*=button-bar] a, 
	div[class*=button-bar] div.disabled {
		width: 46%;
	}
	div[class*=button-bar] div.disabled p,
	div[class*=button-bar] a p {
		padding: 4px 15px; 
		text-align: center; 
	}
	div.button-bar-center a { width: 60%; }
	div[class*=button-bar] a.paypal img { max-width: 100%; }
}

/* ==>  Account / Shipping  ---------------------------------------------------------------------------------------- */
#shoppingCart .half .form-box {
	width: 100%;
	margin: 0 auto;
	padding: 0 0 15px;
}
#shoppingCart .form-box .details { padding: 11px 15px 0; }
#shoppingCart .form-box div#CreateFields {
	width: 100%;
	float: left;
}
#shoppingCart .form-box .off { display: none; }
#shoppingCart .form-box .on { display: block; }
#deliveryOptions { margin-top: 20px; }
#deliveryOptions .header > div.padded { 
	height: 35px;
	float: none; 
}
#deliveryOptions select.regular { width: 190px; }
#deliveryOptions div.form-row p { padding: 5px 0 0; }
@media only screen and (max-width : 500px) {
	#shoppingCart > #Main .form-box {
		width: 100%;
		padding: 15px 0;
	}
}

/* ==>  Summary  ---------------------------------------------------------------------------------------- */
#Side div.mod {
	width: 100%;
	margin: 0 0 20px;
	float: left;
}
/*#Side *[class^=bar] { min-height: 0; }
#Side div[class^=bar] p { padding: 10px; }*/
#Side div[class^=row] {
	width: 100%;
	padding: 10px 0;
	float: left;
	border-bottom: 1px solid #ccc;
}
#Side div[class^=row] > p { padding: 0 10px; }
#Side div.stacked { 
	padding-bottom: 0;
	border: none; 
}
#Side div.form-row-error div.field { width: 100%; }
#Side div.total {
	background-color: #fff;
    color: #000;
}
#Side div[class^=row] p.head { 
	padding: 0 0 5px; 
	text-decoration: underline;
}
#Side div[class^=row] p.label {
	width: 50%;
	padding: 4px 0 0 10px;
	float: left; 
}
#Side div[class^=row] p.number {
	width: 50%;
	padding: 4px 10px 0 0;
	float: right;
	text-align: right;
}
#Side div.sub-head {
	width: 100%; 
	padding: 0 10px 5px;
}
#Side .discount div.sub-head { padding: 10px 0 5px; }
#Side input[type=text] {
	width: 50%;
	margin-left: 10px;
	float: left;
}
#Side div[class^=row] p.blurb { 
	padding-top: 5px; 
	padding-right: 10px;
}
#Side select { 
	width: 94%; 
	margin-left: 10px;
}
#Side input[type=submit] {
	margin: 0 10px 0 0;
	float: right; 
}
#Side .discount input[type=submit],
#Side .discount input[type=text] { margin: 0; }
/* ==>  Item Table  ---------------------------------------------------------------------------------------- */
#itemTable {
	width: 100%;
	margin: 0;
	padding: 0;
	float: left;
}
#itemTable div[class^=row] { 
	padding: 20px 10px 25px;
	position: relative; 
}
#itemTable div[class^=row] p { padding: 0 0 5px; }
#itemTable div[class^=row] p.title {
    font-size: 22px; font-size: 2.2rem;
    line-height: 28px; line-height: 2.8rem;
}
#itemTable div[class^=row] > div { 
	padding: 0;
	float: left; 
}
#itemTable div[class^=row] > div.image { 
	width: 20%;
	padding: 0 10px 0 0; 
}
#itemTable div[class^=row] > div.image img {
	max-width: 100%;
	height: auto !important;
    padding: 0;
	margin: 0 auto;
	float: none;
}
#itemTable div[class^=row] > div.item { width: 40%; }
#itemTable div[class^=row] > div.price {
	width: 22%;
	padding: 0;
	float: right;
}
#itemTable div[class^=row] > div.qty { 
	width: 18%; 
	padding: 0 10px;
	float: right;
}
#itemTable div[class^=row] > div.qty form {
	width: 100%;
	float: left;
}
#itemTable div[class^=row] > div.qty input[type=submit].small {
	width: 100%;
	max-width: 100px;
	margin: 0 auto;
	padding: 0;
	float: none;
	display: block;
	text-align: center;
}
#itemTable div[class^=row] > div.qty p { 
	padding-top: 3px; 
	text-align: center;
}
.order-detail #itemTable div[class^=row] > div.qty p {
	padding-top: 3px; 
	text-align: right; 
}
#itemTable div.row img.default { padding-left: 0; } 
#itemTable div.data { padding-left: 120px; }
#itemTable div[class^=row] > div.qty input[type=text] { 
	width: 50%;
	max-width: 50px;
	margin: 0 auto 10px;
	float: none;
	display: block;
}
#itemTable a.button {
	width: 30px;
	height: 30px;
    min-height: 30px;
	padding: 3px 0 0;
    margin: 0;
	text-align: center;
	float: left;
    color: #fff;
	background: #c00;
	border: 1px solid #fff;
}
#itemTable a.button p {
	width: 100%;
	padding: 0;
	text-align: center;
	color: #fff;
}
#itemTable div[class^=row] div.price a.button { float: right; }
#itemTable div[class^=row] div.price > p {
	padding: 3px 10px 0 10%;
	float: left;
}
.order-detail #itemTable div[class^=row] div.price > p { float: right; }
#shoppingCart span.discount {
	padding: 2px 8px 0;
	margin: 0 5px 0 0;
	float: left;
	color: #fff;
	background: #0c0;
}
#shoppingCart div[class^=row] > div.discount {
	width: 100%;
	padding: 9px;
	float: left;
    color: #000;
	background: #e3ffe3;
	border: 1px solid #0c0;
}
#shoppingCart div[class^=row] > div.order { margin-bottom: 10px; }
#itemTable div[class^=row] > div.discount {
	width: 80%;
	padding: 5px;
	margin: 10px 0 0;
	float: right;
}
#Side div[class^=row] div.order p.blurb { clear: left; }
#shoppingCart div.discount p {
    padding: 5px 0 0 30px;
    color: #000;
    font-size: 14px; font-size: 1.4rem; 
    line-height: 18px; line-height: 1.8rem;
}
@media only screen and (max-width : 600px) {
	#itemTable div[class^=row] > div.price { width: 18%; }
	#itemTable div[class^=row] > div.qty { width: 22%; }
	#itemTable div[class^=row] div.price > p { 
		padding: 3px 0 10px;
		float: right; 
	}
	#itemTable div[class^=row] div.price a.button { clear: right; }
}
@media only screen and (max-width : 400px) {
	#itemTable div[class^=row] > div.item { 
		width: 82%;
		padding: 0 0 0 22%; 
	}
	#itemTable div[class^=row] > div.image {
		position: absolute;
		top: 20px;
		left: 10px; 
		float: none; 
	}
	#itemTable div[class^=row] > div.qty {
		width: 82%;
		padding: 10px 0 0 22%;
		float: left; 
		clear: left; 
	}
	.order-detail #itemTable div[class^=row] > div.qty p {
		padding-top: 0;
		text-align: left; 
	}
	#itemTable div[class^=row] > div.qty input[type=text] { 
		width: 40px;
		margin: 0 15px 0 0;
		float: left;
	}
	#itemTable div[class^=row] > div.qty input[type=submit].small {
		width: auto;
		margin: 0;
		padding: 0 10px;
		float: left;
	}
}
/* ==>  Billing, Shipping & Payment  ---------------------------------------------------------------------------------------- */
#Shipping {
	width: 100%;
	padding: 0;
	float: left;
}
fieldset .on { display: block; }
fieldset .off { display: none; }
#shoppingCart p.notice {
	padding: 6px 10px 10px;
	clear: left;
}
#shoppingCart p.padded {
	margin: 0 0 0 10px;
	float: left;
}
select.padded { margin-left: 10px; }
#ccHelp {
	position: absolute;
	top: 20px;
	right: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid #666;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.4);
}
input[type=text].code { 
	width: 50px;
	float: left; 
}

/* ==>  Verification & Confirmation  ---------------------------------------------------------------------------------------- */
div.order-details {
	width: 48%;
	padding: 20px 0 0;
	float: left;
}
div.payment {
	width: 48%;
	padding: 20px 0 0;
	float: right;
}
div.payment div.block,
div.order-details div.block { padding: 10px 15px 0; }
div.payment div.block { padding-bottom: 20px; }

#shoppingCart p.order-no { padding: 0 0 12px; }
@media only screen and (max-width : 600px) {
	div.payment,
	div.order-details { width: 100%; }
}
