@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');

:root {
  --paradise: #f53163;
  --paradise-25: rgb(245 49 99 / 25%);
  --paradise-50: rgb(245 49 99 / 50%);
  --baby: #e4c2c1;
  --fuzzy: #b6666f;
  --lavender: #fef2f2;
  --tumble: #d1a080;
  --bs-blue: #3bb0ff;
  --bs-green: #2abd33;
  --bs-red: #dc3545;
  --off-white: #fafafa;
  --light-grey: #e8e8e8;
  --grey: #b5b5b5;
  --dark-grey: #919191;
  --dark-red: #a10000;
  --bs-purple: #ea00ff
}

@keyframes pulse {
  0% {transform: scale(1, 1);}
  50% {transform: scale(1.08, 1.08);}
  100% {transform: scale(1, 1);}
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  font-weight: 350;
  line-height: 1.7em;
}

ul {
  list-style-type: none;
}

.background-paradise {
  background-color: var(--paradise) !important;
}


.background-paradise-printed {
  background-color: black;
  border-radius: 30%
}

.background-paradise-ava {
  background-color: var(--bs-green);
  border-radius:30%;
}

.background-bs-green {
  background-color: var(--bs-green) !important;
}

td, th {
  text-align: center;
  position: relative;
}

table.sticky-header th {
  position: sticky;
  top: 0;
  z-index: 150;
  background-color: var(--lavender);
  outline: 2px solid #dee2e6;
  outline-offset: -1px;
}

table a:hover {
  color: var(--paradise);
}

.border-right {
    border-right: 1px solid black;
}

.prepping, .draft, .paid, .closed {
  border-radius: 25px;
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

.shipout {
  border-radius: 25px;
  background-color: #FF5F1F;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

.planning {
  border-radius: 25px;
  background-color: #BF40BF;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

.incomplete, .complete {
  border-radius: 25px;
  background-color: #7D5007;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

.open {
  border-radius: 25px;
  background-color: #008CBA;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

.overdue, .unpaid {
  border-radius: 25px;
  background-color: #f53163;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}


.forwarded, .shipped {
  border-radius: 25px;
  background-color: #555555;
  border: none;
  color: white;
  padding: 3px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 2px 1px;
}

#sidebar .current {
  color: white;
  background-color: black;
}

td.input {
  /* background-color: var(--lavender); */
  position: relative;
}

input[type=number] {
  min-width: 5em;
}

input[type=date] {
  width: 11em;
}

input[type=month] {
  font-size: 0.8em;
  width: 11.6em;
  padding-left: 0;
  padding-right: 0;
}

#box-detail-form input[type=number] {
  width: 6em;
}

.hidden {
  display: none !important;
}

.item-img {
  width: 50px !important;
}

a, a:hover, #sidebar a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.link:hover {
  color: var(--paradise);
  text-decoration: underline;
}

div.carets {
  display: inline-block;
}

.carets a {
  color: var(--baby);
}

.caret-active {
  color: var(--paradise);
}

.wrapper {
  display: flex;
  width: 100%;
}

.row-toggle i {
  transition: all 0.3s;
}

.row-toggle:hover i {
  color: var(--paradise);
}

#sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  height: 100vh;
  background: var(--lavender);
  box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
  color: black;
  transition: all 0.3s;
}

#sidebar .sidebar-header {
  padding: 20px 0px 20px 20px;
  background: var(--lavender);
  color: white;
  display: flex;
  justify-content: space-between;
}

#sidebarCollapse {
  color: black;
  transition: all 0.3s;
}

#sidebarCollapse:hover {
  color: var(--paradise);
}

#sidebar.active #sidebarCollapse {
  transform: rotate(180deg);
}

.logo {
  width: 120px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.button {
  border-radius: .15rem;
  border: 1px solid transparent;
  text-decoration: none;
  padding: .375rem .75rem;
  transition: all .3s ease-in-out;
  display: inline-block;
  line-height: 1.5;
}

.button-primary {
  background: var(--paradise);
  border-color: var(--paradise);
  color: white;
}
.button-special {
  background: var(--bs-green);
  border-color: var(--bs-green);
  color: white;
}

.button-primary:not([disabled]):hover {
  background: black;
  border-color: black;
  color: white;
}
.button-special:not([disabled]):hover {
  background: black;
  border-color: black;
  color: white;
}

.shortcut_p {
  background-color:#BF40BF;
  border-color: #BF40BF;
}

.shortcut_s {
  background-color:#FF5F1F;
  border-color: #FF5F1F;
}

.button-secondary {
  background: white;
  border-color: black;
  color: black;
}

.button-secondary:not([disabled]):hover {
  background: black;
  border-color: black;
  color: white;
}

.button[disabled] {
  background-color: var(--grey) !important;
  color: white !important;
  border-color: var(--dark-grey) !important;
}

.button-primary:focus {
      box-shadow: 0 0 0 0.25rem var(--paradise-25);
}

#sidebar ul.components {
  padding: 20px 0;
  /* border-bottom: 1px solid #47748b; */
}

#sidebar ul li .side-copyright b {
  color: black;
  position: fixed;
  bottom: 0;
  font-size:0.575em;
  display: block;
  text-align: center;
  background-color: var(--lavender);
  padding-top: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 9px;
  margin-bottom: -5px;

}

#sidebar ul li a {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 0px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  color: white;
  background: var(--paradise);
}

#sidebar ul.collapse.show  li a:hover {
  color: white;
  background: black;
}

#sidebar ul li.active > #sidebar a, #sidebar a[aria-expanded='true'] {
  color: white;
  background: var(--paradise);
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background: var(--paradise);
  color: white;
}

#sidebar.active {
  margin-left: -200px;
}

.full-collapse #sidebar.active {
  margin-left: -250px;
}

#content {
  width: calc(100% - 250px);
  padding: 0px;
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
}

#content-inner {
  padding: 20px;
}

/*List copyright properties for each views*/

.copyright.deactive {
  text-align: center;
  margin-top: 80%;
  background-color:inherit;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.85em;
  /* padding-left: 10%; */
  position: absolute;
}

.copyright.active {
  text-align: center;
  margin-top: 80%;
  background-color: inherit;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.85em;
  /* padding-right: 3%; */
  position: absolute;
}
.prepmancopyright.deactive {
  text-align: center;
  margin-top: 45%;
  background-color:inherit;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.85em;
  /* padding-left: 3%; */
  position: absolute;
}

.prepmancopyright.active {
    text-align: center;
    margin-top: 40%;
    background-color: inherit;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 0.85em;
    /* padding-left: 2%; */
    position: absolute;
}


.prepcopyright.deactive {
  text-align: center;
  margin-top: 0%;
  background-color:inherit;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.85em;
  padding-right: 5%;
  position: absolute;
}

  .prepcopyright.active {
  text-align: center;
  margin-top: 20%;
  background-color: inherit;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 0.85em;
  padding-right: 5%;
  position: absolute;
}

.full-collapse #content {
  width: calc(100% - 250px);
  padding: 40px;
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
}

#content.active {
  width: calc(100% - 50px);
}

.full-collapse #content.active {
  width: 100%;
}

a[data-bs-toggle='collapse'] {
  position: relative;
}

#sidebar .dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.navbar {
  padding: 3px 3px;
  background: #fff;
  border: none;
  border-radius: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 10%);
  z-index: 998;
}

.sidebar-header h3 {
  text-align: center;
  margin-bottom: 0;
}

.modal-body img {
  width: 100%;
  max-height: 80vh;
  margin: auto;
  display: block;
}

.border-none {
  border: none;
}

.error {
  color: var(--paradise);
}

.error-msg {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

td .error-msg::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

td.has-error:hover .error-msg {
  visibility: visible;
}

td.has-error {
  outline: 3px solid var(--paradise);
  outline-offset: -3px;
}

.saved {
  color: green;
}

tr.hide-table-padding td {
  padding: 0;
}

.header {
  font-weight: bold;
}

.icon {
  height: 2em;
  line-height: 2em;
  width: 2em;
  border-radius: 99em;
  text-align: center;
  display: inline-block;
  color: white;
  font-weight: bold;
  vertical-align: middle;
}

.icon-polybag {
  background-color: var(--bs-blue);
}

.icon-bubblewrap {
  background-color: var(--bs-green);
}

.icon-bundle {
  background-color: var(--paradise);
}

.icon-oversize {
  background-color: var(--bs-purple);
}

.icon-prepbox {
  background-color: var(--bs-orange);
}

.icon-none {
  background-color: var(--light-grey);
}

.pill-missing {
  background-color: DarkOrange;
}

.pill-damaged {
  background-color: DarkRed;
}

.pill-purple {
  background-color: DarkOrchid;
}

.pill-blue {
  background-color: DarkBlue;
}

.pill-green {
  background-color: var(--bs-green);
}

.pill-printed {
  background-color: SeaGreen;
}

.pill-none {
  background-color: var(--light-grey);
}

.invis {
  visibility: hidden;
}

.searchbar {
  width: 33%;
}

#item-list > .current {
  background-color: var(--lavender);
}

.pulse {
  animation: pulse 0.4s;
}

#box-list .deleted {
  background-color: var(--light-grey);
}

/* #box-list .deleted .name {
  text-decoration: line-through;
} */

.color-green {
  color: var(--bs-green);
}

.color-paradise {
  color: var(--paradise);
}

.color-grey {
  color: var(--grey);
}

.color-dark-grey {
  color: var(--dark-grey);
}

.list-hover:hover {
  background-color: var(--lavender);
}

td textarea {
  width: 96% !important;
  top: 2%; left: 2%; right: 2%; bottom: 2%;
  position: absolute;
	resize: none;
	-webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
           box-sizing: border-box;
}

td.seperator {
  background-color: var(--light-grey);
}

td.incomplete {
  outline: 3px solid var(--paradise);
  outline-offset: -3px;
}

.user-icon {
  height: 1.6em;
  line-height: 1.6em;
  width: 1.6em;
  border-radius: 99em;
  text-align: center;
  display: inline-block;
  color: white;
  font-weight: bold;
  vertical-align: middle;
  background-color: var(--dark-grey);
  font-size: 1.7em;
}

.disable-select{
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.custom-select{
  width: 100%;
  display: block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem
}

#content nav.navbar {
  background-color: white;
}

div .default-user {
  background-color: var(--dark-grey);
}

div .default-user:hover {
  box-shadow: 0px 0px 0px 4px var(--light-grey);
  -webkit-box-shadow: 0px 0px 0px 4px var(--light-grey);
}

.page-link.page-link-rhp {
  background-color: white;
  color: black;
  border-color: black;
}

.page-item.active .page-link.page-link-rhp {
  background-color: var(--paradise);
  color: white;
  border-color: black;
}

.page-link.page-link-rhp:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--paradise-25);
}

.card-header.rhp {
  background-color: var(--lavender);
}

input.oversize {
  box-shadow: 0 0 0 0.25rem var(--paradise-25) !important;
}

a.oversize {
  outline: 5px solid var(--paradise-25);
  outline-offset: -5px;
}

div.file_drop {
  height: 300px;
  width: 500px;
  position: relative;
  background: var(--light-grey);
  padding: 8px;
}

.changed {
  box-shadow: 0 0 0 0.25rem rgb(235 126 20 / 25%) !important;
  border-color: rgb(235 126 20) !important;
}


.print-button {
  margin-bottom: 10px;
}
.tooltip.why-not-found {
  max-width: 550px;
  max-height: 500px;
  width: 550px;
  height: 150px;
}

.tooltip-inner.not-found {
  text-align: left;
  max-width: 550px;
  max-height: 500px;
  width: 550px;
  height: 150px;

}