.cart:not([order-type]) [order-type]:not(.force-show) {display: none !important;}
.cart[order-type=""] [order-type]:not(.force-show) {display: none !important;}
.cart[order-type=order] [order-type]:not([order-type=order]):not(.force-show) {display: none !important;}
.cart[order-type=quote] [order-type]:not([order-type=quote]):not(.force-show) {display: none !important;}
.cart[order-type=purchase] [order-type]:not([order-type=purchase]):not(.force-show) {display: none !important;}
.cart[order-type=proforma] [order-type]:not([order-type~=proforma]):not(.force-show) {display: none !important;}
.cart[order-type="stock movement"] [order-type]:not([order-type="stock movement"]):not(.force-show) {display: none !important;}

.cart:not([delivery-option]) [delivery-option]:not(.force-show) {display: none !important;}
.cart[delivery-option=collection] [delivery-option]:not([delivery-option=collection]):not(.force-show) {display: none !important;}
.cart[delivery-option=collection] [not-delivery-option=collection]:not(.force-show) {display: none !important;}
.cart:not([delivery-option=collection]) [delivery-option=collection]:not(.force-show) {display: none !important;}


#cartModal h2 {
  display: inline-block;
  margin: unset;
  color: rgb(0, 60, 86);
}

#cartModal .reference-div, #cartModal .despatch-div, #cartModal .supplier-div, #cartModal .currency-div  {
  float: right;
  clear: right;
}
#cartModal .reference-div {margin-top: 32px;}
#cartModal .despatch-div {margin-top:20px;}
#cartModal .supplier-div {margin-top:20px; margin-bottom:45px; padding-left: 4px; padding-right:4px;}
#cartModal .currency-div {margin-top:20px;}

#cartModal .reference-div [order-field=reference] {
  border: 0px;
  border-bottom: 2px solid #777;
  color: #636363;
  width: 162px;
}

#cartModal .despatch-div select, #cartModal .currency-div select  {
  border: 0px;
  border-bottom: 2px solid #777;
  text-align: right;
  background-color: #fff;
  color: #636363;
  width:170px;
}


.cart .cart-warning {color:red; font-size:1.2em; font-weight: bold}

.cart .encourage-login {color:red; font-size:0.8em;}

.deliveryAddress{
  padding-bottom: 1em;
}
.deliveryAddress .addressHeader{
  font-weight: bold;
}

.cart .empty-cart-message {
  height: 66px;
  font-style: italic;
  line-height: 66px;
}

.cart .item-wrapper {
  border-bottom: 2px dotted #aaa;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.cart .wrapper-1 {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  margin-top: 5px;
  align-items: center;
}
.cart .wrapper-2 {
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.cart .wrapper-2>div{display:inline-block;}
.cart .prodCode {width:105px;flex-shrink:0;}
.cart .prodTitle{flex-grow: 1;}
.cart .quantity-title {width:124px; text-align:center;flex-shrink:0;}
.cart .prodPrice {width:100px; text-align:right;flex-shrink:0;font-size:0.7em; opacity:0.7}
.cart .admin-price-input {width: 80%}
.cart .total {width:100px;text-align:right;flex-shrink:0; font-weight:bold;}
.cart .priceContainer {width:120px; padding-right:20px;}
span.each {display:inline-block;}

#total-flex {width:100%; margin:40px 0 40px 0;}
#total-flex .wrapper-total {display:flex;}
#total-flex .wrapper-total .left {flex-grow:1;text-align:left;display:flex;flex-direction:column; padding-left:50%}
#total-flex .wrapper-total.vat-line .left {display:block;}
#total-flex .wrapper-total .right {width:140px;text-align:right;}
/*#total-flex .deliveryOptions.left p{margin-block-start:10px;margin-block-end:10px;}*/

.cart #titles {margin-top:20px;}

.wrapper-total {font-size:1.2em;}

table.cart-table {width:100%;border-spacing:10px; border-collapse: collapse}
table.cart-table tr td:first-child {width:600px;}
/*table.cart-table tr td:nth-child(2) {width:50px;}*/
table.cart-table tr td:nth-child(2) {width:100px;text-align: right;}
/*table.cart-table tr td:nth-child(4) {width:50px;}*/

div.cart-table .image img {width:50px; height:50px; border: 1px solid #eea; margin: 2px 4px 3px 6px;}

.cart-buttons {text-align:right; display:inline-block; width:100%}
.cart-btn {font-weight: bold; padding: 10px 20px; margin: 20px; width:120px; text-align:center; border:0px solid #003c56;cursor:pointer; display: inline-block; border-radius: 24px;}
.greenbtn {background-color: #95c11f; color: #003c56;  border-radius: 24px; padding: 10px 20px}
.whitebtn {background-color: #ddd; color: #003c56; border-radius: 24px; padding: 10px 20px}
.greenbtn:hover, .savebtn:hover, .whitebtn:hover, .viewCart:hover{cursor:pointer;transform: scale(1.03, 1.03);}

/*.greenbtn a {color:white;}*/
.whitebtn a {color: #c23909;}
.prodQty input {width: 40px; text-align: center; border:1px solid #3D291F; border-radius: 3px;color: #3D291F; padding:5px; margin:4px;}
.prodQtyModify {width:32px; height:32px; color:#fff; font-weight:bold;text-align:center}
.prodPrice {text-align:right;}

.catEdit {background-color:rgba(255,0,0,0.5); border-color:red}



.inputCallout {position:relative;}
div.addressTable input, div.addressTable select {font-size:1.15em; border:0px; border-bottom:2px solid #777; padding:4px;}

input.quick-add {font-size: 1em;  border: 0px; padding: 4px; margin-left:60px; margin-top:15px;  border-bottom: 2px dotted #aaa;}
select.delivery-select {font-size:1em;  border:0px; padding:4px;}


select[order-field] {border:0px; padding:4px; background-color:#fff;}
.addressArea {}

.modal-header {position:relative}

.cart .set-vat {
  font-weight: bold;
  cursor: pointer
}

.cart #show-shipping-country {
  margin-left: 10pt;
}

.cart .close-cart {
  position:absolute;
  right:-10px;
  top:-10px;
  cursor: pointer;
  width:32px;
  height:32px;
}

.cart .clear-cart {
  position:absolute;
  right:30px;
  top:-10px;
  cursor: pointer;
  width:32px;
  height:32px;
  opacity:0.7;
}

.cart .purchase-order-cart {
  position:absolute;
  right:70px;
  top:-10px;
  cursor: pointer;
  width:32px;
  height:32px;
  opacity:0.7;
}

.cart .admin-delivery {
  margin: 9pt 0;
}
.cart .admin-delivery .show-admin-delivery-options {
  cursor: pointer;
}
.cart .delivery-option-message {
  padding:5px;
  margin:5px 0;
  border-radius: 2px;
  float:right;
  text-align:left;
  font-size:0.8em;
}

.cart .delivery-option-message input {
  margin-right: 3pt;
}

.cart .delivery-option-message .dedicated-message {
  color:white;
  padding:5px;
  border-radius:4px;
  background-color:#c23909;
  display:inline-block;
}

.cart .dedicated-message.dedicated-invalid {
  background-color:#067474;
  margin:5px 0;
}

.cart .quick-edit-message {
  padding: 3pt;
  font-style: italic;
}

.cart .product-suggestions ul {list-style-type: none;padding:0px; margin:0px;font-size:12px}
.cart .product-suggestions ul li{padding:10px 5px; margin:5px; background-color:rgb(149, 193, 31); color: #003c56; cursor: pointer;}

.cart .invalid-field {box-shadow: 0 0 2px 2px #f99}

.cart .delivery-line {margin-top:20px; font-size:0.85em;}
.cart .delivery-line select {border-bottom: 2px solid #777; color : #636363}
.cart .vat-line {font-size:0.85em;}
.cart .vat-included-message {font-style: italic; font-size: 0.9em;}
.cart .total-line { margin-top:15px; color:#003c56; font-size:1.2em;}

div.delivery-instructions {background-color:#ddd; font-size:0.7em; width:50%; padding:15px;margin-bottom:30px;}
div.delivery-instructions input{background-color:transparent; border:0px; border-bottom: 2px solid #777; width:90%}

p.billing-address-check {font-size:0.8em;}
div.addressTable {padding:20px;}

/* Purchase Order CSS */

body.purchase-order [notPurchaseOrder] {display: none !important;}
body:not(.purchase-order) [purchaseOrder] {display:none !important;}
body.purchase-order #cartModal {background: #c7da95}

body.stock-movement [notStockMovement] {display: none !important;}
body:not(.stock-movement) [stockMovement] {display:none !important;}
body.stock-movement #cartModal {background: #c9d9e8}


.cart[order-type=purchase] div.flex-row-fill {margin-top:140px;}
.cart[order-type="stock movement"] div.flex-row-fill {margin-top:70px;}
.cart div.clear-supplier {float: right;}
.cart div.supplierNotes {width: 100%;}
.cart input.admin-delivery-price-input {width:80%;}
.supplier-div .supplierName {display: inline-block; padding-left: 5px; width: 142px;}
.supplier-div .supplierEdit {display: inline-block; float: right}

#cartModal  select.previousPrices {width: 130px; padding-left: 5px; padding-right: 5px;}

div.earlyBird.isEarlyBird {background-color: #2c5269}
div.earlyBird {background-color: #692c2c; color: white; position:absolute; width:40%; padding:20px; border-radius: 3px}
div.earlyBirdHeader {font-weight: bold;font-size: 22px;}
div.earlyBirdMessage {margin-top:5px;font-size: 14px;white-space: pre-line;}
div.earlyBirdIcon {background-color: #fff;background:url(/icon/early-bird.svg) 0px 5px no-repeat; background-size: 80px; width:85px; height:55px; float:left; margin-right: 5px;margin-left: 5px;}
.flex-container {display: flex; width:100%;}
.flex-child {flex: 1}
.flex-child input {width:110px;}


div.palletWarning {background-color: #692c2c; color: white; position:absolute; width:40%; padding:20px; border-radius: 3px}
div.palletWarningHeader {font-weight: bold;font-size: 22px;}
div.palletWarningMessage {margin-top:5px;font-size: 14px;}
