:root {
  --evo-brand-hover-bglight:#23a7de;
  --evo-brand-secondary: #8cdb65;
}

/* Hide user's backend number on storefront */
span.id-card {
  display: none;
}

/* Hide Terms - Order Views*/
#order-top > div.col-md-3.col-md-offset-3.customer-orders-details > div.text-justify.customer-orders-terms {
  display: none;
}
#orderView #compiled-order-app .customer-orders-terms {
  display: none !important;
}
body > div.page-content > section > div.row.tab-content > div:nth-child(2) > div:nth-child(2) > div > table > tbody > tr:nth-child(3) {
  display: none;
}

i.fa.fa-caret-down.arrow-your-account {
  display: none;
}

/* Orders Page Top Notes */
body > div.page-content > section.myorders > div.row.tab-content:before {
  content: "• Please note: there may be a short delay before new orders appear in your account dashboard.\A • To begin a return, click on an invoice number below.";
  white-space: pre;
  font-size: 18px;
  font-weight: bold;
  display: block;
  color: #C20F06;
  padding: 0 15px;
}


/* Added Notes to Return Pages */
#orderView > section > div:nth-child(7):before {
  content: "Return form is only available if order is within return policy timeframe."
}
#orderView > section > div:nth-child(7):before {
  color:#C20F06
}
label[for="return_line_item"]::after {
  content: "Only returnable items are available in the item dropdown.";
  color: #C20F06;
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

/* Hides Weight and Tax Columns */
#orders-items > table > thead > tr > th.order-weight.text-right {
  display: none
}
#orders-items > table > tbody > tr > td.order-weight.text-right {
  display: none
}
#orders-items > table > thead > tr > th.order-tax.text-right {
  display: none
}
#orders-items > table > tbody >  tr > td.order-tax.text-right {
  display: none
}


/* Adds Tax Note to Orders Approval Page */
#orders-items:after {
  content: "Above totals do not include sales tax.";
  color:red;
}

/* Replaces "Total ex Tax" with just "Total" */
#orders .table > thead > tr > th.order-total {
  font-size: 0;

  &::before {
    content: "Total";
    font-size: 1rem;
  }
}

/* Hide certain reports */
#charts-container > div:nth-child(4) {
  display: none;
}
#charts-container > div:nth-child(5) {
  display: none;
}
#generate-report-form > div > div > div:nth-child(2) > select > option:nth-child(3) {
  display: none;
}
#generate-report-form > div > div > div:nth-child(2) > select > option:nth-child(4) {
  display: none;
}
#generate-report-form > div > div > div:nth-child(2) > select > option:nth-child(5) {
  display: none;
}
#generate-report-form > div > div > div:nth-child(2) > select > option:nth-child(6) {
  display: none;
}
#generate-report-form > div > div > div:nth-child(2) > select > option:nth-child(8) {
  display: none;
}

/* Hide Rollover & Next Year from Budgets */
body > div.page-content > section > div.row.tab-content > div:nth-child(3) > div > div > table > tbody > tr:nth-child(4) {
  display: none;
}
body > div.page-content > section > div.row.tab-content > div:nth-child(3) > div > div > table > tbody > tr:nth-child(5) {
  display: none;
}

/* Advanced User Only Allows Approver on Leave */
body > div.page-content > section > div.myaccount-title > div > div.col-md-8 > ul > li.active {
  display: none;
}
#approverInfo > div:nth-child(5) {
  display: none;
}
#approverInfo > div:nth-child(6) {
  display: none;
}
#approverInfo > div:nth-child(8) {
  display: none;
}
#approverInfo > div:nth-child(11) {
  display: none;
}
#aBudgets {
  display: none;
}
#aApprovers {
  display: none;
}
span.id-card {
  display: none;
}
body > div.page-content > section > div.myaccount-title > div > div.col-md-8 > ul > li:nth-child(2) {
  display: none;
}

/* This CSS targets labels within the form that has the class "contact-form" */
.contact-form .form-group label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: static !important;
  left: auto !important;
  top: auto !important;

  width: auto !important;
  height: auto !important;
  margin: 0 0 5px 0 !important;
  padding: 0 !important;

  text-indent: 0 !important;
  clip: auto !important;
  overflow: visible !important;

  color: #000; /* Change color if needed */
  font-size: 1em; /* Ensure font size is not zero */
}


/* Scrollable menu options */
ul.catalog > li.has-submenu:hover > ul.submenu {
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #ffffff;
}
ul.catalog > li.has-submenu:hover > ul.submenu > .submenucontainer {
  height: auto !important;
}

/* Style for highlighting specific menu items */
.highlight-menu-item {
  background-color: yellow !important;
  color: black !important;
}

/* Hide Parent Account in side menu  */
body > div.customertools.flyout-items-loaded.new.open > div > div.switch-account-new.small.hidden > table > tbody > tr:nth-child(3) {
  display: none;
}

/* Hide 'Call for Price' for logged out users only */
body.ex-loggedout .price-call,
body.ex-loggedout .live-pricing-fallback-option-callforprice {
  display: none !important;
}

/* Hide routes & salesperson from orders & invoices */
#order-top > div.col-md-3.col-md-offset-3.customer-orders-details > div.text-justify.customer-orders-route {
  display: none;
}
#order-top > div.col-md-3.col-md-offset-3.customer-orders-details > div.text-justify.customer-orders-salesperson {
  display: none;
}
#order-top > div.col-md-3.col-md-offset-3.customer-orders-details > div.text-justify.customer-orders-terms {
  display: none;
}
#order-top > div.col-md-3.col-md-offset-3 > div:nth-child(8) {
  display: none;
}

#invoiceView > section > div:nth-child(11) > div:nth-child(1) {
  display: none;
}

#orderView > section > div:nth-child(9) > div:nth-child(1){
  display: none;
}
#orders #orderView #compiled-order-app .customer-orders-route {
  display: none !important;
}
#orders #orderView #compiled-order-app .customer-orders-salesperson {
  display: none !important;
}
#invoiceView > section > #order-top > div.col-md-3.col-md-offset-3 > div:nth-child(8) {
  display: none
}
#invoiceView > section > #order-top > div.col-md-3.col-md-offset-3 > div:nth-child(9) {
  display: none
}
#invoiceView > section > #order-top > div.col-md-3.col-md-offset-3 > div:nth-child(10) {
  display: none
}

/* Hides "Pack Of" column in Quick Order */
#quickordergrid_901 > div > div.row-fluid.margin-div.grid-container.no-more-tables.gridcontent > table > thead > tr > th:nth-child(5) {
  display: none;
}
#quickordergrid_901 > div > div.row-fluid.margin-div.grid-container.no-more-tables.gridcontent > table > tbody > tr > td:nth-child(5) {
  display: none;
}

/*Making the approver appear at the top of the requester tile in the dashboard page */
#cdash_requester .grid-body {
  display: flex;
  flex-direction: column;
}
#cdash_requester .grid-body .table.no-more-tables {
  position: relative;
  order:-1;
}
#cdash_requester .grid-body div[style*="margin:10px"] {
  order: -2;
}
#cdash_requester .fa.fa-user {
  display: none !important;
}
#cdash_requester .grid-body .table.no-more-tables::after {
  content: "Other Details:"; 
  display: block;
  margin: 10px 0;
  font-weight: bold;
  font-size: 14px;
  color: #000; 
}

/* Styles for the "No Ink Search Results" message */
.no-ink-results-container {
  text-align: center;
  padding: 50px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-top: 20px;
}
.no-ink-results-container h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.no-ink-results-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}
.no-results-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.no-results-actions .btn {
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}
.no-results-actions .btn-primary {
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
}
.no-results-actions .btn-primary:hover {
  background-color: #0056b3;
}
.no-results-actions .btn-secondary {
  background-color: #6c757d;
  color: #fff;
  border: 1px solid #6c757d;
}
.no-results-actions .btn-secondary:hover {
  background-color: #5a6268;
}
.no-results-actions .btn-default {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ccc;
}
.no-results-actions .btn-default:hover {
  background-color: #e2e6ea;
}

/* Hides social media share button from product page */
body > div.page-content.twocolumnsright > section.zonetop > div.evo-row-section.row-align-items-stretch.overflow-visible > div > div > div > div:nth-child(2) > div > div > div.productaddtocart_container > div > div.social-links {
  display: none;
}

/* Hides top inventory message on product pages */
body > div.page-content.twocolumnsright > section.zonetop > div.evo-row-section.row-align-items-stretch.overflow-visible > div > div > div > div:nth-child(2) > div > div > div.productsummary_container > div > div > div.row.product-shopping-actions-row > div > div.live-inventory-v2-wrapper.text-center.bolder.add-to-cart > span {
  display: none;
}

/* Makes dept name black in top header bar */
body > header > div.header-switch > div > div > div > p > span > a > span {
  color: black;
}

/* Side Search Option Background to be White */
#filterswrapper > section.search-with-in.search.searchpills > div {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
}
/* Make Select2 choice area / search wrapper white (or transparent to inherit) */
#filterswrapper > section.search-with-in.search.searchpills > div
.select2-container,
#filterswrapper > section.search-with-in.search.searchpills > div
.select2-choices,
#filterswrapper > section.search-with-in.search.searchpills > div
.select2-search-field,
#filterswrapper > section.search-with-in.search.searchpills > div
.relsearch {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
}
/* Ensure the actual text input is white and has no inner shadow */
#filterswrapper > section.search-with-in.search.searchpills > div
.form-control.searchlistwithin_hd {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid transparent; /* change or remove if you want a visible border */
}
/* Focus/hover states (optional) */
#filterswrapper > section.search-with-in.search.searchpills > div
.form-control.searchlistwithin_hd:focus,
#filterswrapper > section.search-with-in.search.searchpills > div
.relsearch:hover {
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Add to Cart at Contract List Page */
.ex-contractitems div.gridtopbtns div.blockbutton {
  display: none;
}
/* Move UOM below the price */
.price {
  display: flex !important;
  flex-direction: column !important;
}
.price .uom.uomvalue.live-pricing-fallback-option-evox {
  order: 2 !important;
}
.price .has-price {
  order: 1 !important;
}

.cookiespolicies-banner {
  display: none !important;
}
.cookie-banner-wrapper {
  padding: 0 !important;
}

/* ECOMM02-3930 - Move cookie modal above newsletter popup */
div.ctct-popup-wrapper.ctct-popup-is-visible {
  position: relative;
  z-index: 100;
}

/* Hides business terms from account overview */
body.ex-l-3531 div.page-content > section > div.row.tab-content > div:nth-child(2) > div:nth-child(1) {
    display: none;
}

/*ECOMMDR-880 - Hide Newsletter Pop Up for logged in users */
body.ex-loggedin .mcforms-wrapper {
  display: none!important;
}