:root {
  /*** Global ***/
  --theme-primary: #23a7de; /* blue */
  --theme-secondary: #e7f5fa; /* lightblue */
  --theme-tertiary: #e15413; /* orange */
  --theme-text: #3a3a3a; /* dark grey */
  --theme-darkgrey: #262626; /* dark grey */
  --theme-lightgrey: #f2f2f2; /* light grey */
  --evo-brand-secondary: #3a3a3a;
  --evo-brand-accent: #E6EFFB;
  --evo-header-background: #fff;
  --evo-link-hover-color: #e15413;
}

/* Hide user's backend number on storefront */
span.id-card {
    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: "To begin a return, click on an order number below.";
font-size: 20px;
font-weight: bold;
display: block;
color: red;
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:red
}
label[for="return_line_item"]::after {
    content: "Only returnable items are available in the item dropdown.";
    color: red;
    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;
}

/* Changes footer text color  */
.footersection-1,
.footersection-1 * {
  color: #2545b8 !important;
}
#menulinks_203828 > section > ul li a {
  color: #2545b8 !important;
}

/* Ink & Toner Finder Page  */
body.ex-name-inktonerfinder 
  > div.page-content.onecolumn 
  > section.catalog-grid 
  > div > div 
  > div.col-md-12.row-breadcrumb {
    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 > div:nth-child(7) {
	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;
}

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

/* Hide Recurring Order Tax Line */
#recurring-order-edit > section > div.recurring-order-details > div > div.row > div.col-sm-5 > div > div > div.panel-body.relative > table > tbody > tr:nth-child(2) {
    display: none;
}

/* Restrictive Menu Options */
body.ex-l-3307 li.NORM {
    display: none !important;
}
body.ex-l-3307 li.REST {
    display: list-item !important;
}
li.REST {
    display: none;
}
body.ex-l-3307 #headermenu_203796 > nav > div > div > div.cd-dropdown-wrapper {
    display: none;
}
body.ex-l-3307 .widgetsearch.search {
    display: none;
}

/* Change the background of the search bar to bright yellow */
body.ex-contractitems.ex-l-3307 input.form-control.searchlistwithin_hd {
    background-color: #ffff00 !important; /* Bright Yellow */
}
/* Change the "Search & Filter" text to red */
body.ex-contractitems.ex-l-3307 #filterswrapper > div.filter-title.theme-2 > span {
    color: red !important;
}

/* Hide Hero Banner for Special Accounts */
body.ex-l-3256 > section.zonetop > div.hero-section-1 > div > div > div > div > div > div > section,
body.ex-l-3326 > section.zonetop > div.hero-section-1 > div > div > div > div > div > div > section {
  display: none !important;
}

/* Hide Original No Search Results message */
body.ex-emptysearchresults #productsgrid_212936 {
  display: none !important;
}