/* @override 
	http://www.toys.dv/frontend/themes/toys/css/checkout.css
	https://beta.jrtoycanada.ca/frontend/themes/toys/css/checkout.css?*
	https://beta.jrtoycanada.ca/frontend/themes/toys_new/css/checkout.css?*
*/

#checkout {
	padding: 0;
}
div#checkout.ow div.iw {
	padding:20px 5px;
}
@media (max-width: 960px) {  
	div#checkout.ow div.iw {
		padding: 0;
	}       
}

.loading {
	display: block;
}

#checkout-0 .checkout-outer-wrap {
	box-sizing: border-box;
	position: relative;		
	display: grid;
	grid-template-columns: auto 400px;
	grid-template-areas: "left right";
	grid-column-gap: 40px;
	grid-row-gap: 0px;
	float: none;
	clear: both;
	margin: 0;	
	padding: 10px;
	width: 100%;
}

@media (max-width: 960px) {
	#checkout-0 .checkout-outer-wrap {
		display: block;
		width: 96%;
		margin: 10px 2%;
	}
}

.checkout-total-items-wrap {
	float: left;
	width: 100%;

}

#checkout-0 .checkout-outer-wrap .checkout-main-wrap {
	/*float: left;
	width: 66%;*/
}

#checkout-0.checkout .shipping_quote_form {
	display: none;
}

#checkout-0 .toggle-wrap {
	margin: 0 0 20px 0;
}

#checkout-0 .toggle-wrap .toggle {
	text-align: center;
	display: block;
	margin: 0 auto;
	float: none;
}

#checkout-0 .toggle-wrap .toggle:before {
	content: 'No';
	font-size: 10px;
	font-weight: 800;
	margin: 4px 0 0 4px;
	float: left;
	color: #ccc;
	text-transform: uppercase;
}

#checkout-0 .toggle-wrap.on .toggle:before {
	content: 'Yes';
	margin: 4px 3px 0 0;
	float: right;
	color: #ccc;
}

/* COUPON */

form#checkout_form.smart-form.val div.checkout-wrap p {	
	width: 100%;
	font-size: 14px;
}

/* NO CHECKOUT */

#checkout-0 .no-checkout .checkout-items-wrap {
	position: relative;
	float: right;
	max-width: 400px;
}

#checkout-0 .checkout-items-wrap.no-checkout {
	width: 33%;
	right: 0;
	height: 100%;
	padding: 10px;
	box-sizing: border-box;
}

#checkout-0.stick .checkout-items-wrap h3 {
	float: left;
	width: 100%;
}


#checkout-0 .checkout-items-wrap .dynamic-label-wrap {
	margin: 0 5%;
	width: 90%;
}

#checkout-0 .checkout-items-wrap .checkout-items-inner-wrap h3 {
	margin: 0;
	float: left;
	width: 100%;
}

/* LEFT SIDE */

.checkout-wrap {
	width: 100%;
	margin: 0 0 40px 0;
	box-sizing: border-box;
	padding:10px 40px 50px 40px;
	background-color: #f6f9fc;
}

@media (max-width: 767px) {
	.checkout-wrap {
		padding:10px 20px 50px 20px;
	}

}

.checkout-wrap.warning {
	border: 2px solid #f20;
	border-radius: 4px;
}

form#checkout_form h3 {
	text-transform: capitalize;
	font-size: 16px;
	font-weight: 600;
	color:var(--color-blue-darker);
	margin: 0 0 10px 0;
}

@media (max-width: 960px) {  
     form#checkout_form h3 {
	 	margin: 0 0 20px 0;
	 }  
}

.checkout-wrap h4 {
	font-weight: 100;
	margin: 0 0 20px 0;
	float: left;
	width: 100%;
}

#checkout-0 .checkout-wrap.active {
	display: block;
}

#checkout-0 .checkout-wrap:first-child {
	display: block;
}

#checkout-0 .checkout-wrap #shipping-address-wrap {
	margin-top: 50px;
}

/* CHECOUT NO WRAP */


#checkout-0 .checkout-items-wrap .checkout-items-inner-wrap {
	position: relative;
	float: none;
	top: 10px;
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
}

/* ACCOUNT  */
#checkout-0 .tabs-wrap {
	margin:0 0 30px 0
}

#checkout-0 .tabs-wrap .tab {
	padding:30px 50px 30px 50px;
	float: left;
	width: 100%;
	background-color: #f6f9fc;
}

#checkout-0 .checkout-controls .button.blue {
	/*width: 100%;
	width: calc(100% - 60px);
	margin: 30px;
	padding: 20px;*/
	
}

/* HIDE BUTTONS */
#checkout-0 .tabs-wrap .tab .blue-link {
	width: 100%;
	display: block;
	margin: 6px 0 10px 0px;
	text-align: left;
	font-weight:500;
	font-size: 12px;
}

#checkout-0 .tabs-wrap .tab .login-form a.white {
	display: none!important;
}

/* SHIPMENTS */
#checkout-0 .custom-warning {
	list-style: none;
	padding: 0;
	margin: 0;
}
#checkout-0 .custom-warning p {
	background-color: #fafec1;
	border: 1px dashed #f20;
	padding: 5px;
	font-weight: 600;
	font-size: 12px;
	line-height: 14px;
}

#checkout-0 .dynamic-radio-wrap {
	padding: 20px 0 20px 50px;
	float: left;
	width: 100%;
	position: relative;
	color: #555;
	border: none;
}
#checkout-0 .dynamic-radio-wrap label {
	
}
#checkout-0 .dynamic-radio-wrap label > span {
	width: 100%;
	float: left;	
}

@media (max-width: 767px) {
	#checkout-0 .dynamic-radio-wrap label > span {
		width: 70%;
	}
}

#checkout-0 .dynamic-radio-wrap label > span.shipping-title {
	font-size: 16px;
	font-weight: 100;
	margin: 0 0 5px 0;
}

#checkout-0 .dynamic-radio-wrap .icon {
	width: 32px;
	height: 32px;
	overflow: hidden;
	position: absolute;
	left: 0;
	top: 18px;
}
#checkout-0 .dynamic-radio-wrap label .icon:after {
	width: 6px;
	height: 6px;
	top: 12px;
	left: 12px;	
}
#checkout-0 .dynamic-radio-wrap input:checked ~ label .icon:after {
	width: 26px;
	height: 26px;
	top: 2px;
	left: 2px;
	opacity: 1;
}

#checkout-0 .dynamic-radio-wrap .shipping-times {
	color: #555;
}

#checkout-0 .dynamic-radio-wrap .shipping-price {
	position:absolute;
	right: 20px;	
	text-align: right;
	top: 18px;
	color: #fc192a;
	font-size: 18px;
	font-weight: bolder;
	
}


/* PAYMENT */

.checkout-payment {
	border: 1px solid #0f4e99;
	position: relative;
	border-radius: 4px;
}
.checkout-payment .payment-varification {
	position: absolute;
	right: -5px;
	top: -5px;
}

.checkout-payment .dynamic-label-wrap.half:last-child {
	width: 70px;
	margin: 0;
}

body#checkout-0 .mobile-totals {
	display: none;
}

#checkout-0 .checkout-payment.checkout-wrap div.radio-button-wrap div.dynamic-radio-wrap {
	width: 50%;
}

#checkout-0 .checkout-payment.checkout-wrap div.radio-button-wrap img {
	border: 1px solid #c1c1c1;
	border-radius: 6px;
	margin: 0 5px;
	width: 50px;
	box-shadow: 0px 1px 1px #fff;
}
#checkout-0 div.radio-button-wrap .dynamic-radio-wrap.applepay img   {
	border: 1px solid #111;
}

#checkout-0 div.radio-button-wrap .dynamic-radio-wrap.afterpay img  {
	border: 1px solid #C1FAE5;
}

#checkout-0 .checkout-payment.checkout-wrap div.radio-button-wrap div.dynamic-radio-wrap span.payment-title {	
	margin: 5px 0 0 5px;
	display: inline-block;
	white-space: nowrap;
}

/* TABS */

.tabs-wrap {
	float: left;
	width: 100%;
	margin: 30px 0 0 0;
	box-sizing: border-box;
}

.tabs-wrap .tabs-controls-list { 
	list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
	width: 100%;
	margin: 0 auto;
	max-width: 1024px;
}

.tabs-wrap .tabs-controls-list li {
	float: left;
	padding: 20px 50px;
	cursor: pointer;
	color: #1657a8;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.tabs-wrap .tabs-controls-list li.active {
	background-color: #f6f9fc;
}

.tabs-wrap .tab {
	padding: 50px;
	float: left;
	width: 100%;
	background-color: #f6f9fc;
	display: none;
	margin: 0 0 20px 0;
}

.tabs-wrap .tab.show {
	display: block;
}

/*
.tabs-wrap .tab img {
	max-width: 100%;
}*/

.tabs-wrap .tab h4 {
	font-weight: 100;
	font-size: 24px;
}

.tabs-wrap .tab p {
	font-weight: 100;
}

/* ROUND UP */

#checkout-roundup {
	background-color: #FBEDDC!important;
	border: 1px solid #F7A42E;	
}

#checkout-roundup .round-up-label {
	display: grid;
	grid-template-columns: 40px auto;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
}

#checkout-roundup .round-up-label span {
	margin: 0;
	display: grid;
	align-items: center
}

#checkout-roundup h3 {
	 color: #CB2327!important;
	 margin: 0 0 5px 0!important;
}

#checkout-roundup img {
	display: block;
	width: 100px;
	margin: 10px 0 0 -10px;
}

/* ROUND UP UPGRADES */
.round-up-upgrades {
	text-align: left;
}
.round-up-upgrades .round-up-upgrade input {
	display: none;
}

.round-up-upgrades .round-up-upgrade {
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 10px 15px 10px 5px;
	overflow: hidden;
	border-radius: 50px;
	background-color: #fff;
	border: 1px solid #ccc;
}

@media (max-width: 520px) {
	
	.round-up-upgrades .round-up-upgrade {
		margin:5px 2px;
	}
}

.round-up-upgrades .round-up-upgrade label {
	display: grid;
	padding: 0;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	line-height: 44px;
	font-size: 14px;
	text-align: center;
	font-weight: 200;
	cursor: pointer;
	color: #333;
	margin: 2px;
	border-radius: 60px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: .5s;
}

.round-up-upgrades .round-up-upgrade input:checked ~ label {
	background-color: #CB2327;
	color: #fff;
	font-weight: bold;
}

/* BRAINTREE */

.payment-box-wrap {
	float: left;
	margin: 0 0 20px 0;
}

.bt-inputs {
	float: left;
	width: 100%;
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 4px;
	font-size: 14px;
	line-height: 16px;
	position: relative;
}

.bt-inputs.small {
	width: 18%;
	width: calc(20% - 5px);
	margin:0 5px 0 0;
}

.bt-inputs.large {
	width: 58%;
	margin:0 5px 0 0;
	width: calc(60% - 5px);
}

.bt-inputs label {
	position: absolute;
	left: 4px;
	top: 2px;
	width: 100%;
	font-size: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bt-inputs .bt-container {	
	height: 40px!important;
	padding: 16px 4px 4px 4px;
}

.bt-inputs .bt-container.empty {
	border: 1px solid #f20;
}

.braintree-inputs .bt-container.braintree-hosted-fields-focused {
  border-color: #777;
}

.braintree-inputs .bt-container.braintree-hosted-fields-invalid {
  border-color: tomato;
}

.braintree-inputs .bt-container.braintree-hosted-fields-valid {
  border-color: limegreen;
}

@media (max-width: 767px) {
	.bt-inputs.large {
		width: 98%;
		margin:0 5px 5px 0;
		width: calc(100% - 5px);
	}
	.bt-inputs.small {
		width: 33%;
		width: calc(33% - 5px);
	}
}

/* QUOTES */

#quotes {
	padding: 100px 0;
}

#quotes .checkout-wrap {
	text-align: center;
}

#quotes .checkout-wrap .button {
	width: 300px;
	float: left;
	margin: 10px 0 0 0;
}

#quotes .checkout-wrap textarea.dynamics {
	margin:  0 0 20px 0;
	padding: 5px;
}

div#checkout-login.tab.show form.login-form a.blue-link {
	font-size: 12px;
	margin: 20px 0 0 0;
	float: left;
}

#quotes .tabs-wrap .tab h4 {
	text-align: center;
	margin: 0 0 10px;
}
#quotes .tabs-wrap .tab p {
	margin-bottom: 30px;
}

#quotes .checkout-wrap #shipping-address-wrap {
	margin: 0 0 20px 0;
}
#quotes .iw  {
	max-width: 800px;
}

#quotes p {
	text-align: center;
	margin: 0 auto 10px auto;
	font-size: 14px;
}
.quote-items {	
	padding: 50px 0;
	margin: 0 auto;
}

.quote-item {
	display: grid;
	width: 100%;
	grid-template-columns:80px auto 100px 120px 100px 50px;
	grid-column-gap: 10px;
	grid-row-gap: 0px;
	padding: 10px 0;
}

.quote-item img {
	width: 90%;
	height: auto;
}

.quote-item > * {
	display: grid;
	height: 100%;
	align-items: center;
}

.quote-item h3 {
	font-size: 16px;
	font-weight: 100;
}

.quote-item .amount-wrap {
	display: grid;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

.quote-item button {
	border: none;
	-webkit-appearance: none;
	background-color: transparent;
	font-size: 18px;
	color: #ED1C23;
	padding: 10px;
}
.quote-item button i {
	cursor: pointer;
}

.quote-item .amount-wrap .amount {
	width: 116px;
	height: 42px;
}

.quote-item.quote-item-header {
	padding: 20px 0;
	border-bottom: 1px solid #E7E9EE;
	margin: 0 0 20px 0;
}

.quote-item.quote-item-footer {
	padding: 30px 0;
	border-top: 1px solid #E7E9EE;
	border-bottom: 1px solid #E7E9EE;
	margin: 20px 0 0 0;
}

.quote-item.quote-item-footer  span {
	font-size: 18px;
	font-weight: bold;
}

.quote-item span {
	color: #0047A5;
	text-align: center;
}
.quote-item.quote-item-header span,
.quote-item > div {
	text-align: center;
}

.quote-item.quote-item-header h5:first-child {
	text-align: left;
}
#quotes h3 {
	text-align: center;
	margin: 0 0 20px 0;
}

#quotes .col-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 0px;
	padding: 20px 0;
	line-height: 22px;
}

#quotes .col-3 strong {
	width: 100%;
	display: block;
}

@media (max-width: 767px) {
	
	.quote-item.quote-item-header  {
		display: none;
	}
	 
	.quote-item {
	
		display: block;
		
		
	}	
	
	.quote-item img {
		margin: auto;
		max-width: 70%;
	}
	
	.quote-item h3 {
		width: 100%;
		text-align: center;
		margin: 0 0 10px 0;
	}
	.quote-item {
		border-top: 1px solid #E7E9EE;
		padding: 40px 0;
		text-align: center;
	}
	.quote-item .amount-wrap {
		width: 120px;
		display: inline-block;
		float: none;
		
	}
	
	.quote-item span {
		display: inline-block;
		width: 100%;
	}
	
	#quotes .quote-item span.quote-subtotal,
	#quotes .quote-item span.quote-price {
		font-size: 24px;
		margin: 10px 0;
	}
	
	#quotes .quote-item span.quote-subtotal {
		width: auto;
		margin: 0;
		vertical-align: top;
		height: 42px;
		line-height: 42px;
	}
	
	#quotes .quote-item span.quote-subtotal:before {
		content: "= ";
	}
	.quote-item.quote-item-footer {
			display: block;
	}
	
	div#quotes.ow.no-filter div.iw div.quote-items-wrap div.quote-items div.quote-item {
		position: relative;
	}
	
	div#quotes.ow.no-filter div.iw div.quote-items-wrap div.quote-items div.quote-item div.quote-remove button {
		position: absolute;
		top: 20px;
		right: 20px;
		background-color: #ED1D25;
		color: #fff;
		border-radius: 4px;
	}
	
	div#quotes.ow.no-filter div.iw div.quote-items-wrap div.quote-items div.quote-item div.quote-remove form.smart-form {
		
	}
	
	div#quotes.ow.no-filter div.iw div.quote-items-wrap div.quote-items div.quote-item.quote-item-footer span {
		font-size: 34px;
	}
	
	#quotes .col-3 {
		display: block;
	}
	#quotes .col-3 > p {
		margin:  0 0 30px 0;
	}
	
}



#checkout-0 .checkout-main-wrap .closure-notice-box {
	display: block;
	width: 100%;
	margin: 10px 0 25px 0;
	text-align: center;
	padding: 10px;
	font-weight: 600 !important;
	box-sizing: border-box;
	background: red;
	color: #fff;
	font-size: 14px;
}
#checkout-0 .checkout-main-wrap .closure-notice-box u {
	color: inherit;
}

@media (max-width: 767px) {
	#checkout-0 .checkout-main-wrap .closure-notice-box {
		font-size: 12px;
		padding: 10px;
	}
}



/* CYBERSOURCE */
.saved-payments {
	width: 100%;
	clear: both;
}

.saved-payments .saved-payment {	
	height: 100px;
	width: 200px;	
	grid-template-rows: 16px 50px 20px;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	background-color: #f9f9f9;
	padding: 5px 10px;
	display: grid;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid #ccc;
	float: left;
	margin: 0 0 10px 0;
}

.saved-payments .saved-payment p {
	margin: 0;
	padding: 0;
}

/* POPUP */

.saved-payment-warning {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	z-index: 99;
}

.saved-payment-warning:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #fff;
	opacity: 0.9;
}

.saved-payments .saved-payment-warning > div{
	margin: auto;
	padding: 10px 40px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #c1c1c1;
	z-index: 1;
}

.saved-payments .saved-payment-warning > div > div{
	display: inline-block;
	float: none;
	width: auto;
	vertical-align: top;
}
.saved-payments .saved-payment-warning > div p {
	/*width: 100%;*/
}

.saved-payments > .button {
	clear: both;
	float: left;
	margin: 0 0 50px 0;
}

.show-delete-saved-payment .saved-payment-warning {
	display: grid;
}

/* BRAINTREE */
.bt-container {
	border-radius: 4px;
	padding-left: 8px!important;
}

.bt-inputs label {
	font-size: 14px;
	top: 13px;
	left: 8px;
	transition: .2s;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}

.bt-inputs.legacy-bt label,
.bt-container.flex-microform-invalid ~ label,
.bt-container.flex-microform-focused ~ label,
.bt-container.flex-microform-valid ~ label {
	font-size: 12px!important;
	top: 5px;
}

.bt-container iframe {
	font-size: 24px!important;
}

.bt-container.flex-microform-focused,
.bt-container.flex-microform-invalid {
	background-color: #FBFEC6;
}

.bt-container.flex-microform-focused,
.bt-container.flex-microform-invalid {
	background-color: #FBFEC6;
}

.bt-container.flex-microform-valid {
	background-color: #EAFEEB!important;
}

/* CYBERSOURCE */
.cybersource-exp,
.cybersource-card-numbers {
	width: 100%;
	clear: both;
	display: grid;
	grid-template-columns: 60% 20% 20%;
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

.cybersource-exp {
	grid-template-columns: 200px 200px auto;
}

@media (max-width: 450px) {

	.cybersource-exp,
	.cybersource-card-numbers {
		width: 100%;
		clear: both;
		display: grid;
		grid-template-columns: auto;
		grid-column-gap: 10px;
		grid-row-gap: 10px;
		margin: 0 0 10px 0;
	}
	
	.cybersource-exp {
		grid-template-columns: auto;
	}


}

form#checkout_form .fullscreen  {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	display: grid;
}
form#checkout_form .fullscreen > div {
	margin: auto;
	background-color: #fff;
	padding: 10px;
	font-size: 14px;
}

form#checkout_form.smart-form.val div.fullscreen div h3,
form#checkout_form.smart-form.val div.fullscreen div h4 {
	font-weight: 300;	
	margin: 0 0 10px 0;
}

form#checkout_form.smart-form.val div.fullscreen div div.dynamic-check-wrap label span {
	text-decoration: underline;
}

form#checkout_form.smart-form.val div.fullscreen div div.dynamic-check-wrap div {
	display: none;
}

form#checkout_form.smart-form.val div.fullscreen div div.dynamic-check-wrap,
form#checkout_form.smart-form.val div.fullscreen div div.dynamic-label-wrap {
	width: 150px;
	display: inline-block;
	vertical-align: top;
	margin: 0 0 10px 0;
}

form#checkout_form .fullscreen:before {
	content: 'x';
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	opacity: 0.9;
	background-color: #333;
}
.user-menu-checkout{
	background-color: #f20;
	position: absolute;
	width: 300px;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0px 3px 5px #444;
	z-index: 99;
	background-image: url('/images/jrtoyco/patterns/whitebackground-planets.png');
	display: none;
}

.user-menu-checkout h4{
	display: none;
}

.open-user-menu-checkout .user-menu-checkout {
	display: block;
}

.user-menu-checkout:before{
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #f1f1f1;
	border-top: 12px solid transparent;
	content: "";
	position: absolute;
	top: -23px;
	right: 250px;
}

.user-menu-checkout:after {
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #fff;
	border-top: 12px solid transparent;
	content: "";
	position: absolute;
	top: -22px;
	right: 250px;
}

.user-menu-checkout i {
	position: absolute;
	top: 5px;
	right: 5px;
	color: #663091;
	cursor: pointer;
}
.user-menu-checkout span {
	width: 100%;
	float: left;
}
.user-menu-checkout a.blue-link {
	font-size: 14px;
	margin: 10px 0 20px 0!important;
}

/* FIN */
