:root {
  --green: #004D00;
  --green-light: #E3F3E0;
  --green-secondary: #326229;
  --green-tertier: #E7F5E3;
  --green-fourth: #418534;
  --salmon: #CAE373;
  --red-soil: #7C2B1C;
  --yellow: #ffda67;
  --yellow-light: rgba(255, 218, 103, 0.2);
}

body.login {
  background: url(../images/lokafresh-side.png);
  background-position: bottom right -50px;
  background-repeat: no-repeat;
}
.btn-green {
  background: var(--green) !important;
  border: none !important;
  opacity: 0.8;
  transition: all 0.5s !important;
}
.btn-red {
  /* background: var(--red-soil) !important;
  border: none !important; */
  opacity: 0.8;
  transition: all 0.5s !important;
}
.btn-green:hover,
.btn-red:hover {
  opacity: 1;
}
.title-green {
  color: var(--green);
  font-size: 23px;
}
.color-green {
  color: var(--green) !important;
}
[class*=sidebar-light-] .sidebar a {
  color: #676767;
}
[class*=sidebar-light-] .sidebar a.danger {
  color: var(--red-soil);
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
  background-color: var(--yellow-light) !important;
  border: none;
  box-shadow: none !important;
  color: #272727 !important;
}
[class*=sidebar-light-] .nav-sidebar>.nav-item>.nav-link.active {
  box-shadow: none;
}
.dataTables_paginate.paging_simple_numbers {
  float: right;
}
.search-input {
  width: 100%;
  position: relative;
}
.search-input .result-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 1px 0px 3px rgba(0,0,0,0.3);
  display: none;
  z-index: 9;
}
.search-input .result-container .item {
  border-bottom: solid 1px #f0f0f0;
  padding: 10px;
  width: 100%;
}
.search-input .result-container .item:hover {
  cursor: pointer;
  background: var(--yellow-light);
}
.search-input .result-container .item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  margin-right: 1rem;
}
.search-input .result-container .item p {
  margin-bottom: 0;
  line-height: 1.2;
}
.card.active {
  background: var(--yellow-light);
}
.shipper-box:hover {
  cursor: pointer;
  box-shadow: 0px 0px 3px rgba(0,0,0,0.4);
}
.shipper-box img {
  border-radius: .25rem .25rem 0 0;
}
.shipper-box.on {
  border: solid 1px var(--green);
  box-shadow: 0px 0px 3px rgba(0,0,0,0.4);
}
th.rotate {
  height:140px;
  white-space: nowrap;
  position:relative;
}
th.rotate > div {
    transform: rotate(-90deg);
    position:absolute;
    left:0;
    right: 0;
    bottom: 20px;
    margin:auto;
    margin-left:0;
    cursor: help;
}
td.special,
th.special {
  background: #f0f0f0;
}
tr.highlight:hover td,
tr.highlight:hover td.special {
  background: #e8e8e8;
}

tr.main td {
  border-top: solid 2px #aaa;
}
tr.sub td {
  padding-top: 5px;
  padding-bottom: 5px;
  background: #fafafa;
  font-size: 14px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dataTables_filter label {
  width: 100%;
}
