@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;700&display=swap');

@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 0.5s;
}

body {
  background: rgba(245, 245, 245, 1) url('../images/pattern.png') 50% 0;
  font-family: 'Nunito';
  /*font-size: 0.775rem !important;*/
}

nav.navbar span.navbar-brand-text {
  color: rgba(0, 140, 196, 1);
  font-weight: bold;
}

.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}

.text-small {
  font-size: .875rem !important;
}

.text-ultra-small {
  font-size: .675rem !important;
}

td {
  white-space: nowrap!important;
}

.bg-gts {
  background-color: rgba(0, 82, 152, 1)!important;
}
.border-gts{
  border-color: rgba(0, 82, 152, 1)!important;
}

/* Animación de alertas */
.alert-animate-in {
  opacity: 0;
  transform: translateY(-10px);
  transition: all .25s ease;
}

.alert-animate-in.show {
  opacity: 1;
  transform: translateY(0);
}

.alert-animate-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all .25s ease;
}

/* Modales */
button.btn.w-btn-15 {
  width: 15% !important;
}

span[data-hold-action-countdown-group] i {
  top: -2px;
  left: -8px;
}

span[data-hold-action-countdown-group] i.fa-responsive-size-x {
  font-size: 1.5rem!important;
}

/* Tabla de pedidos */
table#orders-table-content {
  font-size: 0.75rem!important;
  padding: 0.15rem 0.3rem;
  table-layout: fixed;
  width: 100%;
}
table#orders-table-content th,
table#orders-table-content td {
  padding: 0.15rem 0.3rem;
  vertical-align: middle;
  font-weight: bolder;
}
table#orders-table-content tbody tr td {
  background-color: inherit;
  color: inherit;
}
table#orders-table-content thead th:nth-child(1),
table#orders-table-content tbody td:nth-child(1) {
  width: 2.35%;
}
table#orders-table-content thead th:nth-child(2),
table#orders-table-content tbody td:nth-child(2) {
  width: 9.5%;
}
table#orders-table-content thead th:nth-child(3),
table#orders-table-content tbody td:nth-child(3) {
  width: 6.45%;
}
table#orders-table-content thead th:nth-child(4),
table#orders-table-content tbody td:nth-child(4),
table#orders-table-content thead th:nth-child(6),
table#orders-table-content tbody td:nth-child(6) {
  width: 9.0%;
}
table#orders-table-content thead th:nth-child(5),
table#orders-table-content tbody td:nth-child(5) {
  width: 8.30%;
}
table#orders-table-content thead th:nth-child(7),
table#orders-table-content tbody td:nth-child(7) {
  width: 22.0%;
}
table#orders-table-content thead th:nth-child(8),
table#orders-table-content tbody td:nth-child(8),
table#orders-table-content thead th:nth-child(9),
table#orders-table-content tbody td:nth-child(9),
table#orders-table-content thead th:nth-child(10),
table#orders-table-content tbody td:nth-child(10),
table#orders-table-content thead th:nth-child(11),
table#orders-table-content tbody td:nth-child(11),
table#orders-table-content thead th:nth-child(12),
table#orders-table-content tbody td:nth-child(12) {
  width: 6.25%;
}
table#orders-table-content thead th:nth-child(13),
table#orders-table-content tbody td:nth-child(13) {
  width: 3.35%;
}

/* Listado de articulos en un pedido */
div#order-article-list article .row {
  --bs-gutter-x: 0.65rem;
}
div#order-article-list article:nth-child(even) {
  background-color: rgb(221, 221, 221);
}
div#order-article-list article:nth-child(odd) {
  background-color: rgb(255, 255, 255);
}
div#order-article-list article:hover {
  background-color: rgb(100, 149, 237);
}
div#order-article-list article:hover label {
  color: rgb(255, 255, 255)!important;
}

/* Inputs y textareas responsive con el contenido */
input.field-sizing,
textarea.field-sizing {
  field-sizing: content!important;
  resize: none!important;
}
