/* Propiedades para Menu de opciones */

/* ===== Estilos generales (PC / pantallas grandes) ===== */
/* PARA LOS 3 TITULOS PRINCIPALES*/
.titulo1 {
  font-size: 1.6rem;   /* más grande en PC */
  line-height: 0.8;    /* espacio entre líneas */
  font-weight: bold;
  color: #27625b;
}

.titulo2 {
  font-size: 1.1rem;   /* tamaño intermedio */
  line-height: 0.8;
  color: #27625b;
}

.titulo3 {
  font-size: 0.9rem;     /* más pequeño */
  line-height: 0.8;
  color: #27625b;
}

/* En pantallas pequeñas (ej: móviles < 768px) */
@media (max-width: 480px) {
  /* PARA TITULOS EN MOVILES */
  .titulo1 {
    font-size: 1.2rem;   /* más grande en PC */
    line-height: 0.9;    /* espacio entre líneas */
    font-weight: bold;
    color: #27625b;
    /*margin-bottom: 0.2rem;  /* separación extra */
}

.titulo2 {
  font-size: 1.0rem;   /* tamaño intermedio */
  line-height: 0.9;
  color: #27625b;
  /* margin-bottom: 0.15rem; */
}

.titulo3 {
  font-size: 0.8rem;     /* más pequeño */
  line-height: 0.9;
  color: #27625b;
}
/******************************
  
  
/***** PARA TAMAÑO DE BOTON VERDE EN MOVILES DATATABLES **********/
  table.dataTable.dtr-column>tbody>tr>td.control:before,
  table.dataTable.dtr-column>tbody>tr>th.control:before {
    width: 1em !important;       /* agranda el círculo */
    height: 1em !important;
    line-height: 1em !important; /* centra el símbolo */
    
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;   /* hace el + más grueso */
    font-size: 1.4em !important;    /* tamaño del símbolo */
    
    border-radius: 50% !important; /* mantiene forma circular */
    margin-top: -0.7em !important; /* re‑centra vertical */
    margin-left: -0.7em !important;/* re‑centra horizontal */


  }
/*****************************************************************/
  
  .fs5 {
    font-size: 1.4rem !important;
  }
  /****************************************************************/

  /**ESTO ES PARA BOTONES DE DATATABLES MISMO TAMAÑO EN MOVIL*****/
  .dt-buttons {
    display: flex;
    flex-direction: column; /* apila los botones */
    align-items: stretch;   /* que ocupen todo el ancho */
  }

  .dt-buttons .btn {
    width: 100% !important;
    margin: 6px 0 !important;
    padding: 12px !important;
    font-size: 15px !important;
    border-radius: 8px; /* esquinas redondeadas estilo app */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* sombra ligera */
    transition: all 0.2s ease;
  }

  .dt-buttons .btn:active {
    transform: scale(0.97); /* efecto de “clic” táctil */
  }

  /* Opcional: íconos un poco más grandes */
  .dt-buttons .btn i {
    font-size: 16px !important;
    margin-right: 6px;
  }
/*******************************************************************/
  .fs-6 {
      /* Usa el 1.2rem que deseas para agrandar el texto */
      font-size: 1.2rem !important;
  }
/******************************************************************/

  #iframeReporte {
    height: 90vh; /* 90% del alto de la ventana */
  }

 

}

/* Cambiar de Color el Aside */
.sidebar-dark-primary{
  background: #446ca9 !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active{
  background-color: #2e5d9f !important;
}

.col-half {
  width: 50% !important;
}

#lstUsuarios thead th{
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstOrganismos thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstInstituciones thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstEntidades thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}


#lstVirushat thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstFormularioP1 thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstBacteriashat thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstToxinashat thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstHongoshat thead th {
  background-color: #253555; /* Cambia el color según tus necesidades */
}

#lstVirusveg thead th {
  background-color: #417B5A; /* Cambia el color según tus necesidades */
}

#lstBacteriasveg thead th {
  background-color: #417B5A; /* Cambia el color según tus necesidades */
}

#lstHongosveg thead th {
  background-color: #417B5A; /* Cambia el color según tus necesidades */
}

#lstPatogenos thead th {
  background-color: #417B5A; /* Cambia el color según tus necesidades */
}

#lstFormularios thead th {
  background-color: #66635C; /* Cambia el color según tus necesidades */
}

#lstBrotes thead th {
  background-color: #417B5A; /* Cambia el color según tus necesidades */
}

/****PARA MENU TEXTOS LARGOS***************/
/* Permite que el texto se distribuya en varias líneas */
.nav-sidebar .nav-link {
    white-space: normal;
    display: flex;
    align-items: center;
}

/* Ajusta el margen del icono para que no se pegue al texto arriba */
.nav-sidebar .nav-link p {
    margin-bottom: 0;
    line-height: 1.3; /* Estrecha el espacio entre líneas */
}
/******************************************************/

/* Cambiar el color del texto y el fondo del separador */
.main-sidebar .nav-sidebar .nav-header {
    
    color: #eff3f5 !important;        /* Color amarillo (puedes usar hexadecimales) */
    font-size: 0.9rem;         /* Tamaño de la letra */
    font-weight: bold;         /* Negrita */
    padding: 10px 15px;        /* Espaciado interno */
  
    margin-top: 10px;          /* Separación con el bloque de arriba */
}


/* Control para el título (el enlace dentro de username) */
.user-block .username a {
    font-size: 20px !important; /* Ajusta el tamaño a tu gusto */
    font-weight: bold;
}

/* Control para el subtítulo (description) */
.user-block .description {
    font-size: 16px !important; /* Ajusta el tamaño a tu gusto */
    color: #666; /* Opcional: cambiar el tono del gris */
}

/****  NUEVAS FUNCIONES *************/


#lstCompradores thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstProductos thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstVendedores thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstHorarios thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}


#tablaCitas thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#tbl_compradores thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstAgendas thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstIntenciones thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}


#lstA_Compradores thead th {
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstA_Vendedores thead th {
  background-color: #739590; /* Cambia el color según tus necesidades */
}





#lstIntencionesUsu thead th{
  background-color: #57467B; /* Cambia el color según tus necesidades */
}

#lstMovimientos thead th{
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}



#lst10top thead th{
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstpocostock thead th{
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstRecibos thead th{
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}

#lstUtilidad thead th{
  background-color: #3b5d4f; /* Cambia el color según tus necesidades */
}


.callout{
  padding: 10px 16px 10px 16px !important;
  background-color: #E9E9E9 !important;
}

.card2{
  width: 100%; 
  height: 450px; 
  padding: 5px; 
  margin-bottom:20px!important;
  border-radius: 20px; 
  border: solid 5px rgba(27, 151, 5, 1); 
  background: #e9e9e9; 
} 

.box1-bg { 
  background-color: #3b5d4f; /* Cambia esto al color que prefieras */ 
  color: white; /* Ajusta el color del texto si es necesario */ 
}

.box2-bg { 
  background-color: #739590; /* Cambia esto al color que prefieras */ 
  color: white; /* Ajusta el color del texto si es necesario */ 
}

.box3-bg { 
  background-color: #bfa7fa; /* Cambia esto al color que prefieras */ 
  color: white; /* Ajusta el color del texto si es necesario */ 
}

.box4-bg { 
  background-color: #c4975b; /* Cambia esto al color que prefieras */ 
  color: white; /* Ajusta el color del texto si es necesario */ 
}



/*PARA HEADER DEL CARD DE POS*/
.card-header-pos {
  min-height: 80px; /* Ajusta la altura según tus necesidades */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #143e3a; /* Cambia el color de fondo */
  color: #89e3a3; /* Cambia el color del texto */
}
.moneda-sigla {
  color: #27625b; /* Cambia el color del texto "$us." a naranja */
}


/* Propiedades para DATATABLE tamaño de texto */
table.dataTable tbody td {
    white-space: nowrap !important;
    font-size: 13px !important;
}

table.dataTable thead th {
    white-space: nowrap !important;
    font-size: 13px !important;
}

/* PROPIEDADES PARA SELECT PICKER*/
.bootstrap-select .dropdown-menu li.active a {
  background-color: #446ca9 !important; /* verde */
  color: white !important;
}

.bootstrap-select .dropdown-menu li.selected a {
  background-color: #446ca9 !important; /* verde */
  color: white !important;
}




/* Final propiedades de texto */

/* Propiedas para BOTONES DATATABLE */
.addProceso{
  background-color: #739590 !important;
  color: white !important;
}

.addNewRecord{
  background-color: #198754 !important;
  color: white !important;
}

.recordsPrint{
  background-color: #c4975b !important;
  color: white !important;
}

.btnProceso{
  background-color: #bfa7fa !important; /* Cambia esto al color que prefieras */ 
  color: white !important; /* Ajusta el color del texto si es necesario */ 
}

.buttons-excel{
    background-color: #0d6efd !important;
    color: white !important;
}

.dt-button{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
/* FINAL BOTONES */

/* PARA GRAFICO*/
#Chart01 {
  width: 600px;
  height: 400px;
  border: 2px solid #003366;     /* Borde azul oscuro */
  border-radius: 20px;           /* Esquinas redondeadas */
  background-color: transparent; /* El fondo lo pinta el plugin */
}



.transparentbar {
    background-repeat:no-repeat;
    cursor:pointer;
    outline:none;
    border:none;
    box-shadow:none; 
    background-image: none;  
    background-color: transparent;
  
  }
  
  .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 50%;
  }
  
  div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

.sidebar-mini{
    height: 100vh !important;
}

.selectpicker{
  font-size: 15px !important;
}

.dropdown-menu li {
  font-size: 14px;
}

.bootstrap-select .btn {
  background-color: #e9ecef;
  color: black;
}

/* Para personalizar color de etiquetas etiquetas */
.comcolor {
  color: #09811e;
}

.card2{
  width: 100%; 
  height: 400px; 
  padding: 5px; 
  margin-bottom:20px!important;
  border-radius: 20px; 
  border: solid 3px rgba(39, 61, 98, 1); 
  background: #e9e9e9; 
} 

.bg-main {
  background-color: #6f42c1 !important;
  color: white !important;
} 

.select2-container .select2-selection--single {
  height: 31px;  /* Ajusta la altura para que se ajuste a tu diseño */
  display: flex;
  align-items: center;
}
/* FONDO DE COLOR DE LA LISTA*/
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover{
  background-color: #446ca9;
  color:#fff;
}
/* PRIMERA OPCION DE SELECT 2*/
.select2-container .select2-selection--single {
  font-size: 14px; /* Puedes usar px, em, rem, etc. */
  
  background-color: #dedfe0; /* Cambia este color al que prefieras */
  
}

/*FUENTE DE LAS LISTA*/
.select2-container .select2-results__option {
  font-size: 14px;
  
}

/* COLOR DE BORDE SELECT 2*/
.select2-container--default .select2-selection--single:focus {
  border-color: #3b5d4f; /* Cambia este color al que prefieras */
  outline: none;
}
/* QUITA EL COLOR DE LA OPCION SELECIONADA*/
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: transparent;
  color: inherit;
}
