:root {
  --evo-brand-primary: #383e4e;
  --evo-brand-secondary: #e7d017;
}

/* Hide user's backend number and account arrow on storefront */
span.id-card,
i.fa.fa-caret-down.arrow-your-account {
  display: none;
}

/* Hide 'Call for Price' for logged out users */
body.ex-loggedout .price-call,
body.ex-loggedout .live-pricing-fallback-option-callforprice {
  display: none !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;
}

/* Add a top note to the Orders Page */
body > div.page-content > section.myorders > div.row.tab-content:before {
  content: "To begin a return, click on an order number below.";
  font-size: 20px;
  font-weight: bold;
  color: red;
  padding: 0 15px;
  display: block;
}

/* Add notes to Return Pages */
#orderView > section > div:nth-child(7):before {
  content: "Return form is only available if order is within return policy timeframe.";
  color: red;
}

label[for="return_line_item"]::after {
  content: "Only returnable items are available in the item dropdown.";
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

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

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

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

#orders .table > thead > tr > th.order-total::before {
  content: "Total";
  font-size: 1rem;
}

/* Hide routes & salesperson from orders & invoices */
#order-top .customer-orders-route,
#order-top .customer-orders-salesperson,
#order-top > div.col-md-3.col-md-offset-3 > div:nth-child(7),
#order-top > div.col-md-3.col-md-offset-3 > div:nth-child(8),
#invoiceView > section > div:nth-child(11) > div:nth-child(1),
#orderView > section > div:nth-child(9) > div:nth-child(1) {
  display: none;
}

/* Hide specific reports */
#charts-container > div:nth-child(4),
#charts-container > div:nth-child(5),
#generate-report-form option:nth-child(3),
#generate-report-form option:nth-child(4),
#generate-report-form option:nth-child(5),
#generate-report-form option:nth-child(6),
#generate-report-form 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),
body > div.page-content > section > div.row.tab-content > div:nth-child(3) > div > div > table > tbody > tr:nth-child(5) {
  display: none;
}

/* Hide various elements for advanced users to only allow Approver on Leave */
body > div.page-content > section > div.myaccount-title > div > div.col-md-8 > ul > li.active,
body > div.page-content > section > div.myaccount-title > div > div.col-md-8 > ul > li:nth-child(2),
#approverInfo > div:nth-child(5),
#approverInfo > div:nth-child(6),
#approverInfo > div:nth-child(8),
#approverInfo > div:nth-child(11),
#aBudgets,
#aApprovers,
span.id-card {
  display: none;
}

/* Hides "Pack Of" column in Quick Order */
#quickordergrid_901 .gridcontent th:nth-child(5),
#quickordergrid_901 .gridcontent td:nth-child(5) {
  display: none;
}

/* Making the approver appear at the top of the requester tile in the dashboard */
#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;
}

/* Ensure labels in the contact form are visible */
.contact-form .form-group label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !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 */
}

/* Make catalog submenu scrollable */
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;
}

/* 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;
}

/* Add Sticky header EvoX */
@media only screen and (min-height: 768px) {
.menubarStick {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 15;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.headersection-1.menubarStick > .row-2 {
    max-width: 1450px;
    margin: 0 auto;
}
.menubarHeader {
    padding-top:113px;
}
}

/* Force the Load More button to be visible */
.load-more-btn.btn {
  opacity: 1 !important;
  visibility: visible !important;
  background-color: #007bff !important;
  color: #ffffff !important;
  border: 1px solid #0056b3 !important;
  min-height: 38px !important;
  min-width: 120px !important;
}

/* Hide X product button */
body.regular.ltr.ready {
    display: none;
}
/* SWITCH ACCOUNT FROM THE ORDERS/INVOICES TABLES */
div#myOrdersListErp,
div#myOrdersList,
div#myAwaitApprovalsList,
div#myRewardsHistory,
div#invoiceHistory {
    margin-top: 2.7em;
}
.switch-account-custom {
  position: absolute;
  top: 0;
  right: 2em;
  margin-left: 2px;
  font-weight: bold;
  padding: 5px 20px !important;
}
.invoice-history .switch-account-custom, .myawaitapproval .switch-account-custom {
  right: 10px;
}
@media (max-width:767px) {
  .switch-account-custom {
    position: relative;
    display: flex;
    justify-content: center;
    right: 0 !important;
  }
}
/* SWITCH ACCOUNT FROM THE ORDERS/INVOICES TABLES */

/* Hide inventory except for GOS Accounts */
body:not(.ex-l-3440) .live-inventory-v2-wrapper.text-center.bolder.add-to-cart {
    display: non;
}