/* Show it is fixed to the top */
* {
  font-family: "Nunito";
}

.bd-blue-aiq {
  background-color: #f2f7ff;
}

a {
  text-decoration: none;
}

ul {
  padding-inline-start: 40px;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.bi {
  width: 1rem;
}

.fs-3 {
  font-size: calc(1.9rem + 0.6vw) !important;
  color: rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 0, 0, 0.1);
}

.bi.bi-middle:before {
  vertical-align: middle;
}

.bi.bi-sub:before {
  vertical-align: middle;
}

.stats-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: black;
  float: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.stats-icon i {
  color: #fff;
  font-size: 1.7rem;
}

.stats-icon.purple {
  background-color: #9694ff;
}

.stats-icon.blue {
  background-color: #57caeb;
}

.stats-icon.red {
  background-color: #ff7976;
}

.stats-icon.green {
  background-color: #5ddab4;
}

@media (max-width: 767px) {
  .stats-icon {
    float: left;
    margin-bottom: 0.4rem;
  }
}

#main {
  margin-left: 200px;
  padding: 0.5rem;
  transition: all 0.5s;
}

#main.active {
  margin-left: 250;
}

.editselected {
  position: fixed;
  right: 20px;
  z-index: 100;
}

#main.layout-navbar {
  padding: 0;
}

#main #main-content {
  padding: 1rem;
}

/* SIDEBAR */

#sidebar.active .sidebar-wrapper {
  left: 0;
}

#sidebar:not(.active) .sidebar-wrapper {
  left: -200px;
}

#sidebar:not(.active) ~ #main {
  margin-left: 0;
}

.sidebar-wrapper {
  width: 200px;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 10;
  overflow-y: auto;
  background-color: rgb(255, 255, 255);
  bottom: 0;
  -webkit-transition: left 0.5s ease-out;
  transition: left 0.5s ease-out;
}

.sidebar-wrapper .sidebar-header {
  padding: 0.9rem 0.5rem 1.5rem;
  font-size: 2rem;
  font-weight: bold;
}

.sidebar-wrapper .sidebar-header img {
  height: 4rem;
}

.sidebar-wrapper .sidebar-toggler.x {
  position: absolute;
  right: 0;
  top: 0.5rem;
  display: block;
}

.sidebar-wrapper .menu {
  padding-left: 0;
  margin-top: 0rem;
  padding: 0 0.5rem;
  font-weight: 600;
}

.sidebar-wrapper .menu .sidebar-title {
  padding: 0 0rem;
  margin: 0rem 0 0rem;
  font-size: 1rem;
  list-style: none;
  font-weight: 600;
  color: #25396f;
}

.sidebar-wrapper .menu .sidebar-link {
  display: block;
  padding: 0.2rem 0.8rem;
  font-size: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 0.5rem;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  text-decoration: none;
  color: #25396f;
}

.sidebar-wrapper .menu .sidebar-link svg,
.sidebar-wrapper .menu .sidebar-link i {
  color: #7c8db5;
}

.sidebar-wrapper .menu .sidebar-link span {
  margin-left: 1rem;
}

.sidebar-wrapper .menu .sidebar-link:hover {
  background-color: #f0f1f5;
}

.sidebar-wrapper .menu .sidebar-item {
  list-style: none;
  margin-top: 0.5rem;
  position: relative;
}

.sidebar-wrapper .menu .sidebar-item.has-sub .sidebar-link:after {
  content: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:gray;stroke-width:1"></polyline></svg>');
  position: absolute;
  color: #ccc;
  right: 15px;
  top: 12px;
  display: block;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link {
  background-color: #0d6efd;
  opacity: 0.75;
}

.btn.active {
  background-color: #ffa256;
  opacity: 0.75;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link span {
  color: #fff;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link svg,
.sidebar-wrapper .menu .sidebar-item.active .sidebar-link i {
  fill: white;
  color: white;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link.has-sub:after {
  content: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:#fff;stroke-width:1"></polyline></svg>');
}

.sidebar-wrapper .menu .submenu {
  list-style: none;
  display: none;
  -webkit-transition: max-height 2s cubic-bezier(0, 0.55, 0.45, 1);
  transition: max-height 2s cubic-bezier(0, 0.55, 0.45, 1);
  overflow: hidden;
}

.sidebar-wrapper .menu .submenu.active {
  max-height: 999px;
  display: block;
}

.sidebar-wrapper .menu .submenu .submenu-item.active {
  position: relative;
}

.sidebar-wrapper .menu .submenu .submenu-item.active > a {
  color: #0d6efd;
  font-weight: bold;
}

.sidebar-wrapper .menu .submenu .submenu-item a {
  padding: 0.5rem 1rem;
  display: block;
  color: #25396f;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.sidebar-wrapper .menu .submenu .submenu-item a:hover {
  margin-left: 0.3rem;
}

@media screen and (max-width: 1199px) {
  .sidebar-wrapper {
    position: absolute;
    left: -300px;
  }
  .sidebar-wrapper .sidebar-toggler.x {
    display: none;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1199px;
  }
}

.dataTables_wrapper .dataTables_filter input {
  width: 100%;
}

.dataTables_filter label {
  width: 100%;
}

.containertable,
.bottomtable {
  overflow-x: auto;
}

.bottomtable > div:first-child {
  float: left;
}
.dataTables_length {
  float: right !important;
}

.dataTables_length label {
  display: none;
}

.containertable a {
  color: #1d3575;
  font-weight: 700;
}

.containertable a:hover {
  color: white;
  background-color: #0d6efd;
  opacity: 0.75;
}

.navbar-nav {
  padding-left: 1rem;
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    padding-left: 0rem;
    padding-top: 1rem;
  }
  .sidebar-wrapper .sidebar-toggler.x {
    display: none;
  }
}

.navbar-toggler-icon2 {
  background-image: url(../../../assets/images/arrow-left-right.svg);
  opacity: 0.55;
}
.navbar-toggler-icon3 {
  background-image: url(../../../assets/images/arrow-left-right.svg);
  opacity: 0.55;
}

.navbar-toggler2 {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.5s ease-in-out;
}

.navbar-toggler-icon2 {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-toggler2 {
  color: rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 0, 0, 0.1);
}

.form-check {
  padding-top: 1.6rem;
}

.ps__thumb-x {
  border-radius: 1px;
}

.ps__thumb-y {
  border-radius: 1px;
}
.padtop {
  padding-top: 0.7rem;
}

@media (max-width: 768px) {
  .padtop2 {
    padding-top: 0.7rem;
  }
}

.form-check .form-check-input {
  float: none;
  margin-left: 0;
}
.form-control {
  padding: 0.2rem;
}
.form-select {
  padding: 0.2rem;
}
hr {
  color: #25396f;
}
.texto-rojo {
  color: red;
}

.texto-rojo::placeholder {
  color: red;
}

.center {
  text-align: center;
}
.izq {
  text-align: left;
}
.derech {
  text-align: right;
}
/* botones */
.btn,
.alert {
  margin: 0.2rem 0.3rem;
}
.btn {
  opacity: 0.75;
  border: solid;
  border-color: #badbcc;
  font-weight: bold;
  font-size: 95%;
  padding: 0.3rem 0.4rem;
}

.lanzadetamodal {
  cursor: pointer;
}

.tachado {
  text-decoration: line-through;
}
td.finalizada {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

td.roja {
  color: white;
  background-color: red;
  font-weight: bold;
  opacity: 0.8;
}

td.prove {
  background-color: #ff0;
  font-weight: bold;
  opacity: 1;
}

td.lista {
  font-weight: bold;
  opacity: 0.8;
  cursor: pointer;
}

td.lista:hover {
  cursor: pointer;
  background-color: rgb(13, 110, 253, 0.75);
}

td.verde {
  color: white;
  background-color: green;
  font-weight: bold;
  opacity: 0.7;
}



/* ALERTS */
.dataTables_info {
  float: right;
}

.alert-but-primary {
  width: 100%;
  color: #084298;
  background-color: #80b2fc;
  border-color: #b6d4fe;
  opacity: 1;
}
.alert-but-secondary {
  width: 100%;
  color: #41464b;
  background-color: #b4b4b4;
  border-color: #d3d6d8;
  opacity: 1;
}
.alert-but-warning {
  width: 100%;
  color: #664d03;
  background-color: #f8e39f;
  border-color: #ffecb5;
  opacity: 1;
}
.alert-but-danger {
  width: 100%;
  color: #842029;
  background-color: #fda0a8;
  border-color: #f5c2c7;
  opacity: 1;
}
.alert-but-success {
  width: 100%;
  color: #0f5132;
  background-color: #9cbbad;
  border-color: #badbcc;
  opacity: 1;
}

.dropdown-menu {
  border-radius: 0.5rem;
  border-color: #b6d4fe;
  padding: 0;
}
.dropdown-menu a:hover {
  opacity: 0.3;
}

.ui-widget.ui-widget-content {
  z-index: 2000 !important;
}

.ui-widget-header {
  background-color: rgb(13, 110, 253, 0.3) !important;
}
.stocka {
  cursor: pointer;
}

td.stocka:hover {
  cursor: pointer;
  background-color: rgb(13, 110, 253, 0.75);
}

.tablaAIQ {
  font-size: 80%;
  border-radius: 0.2rem;
  
}

.tablaAIQ td {
  padding: 0.07rem;
  border: solid 1px #f1f0f0;
}

.tablaAIQ td.borde-left {
  padding: 0.07rem;
  border-left: solid 2px #a0a0a0;
}

.tablaAIQ th.borde-left {
  padding: 0.07rem;
  border-left: solid 2px #a0a0a0;
}




.tablaAIQ th {
  padding: 0.1rem;
  border: solid 1px #f1f0f0;

}

.tablaAIQ tfoot, thead {

  background-color: #ddeaff;
}

.tablaAIQ tr:hover {

  background-color: #afdff5;
  --bs-table-bg:#afdff5;
}


.containertableminiOf,
.bottomtablemini {
  position: relative;
  overflow: hidden;
  font-size: 88%;
  max-height: 17rem;
}

.containertableminiDem,
.bottomtablemini {
  position: relative;
  overflow: hidden;
  font-size: 88%;
  max-height: 17rem;
}

.containertableminiPed,
.bottomtablemini {
  position: relative;
  overflow: hidden;
  font-size: 88%;
  max-height: 17rem;
}

.containertableminiCom,
.bottomtablemini {
  position: relative;
  overflow: hidden;
  font-size: 88%;
  max-height: 17rem;
}

.card {
  font-size: 95%;
}
.card-body {
  padding: 0.2rem 0.5rem;
}

.list-group-item {
  padding: 0.2rem 0.5rem;
}
hr {
  margin: 0.5rem;
}

.card-primary {
  background-color: #cfe2ff;
  border-color: #b6d4fe;
}
.card-secondary {
  background-color: #e2e3e5;
  border-color: #d3d6d8;
}
.card-warning {
  background-color: #fff3cd;
  border-color: #ffecb5;
}
.card-danger {
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.card-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.card-header-primary {
  background-color: #80b2fc;
  border-color: #b6d4fe;
}
.card-header-secondary {
  background-color: #b4b4b4;
  border-color: #d3d6d8;
}
.card-header-warning {
  background-color: #f8e39f;
  border-color: #ffecb5;
}
.card-header-danger {
  background-color: #fda0a8;
  border-color: #f5c2c7;
}
.card-header-success {
  background-color: #9cbbad;
  border-color: #57a884;
}

/* Estilos de las demandas */

tr.group {
  background-color: #c1cbe0;
  font-weight: bold;
  padding: 0.1rem;
  font-size: 110%;
}

td.but_verde,
.but_verde {
  text-align: center;
  font-weight: bold;
  background-color: #0c0;
}

.but_verde:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_azul,
.but_azul {
  text-align: center;

  font-weight: bold;
  background-color: #afdff5;
}

.but_azul:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_rojo {
  text-align: center;
  font-weight: bold;
  background-color: red;
}

.but_rojo:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_rosa,
.but_rosa {
  text-align: center;
  font-weight: bold;
  padding: 10px;
  background-color: #ff80ff;
}

.but_rosa:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_amarillo {
  text-align: center;
  font-weight: bold;
  background-color: #ff0;
}

.but_amarillo:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_blanco,
.but_blanco {
  text-align: center;
  font-weight: bold;
  background-color: #e5e5e5;
}

.but_blanco:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

td.but_naranja {
  text-align: center;
  font-weight: bold;
  background-color: #ffa042;
}

.but_naranja:hover {
  color: white;
  opacity: 0.7;
  cursor: pointer;
}

tr.entrega,
td.entrega {
  background-color: rgba(0, 204, 0, 0.2);
  --bs-table-bg: rgba(0, 204, 0, 0.2);
  /* --bs-table-accent-bg: rgba(0, 204, 0, 0.2); */
}
tr.entregado,
td.entregado {
  background-color: #cccccc;
}

tr.pedido,
td.pedido {
  background-color:  rgb(255, 128, 255, 0.2);
  --bs-table-bg:  rgb(255, 128, 255, 0.2);
  
}

tr.enstock,
td.enstock {
  background-color: #afdff5;
  --bs-table-bg: #afdff5;
  /* --bs-table-accent-bg: #afdff5; */
}

.detallepedido th,
.demandas td,
.productos td {
  border-color: inherit;
  border-style: solid;
  border-width: 0.01rem;
}

.productos tr:hover {

  background-color: #afdff5;
  --bs-table-bg: #afdff5;
}



.table.resumencompra {
  border-style: none;

  margin: 0rem;
  padding: 0rem;
}

.footercompra,
.footeroferta {
  font-size: 85%;
}

.textolinea {
  color: #f0f;
  font-weight: bold;
}
.textodemanda {
  color: #f00;
  font-weight: bold;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: rgb(255, 145, 0);
  --bs-table-bg: rgb(255, 145, 0);
  /* --bs-table-accent-bg: rgb(255, 145, 0); */


}

.selectize-dropdown {
  z-index: 99999 !important;
  position: absolute !important;
}

.selectize-dropdown .active {
  background-color: #ffa256;
  opacity: 0.75;
  z-index: 9999;
}

.selectize-input {
  padding: 0.2rem;
  min-height: 0;
}

#datosdemanda input {
  font-size: 92%;
  transition: 2s;
}

#subproductos {
  font-size: 92%;
  transition: 2s;
}
#subproductos li {
  background-color: #f2f7ff;
}

.fondoamarillo {
  font-weight: bold;
  background-color: #ff0;
}
.fondonaranja {
  font-weight: bold;
  background-color: rgb(255, 145, 0, 0.5);
}

.accordion-button,
.accordion-body {
  padding: 0.5rem 0.5rem;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: #ddeaff;
  color: #000;
}

.container-fluid {
  padding: 0rem;
}
.pulsador {
  float: right;
}

.demandaspreparadas thead {
  display: none;
}
.demandaspreparadas td {
  padding: 0.1rem;
}

.modal-header {
  padding: 0.3rem 1rem;
}
#acordeonclipedido {
  transition: 2s;
}
.actualprecicompra {
  cursor: pointer;
}

.dt-buttons {
  margin-bottom: 0.3rem;
}

.modal-body {
  overflow-y: auto;
}

.modal {
  overflow: auto !important;
}

.enlace {
  color: #0d6efd;
  cursor: pointer;
}

#calc {
  margin-left: 2px;
  padding: 0.5rem;
  background-color: red;
  transition: all 0.5s;
}
.popover-body {
  background-color: #e2ffd9;
  padding: 0.5rem 1rem;
}

.prezo {
  cursor: pointer;
}

.form-control-aiq {
  width: 100%;
  font-size: 100%;
  font-weight: bold;
  line-height: 1.5;
  background: transparent;
  border: 0.001rem solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.venta {
  background-color: #afdff5;
}
.border-left{

  border-left: 1 solid black;
}