:root {
  --primary-color: #c71c1a;
  --secondary-color: #fff;
  --highlight-color: #ffffff;
  --border-color: #ccc;
  --label-red: #c71c1a;
  --label-blue: #4194bd;
  --label-green: #50aa51;
  --label-grey: #aaa;
  --label-yellow: #fdc82a;
  --bs-body-color: #212121;
  --scanner-upscale: 5;
  --scanner-margin: 10%;
}

::selection {
  color: #212121;
  background: #E7E9EB;
}

::-moz-selection { /* Code for Firefox */
  color: #212121;
  background: #E7E9EB;
}

h1 {
  margin: 0;
  font-size: 1.5em;
  color: #333; /* tom de cinza mais escuro */
}

h2 {
  margin: 0;
  font-size: 1.4em;
  color: #4f4f4f; /* tom de cinza escuro */
}

h3 {
  margin: 0;
  font-size: 1.3em;
  color: #666; /* tom de cinza médio */
}

h4 {
  margin: 0;
  font-size: 1.2em;
  color: #7f7f7f; /* tom de cinza médio-claro */
}

h5 {
  margin: 0;
  font-size: 1.1em;
  color: #7f7f7f; /* tom de cinza claro */
}

h6 {
  margin: 0;
  font-size: 1.1em;
  color: #7f7f7f; /* tom de cinza mais claro */
}

main {
  overflow-x: auto;
}

.login-screen {
  background-size: cover;
  background-position: center;
  height: 100vh;
  font-family: "Numans", sans-serif;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
}

.login-container {
  align-self: center;
  border-radius: 5px;
  padding: 20px;
  padding-bottom: 35px;
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  max-width: 550px;
  margin: auto;
}

.login-header {
  margin-right: 5px;
}

.login-container input {
  background-color: rgba(250, 250, 250, 0);
}

.login-button {
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  border-color: #aaa;
  width: 100%;
  border-radius: 5px;
}

.index-bg {
  width: 100%;
  object-fit: fill;
  opacity: 5%;
}

.index-action-selected {
  background-color: #eeeef5;
}

.panel-content {
  padding: 10px;
}

/* Progress bars */

.progress {
  position: relative;
  width: 100%;
  margin-bottom: 0px;
  background: #eeeef5;
  font-size: 75%;
  height: 1.25rem;
  border-radius: 10px;
}

.progress-bar {
  opacity: 60%;
  background: #2aa02a;
}

.progress-bar-under {
  background: #eeaa33;
}

.progress-bar-over {
  background: #337ab7;
}

.progress-value {
  width: 100%;
  color: #333;
  position: absolute;
  text-align: center;
  top: 0px;
  left: 0px;
  font-size: 110%;
}

.qr-code {
  max-width: 400px;
  max-height: 400px;
  align-content: center;
}

.navbar {
  border-bottom: 1px solid #ccc;
  background-color: var(--secondary-color);
  padding-top: 0px;
  padding-bottom: 0px;
}

.inventree-navbar-menu {
  position: absolute !important;
}

.navbar-brand {
  float: left;
  padding-top: 0px;
  padding-bottom: 0px;
}

.navbar-spacer {
  height: 60px;
}

#navbar-barcode-li {
  border-left: none;
  border-right: none;
  padding-right: 5px;
}

.navbar-form {
  padding-right: 3px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--bs-body-color);
  font-size: 14px;
}

#barcode-scan {
  margin-top: 1px;
  padding: 0px;
}

.icon-header {
  margin-right: 10px;
}

.glyphicon {
  font-size: 18px;
}

.glyphicon-small {
  font-size: 12px;
}

.glyphicon-right {
  float: right;
}

.red-cell {
  background-color: #ec7f7f;
}

.part-price {
  color: rgb(13, 245, 25);
}

.icon-red {
  color: #c55;
}

.icon-orange {
  color: #fcba03;
}

.icon-green {
  color: #43bb43;
}

.icon-blue {
  color: #55c;
}

.icon-yellow {
  color: #cc2;
}

/* CSS overrides for treeview */
.expand-icon {
  font-size: 11px;
}

.treeview .badge {
  font-size: 10px;
}

.treeview .list-group-item {
  padding: 3px 5px;
}

.treeview .list-group-item .indent {
  margin-left: 3px;
  margin-right: 3px;
}

.list-group-item-condensed {
  padding: 5px 10px;
}

.stock-sub-group td {
  background-color: #ebf4f4;
}

.sub-table {
  margin-left: 45px;
  margin-right: 45px;
}

.detail-icon .glyphicon {
  color: #98d296;
}

.basecurrency {
  color: #050;
  font-style: italic;
  font-weight: bold;
}

.bomselect {
  max-width: 250px;
}

.rowvalid {
  color: #050;
}

.rowinvalid {
  color: #a00;
}

.rowinherited {
  background-color: #eee;
  font-style: italic;
}

.dropdown {
  padding-left: 1px;
  margin-left: 1px;
}

.dropdown-buttons {
  display: inline-block;
}

.dropdown-menu .open {
  z-index: 1000;
  position: relative;
  overflow: visible;
}

/* Styles for table buttons and filtering */
.button-toolbar .btn {
  margin-left: 1px;
  margin-right: 1px;
}

.filter-list {
  display: inline-block;
  *display: inline;
  margin-bottom: 1px;
  margin-top: 1px;
  vertical-align: middle;
  margin: 1px;
  padding: 2px;
  border-radius: 3px;
}

.filter-list .close {
  cursor: pointer;
  right: 0%;
  padding-right: 2px;
  padding-left: 2px;
  transform: translate(0%, -25%);
}

.filter-list .close:hover {
  background: #bbb;
}

.filter-list .form-control {
  width: initial;
}

.filter-tag {
  display: inline-block;
  *display: inline;
  zoom: 1;
  padding-top: 3px;
  padding-left: 3px;
  padding-right: 3px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #eee;
  margin: 1px;
  margin-left: 5px;
  margin-right: 5px;
  white-space: nowrap;
}

.filter-button {
  padding: 6px;
}

.filter-input {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.filter-tag:hover {
  background: #ddd;
}

/* Part image icons with full-display on mouse hover */

.hover-img-thumb {
  background: #eee;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border: 1px solid #cce;
}

.hover-img-large {
  background: #eee;
  display: none;
  position: absolute;
  z-index: 400;
  border: 1px solid #555;
  max-width: 250px;
}

.hover-icon {
  margin-right: 10px;
}

.hover-icon:hover > .hover-img-large {
  display: block;
}

/* dropzone class - for Drag-n-Drop file uploads */
.dropzone {
  z-index: 2;
}

/*
.dropzone * {
    pointer-events: none;
}
*/

.dragover {
  background-color: #55a;
  border: 1px dashed #111;
  opacity: 0.1;
  -moz-opacity: 10%;
  -webkit-opacity: 10%;
}

.table-condensed {
  font-size: 90%;
}

.table-condensed td {
  padding: 0.25em 0.5em;
}

.table button {
  font-size: 90%;
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
}

/* grid display for part images */

.table-img-grid tr {
  display: inline;
}

.table-img-grid td {
  padding: 10px;
  margin: 10px;
}

.table-img-grid .grid-image {
  height: 128px;
  width: 128px;
  object-fit: contain;
  background: #eee;
}

/* pricing table widths */
.table-price-two tr td:first-child {
  width: 40%;
}

.table-price-three tr td:first-child {
  width: 40%;
}

.table-price-two tr td:last-child {
  width: 60%;
}

.table-price-three tr td:last-child {
  width: 30%;
}

/* tracking table column size */
#track-table .table-condensed th {
  inline-size: 30%;
  overflow-wrap: break-word;
}

.panel-heading .badge {
  float: right;
}

.badge-right {
  float: right;
}

.icon-badge {
  padding-right: 2px;
  padding-left: 2px;
  font-size: 125%;
}

.part-properties > span {
  padding-left: 5px;
  padding-right: 5px;
}

.part-thumb {
  width: 256px;
  height: 256px;
  margin: 2px;
  padding: 3px;
  object-fit: contain;
}

.part-thumb-container:hover .part-thumb-overlay {
  opacity: 0.75;
}

.part-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.25s ease;
  margin: 5px;
}

.checkbox {
  margin-left: 20px;
}

.checkboxinput {
  padding-left: 5px;
  padding-right: 5px;
}

.form-switch {
  font-size: 120%;
}

.media {
  /* padding-top: 15px; */
  overflow: visible;
}

.media-body {
  padding-top: 10px;
  overflow: visible;
}

.navigation {
  background-color: var(--secondary-color);
}

.nav-tabs {
  margin-bottom: 20px;
}

.settings-container {
  width: 90%;
  padding: 15px;
}

.settings-nav {
  height: 100%;
  width: 160px;
  position: fixed;
  z-index: 1;
  /* top: 0;
    left: 0; */
  overflow-x: hidden;
  padding-top: 20px;
  padding-right: 25px;
}

.settings-content {
  margin-left: 175px;
  padding: 0px 10px;
}

.breadcrumb {
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 10px;
}

.inventree-body {
  width: 100%;
  padding: 5px;
  padding-right: 0;
}

.inventree-pre-content {
  width: auto;
}

.inventree-content {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  width: 100%;
  max-width: 100%;
  display: inline-block;
  transition: 0.1s;
}

.search-autocomplete-item {
  border-top: 1px solid #eee;
  margin-bottom: 2px;
  overflow-x: hidden;
}

.modal {
  overflow: hidden;
  z-index: 9999;
}

.modal-error {
  border: 2px #fcc solid;
  background-color: #f5f0f0;
}

.modal-header {
  padding: 3px;
  padding-top: 5px;
  padding-left: 15px;
  padding-right: 25px;
  color: var(--bs-body-color);
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.modal-footer {
  border-top: 1px solid #ddd;
}

.modal-primary {
  z-index: 10000;
}

.modal-secondary {
  z-index: 11000;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.25s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.modal-image-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

@media only screen and (max-width: 700px) {
  .modal-image-content {
    width: 100%;
  }
}

.modal-image {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.85); /* Black w/ opacity */
}

.js-modal-form .checkbox {
  margin-left: 0px;
}

.modal-dialog {
  width: 65%;
  max-width: 80%;
}

.modal-secondary .modal-dialog {
  width: 40%;
  padding-top: 15px;
}

.modal-content h3 {
  margin-top: 3px;
  margin-bottom: 3px;
}

.modal-form-content-wrapper {
  border-radius: 0;
  position: relative;
  height: auto !important;
  max-height: calc(100vh - 200px) !important;
  overflow-y: auto;
  padding: 10px;
}

.form-panel {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

.form-group {
  padding-bottom: 15px;
}

.form-field-error {
  color: #a94442;
}

.form-error-message {
  display: block;
}

.modal input {
  width: 100%;
}

input[type="submit"] {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.modal textarea {
  width: 100%;
}

/* Force a control-label div to be 100% width */
.modal .control-label {
  width: 100%;
  font-weight: 700;
  margin-top: 5px;
}

.modal .control-label .btn {
  padding-top: 3px;
  padding-bottom: 3px;
}

.modal .btn-form-secondary {
  margin-bottom: 10px;
}

/* Make barcode scanner responsive and performant */
#barcode_scan_video video {
  width: calc(100% * var(--scanner-upscale)) !important;
  transform: scale(calc(1 / var(--scanner-upscale)));
  margin: calc(-100% * (var(--scanner-upscale) - 1) / 2);
  display: inline-block !important;
}

@-moz-document url-prefix() {
  #barcode_scan_video video {
    margin-top: calc(-100% * (var(--scanner-upscale) - 1) / 2 + 50%);
    margin-bottom: calc(-100% * (var(--scanner-upscale) - 1) / 2 + 50%);
  }

  @media (pointer: coarse) {
    #barcode_scan_video video {
      margin-top: calc(-100% * (var(--scanner-upscale)) / 2 - 20%);
      margin-bottom: calc(-100% * (var(--scanner-upscale)) / 2 - 20%);
    }
  }
}

#barcode_scan_video #qr-shaded-region {
  border: none !important;
  margin: var(--scanner-margin);
}

.sidebar-list-group-item {
  background-color: var(--secondary-color);
  color: var(--bs-body-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.sidebar-list-group-item.active {
  color: #212121;
  background-color: #fff;
  border: 1px solid #dee2e6 !important;
  font-weight: 500;
}

.container > aside,
.container > main {
  padding: 10px;
  overflow: auto;
}

.wrapper {
  align-items: stretch;
  display: flex;
}

.help-inline {
  color: #a11;
}

.notification-area {
  opacity: 0.8;
}

.notes {
  border-radius: 5px;
  background-color: #fafafa;
  padding: 5px;
}

.alert {
  border-radius: 5px;
  opacity: 0.9;
  pointer-events: all;
}

.alert-block {
  display: block;
  padding: 0.75rem;
}

.alert-small {
  padding: 0.35rem;
  font-size: 75%;
}
/* alterado a 29-05-2024
.navbar .btn {
  margin-left: 5px;
}
*/
.btn-secondary {
  background-color: var(--bs-body-color);
  border: 1px solid #dee2e6 !important;
}

.btn-outline-secondary {
  color: var(--bs-body-color);
  border: 1px solid #dee2e6 !important;
}

.btn-small {
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
}

.btn-remove {
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
  color: #a11;
}

.btn-create {
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
  color: #1a1;
}

.btn-edit {
  padding: 3px;
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
  color: #55e;
}

.button-toolbar {
  padding-left: 0px;
}

.panel-group {
  margin-bottom: 5px;
}

.panel-content {
  padding: 10px;
}

.panel-group {
  border-radius: 2px;
}

.panel-heading {
  padding: 3px;
  padding-top: 5px;
  padding-left: 15px;
  color: var(--bs-body-color);
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.panel {
  margin-bottom: 0.75rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.panel-hidden {
  display: none;
}

.panel-inventree .card {
  padding: 10px;
}

.card-thumb {
  max-width: 64px;
  max-height: 64px;
}

.float-right {
  float: right;
}

.warning-msg {
  color: #e00;
}

.info-messages {
  padding: 5px;
}

.info-messages .alert {
  padding: 5px;
  margin-bottom: 10px;
}

.part-allocation {
  padding: 3px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.part-allocation-pass {
  background-color: #dbf0db;
}

.part-allocation-underallocated {
  background-color: #f0dbdb;
}

.part-allocation-overallocated {
  background-color: #ccf5ff;
}

.glyphicon-refresh-animate {
  -animation: spin 0.7s infinite linear;
  -webkit-animation: spin2 0.7s infinite linear;
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1) rotate(360deg);
  }
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
  line-height: unset;
}

.clip-btn {
  font-size: 10px;
  padding: 0px 6px;
  color: var(--label-grey);
  background: none;
}

.clip-btn:hover {
  background: var(--label-grey);
}

.sidebar-wrapper {
  overflow-y: auto;
  /* background: var(--secondary-color); */
  margin-top: 0.3rem;
  padding-top: 0.25rem;
  padding-left: 0px !important;
}

.sidebar-item-icon {
  min-width: 20px;
}

.sidebar-item-text {
  margin-left: 15px;
  margin-right: 15px;
  font-size: 14px !important;
}

.sidebar-nav a {
  color: var(--bs-body-color);
}

.row.full-height {
  display: flex;
  flex-wrap: wrap;
}

.row.full-height > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

a.anchor {
  display: block;
  position: relative;
  top: -60px;
  visibility: hidden;
}

.select2-close-mask {
  z-index: 99999;
}

.select2-dropdown {
  z-index: 99998;
}

.select2-thumbnail {
  max-width: 24px;
  max-height: 24px;
  border-radius: 4px;
  margin-right: 10px;
}

.select2-selection {
  overflow-y: clip;
}

.form-clear {
  padding: 6px 6px;
}

/* Force minimum width of number input fields to show at least ~5 digits */
input[type="number"] {
  min-width: 80px;
}

.search-menu {
  padding-top: 2rem;
}

.search-menu .ui-menu-item {
  margin-top: 0.5rem;
}

.product-card {
  width: 20%;
  padding: 5px;
  min-height: 25px;
  background-color: transparent;
}

.product-card-panel {
  height: 100%;
  margin-bottom: 5px;
}

.borderless {
  border: none;
}

a {
  text-decoration: none;
  background-color: transparent;
}

/* Quicksearch Panel */

.search-result-panel {
  max-width: 800px;
  width: 75%;
}

.search-result-group {
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.search-result-group-buttons > button {
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 80%;
}

.search-result-entry {
  border-top: 1px solid var(--border-color);
  padding: 3px;
  margin-top: 3px;
  overflow: hidden;
}

.treeview .node-icon {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.sso-header {
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
}

.sso-provider-list {
  width: 100%;
  list-style-type: none;
  padding-left: 0px;
}

.sso-provider-link {
  width: 100%;
}

.sso-provider-link a {
  width: 100%;
  text-align: left;
}

#logo > img {
  width: auto;
  height: 50px;
}

a:hover {
  color: #212121;
  font-weight: 400;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #212121;
  font-weight: 400;
}

a {
  color: #212121;
}

#sidebar-list-group > span:nth-child(1) > h6 > span,
#sidebar-list-group > span:nth-child(10) > h6 > span,
#sidebar-list-group > span:nth-child(13) > h6 > span,
#sidebar-list-group > span:nth-child(16) > h6 > span {
  font-size: 14px !important;
  margin-left: 0px !important;
}
h6 {
  margin-bottom: 0px !important;
}

.dropdown-item:active {
  background-color: #e9ecef;
  color: #212529;
}

.btn-success {
  color: #212121;
  background-color: #fff;
  border-color: #212121;
}
.btn-success:hover {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}
.btn-success:active {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}
.btn-success:focus {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}

.btn-primary {
  color: #212121;
  background-color: #fff;
  border-color: #212121;
}
.btn-primary:hover {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}
.btn-primary:active {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}
.btn-primary:focus {
  color: #212121;
  background-color: #e9ecef;
  border-color: #212121;
}

.btn-secondary {
  color: #212121;
  background-color: #fff;
}
.btn-secondary:hover {
  color: #212121;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.btn-secondary:active {
  color: #212121;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.btn-secondary:focus {
  color: #212121;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.bg-dark {
  background-color: #e9ecef !important;
  color: #212121;
}

/* Estilo geral para a scrollbar */
::-webkit-scrollbar {
  width: 8px; /* Largura da scrollbar vertical */
  height: 8px; /* Altura da scrollbar horizontal */
}

/* Cor do "thumb" da scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #c4c4c4; /* Cor do thumb */
  border-radius: 4px; /* Borda arredondada */
}

/* Cor de fundo da scrollbar */
::-webkit-scrollbar-track {
  background-color: #ffffff; /* Cor de fundo da scrollbar */
}

/* Estilo específico para a scrollbar horizontal */
html {
  scrollbar-width: thin; /* Para navegadores compatíveis com CSS Scrollbars (Firefox) */
}

::-webkit-scrollbar-horizontal {
  height: 8px; /* Altura da scrollbar horizontal */
}

::-webkit-scrollbar-vertical {
  width: 8px; /* Largura da scrollbar vertical */
}
body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(1)
  > div
  > img,
body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > hr,
body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(1)
  > div
  > span.float-right
  > h3 {
  display: none;
}

body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > form
  > div.btn-group
  > button, body > div.main.body-wrapper.login-screen.d-flex > div > div > div:nth-child(2) > form > input.btn.btn-primary.btn-block {
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  border-color: #fff;
  font-size: large;
}

#div_id_login,
#div_id_password {
  color: #fff;
}

#id_login,
#id_password, #id_email {
  border-bottom: 1px solid #fff;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  color: #fff;
}
#id_login:focus,
#id_password:focus, #id_email:focus {
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
}

#id_login::placeholder,
#id_password::placeholder {
  color: rgba(0, 0, 0, 0);
}

.form-check-input:checked {
  background-color: #c71c1a;
  border-color: #c71c1a;
}
body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > div {
  display: none;
}

#id_remember {
  border: 1px solid #fff;
}

.form-control:focus {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > div
  > h3 {
  display: none;
}

#div_id_password > label,
#div_id_login > label {
  font-weight: bold;
  font-size: large;
}

body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > div {
  background-image: url("https://raw.githubusercontent.com/grupobuk/signature/main/logobranco.png");
  background-size: contain; /* Ajusta a nova imagem para caber no contêiner */
  background-repeat: no-repeat; /* Evita a repetição da nova imagem */
  background-position: left; /* Centraliza a nova imagem */
  min-height: 100px;
  margin-bottom: 30px;
}

body
  > div.main.body-wrapper.login-screen.d-flex
  > div
  > div
  > div:nth-child(2)
  > form
  > div.btn-group
  > button:focus {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.form-control,
.btn-group > .btn,
.btn-group > .btn:hover {
  font-size: 0.9em;
}

.table > :not(:first-child) {
  background-color: #fff;
  border-top: none;
}

.bootstrap-table .fixed-table-container .table td,
.bootstrap-table .fixed-table-container .table th {
  font-size: 0.8em;
}

.no-records-found {
  background-color: #fff !important;
}

#panel-starred-parts > div.panel-heading {
  margin-top: 0.5rem;
  padding-bottom: 0.8rem;
}

@media only screen and (max-width: 767px) {
  .sidebar-item-text {
    display: none !important;
  }
  #sidebar-badge-starred-parts,
  #sidebar-badge-starred-categories,
  #sidebar-badge-latest-parts,
  #sidebar-badge-recently-updated-stock,
  #sidebar-badge-low-stock,
  #sidebar-badge-build-pending,
  #sidebar-badge-build-overdue, 
  #sidebar-badge-po-outstanding, 
  #sidebar-badge-po-overdue,
  #sidebar-badge-so-outstanding, 
  #sidebar-badge-so-overdue, 
  #sidebar-badge-stock-to-build,
  #sidebar-badge-bom-validation,
  #sidebar-badge-depleted-stock {
    display: none !important;
  }
  #sidebar-list-group > span:nth-child(1) > h6 > span,
  #sidebar-list-group > span:nth-child(7) > h6 > span,
  #sidebar-list-group > span:nth-child(10) > h6 > span,
  #sidebar-list-group > span:nth-child(13) > h6 > span {
    display: none !important;
  }
  body > nav > div > ul > li:nth-child(1) {
    display: none !important;
  }
  .modal-dialog {
    width: 96%;
    max-width: 96%;
    height: 90%;
  }
  
}

body > nav > div > ul {
  position: absolute;
  right: 12px;
  top: 12px;
}

body > div.main.body-wrapper.login-screen.d-flex > div > div > div:nth-child(2) > form > a > small, #id_email, body > div.main.body-wrapper.login-screen.d-flex > div > div > div:nth-child(2) > h1  {
  color: #fff;
}

body > div.main.body-wrapper.login-screen.d-flex > div > div > div:nth-child(2) > form > div.btn-group {
  margin-bottom: 10px;
}

input[type=checkbox] {
  accent-color: #C71C1A;
}
button.fc-prev-button.fc-button.fc-button-primary {
background-color: #fff;
color: #212121;
}
.fc .fc-button-primary:disabled {
  background-color: #fcfcfc;
  color: #000;
}
.fc .fc-button-primary:enabled {
  background-color: #fff;
  color: #212121;
}
.nav-item {
  position: relative; /* Necessário para o posicionamento do pseudo-elemento */
  padding-left: 5px;

}
.nav-item:not(:last-child)::after {
  content: "";
  display: block;
  background-color: #dee2e6;
  position: absolute;
  bottom: 5px;
  right: 0px;
  width: 1px;
  margin: -1px;
  top: 5px;
}
body > nav > div > ul > li:nth-child(4) {
  display: none;
}
body > nav > div > ul > li:nth-child(1) {
  margin-right: 0px !important;
}

.bg-primary {
  background-color: #C71C1A !important;
}

.bg-danger {
  z-index: 9;
}
/*MENU INVENTREE ESCONDIDO TEMPORÁRIO*/
#launch-about {
display: none;
}

.emailinput.form-control {
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

body > div.main.body-wrapper.login-screen.d-flex > div > div > div:nth-child(2) > h3 {
display: none;
}

#navbar-barcode-li {
      display: block;
      width: 45px;
      height: auto;
      border: 1px solid #dee2e6;
      border-radius: 5px;
      text-align: center;
      text-decoration: none;
      background: #fff;
      font-weight: bold;
      position: fixed;
      bottom: 20px;
      right: 20px;
      overflow: hidden;
      padding: 5px;
      position: fixed !important;
    }

    .popup-header {
      padding: 10px;
      background: #333;
      color: white;
      text-align: right;
  }
  .popup-content {
      padding: 20px;
  }
.popup {
      display: none; /* Escondido por padrão */
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      background: white;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      overflow: auto;
      z-index: 1000;
  }  
  .popup-overlay {
      display: none; /* Escondido por padrão */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
  }