html {
  color: var(--rw-ink, #1b1623) !important;
}
/*
 * Purple
 */
.uk-button-purple {
  background-color: var(--rw-purple, #6B4DD1);
  color: #fff;
  border: 1px solid transparent;
}

/* Hover */
.uk-button-purple:hover {
  background-color: #5e44b8; /* slightly darker */
  color: #fff;
}

/* OnClick + Active */
.uk-button-purple:active,
.uk-button-purple.uk-active {
  background-color: #553da5; /* even darker */
  color: #fff;
}

/* Keep datepicker or calendar on top of all modals and elements */
.datepicker, 
.air-datepicker, 
.ui-datepicker, 
.uk-datepicker {
  z-index: 99999 !important;
}

.black-box-border {
    border: 1px solid #A3A3A3; /* Adjust the thickness as needed */
    box-sizing: border-box; /* Ensures border doesn't affect element size */
}

.uk-navbar-nav > li > a {
  color: var(--rw-ink, #1b1623);
  text-transform: uppercase;
  /*font-size: 18px;*/
}
.uk-navbar-dropdown-nav > li > a {
  color: var(--rw-ink, #1b1623);
  /*font-size: 18px;*/
}
.uk-tab > * > a {
  color: var(--rw-ink, #1b1623);
  text-transform: uppercase;
  /*font-size: 18px;*/
}
.uk-table th {
  color: var(--rw-muted, #6f6880);
}
.uk-table div {
  color: var(--rw-ink, #1b1623);
}
.uk-radio, .uk-checkbox {
  border: 1px solid var(--rw-ink, #1b1623);
}
#page-container {
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}
#page-footer {}
.blurry-text {
  color: transparent;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.checkbox-grid li {
  display: block;
  float: left;
  width: 50%;
}
.datepicker {
  z-index: 99999;
}
/*###################################################*/
.switch {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 85px;
  height: 20px;
  padding: 3px;
  background-color: white;
  border-radius: 18px;
  box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-image: -webkit-linear-gradient(top, #eeeeee, white 25px);
  background-image: -moz-linear-gradient(top, #eeeeee, white 25px);
  background-image: -o-linear-gradient(top, #eeeeee, white 25px);
  background-image: linear-gradient(to bottom, #eeeeee, white 25px);
}


.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.switch-label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 10px;
  text-transform: uppercase;
  background: #eceeef;
  border-radius: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.15s ease-out;
  -moz-transition: 0.15s ease-out;
  -o-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
  -webkit-transition-property: opacity background;
  -moz-transition-property: opacity background;
  -o-transition-property: opacity background;
  transition-property: opacity background;
}
.switch-label:before, .switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
}
.switch-label:before {
  content: attr(data-off);
  right: 11px;
  color: #aaa;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
  content: attr(data-on);
  left: 11px;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}
.switch-input:checked ~ .switch-label {
  background: #47a8d8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
  opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
  opacity: 1;
}
.switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  background-image: -webkit-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -moz-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -o-linear-gradient(top, white 40%, #f0f0f0);
  background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
  -webkit-transition: left 0.15s ease-out;
  -moz-transition: left 0.15s ease-out;
  -o-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out;
}
.switch-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
  background-image: -webkit-linear-gradient(top, #eeeeee, white);
  background-image: -moz-linear-gradient(top, #eeeeee, white);
  background-image: -o-linear-gradient(top, #eeeeee, white);
  background-image: linear-gradient(to bottom, #eeeeee, white);
}
.switch-input:checked ~ .switch-handle {
  left: 69px;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch-green > .switch-input:checked ~ .switch-label {
  background: #4fb845;
}
.controls-box {
  border: 1px solid var(--rw-hairline, #e4e2ea);
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  background-color: var(--rw-surface-alt, #faf9fc);
  width: auto;
  display: inline-block;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
input[type=number] {
  -moz-appearance: textfield !important;
}
#intranet-navigation {
  display: none;
}
#stock-form input {
  width: 75px;
}
.uk-alert-normal {
  background: var(--rw-surface-alt, #faf9fc);
  color: var(--rw-ink, #1b1623);
  border-color: var(--rw-hairline, #e4e2ea);
}
/* Style the list */
ul.breadcrumb {
  padding: 0px;
  list-style: none;
}
/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
}
/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li + li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}
/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}
.uk-table-hovered {
  background: var(--rw-purple-tint, #f7f5ff);
}
.inline-tag-update {
  display: inline-block;
  cursor: cell;
  padding-top: 3px;
  padding-right: 5px;
  padding-bottom: 3px;
  padding-left: 5px;
  background-color: #ffff80;
  color: black !important;
}
.black-border-top {
  border-top: 2px solid #000000;
}
.black-border-left {
  border-left: 2px solid #000000;
}
.black-border-right {
  border-right: 2px solid #000000;
}
.black-border-bottom {
  border-bottom: 2px solid #000000 !important;
}
.gray-border-top {
  border-top: 1px solid #CCCCCC;
}
.gray-border-left {
  border-left: 1px solid #CCCCCC;
}
.gray-border-right {
  border-right: 1px solid #CCCCCC;
}
.gray-border-bottom {
  border-bottom: 1px solid #CCCCCC !important;
}

.uk-button-tiny {
  padding: 5px 10px;
  line-height: 14px;
  font-size: 0.875rem;
}
.uk-nav-default .uk-nav-header a {
  color: #fff !important;
}
.center-pagination {
  display: flex;
  justify-content: center;
}
.typewriter_print {
  font-family: Consolas, monaco, monospace;
}
.autocomplete-suggestions {
  border: 1px solid var(--rw-hairline, #e4e2ea);
  background: #FFF;
  overflow: auto;
}
.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
}
.autocomplete-selected {
  background: var(--rw-purple-tint, #f7f5ff);
}
.autocomplete-suggestions strong {
  font-weight: normal;
  color: #3399FF;
}
.autocomplete-group {
  padding: 2px 5px;
}
.autocomplete-group strong {
  display: block;
  border-bottom: 1px solid #000;
}
.empty-inline-value {
  border: 1px dotted #1f8af0;
}
.uk-max-height-large {
  max-height: 300px;
}
.uk-button-success {
  background-color: #28a745;
  color: #fff;
  border: 1px solid transparent;
}
/* Hover + Focus */
.uk-button-success:hover, .uk-button-success:focus {
  background-color: #218838;
  color: #fff;
}
/* OnClick + Active */
.uk-button-success:active, .uk-button-success.uk-active {
  background-color: #28a745;
  color: #fff;
}
.gate-keeper-panel {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(240, 80, 110, 0.85);
}
.background-green {
  background-color: #ccffcc;
}
.background-orange {
  background-color: #ffcc99;
}
.background-blue {
  background-color: #99ccff;
}
/* common */
.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #2980b9;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding-top: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    background-color: #3498db;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 12px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
    padding-left: 10px;
}

/* top left*/
.ribbon-top-left {
  top: -10px;
  left: -10px;
    z-index: 9999;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0;
  right: 0;
}
.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
  top: -10px;
  right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}
.ribbon-top-right::before {
  top: 0;
  left: 0;
}
.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}
.ribbon-top-right span {
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
  bottom: -10px;
  left: -10px;
}
.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.ribbon-bottom-left::before {
  bottom: 0;
  right: 0;
}
.ribbon-bottom-left::after {
  top: 0;
  left: 0;
}
.ribbon-bottom-left span {
  right: -25px;
  bottom: 30px;
  transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
  bottom: -10px;
  right: -10px;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.ribbon-bottom-right::before {
  bottom: 0;
  left: 0;
}
.ribbon-bottom-right::after {
  top: 0;
  right: 0;
}
.ribbon-bottom-right span {
  left: -25px;
  bottom: 30px;
  transform: rotate(-225deg);
}

.uk-table-sortable-drag {
    background-color: #f0506e !important;
    color: #f0506e !important;
}
.uk-table-sortable-drag td {
    background-color: #f0506e !important;
    color: #f0506e !important;
}
.uk-table-sortable-drag a {
    background-color: #f0506e !important;
    color: #f0506e !important;
}

#large-navigation a {
    color:var(--rw-ink, #1b1623);
    
}
#large-navigation a:hover {
    color: var(--rw-purple, #6B4DD1);
    text-decoration: none;
}

.large-navigation-active {
    border-bottom: medium solid var(--rw-purple, #6B4DD1);
}

.jeditable-long-input-box {
    width: 500px !important;
}
.logo {
  max-height: 65px; /* never taller than 65px */
  height: auto;     /* allow shrinking */
  width: auto;      /* keep aspect ratio */
  max-width: 100%;  /* prevents overflow */
}
/* Keep the off-canvas above everything every time it's shown */
#order-categories-slide.uk-open { 
  z-index: 999999 !important;
}

/* Make sure the overlay sits just below it */
.uk-offcanvas-overlay {
  z-index: 999998 !important;
}

/* (Optional) ensure the close button is clickable above all */
#order-categories-slide.uk-open .uk-offcanvas-close {
  z-index: 1000000 !important;
}

.order-sheet-product-thumb {
  width: 75px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* safe once the img is scaled properly */
}

/* FORCE proportional, never-too-tall images */
.order-sheet-product-thumb img {
  max-width: 75px !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}
.selection-product-thumb {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.selection-product-thumb img {
    max-width: 150px !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}
