/*----- Card Styling -----*/
.card { margin-bottom: 20px; }
.card .card-heading {display: flex; justify-content: space-between; padding: 5px 2%;}
.card .card-heading > * { margin: 0; line-height: 30px; }
.card .card-heading .card-tool-options > * { color: #212529; float: right; }

#loading {
    display:none;
    position: fixed;
    z-index: 99;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .5;
    background: rgb(255,255,255) url('/images/celloader.gif') CENTER CENTER no-repeat;
}


/* CHECKOUT */
.card-tool-options a i { display: none; line-height: 30px;}
.card-tool-options a[aria-expanded="true"] i.up { display: block; }
.card-tool-options a[aria-expanded="false"] i.down { display: block; }
.card-footer .selected { font-size: .75rem; font-weight: normal; text-transform: uppercase; padding-right: 1%;}

.block-form{
    border: 1px solid #ececec;
    padding: 10px;
    margin-bottom: 30px;
}
.block-form p{
    margin-bottom: 30px;

}
.shipAddressHolder { padding: 5px 5%; font-size: 14px; margin: 0 0 10px; border-bottom: 1px solid rgba(0,0,0,.125); }
.shipAddressHolder:last-of-type { border-bottom: none; }
.shipAddressHolder.selected { border: 2px solid #00437f; border-radius: 4px; }
.shipAddressHolder .store-icon i { font-size: 2rem; }
#shipAddressCard .ship-list-group .isMore { display:none; }
#shipAddressCard .ship-list-group.show .isMore { display:block; }
#shipAddressCard .ship-list-group .selected { background: rgba(0, 67, 127,.25); }

.hasGun .shipAddressHolder:not(.isFFL) { display:none; }
.shippingHolder:not(.hasGun) .isFFL { display:none; }

.fflSearchHolder { position: relative; margin: 10px 0 0; }
.fflSearchHolder button { position: absolute; right: 2%; top: 0; }

#checkoutMessage { margin-bottom: 0; }

#checkoutLeft { padding-top: 25px; }

.checkoutItem { cursor: pointer; }
.checkoutItem span {display: inline-block; width: 100%;}
.checkoutItem > span {display: flex; flex-direction: column; justify-content: center; align-items: center; }
.checkoutItem .checkoutItemImage img { border-radius: 4px; max-height: 100%; max-width:100%;} 
.checkoutItem .qtyIcon { position: absolute; color: #fff; background: #00437f; text-align: center; width: 30px; height: 30px; line-height: 30px; border-radius: 15px; top: 3px; right: 3px; font-weight: bold; } 
.checkoutItem .itemBrand {font-style: italic;} 
.checkoutItem .itemName {font-weight: bold; font-size: 1.1em;} 
.checkoutItem .itemDetails {display: none;} 
.checkoutItem .checkoutQty {width: auto; margin-right: 2%; text-align: center; max-width: 100px;} 
.checkoutItem .itemPriceHolder,.checkoutItem .itemPrice,.checkoutItem .listPrice,.checkoutItem .salePrice {width: auto; margin-left: 2%;white-space: nowrap;} 
.checkoutItem .listPrice { text-decoration: line-through; color: #495057; }
.checkoutItem .checkoutItemManage {display: none; justify-content: space-between; flex-direction: row; padding: 5px 15px 10px; } 
.checkoutItem .checkoutItemManage span { flex: 0 0 0; } 
.checkoutItem.edit .checkoutItemManage {display: flex;} 
.block-form label{
    font-weight: normal;
    color: #333;
}

#checkoutRight { padding-top: 25px; border-left: 2px solid #0D6745; background: rgba(13, 103, 69,.25); }
#checkoutRight .card { border: none; background: none; }

.order-alter .form-group { position:  relative; margin: .5rem 0; }
.order-alter .form-group .btn { position:  absolute; top: 0; right: 0; }

.list-group.order-totals li { border-width: 0 0 1px; background: none; }
.list-group.order-totals li:last-of-type { border-width: 0; }
.list-group.order-totals li.amountDue { font-weight: bold; }


#PMTiframe{width: 100% !important;height: 441px !important;}
#PMTiframe body{background:#f2f2f2!important}

/*------ Login ------*/
.form-authentication-footer { margin: 20px 0 50px; padding: 20px 0; border-width: 2px 0 0; border-style: solid; border-color: #00437f;}

/*------ View Cart ------*/
.cartItems img { max-width: 100px; margin: 0 auto;}
#shoppingCartItems p { margin: 0; }
#cartSubtotal { color: #000; text-transform: uppercase; line-height: 56px; height: 56px; margin: 0; border-width: 2px 0; border-style: solid; border-color: #00437f; }
#cartSubtotal .value { float: right; font-weight: bold; margin-left: 1em;}
#cartInfo .checkout-btns { width: 100%; display: block; text-align: right; margin: 20px 0 0;}
#cartInfo .checkout-btns a {  }

.cartItems a {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.cartQty input {
	width: 50px;
	padding: 7px;
	margin-left: 1px;
}

.updated-remove {
  margin-top: 1em;
}

#cartInfo {
	float: right;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: end;
	-moz-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding-right: 0;
}

#cartSubtotal,
#payPalCheckoutButton {
	width: 100%;
	text-align: right;
	height: 47px;
	line-height: 47px;
}

.cart-autoship-options{margin-left:2%;}
.cart-autoship-options label{margin-right:3%;}
ul.checkout-autoship-options{width:100%;display:block;}
ul.checkout-autoship-options li{text-decoration: none;list-style: none;}
#shipMethodCard a.list-group-item {
    color: #000;
	background: rgba(0, 67, 127,.25);
    border: 1px solid rgba(0,0,0,.125);
}

@media (max-width: 991px){
    #checkoutRight { border-left: none; }
    #orderTotalCard:not(.show) { display: none; }
}

@media (max-width: 767px) {
	#shoppingCartItems {
		border: none;
	}
	
	#shoppingCartItems thead {
		display: none;
	}
	
	#shoppingCartItems tr {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-bottom: 1em;
		border-bottom: 1px solid #ececec;
	}
	
	.cartItems {
		width: 100%;
		border: none;
	}
	
	.cartDetails {
		width: 70%;
		border: none;
	}
	
	.cartPrice {
		display: none;
	}
	
	.cartQty {
		border: none;
		width: 30%;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: justify;
		-moz-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	
	.qty-btns {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: end;
		-moz-box-align: end;
		-webkit-align-items: flex-end;
		-ms-flex-align: end;
		align-items: flex-end;
	}
	
	.updated-remove {
		text-align: right;
	}
	
	.cartQty .mob-price-display p {
		text-align: right;
	}
	
	.cartTotal {
		display: none;
	}
	
	#cartInfo {
		padding-left: 0;
	}
	
	.checkout-btns {
		width: 100%;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	
	.checkout-btns a {
		width: 100%;
		margin-bottom: 0.5em;
	}
}
