.shopping-cart > .fa {
	color: white;
	float: right;
	font-size: 2rem;
	height: 2rem;
	margin-left: 0.3rem;
	overflow: hidden;
	padding-left: 2rem;
	position: relative;
	transition: 0.7s all;
	width: 2rem;
}
.shopping-cart > .fa {
	color: #6c3f97;
	margin-top: 0.1rem;
}
.shopping-cart > .fa.fa-shopping-cart {
	cursor: pointer;
	display: none;
	font-size: 1.6rem;
	margin-top: 0.3rem;
	margin-right: 1.5rem;
	transition: none;
}
.shopping-cart > .fa.fa-shopping-cart {
	position: absolute;
	right: 4rem;
	margin-top: 1.5rem;
    z-index: 10;
}
.shopping-cart > .fa::before {
	position: absolute;
	left: 0;
}
.shopping-cart > .fa-shopping-cart.active, main.with-active-cart .shopping-cart > .fa-shopping-cart {
	display: inline-block;
}
.shopping-cart > .fa-shopping-cart.active::after, main.with-active-cart .shopping-cart > .fa-shopping-cart::after {
	background-color: red;
	border-radius: 50%;
	color: white;
	content: attr(data-items);
	font-size: 0.6rem;
	height: 1rem;
	left: 0;
	line-height: 1rem;
	margin-left: 1rem;
	position: absolute;
	text-align: center;
	top: 0;
	z-index: 1000;
	width: 1rem;
}
.shopping-cart > .fa-shopping-cart.has-alert.active::after, main.with-active-cart .shopping-cart > .fa-shopping-cart.has-alert::after {
	display: none;
}

span.cart-preview {
    display: flex;
    width: 49%;
    float: left;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    justify-content: center;
    align-items: normal;
    padding: 0.5rem;
}

td.thumbnail span.cart-preview {
    width: 100%;
}

img.cart-preview-lg {
    max-height: 600px;
    max-width: 600px;
    overflow: hidden;
}

img.cart-preview-sm {
    max-height: 80px;
    max-width: 80px;
    overflow: hidden;
}

.note {
	font-size: 1rem;
	display: block;
	border: 1px solid lightgrey;
	padding: 0.5rem 1rem;
	line-height: normal;
	position: relative;
	color: #555;
}

.note sup {
	position: absolute;
	top: 1.2rem;
	left: 0.4rem;
}

.item-details {
	width: 48%;
	float: right;
}

table.cart-items {
	border-collapse: collapse;
	width: 100%;
}

td.thumbnail {
	padding: 1rem 0;
	width: 100px;
	text-align: left;
}

td.lineprice {
	text-align: right;
}
.line-item .fa::before {
	position: absolute;
	background-color: white;
	padding: 0 0.4rem 0 0;
}
.line-item .fa{
	cursor: pointer;
	font-size: 1rem;
	display: inline-block;
	width: 1rem;
	overflow: hidden;
	margin: 0 0.4rem 0 -0.2rem;
	white-space: nowrap;
}
tr.line-item.inactive {
	border: 1px solid gray;
	background: #f8f8f8;
	color: #ccc;
	position: relative;
}
tr.line-item.inactive > td.thumbnail {
	opacity: 0.5;
	padding-left: 0.5rem;
}
tr.line-item.inactive > td.stocknumber::before {
	content: "This item is no longer available";
	text-decoration: none;
	position: absolute;
	background-color: white;
	opacity: 1;
	border: 1px solid;
	padding: 0.5rem;
	text-align: center;
	top: calc(50% - 20px);
	width: 300px;
	left: calc(50% - 150px);
	display: inline-block;
	color: black;
	z-index: 100;
}
.line-item.inactive .fa.fa-times {
	font-size: 2rem;
	position: absolute;
	right: 0;
	width: 1.5rem;
	top: 0;
	color: #aaa;
}
.line-item.inactive .fa.fa-times::before {
	background-color: #f8f8f8;
}
.cart-items .subtotal td, .cart-items .shipping td, .cart-items .salestax td, .cart-items .total td {
	font-size: 1rem;
	padding: 0.5rem 0;
}
.cart-items .subtotal td{
	padding-top: 1.5rem;
}
.cart-items .subtotal td.lineprice, .cart-items .shipping td.lineprice, .cart-items .salestax td.lineprice, .cart-items .total td.lineprice {
	font-size: 1.3rem;
}
.cart-items h5 {
	color: inherit;
	font-weight: 600;
	display: inline;
	font-size: 1.3rem;
	padding-right: 0.5rem;
}
.cart-items tr.total > td {
	border-top: 1px solid;
}
.cart-items tr.total > td.lineprice{
	font-weight: 600;
}
ul.note {
	margin-top: 2rem;
}
ul.note li {
	font-size: 1.1rem;
	margin: 0.4rem 0.4rem 0.4rem 1.4rem;
}
.address-form h4 {
	padding-bottom: 0.5rem;
	
}
.address-form > p {
	margin-bottom: 1rem;
}

select#item_Quantity.form-select {
	display: inline-block;
	width: auto;
}

#contact-form .addeditform label {
	font-size: 1.2rem;
	line-height: 1.5rem;
}

#contact-form .addeditform label.quantity {
	display: inline-block;
}
#contact-form label.state {
	float: left;
	width: 6rem;
}
#contact-form label.postal {
	float: right;
	width: calc(100% - 7rem);
}
input[name="addr_Line2"] {
	margin-top: 0.8rem;
}
.centered {
	text-align: center;
}
.centered::before{
	clear: both;
	content: " ";
	display: block;
}
h4.shipping{
	margin: 1rem 0;
}
button#validate-address {
	margin-top: 1rem;
}
.validated-address output.city::after {
	content: ",";
}
.validated-address output {
	display: inline-block;
	padding-right: 0.5rem;
}
.validated-address output.street {
	display: block;
}
.validation-buttons {
	margin-top: 2rem;
}

.validated-address .note {
	margin-top: 1.5rem;
}
i#shoppingCartWarning {
	cursor: pointer;
	display: none;
	position: absolute;
	font-size: 1rem;
	margin-top: 1.5rem;
	right: 10.5rem;
}
i#shoppingCartWarning::after {
	color: white;
	content: "!";
	font-size: 0.65rem;
	display: inline-block;
	position: absolute;
	top: 0.2rem;
	left: 0.4rem;
	background-color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important;
}
i#shoppingCartWarning.active {
	display: inline;
}
.related-item-div {
    clear: both;
    padding-top: 2rem;
}

i#close-related-view {
    position: absolute;
    width: 1.4rem;
    overflow: hidden;
    font-size: 2rem;
    top: calc(50% - 1rem);
    right: 1rem;
    cursor: pointer;
}

@media (max-width: 990px) {
	span.cart-preview {
	    width: 100%;
	}
	.item-details {
        float: none;
        width: 100%;
	}
}

@media (max-width: 890px ) {
	.shopping-cart .fa.fa-shopping-cart{
	    right: 2rem;
	}
	i#shoppingCartWarning{
	    right: 2.5rem;
	}
    .shopping-cart > .fa {
        color: #6c3f97;
        margin-top: 0.1rem;
    }
}