:root {
  --main-dark-color: #182E30;
  --main-darker-color: #02211F;
}

::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--main-dark-color); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--main-dark-color); 
}

/* Container Box Customizations */
#reader {
    border: 1px solid #dee2e6 !important; /* Bootstrap gray-300 */
    border-radius: 0.25rem !important;    /* Bootstrap border-radius */
    padding: 20px !important;
    background-color: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Style the action buttons to mimic Bootstrap 4 .btn-primary */
#reader button, 
.html5-qrcode-element {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: var(--main-dark-color) !important; /* Bootstrap primary blue */
    border: 1px solid var(--main-dark-color) !important;
    padding: 0.7rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.25rem !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    margin: 5px !important;
    text-transform: uppercase;
}

/* Hover effect for buttons */
#reader button:hover,
.html5-qrcode-element:hover {
    background-color: var(--main-dark-color) !important;
    border-color: var(--main-darker-color) !important;
}

/* Style the Camera Selection Dropdown to mimic Bootstrap 4 .form-control */
#reader select {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto !important;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

/* Style file upload element link */
#reader a {
    color: var(--main-dark-color);
    text-decoration: none;
    font-weight: 500;
}
#reader a:hover {
    color: var(--main-darker-color);
    text-decoration: underline;
}

/* Scanning active border layer logic */
#reader video {
    border-radius: 0.25rem;
    max-width: 100% !important;
}

.dataTable {
	border: solid 1px #dee2e6 !important;
}
.dark #header .header-inner, .dark #header #header-wrap, #header.dark .header-inner, #header.dark #header-wrap {
  background-color: var(--main-dark-color) !important;
}

.dark #header .header-inner a:hover, .dark #header #header-wrap a:hover, #header.dark .header-inner a:hover, #header.dark #header-wrap a:hover
.dark #header .header-inner span:hover, .dark #header #header-wrap span:hover, #header.dark .header-inner span:hover, #header.dark #header-wrap span:hover
{
  color: #FFFFFF !important;
  /* border-right: solid 4px var(--main-dark-color); */
  background-color: var(--main-dark-color) !important;
  transition: 0.2s ease;
}

.header-extras > ul > li a, .header-extras > ul > li i {
color: #ffffff !important;
}
.sticky-active > .header-inner > .container > .header-extras > ul > li a, .sticky-active > .header-inner > .container >  .header-extras > ul > li i {
color: var(--main-dark-color) !important;
}

#header .header-inner #logo a, #header .header-inner #logo a span, #header #header-wrap #logo a, #header #header-wrap #logo a span
{
font-family: "Roboto", sans-serif;
  font-size: 22px;
  color: #1f1f1f;
  font-weight: 400;
  /* letter-spacing: 3.5px; */
}

#header #mainMenu nav > ul > li.hover-active > a, #header #mainMenu nav > ul > li.hover-active > span, #header #mainMenu nav > ul > li.current > a, #header #mainMenu nav > ul > li.current > span, #header #mainMenu nav > ul > li:hover > a, #header #mainMenu nav > ul > li:hover > span, #header #mainMenu nav > ul > li:focus > a, #header #mainMenu nav > ul > li:focus > span {
color: #ffffff;
}

#header .header-sticky > #mainMenu nav > ul > li.hover-active > a, #header .header-sticky > #mainMenu nav > ul > li.hover-active > span, #header .header-sticky > #mainMenu nav > ul > li.current > a, #header .header-sticky > #mainMenu nav > ul > li.current > span, #header .header-sticky > #mainMenu nav > ul > li:hover > a, #header .header-sticky > #mainMenu nav > ul > li:hover > span, #header .header-sticky > #mainMenu nav > ul > li:focus > a, #header .header-sticky > #mainMenu nav > ul > li:focus > span {
color: #000;
}

.sticky-active > .header-inner > .container > #mainMenu nav > ul > li > a
{
  color: #000000 !important;
}

.tb-sm {
	min-width: 40px; 
	max-width: 120px; 
	width: 120px;
}
.tb-xs {
	min-width: 20px; 
	max-width: 80px; 
	width: 40px;
}
.tb-md {
	min-width: 120px; 
	max-width: 180px; 
	width: 140px;
}

@media (max-width: 1024px) {
  #header #mainMenu nav > ul > li.hover-active > a, #header #mainMenu nav > ul > li.hover-active > span, #header #mainMenu nav > ul > li.current > a, #header #mainMenu nav > ul > li.current > span, #header #mainMenu nav > ul > li:hover > a, #header #mainMenu nav > ul > li:hover > span, #header #mainMenu nav > ul > li:focus > a, #header #mainMenu nav > ul > li:focus > span {
    color: var(--main-dark-color);
  }

  .tb-small-cell
  {
    min-width: 80px; 
    max-width: 90px; 
  }
  
  .inp-min
  {
    min-width: 15px !important; 
  }
}

.sticky-active > .header-inner > .container > #mainMenu nav > ul > li > a:hover
{
color: var(--main-dark-color) !important;
}

.gingerCatalogueBtnBlock {
	/* border: solid 1px #e6e8eb; */
	padding: 10px;
    /* border-radius: 10px; */
	background-color: #afafaf;
}
.activeCatItem {
	background-color: var(--main-dark-color) !important;
	color: #FFFFFF !important;
	font-weight: 600;
}

.no-select-dropdown {
	background-image: none !important;
}

.select2norm > .select2 > .selection {
  font-size: 19px !important;
  font-weight: 400 !important;
  color: var(--main-dark-color) !important;
}

select {
  width: 100%;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url(../images/dropdown-arrow.png) !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  border: 1px solid #e6e8eb;
  border-radius: 5px;
}