/* ========================================
   CART TITLE
======================================== */

#w1000336_txtShoppingCartTitle {
    background-color: #eaeaea;
    border: none;
    border-radius: 2px;
    margin-left: 10px;
}

#w1000336_lblShoppingCartTitle {
    font-size: 0;
}

#w1000336_lblShoppingCartTitle::after {
    content: "Name Your Cart:";
    font-size: 12px;
    font-weight: bold;
}


.CartHeader {
  border-bottom: 2px solid var(--Gray);
  padding: 10px;
}


#w1000336_pnlShoppingCartTitle {
  margin: 25px 0;
}


/* ========================================
   CART BODY / LAYOUT
======================================== */

#w1000336_pnlCartContents {
  border: 2px solid var(--Gray);
  padding: 15px;
  border-radius: 2px;
}



.Cart-Totals-Container {

    padding: 20px;
    background-color: var(--Gray);
    border-radius: 3px;
}

#w1000336_pnlFooter {
    display: none;
}


.Cart-Container {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  
  position: relative;
}
.Totals-Container {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  
}







/* ========================================
   CART ITEMS
======================================== */

.cartItemGroup {
    border-bottom: solid 2px var(--Gray);
    padding: 40px 10px;
    position: relative;
    width: 100%;
}

a.CartItemName {
    width: 100%;
    font-size: 25px;
    font-weight: bold;
}

a.ProductSKULabel {
    width: 100%;
    margin: 12px 0 30px;
}


.cartItemProperties.cartItemSubsection.thumbnailOffset .SectionHeader {
    display:none;
}

.cartItemGroup:last-child {
border: unset;
}

/* ========================================
   CART HEADER
======================================== */

.CartHeader > span.cartItemThumb,
.CartHeader > span.ProductInfo {
    visibility: hidden;
}

.itemDeleteRight .CartHeader > :last-child {
    margin: unset;
}


/* ========================================
   PRODUCT THUMBNAIL
======================================== */

span.cartItemThumb {
    flex-basis: 25%;
}

span.cartItemThumb img {
    width: 100%;
    max-width: 150px;
    max-height: none;
    display: inline-block;
}

.cartLineButton.detailItem img {
    width: 60px;
    display: inline-block;
}


/* ========================================
   QUANTITY
======================================== */

span.ItemQty input.formField {
    background-color: var(--Gray);
    border: none;
    border-radius: 2px;
}


/* ========================================
   CART BUTTONS
======================================== */
.Open-Carts-Button {
  background-color: white;
  border: solid 1.5px var(--Almost-Black);
  border-radius: 3px;
  padding: 7px 20px;
display: block;
    width: fit-content;
  position: absolute;
  right: 0;
  top: 20px;
}


.cartLineButton.updateItem {
    flex-basis: unset !important;
}

.cartLineButton.updateItem input {
    width: 25px;
    margin-left: 15px;
}

.cartLineButton.deleteItem {
    position: absolute;
    bottom: 50px;
    height: 30px;
    padding: 0 20px;
    border-radius: 2px;
    left: 0%;
}

.cartLineButton.deleteItem input {
    height: 30px;
    border-radius: 2px;
    background-color: var(--Almost-Black);
}

.cartLineButton.updateItem {
    display: none;
}



/* ========================================
   PRODUCT PROPERTIES
======================================== */

.cartItemProperties.cartItemSubsection.thumbnailOffset {
    max-width: 300px;
    padding: 0;
}

.MatrixPropertiesDisplay > tbody > tr > td {
    padding-right: 10px;
}

.MatrixPropertiesDisplay td:nth-child(2n) {
    text-align: left;
}

.ProductInfo {
  margin-bottom: 30px;
}

/* ========================================
   PRICES / TOTALS
======================================== */

.cartTotals .totalsRow {
    display: flex;
    float: right;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

.cartTotals .numeric {
    margin-left: 15px;
}

.ItemTotal span.ItemTotal::before {
    content: '$';
}

.CartHeader .ItemUnitPrice::before {
  content: 'Unit ';
}

/* ORDER TOTAL */

.cartTotals .totalsRow.CartTotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 30px 0 0;
    text-transform: uppercase;
}

.cartTotals .totalsRow.CartTotal .FormLabel,
.cartTotals .totalsRow.CartTotal .numeric {
    flex-basis: auto;
    width: auto;
    text-align: right;
}

.FormLabel.CartTotalLabel {
    font-size: 16pt;
}

.numeric.CartTotal {
    font-size: 16pt;
    line-height: 30pt;
    font-weight: bold;
}


/* ========================================
   OTHER CART ELEMENTS
======================================== */

.PanelHeader.splitHeader {
    margin: 0 0 52px;
}

/*
#w1000336_pnlCartContents {
  max-height: 800px;
  overflow: auto;
  padding: 10px;
  border: 2px #eaeaea solid;
  border-radius: 3px;
}


/* ========================================
   MEDIA QUERIES
======================================== */

@media screen and (min-width: 650px) {


    
    .cartLineButton.deleteItem{
        left: unset;
        right:-7px;
        
        bottom: 25px;
    }
    
    .ProductInfo {
  margin-bottom: unset;
}

}


@media screen and (min-width: 850px) {

.Cart-Container {
  width: calc(65% - 26px);
  margin: 0 25px 0 0;
}
.Totals-Container {
width: 34%;
  margin: 56px 0 0 0;

}
  
}

@media screen and (min-width: 1550px) {

.Cart-Container {
  width: calc(100% - 330px);
  margin: 0 25px 0 0;
}
.Totals-Container {
width: 300px;

}
  
}


    
