@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700);

html {
  font-family: "Jost", "Open sans", Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #001f3f; /* o el azul espacial que estés usando */
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 100% de la altura de la ventana */
}

main {
  flex: 1; /* Ocupa el espacio restante entre header y footer */
}

main {
  flex-grow: 1;
  padding-top: 15px;
  padding-bottom: 20px;
  min-height: calc(100vh - 270px); /* ajustá 120px según el alto real de header + footer */
  overflow-y: auto;
}

body {
  /*background-image: url('../img/fondo-veng.jpg?v=1');*/
  background-size: cover;       /* Ajusta la imagen al tamaño del contenedor */
  background-repeat: no-repeat; /* Evita que se repita */
  background-position: center;  /* Centra la imagen */
  margin: 0;
  background-color:#000;
  text-align:left;
	background-color: #ffffff; 
  /*font-family: "Open sans", Arial, Helvetica, sans-serif;*/
  font-family: "Jost", "Arial", "sans-serif";
  font-size: 14px !important;
  /*background-image:url(../fondo-grilla-1.gif); background-position:top left; background-repeat:repeat-x;*/
}

h1 {  
  font-family: "Jost", "Open sans", Arial, Helvetica, sans-serif;
}

@media only screen and (min-device-width : 300px) and (max-device-width : 770px) {
  body{text-align:center;}
  h1 { font-size:1.7em;}
}

/*HEADER*/
header {
  background-color: transparent;
}

.encabezado {
  background-color: #fff !important;
  /*-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.3);
  box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.3);*/
}

.encabezado h2 {
  font-family: "Jost", 'Oswald', sans-serif !important; 
  font-weight:bold; 
  font-size:30px !important; 
  color:#0099cc; 
  text-align:right; 
}

.encabezado ul.menu_log{
list-style-type: none;
margin: 0;
padding: 0;
   }
   
.encabezado ul.menu_log li{
  display:inline-block;
  font-size:12px;
  color:#0099cc;
  margin-left:5px;
}   
   
.encabezado ul.menu_log li a { 
  color:#0099cc; 
}

.encabezado ul.menu_log li a:hover { 
  color:#ff9933; 
  text-decoration:none; 
}

.logos_encabezado{ 
  width:auto; 
  max-width:300px; 
  float:left; 
  overflow:auto; 
  padding:10px;
}  

.intratitulo { 
  text-align:right !important;
}

.intratitulo p { 
  line-height:2px; 
  font-size:12px; 
}

.logout {
  color: blue !important;
  font-size: 12px !important;
  width: auto !important;
  display: inline-block !important;
  text-decoration: none !important;
}

.header-row {
  background-color: #002236;
}

.centered-img {
  /*margin-left: 50px;*/
  margin-left: 0px;
  margin-right: 0px;
}

.link-veng {
  color: #59b7c3 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.link-veng:hover {
  color: #40a0b0 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.link-veng-borde {
  border: 1px solid #59b7c3 !important;
  color: #59b7c3 !important;
  background-color: transparent !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.link-veng-borde:hover {
  background-color: #59b7c3 !important;
  color: white !important;
  text-shadow: none;
}

.text-veng {
  color: #59b7c3 !important;
  font-size: smaller;
}

.btnSalir i {
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.btn-salir:hover i {
  color: #59b7c3;
  transform: scale(1.2);
}

.link-simple {
  text-decoration: none;
}

/*FIN HEADER*/

/*Barras Menú*/
.barra {
  display: flex;
  gap: 1rem;
  padding: 0.3rem 0.8rem;         /* Menor altura */
  line-height: 0.8;             /* Compacta el texto */
  font-size: 0.65rem;           /* Tamaño institucional */
}

.barra-celeste {
  background-color: #59b7c3;
}

.barra-azul {
  background-color: #2780bc;
}

.barra a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: 0.2rem 0.6rem;       /* Botones más bajos */
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.barra a.active {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  /*background-color: rgba(0, 0, 0, 0.2);*/
}
/*FIN Barras Menú*/

/*Cuerpo*/
.box-institucional {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  min-height: 250px; /* ajustable según contenido */
}

.box-institucional.bg-imagen {
  background-image: url('../img/fondo-box.png?v=1'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; 
}

.box-institucional.bg-imagen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05); /* Muy sutil */
  pointer-events: none;
  border-radius: 12px;
}

.titulo-1 {
  color: #002760 !important;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px !important;
}

.titulo-2 {
  color: #002760 !important;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px !important;
}

/*FIN Cuerpo*/

/*Menu Lateral*/
.lista-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lista-tags a {
  display: block;
  text-decoration: none;
  font-weight: 200;
  font-size: smaller;
  line-height: 1;
  /*color: black;
  padding: 0.4rem 0.8rem;*/
  border-radius: 6px;
  background-color: transparent; /* Fondo transparente */
  transition: color 0.3s;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Sombra para contraste */
}

.lista-tags a.active {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Sombra para contraste */
}

.separador-degrade {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  margin: 0.2rem 0;
}

/*FIN Menú Lateral*/

/*Tooltip*/
  /* Contenedor del box derecho debe tener posición relativa */
.box-institucional.position-relative {
  position: relative;
  overflow: hidden; /* Evita que el hint se desborde */

}

  /* Hint flotante institucional */
.hint-flotante {
  position: absolute;
  top: 30px;
  left: 30px;
  transform: translate(-20px, -20px);
  width: 98%;
  height: 95%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: start;
  justify-content: center;
  border: 1px solid rgba(89, 183, 195, 0.8);

  background: rgba(39, 128, 188, 0.7); /* Ajustá el nivel según tu gusto */
  color: white;

  max-height: 100px;

  background-image: url('../img/fondo-box.png?v=1'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; 

  padding: 0.8rem 1rem 0.8rem 1rem; 

}

.hint-flotante.activo {
  opacity: 1;
  pointer-events: auto;
}

.hint-contenido {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0; /* Elimina padding interno extra */
}

.hint-titulo {
  margin-top: 0; /* elimina cualquier margen superior */
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  width: 100%;
}

.hint-texto {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #fff;
  width: 100%;
}



/*FIN Tolltip*/

/*Footer*/
.footer-veng {
  background-color: #002237; /* #2780BC;*/ /* Azul footer */
  color: #ffffff;
  /*padding: 0.2rem 0.2rem;*/
  padding: 10px 0;
  font-family: 'Jost', 'Roboto', sans-serif;
  font-size: 0.6rem;
  margin-top: 1em;
}

.footer-veng .footer-logo {
  max-height:  25px;
  margin-right: 0.75rem;
}

.footer-veng .footer-text {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.footer-veng .footer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-veng .footer-meta {
  font-size: 0.6rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-veng .footer-section {
    flex-direction: column;
    text-align: center;
  }
  .footer-veng .footer-meta {
    text-align: center;
    margin-top: 1rem;
  }
}
/*FIN Footer*/

/*SENDER*/
.breadcrumbs {
  margin-bottom: 0px;
  padding-top: 3px;
  color: #fff;
  height: 22px !important;
  background-color: #999999;
}

.breadcrumbs p {
  font-family: 'Jost', 'Oswald', sans-serif !important; 
  font-weight:normal; 
  font-size:11px !important; 
  text-align:left; 
}

.breadcrumbs p a {
  font-weight:normal; 
  color:#0099cc;
}
/*FIN SENDERO*/


/*MENU*/
.navbar {
  font-family: 'Jost', 'Oswald', sans-serif !important;
  font-size: 12px !important;
  margin-bottom:0; padding-bottom:0;
  border-radius:0;
  margin-top: 0;
  border:0;
  width: 100% !important;
  background-color: #f57c00 !important; /*#eb7e24*/
  padding-top: 4px !important;
  padding-bottom: 5px !important;
  min-height: auto !important;
}

.navbar-nav > li > .dropdown-menu {
}
.navbar a{
  margin-right: 15px !important;
  display: inline-block !important;
}

.dropdown-menu {
  background-color: #ce7b00  !important; 
  font-size:12px !important; 
  font-weight:normal !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  background-color: #ce7b00  !important; /*ca6b1d*/
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: 9px; 
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
  padding-left: 15px;
}

.dropdown-submenu:hover>.dropdown-menu { 
}

.dropdown-submenu>a:after {
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-menu.show{
  border-radius: 15px !important;
  color: white !important;
  padding-left: 5px; 
  padding-right: 5px;
  width: auto;
  left: 5px !important;
  top: 20px;
}

.dropdown-menu.show a{
  color: white !important;
  font-size: 12px !important;
}

.dropdown-menu.show a:hover{
  border-radius: 15px !important;
}

.menu_backoffice{
  font-size: 14px !important;
}

ul.menu_backoffice li a{
  color: #ffffff !important; 
  font-size: 11px !important;
  width:auto !important;
  padding: 5px 8px 5px 8px !important;
}

ul.menu_backoffice li a:hover{
  background-color: #ce7b00 !important; /*#7f059c*/
  text-decoration: none !important;
  border-radius: 5px;
}

ul.menu_backoffice li li {
  background-color: unset !important;
  text-decoration: none !important;
}

ul.menu_backoffice li li a:hover{
  background-color: #ce7b00 !important; /*eb7e24*/
  text-decoration: none !important;
}

.navbar-nav > li > .dropdown-menu,.navbar > li > .dropdown-menu{
  background-color: #002D72  !important; /*ca6b1d*/
  border-radius: 0px 0px 10px 10px;
  margin-top:4px !important; 
  margin-left: -1px !important;
  width: max-content !important;
  padding: 5px !important;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus{
  background-color: #ce7b00  !important; /*ca6b1d*/
}
.navbar-default .navbar > .open > a, .navbar-default .navbar > .open > a:hover, .navbar-default .navbar > .open > a:focus{
  background-color: #ce7b00 !important; /*ca6b1d*/
}

.dropdown-menu > li > a {
  padding-top:3px; 
  padding-bottom:3px; 
  line-height:18px !important; 
  white-space: nowrap !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus{
  /*background-color: #ce7b00 !important; */
  background-color: #003F5E !important;
  padding-top:3px; 
  padding-bottom:3px; 
  line-height:18px !important; 
  white-space: nowrap !important;
}

a.dropdown-toggle {
  text-decoration: none !important;  
}

ul > li > a {
  text-decoration: none !important;  
}

/*FIN MENU*/


/*CONTENIDO*/
.contenido {
  min-height: 400px;
  margin-bottom: 20px;
}

.fondo-principal {
  background-color: #ffffff !important;
}

.titulo-pagina {
  /*border:none !important; 
  margin-bottom:10px !important;
  background-color: #00A7DE !important;
  color: #fff !important;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 5px;
  border-radius: 7px !important;*/
  font-size: 18px !important;
  color: #2C3E70;
}

.titulo-pagina h4 {
  margin-bottom: 0px !important;
}

.leftTitulo {
  float: left !important;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.leftInput {
  float: left !important;
  margin-left: 5px;
  margin-right: 5px;
  width: 70%;
}

.leftInput input, .leftInput select { 
  /*margin-top:-5px; */
  padding:3px; 
  font-size:13px; 
  float:left;
}

input, select { 
  height:24px !important;
  min-height: unset !important;
}

select { 
  padding-top: 0px !important;
  font-size: 0.9rem;
  line-height: 1.4;
}

.leftInput .ui-datepicker-trigger {
  /*margin-top: -3px;*/
  margin-left: -29px;
  border-bottom-right-radius: 0.5em;
  border-top-right-radius: 0.5em;
  height: 24px;
}

.titulo-azul {
  font-size:15px !important; 
  background-color: #0A457E; 
  color:#fff; 
  padding-left:12px; 
  padding-right:12px; 
  padding-top:4px; 
  padding-bottom:3px;
  text-align:left; 
  margin-top:5px; 
  margin-bottom:10px;
}

input, select { 
  height:24px !important;
  min-height: unset !important;
}

select { 
  padding-top: 0px !important;
  font-size: 0.9rem;
  line-height: 1.4;
}

/*FIN CONTENIDO*/


/*MODALES*/
.modal-header {
  background-color: #1D9BD8;
  color: #fff;
  height: 40px;
}  

@media (max-width: 767px) {
  .modal-60 {
    width:90% !important;
    max-width: unset;
  } 
 
  .modal-80 {
    width:90% !important;
    max-width: unset;
  }

.modal-70 {
    width:90% !important;
    max-width: unset;
  }

  .modal-90 {
    width:97% !important;
    max-width: unset;
  }
}

@media (min-width: 768px) {
  .modal-60 {
    width:60% !important;
    max-width: unset;
  } 
 
  .modal-80 {
    width:80% !important;
    max-width: unset;
  }
 
 .modal-70 {
    width:70% !important;
    max-width: unset;
  }
 
  .modal-90 {
    width:90% !important;
    max-width: unset;
  }
}
/*FIN MODALES*/


/*BOTONES*/
.btn-xs {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

/* .btn-funciones {
  height: 20px !important;
  padding-top: 0px;  
} */

.btn-funciones {
  height: 22px;
  padding-left: 5px;
  padding-right: 5px;
  --bs-btn-padding-x: 0rem;
  --bs-btn-padding-y: 0rem;
  font-size: small;
}

.btn-celeste {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1D9BD8;
  --bs-btn-border-color: #1D9BD8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1888bd;
  --bs-btn-hover-border-color: #157aab;
  --bs-btn-focus-shadow-rgb: 29, 155, 216;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #157aab;
  --bs-btn-active-border-color: #136d99;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #1D9BD8;
  --bs-btn-disabled-border-color: #1D9BD8;
}

.btn-azul {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0A457E;
  --bs-btn-border-color: #0A457E;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #083b6d;
  --bs-btn-hover-border-color: #07345f;
  --bs-btn-focus-shadow-rgb: 10, 69, 126;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #07345f;
  --bs-btn-active-border-color: #062e54;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0A457E;
  --bs-btn-disabled-border-color: #0A457E;
}

.btn-rojo {
  --bs-btn-color: #fff;
  --bs-btn-bg: #E51B20;
  --bs-btn-border-color: #E51B20;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #cc181c;
  --bs-btn-hover-border-color: #b4161a;
  --bs-btn-focus-shadow-rgb: 229, 27, 32;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b4161a;
  --bs-btn-active-border-color: #9f1316;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #E51B20;
  --bs-btn-disabled-border-color: #E51B20;
}

.btn-amarillo {
  --bs-btn-color: #fff;
  --bs-btn-bg: #f0ad4e;
  --bs-btn-border-color: #f0ad4e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e89c34;
  --bs-btn-hover-border-color: #d88c2a;
  --bs-btn-focus-shadow-rgb: 240, 173, 78;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d88c2a;
  --bs-btn-active-border-color: #c87c20;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #f0ad4e;
  --bs-btn-disabled-border-color: #f0ad4e;
}

.btn-blanco {
  --bs-btn-color: #000; /* letras negras */
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: #000; /* letras negras en hover */
  --bs-btn-hover-bg: #e0e0e0; /* gris claro para el hover */
  --bs-btn-hover-border-color: #cccccc; /* gris suave */
  --bs-btn-focus-shadow-rgb: 255, 255, 255; /* sombra blanca */
  --bs-btn-active-color: #000; /* letras negras en activo */
  --bs-btn-active-bg: #cccccc; /* gris medio para el activo */
  --bs-btn-active-border-color: #999999; /* gris oscuro */
  --bs-btn-disabled-color: #000; /* letras negras en disabled */
  --bs-btn-disabled-bg: #f5f5f5; /* gris muy claro en disabled */
  --bs-btn-disabled-border-color: #e0e0e0; /* gris suave */
}

/*FIN BOTONES*/


/*TABLAS*/
th, td {
  font-weight: normal !important;
}

.table-responsive {
  margin-top: 10px !important;
  height: 400px;
  overflow: auto;  
}

.table-responsive tr.info th {
  background-color: #23527C !important;
  color: #ffffff;
}

.table-resultado {
  margin-top: 10px !important;
  height: 400px;
  overflow: auto;  
}

.table-resultado tr.info th {
  background-color: #23527C !important;
  color: #ffffff;
}


.table-minimal {
  margin-bottom: 0px !important;
}

.table-minimal tr td {
   font-size: 0.7rem;
   padding-top: 3px;
   padding-bottom: 3px;
}

tr.resaltado td {
  background-color: rgb(83, 207, 201); /* o el color que prefieras */
}
/*FIN TABLAS*/

/*para los hamburger-icon*/
.custom-menu {
  min-width: 120px;
  z-index: 1050;
  background-color: #00A1B1 !important;
  border-color: #00A1B1 !important;
  width: max-content;
}

.custom-menu a {
  color: #ffffff !important;
}

.custom-menu a:hover {
  background-color: #003F5E !important;
  text-decoration: none !important;
  line-height: 18px !important;
  white-space: nowrap !important;
}

/*FIN TABLAS*/


/*PAGINATION*/
.active>.page-link, .page-link.active {
  background-color: #1D9BD8 !important;
}
/*FIN PAGINATION*/


/*LOADER*/
.ploader {
    font-weight: 300;
    color: #7d87a9;
    margin-top: 20px;
    font-family: 'Jost', Roboto, sans-serif;
    font-size: 20px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    padding: 6px 12px;
}

 .loader {
      margin-top: 7% !important;
    margin: auto;
    border: 5px solid #3c4256;
    border-top: 5px solid #09F;
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
/*FIN LOADER*/

.form-control {
  font-size: small !important;
}

.form-control::placeholder {
  color: #cccccc; /* Gris más claro que el estándar */
  opacity: 1;     /* Asegura que el color se vea bien */
}

.label-control {
  font-size: 0.7rem;
  color: #666666;  
}


.bg-ganaderia th {
  background-color: #1D9BD8 !important;
  color: white; /* Para mejor contraste */
}

/*LOGIN*/
.input-login {
  height: 40px !important;
  padding-left: 2.5rem; /* espacio para el ícono */
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #aaa;
  z-index: 2;
  pointer-events: none;
}

.input-icon input {
  padding-left: 2.5rem;
}

.elem-login {
  width: 180px;
}
/*FIN LOGIN*/

/*PESTAÑAS*/
.tab-activa {
  background-color: #f0ad4e !important; /* Amarillo */
  color: #fff !important;
  border-color: #f0ad4e !important;
  padding: 4px 10px !important;
  font-size: 13px !important;
  margin-bottom: 4px !important;
  margin-right: 2px !important;
  border-right: 1px solid #ffffff !important;
}

.tab-activa:hover {
  background-color: #e89c34 !important;
  color: #fff !important;
}

.tab-inactiva {
  background-color: #23527C !important; /* Azul */
  color: #fff !important;
  border-color: #23527C !important;
  padding: 4px 10px !important;
  font-size: 13px !important;
  margin-bottom: 4px !important;
  margin-right: 2px !important;
  border-right: 1px solid #ffffff !important;
}

.tab-inactiva:hover {
  background-color: #083b6d !important;
  color: #fff !important;
}

/*FIN PESTAÑAS*/

/*SELECT2*/
/* .select2-container {
  width: 100% !important;
} */

.select2-container .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.5rem;
}

.form-select-sm~.select2-container--bootstrap-5 .select2-selection {
  min-height: 23px !important;
}

.select2-dropdown {
  font-size: 0.875rem;
  border-radius: 0.2rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);

  width: auto !important;
  max-width: 100vw !important;        /* nunca más ancho que la ventana */
  box-sizing: border-box !important;
  overflow-x: hidden !important;      /* oculta scroll horizontal */
  position: relative !important;      /* evita que se desplace fuera del contenedor */

  left: 0 !important;
  right: auto !important;
}

/* SM (≥576px) */
@media (min-width: 576px) {
  .select2-dropdown {
    width: 200px !important;
    /* width: 96% !important; */
  }
}

/* MD (≥768px) */
@media (min-width: 768px) {
  .select2-dropdown {
    width: 300px !important;
    /* width: 96% !important; */
  }
}

/* LG (≥992px) */
@media (min-width: 992px) {
  .select2-dropdown {
    width: 400px !important;
    /* width: 96% !important; */
  }
}

.select2-no-scroll {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/*Fin SELECT2*/

/*Filtros Avanzados*/
.consulta-avanzada {
  position: relative;
  margin: 8px 0;
}

.resumen-filtros {
  font-size: 0.9em;
  color: #666;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#resumenAvanzado {
  padding-top: 4px;
}

.btn-toggle {
  background: none;
  border: none;
  font-size: 1em;
  color: #999;
}

.contenedor-avanzado {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #2780bc !important;
  border: 1px solid #ccc;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 100%;
  border-radius: 5px !important;
  opacity: 93%;
  margin-top: 2px;
}

.contenedor-avanzado label {
  color: #fff; /* blanco */
  font-size: smaller;
}

.oculto {
  display: none;
}/*FIN Filtros Avanzados*/
