/* RESET RULES –––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --white: #fff;
  --black: #000;
  --gray: #adb5bd;
  --blue: #0d6efd;
  --cyan: #0dcaf0;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --green: #198754;
  --teal: #20c997;
  --red: #dc3545;
  --pink: #d63384;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --lightgray: #efefef;
  --steelblue: steelblue;
  --white_transparent: rgba(255, 255, 255, 0.8);
  --black_transparent: rgba(0, 0, 0, 0.5);
  --bounceEasing: cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

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

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-success {
  background-color: #198754 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-info {
  background-color: #0dcaf0 !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-inline {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.info-box 
{
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 90vw; /* evita que se salga en móvil */
    width: auto !important;
    word-wrap: break-word;
}
.info-box .content 
{
    text-align: center;
}

/* * {
  padding: 0;
  margin: 0;
} */

/* a {
  color: inherit;
  text-decoration: none;
} */

button {
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  font-size: inherit;
}

button.lnkedit,
button.lnkedit:visited {
  background-color: white;
  color: #607d8b;
  border: 1px solid #607d8b;
  padding: 1px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

button.lnkedit:hover,
button.lnkedit:active {
  background-color: #607d8b;
  color: white;
}

/* body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font: 16px/1.5 sans-serif;
} */

.btn-group {
  text-align: left;
}

.open-modal {
  font-weight: bold;
  background: var(--steelblue);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* MODAL –––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--black_transparent);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease-in;
  z-index: 1000;
}

.modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  max-width: 800px;
  max-height: 60vh;
  border-radius: 5px;
  background: var(--white);
  overflow: auto;
  cursor: default;
}

.modal-dialog > * {
  padding: 1rem;
}

.modal-header,
.modal-footer {
  background: var(--lightgray);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header .close-modal {
  font-size: 1.5rem;
  margin-left: auto;
  margin-right: 0;
  display: block;
}

.modal p + p {
  margin-top: 1rem;
}

/* FOOTER –––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.page-footer span {
  color: #e31b23;
}

/* -------------------------------------------------------- */

hr {
  border: 1px solid #ccc;
}

div.v-scroll {
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
}

div.v-scroll > div {
  white-space: pre-wrap; /* Reconocer saltos de linea en un div */
  word-break: break-word;
}

div.folder-container {
  display: flex;
}

div.folder-text {
  word-break: break-all;
}

/*Tabla*/
.table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.tr { border-top: 1px solid #ccc; }
.tr-striped:nth-child(odd) { background:#f8f8f8; }
.tr:hover { background-color: #dddddd; }

.tr-2:nth-child(odd) { border-top: 1px solid #ccc; }

.td,
.th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.td-striped:nth-child(odd) { background:#f8f8f8; }

.drawcell { border: 1px solid gray; }

/*Texto*/
.txt-capital {
  text-transform: capitalize;
}

.txt-upper {
  text-transform: uppercase;
}

.txt-lower {
  text-transform: lowercase;
}

.txt-none {
  text-transform: none;
}

.txt-fullw {
  text-transform: full-width;
}

.arial-sans {
  font-family: arial, sans-serif;
}

.bold {
  font-weight: bold;
}

.txt-center {
  text-align: center;
}

.txt-left {
  text-align: left;
}

.txt-right {
  text-align: right;
}

.txt-justify {
  text-align: justify;
}

/*Enlaces Links*/

/*Boton Crear Nuevo*/
a.lnknew:link,
a.lnknew:visited {
  background-color: white;
  color: green;
  border: 1px solid green;
  padding: 1px 5px;
  margin: 1px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.lnknew:hover,
a.lnknew:active {
  background-color: green;
  color: white;
}

/*Boton Editar*/
a.lnkedit:link,
a.lnkedit:visited {
  background-color: white;
  color: #607d8b;
  border: 1px solid #607d8b;
  padding: 1px 5px;
  margin: 1px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.lnkedit:hover,
a.lnkedit:active {
  background-color: #607d8b;
  color: white;
}

/*Boton Eliminar*/
a.lnkdel:link,
a.lnkdel:visited {
  background-color: white;
  color: #ce352c;
  border: 1px solid #ce352c;
  padding: 1px 5px;
  margin: 1px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.lnkdel:hover,
a.lnkdel:active {
  background-color: #ce352c;
  color: white;
}

/*Boton Actualizar*/
a.lnkref:link,
a.lnkref:visited {
  background-color: white;
  color: #0366d6;
  border: 1px solid #0366d6;
  padding: 1px 5px;
  margin: 1px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.lnkref:hover,
a.lnkref:active {
  background-color: #0366d6;
  color: white;
}

/* */
a.lnkaaa:link,
a.lnkaaa:visited {
  background-color: white;
  color: #6503d6;
  border: 1px solid #6503d6;
  padding: 1px 5px;
  margin: 1px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.lnkaaa:hover,
a.lnkaaa:active {
  background-color: #6503d6;
  color: white;
}

.tab-table {
  display: block;
  overflow-x: auto;
}

.col-static {
  position: absolute;
  background-color: white;
}

.col-first {
  padding-left: 74.5px !important;
}

.tab-test-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-test-body {
  display: table;
  width: 100%;
}


.bs-container,
.bs-container-fluid,
.bs-container-lg,
.bs-container-md,
.bs-container-sm,
.bs-container-xl,
.bs-container-xxl {
  width: 100%;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width:576px) {
  .bs-container,
  .bs-container-sm {
    max-width: 540px;
  }
}

@media (min-width:768px) {
  .bs-container,
  .bs-container-md,
  .bs-container-sm {
    max-width: 720px;
  }
}

@media (min-width:992px) {
  .bs-container,
  .bs-container-lg,
  .bs-container-md,
  .bs-container-sm {
    max-width: 960px;
  }
}

@media (min-width:1200px) {
  .bs-container,
  .bs-container-lg,
  .bs-container-md,
  .bs-container-sm,
  .bs-container-xl {
    max-width: 1140px;
  }
}

@media (min-width:1400px) {
  .bs-container,
  .bs-container-lg,
  .bs-container-md,
  .bs-container-sm,
  .bs-container-xl,
  .bs-container-xxl {
    max-width: 1320px;
  }
}
