body {
  margin: 0;
  padding: 0;
  
  background-size: cover;
  background-position: center;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.089); /* Ajusta el valor rgba según la opacidad deseada */
  z-index: -1; /* Para asegurarse de que el pseudo-elemento esté detrás del contenido */
}
.conterLogin {
    
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.719);
}



h2 {
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.ferreWel {
  width: 300px; /* Establecemos el ancho */
  height: 100px; /* Establecemos la altura */
  border-radius: 5px; /* Establecemos el radio de borde */
}
.buttonIni {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
    height: 30px;
}
.welcome {
  margin-top: 7px;
    margin-left: -330px;
  
}

.buttonrecu {
  width: 100%;
  padding: 10px;
  background-color: #0b2e55;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 200px;
  height: 30px;
}

.buttonIni:hover {
    background-color: #0056b3;
}
.buttonrecu:hover {
  background-color: #363e88;
}


.input-group {
    margin: 20px 0;
    position: relative;
   
  }

  label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    color: #999;
    transition: all 0.2s ease-in-out;
    pointer-events: none;

}





  input[type="text"] ,
  input[type="password"],
  input[type="email"]
 
  {
    font-size: 16px;
    padding: 10px;
    display: block;
    width: 360px;
    height: 30px;
    border: none;
    border-bottom: 1px solid #ccc;
    transition: all 0.2s ease-in-out;
  }

  input[type="text"]:focus ~ label,
  input[type="text"]:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #3498db;
  } 

  input[type="password"]:focus ~ label,
  input[type="password"]:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #3498db;
  } 
  /* regresar selecc*/





  select:focus ~ label,
  select:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #3498db;
  }

  input[type="date"] {
    font-size: 16px;
    padding: 10px;
    display: block;
    width: 200px;
    height: 30px;
    border: none;
    border-bottom: 1px solid #ccc;
    transition: all 0.2s ease-in-out;
  }

  input[type="date"]:focus {
    border-bottom: 2px solid #3498db;
  }

  input[type="date"]:focus ~ label,
  input[type="date"]:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #3498db;  
  }

 


  .contenedor {
      top: 50%;
    left: 50%;
    transform: translate(-50%, 10%);
    width: 630px;
    height: 950px;
    border: 5px solid #66c2ff;
    border-radius: 20px;
    position: relative;
    padding: 20px;
  }



  .contenedor  h2 {
    position: absolute;
    
    top: -45px;
    left: 20px;
    font-size: 24px;
    color: #333;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
  }

  .contePadre{
      width: 250px;
    height: 360px;
    border: 5px solid #FFA500;
    border-radius: 20px;
    position: relative;
    padding: 20px;
    display: inline-block;
  }
  .conteMadre{
      width: 250px;
    height: 360px;
    border: 5px solid #00FF00;
    border-radius: 20px;
    position: relative;
    padding: 20px;
    display: inline-block;
  }

  .conteMadre  h2 {
    position: absolute;
    top: -45px;
    left: 20px;
    font-size: 24px;
    color: #333;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
  }

  .contePadre  h2 {
    position: absolute;
    top: -45px;
    left: 20px;
    font-size: 24px;
    color: #333;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
  }
  .btn-guardar {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }

  .btn-guardar:hover {
    background-color: #0062cc;
  }

  .btn-guardar img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .btn-regresar {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #3498db;
    border: 2px solid #3498db;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
  }

  .btn-regresar:hover {
    background-color: #2980b9;
    border-color: #2980b9;
  }

  .btn-regresar img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .cabecera {
      margin: 0;
    height: 70px;
    width: 100%;
    background: linear-gradient(to right, #4FC3F7, #01579B);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  }
  .cabecera h1 {
      
      margin: 0;
    font-size: 30px;
    font-weight: bold;
    color: white;
    padding: 10px;
    text-align: center;
  }




/*encabezado*/

  .tabs {
    position: fixed; /* Hace que los elementos .tabs estén posicionados de forma fija en la ventana del navegador */
    width: 100%;
    z-index: 999; /* Establece una alta posición de apilamiento para que los elementos .tabs estén siempre por encima de otros elementos */
    overflow: hidden;
    background-color: #f2f2f2;
}

.tablinks {
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 16px;
    background-color: inherit;
}

.tablinks:hover {
    background-color: #ddd;
}

.tabcontent {
    display: none;
    padding: 20px;
}

/*grafico*/
.conpaste {
  margin-top: 50px;
  height: 100vh;
  border: 5px solid rgb(255, 255, 255);
  float: left;
  background-color: #ffffff;
}
.tabcontent {
  display: none;
}
.tablinks {
  cursor: pointer;
  padding: 10px;
  border: none;
  background-color: #f1f1f1;
  margin-right: 5px;
}
.tablinks.active {
  background-color: #ccc;
}

.tabcontent.active {
    display: block;
}


/* tramites */

/* Contenedor principal */
.contenedorindex {
  display: flex; /* Utiliza Flexbox para alinear los elementos en una fila */
  justify-content: space-between; /* Asegura que las secciones estén separadas */
  gap: 40px; /* Añade 40px de espacio entre las secciones */
  flex-wrap: nowrap; /* Asegura que los elementos no se envuelvan en una nueva línea */
}

/* Estilo para la sección de nuevo trámite */
.nuevoTramite {
  width: 33%;
  padding: 17px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;

}

/* Estilo para la tabla de trámites */
.tablaTra {
  width: 65%;
  height: 100%;
  max-height: 1148px;
  overflow-y: auto;
  background-color: #ffffff;
}


/*scroll*/

.resultados::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra de desplazamiento */
  background-color: #f0f0f0; /* Color de fondo de la barra */
  border-radius: 10px;
}

.resultados::-webkit-scrollbar-thumb {
  background-color: #cccccc; /* Color del "pulgar" (la parte que se arrastra) */
  border-radius: 10px; /* Bordes redondeados */
  border: 3px solid #f0f0f0; /* Espacio entre el pulgar y el fondo */
}

.resultados::-webkit-scrollbar-thumb:hover {
  background-color: #b0b0b0; /* Cambia el color cuando se pasa el cursor */
}

.resultados::-webkit-scrollbar-track {
  background-color: #f0f0f0; /* Color de la pista donde se desplaza el pulgar */
  border-radius: 10px; /* Bordes redondeados */
}

/* tabla */
/* Contenedor principal de resultados */
.resultados {
  width: 100%;
  max-width: 100%;
  height: 75vh;
  overflow-x: auto;
  overflow-y: auto;
  border: 3px solid rgb(53, 44, 5);
  margin: 20px auto;
  padding: 10px;
  border-radius: 8px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.resultados2 {
  width: 100%;
  max-width: 100%;
  height: auto; /* Se ajusta automáticamente según el contenido */
  overflow-x: auto; /* Mantiene el desplazamiento horizontal si es necesario */
  border: 3px solid rgb(53, 44, 5);
  margin: 20px auto;
  padding: 10px;
  border-radius: 8px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* Tabla */
/* Contenedor principal de resultados */

/* Tabla */
.result-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
  border-collapse: collapse;
  overflow-x: auto;
}

/* Cabecera fija */
.filaFija {
  position: sticky;
  top: 0;
  background-color: #97b5e6;
  color: #ffffff;
  z-index: 2;
}

/* Estilos generales */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 12px 8px;
  text-align: left;
  word-wrap: break-word;
  font-size: 16px;
  color: #333;
}

/* Filas alternas */
tr:nth-child(even) {
  background-color: #f2f6fc;
}

/* Hover fila */
tr:hover {
  background-color: #e2e8f0;
}

/* Scroll horizontal si es necesario */
@media (max-width: 768px) {
  .resultados {
    height: 60vh;
    overflow-x: auto;
  }

  .result-table {
    min-width: 500px;
  }

  th, td {
    padding: 10px 6px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .resultados {
    height: 50vh;
    padding: 8px;
  }

  .result-table {
    min-width: 400px;
  }

  th, td {
    padding: 8px 4px;
    font-size: 12px;
  }
}


/*menu*/

.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
}
/* Barra lateral */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #002b5c; /* Azul oscuro */
  padding-top: 50px;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); /* Sombra para separación visual */
  z-index: 1000;
}

.sidebar.active {
  left: 0;
}

/* Lista dentro de la barra lateral */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Elementos de la lista */
.sidebar ul li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Líneas divisorias */
}

/* Enlaces */
.sidebar ul li a {
  display: flex; /* Para alinear texto e icono */
  align-items: center;
  text-decoration: none;
  color: #fff; /* Color blanco para texto */
  font-size: 16px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.sidebar ul li a:hover {
  color: #ffca28; /* Color dorado al pasar el mouse */
  background-color: rgba(255, 202, 40, 0.1); /* Fondo sutil */
  border-radius: 5px; /* Bordes redondeados */
}

/* Íconos (opcional) */
.sidebar ul li a i {
  margin-right: 10px;
  font-size: 18px; /* Tamaño de los íconos */
  color: #fff; /* Color blanco para los íconos */
}

/* Último elemento para cerrar sesión */
.sidebar ul li:last-child {
  margin-top: auto; /* Mueve "Cerrar sesión" al final */
  padding-bottom: 20px;
}

.encabezadoTramites {
  position: relative; /* El contenedor es ahora un contenedor relativo */
  display: flex; /* Flexbox para alinear los elementos de izquierda a derecha */
  justify-content: flex-start; /* Alinea el contenido al inicio del contenedor */
  align-items: center; /* Centra el contenido verticalmente */
  padding: 10px;
  background-color: #f0f0f0; /* Color de fondo opcional */
}

.logout-button {
  position: absolute; /* El botón se coloca fuera del flujo normal */
  right: 10px; /* Coloca el botón 10px desde el borde derecho */
  top: 50%; /* Lo coloca verticalmente en el centro */
  transform: translateY(-50%); /* Ajusta el botón para que esté perfectamente centrado */
  background-color: #d32f2f; /* Rojo intenso */
  color: #fff; /* Texto blanco */
  padding: 10px 20px; /* Espaciado interno */
  border: none;
  border-radius: 5px; /* Bordes redondeados */
  text-decoration: none; /* Quita el subrayado */
  font-size: 16px; /* Tamaño de la fuente */
  font-weight: bold; /* Fuente en negrita */
  cursor: pointer; /* Cambia el cursor a una mano */
  transition: background-color 0.3s ease; /* Efecto suave al pasar el cursor */
}

.logout-button:hover {
  background-color: #b71c1c; /* Rojo más oscuro al pasar el cursor */
}


/* VEntas*/
.conBaIMg,
.conObc,
.conTabla,
.conoption1 {
  margin-top: 0px;
  margin-top:50px;
  
  height: 100vh;
  border: 5px solid rgba(197, 25, 25, 0);
  float: left;
}
.conoption1{
  margin-top: 0px;  
  margin-left: 0px;
  width: 25vh;
  height: 100vh;
  
  float: left;
}




.conObc,
.conTabla 
{ 
  margin-left: 0px;
}

.conBaIMg {
  margin-left: -21px;
  width: 35vh;
}

.conTabla {
  width: 80vh;  
}

.conObc { 
  width: 50vh;
  float: right;
 }

 /* onpciones de filtros 1*/

 .dropbtn {
  background-color: #f9f9f9;
  color: #0f0f0f;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


/*graficos */

.graficoPastel {
  width: 500px;
  height: 500px;
  margin: auto;
  text-align: center;
  border: 1px solid black;
}
canvas {
  display: block;
  margin: 0 auto;
  width: 500px;
  height: 500px;
}

      .controls, .porsentajes {
          text-align: center;
          margin-top: 20px;
      }
      .calendar-container {
        background-color: white; /* Fondo blanco */
        padding: 20px; /* Espacio interno */
        border-radius: 8px; /* Bordes redondeados */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
        width: fit-content; /* Ancho ajustado al contenido */
    }


    .encabezadoTramites {
      background-color: rgb(42, 74, 164); /* Color en RGB (2a4aa4) */
      height: 10vh; /* Ocupa el 20% de la altura de la pantalla */
      width: 100%; /* Ocupa el 100% del ancho de la pantalla */
      display: flex;
      flex-direction: row; /* Los elementos estarán en una fila (de izquierda a derecha) */
      justify-content: flex-start; /* Alinea los elementos al inicio (a la izquierda) */
      align-items: center; /* Centra los elementos verticalmente */
      color: white; /* Cambia el color del texto a blanco */
      padding: 0 20px; /* Espaciado horizontal para que no toquen los bordes */
      box-sizing: border-box; /* Asegura que el padding no afecte el tamaño del contenedor */
  }
  
  .encabezadoTramites h2, .encabezadoTramites h1 {
      margin: 0 10px; /* Espacio entre las imágenes y los textos */
      padding: 0;
  }
  
  .logominsa {
      max-height: 60px; /* Ajusta la altura máxima de las imágenes */
      margin-right: 15px; /* Añade espacio entre las imágenes y el texto */
  }

  /* encabezado menu*/

  .contenedorEnca {
    display: flex;
    justify-content: space-between; /* Espaciado entre elementos */
    align-items: center; /* Centra verticalmente */
    padding: 10px 20px;
    background-color: #f9f9f9; /* Fondo opcional */
    border-bottom: 1px solid #ddd; /* Línea divisoria opcional */
}

.Bienvenida h2 {
    margin: 0; /* Elimina márgenes */
    font-size: 20px; /* Tamaño de fuente */
    color: #333; /* Color del texto */
    text-align: left; /* Alineación izquierda */
}

.botonesmenu {
    text-align: right; /* Alineación derecha */
}



  /* imprimir bautirmo */

  @media print {
    .no-print, 
    button,
    .encabesadoimp,
    .btn-regresar,
    .nuevoTramite,
    
    .logo, 
    .colorOptions /*,.referencia */{
        display: none;
        border: none; /* Sin bordes para impresión */
        box-shadow: none; /* Sin sombras para impresión */
    }

    @page {
       
        margin: 0; /* Sin márgenes */
    }

    /* Escalamos todo el contenido al 149% */
    body {
      transform: scale(1.495); /* Escala al 119% */
      transform-origin: top left; /* Mantener el origen en la parte superior izquierda */
      margin: 0; /* Eliminar márgenes del body */
      padding: 0; /* Eliminar padding del body */
      width: 210mm; /* Ancho A4 */
      height: 297mm; /* Altura A4 */
      overflow: hidden; /* Asegura que no haya contenido que se desborde en otras páginas */
  }

    .hoja {
        width: 210mm; /* Tamaño A4 */
        height: 297mm; /* Tamaño A4 */
        margin: 0 auto;
    }

    .hoja-a4 {
        width: 100%;
        height: 100%;
        border: none; /* Sin bordes para impresión */
        box-shadow: none; /* Sin sombras para impresión */
    }

    .notMarg, 
    .ConBau, 
    .conFirm, 
    
    .conFechLu, 
    .txtParro, 
    .txtNLibro, 
    .txtFolio, 
    .txtAnioBau, 
    .txtDiaBau, 
    .txtMesBau, 
    .txtNombrIgleBau, 
    .txtNombrPadreIgleBau, 
    .txtNombrBau, 
    .txtSexBau, 
    .txtCiuBau, 
    .txtDiaNacBau, 
    .txtMesNacBau, 
    .txtAnioNacBau, 
    .txtPadreBau, 
    .txtPadreCiuBau, 
    .txtMadreBau, 
    .txtMadreCiuBau, 
    .txtPadrino1Bau,
    .txtPadrino2Bau, 
    .txtRubicaBau, 
    .txtCiudadFir, 
    .txtDiaFir, 
    .txtMesFir, 
    .txtAnioFir, 
    .txtDiaFer, 
    .txtMesFer, 
    .txtAnioFer, 
    .txtNumNot,
    .txtNomNot,
    .txtApe1Not,
    .txtApe2Not,
    .txtNumMarg {
    
    border: 1px solid rgba(128, 55, 55, 0);
    }
    body {
      margin: 0; /* eliminar los márgenes predeterminados */
    }
  }
  
  .texto{

  text-align: left;
  vertical-align: bottom;
  font-weight: bold;
  }

  .hoja {
    width: 21cm;
  height: 29.7cm;
    margin: 0 auto;
    
  }
  
  .hoja-a4 {
    width: 100%;
    height: 100%;
   
    border: 1px solid rgb(165, 53, 53);
  }
  
  .hoja-a4 p {
    size: A4;
    margin: 0;
  }
  
  .notMarg {
    margin-top:400px;
    margin-left:49px;
    width:150px;
    height:130px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .ConBau {
    margin-top:85px;
    margin-left:46px;
    width:537px;
    height:612px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .conFirm {
    margin-top:678px;
    margin-left:206px;
    width:580px;
    height:185px;
    border: 1px solid rgba(168, 48, 48, 0);
  }
  .conFechLu {
    margin-top:126px;
    margin-left:384px;
    width:472px;
    height:25px;
    border: 1px solid rgba(168, 48, 48, 0);
  }
  .logo {
    position: absolute;
    
    width:129px;
    height:129px;
    margin-top:53px;
    margin-left:67px;
    z-index: -1;
  }

  .referencia {
    position: absolute;
    
    width: 210mm;
    height: 297mm;
    margin-top:0px;
    margin-left:4px;
    z-index: -1;
  }

  /*dentro de la hoja*/

  .txtParro {
    margin-top: 70px;
    margin-left: 62px;
    width: 51px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
  } 
  .txtNLibro {
    margin-top: -27px;
    margin-left: 206px;
    width: 93px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;  
  }
  .txtFolio {
    margin-top: -24px;
    margin-left: 350px;
    width: 95px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtAnioBau {
    margin-top: 8px;
    margin-left: 145px;
    width: 360px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtDiaBau {
    margin-top:40px;
    margin-left:49px;
    width:100px;
    height:23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  

  .txtMesBau{
    margin-top:0px;
    margin-left:64px;
    width:207px;
    height:23px;
    border: 10px solid rgba (150, 54, 54,8);
    float: left;
  }
        
  .txtNombrIgleBau{
    margin-top: 44px;
    margin-left: 49px;
    width: 380px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
    
  }
  .txtNombrPadreIgleBau{
    margin-top: 44px;
    margin-left: 49px;
    width: 380px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  
  .txtNombrBau{
    margin-top: 29px;
    margin-left: 0px;
    width: 466px;
    height: 133px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtSexBau{
    margin-top:17px;
    margin-left:39px;
    width:25px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtCiuBau{
    margin-top: 179px;
    margin-left: 100px;
    width: 367px;
    height: 63px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtDiaNacBau{
    margin-top:7px;
    margin-left:46px;
    width:80px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtMesNacBau{
    margin-top:7px;
    margin-left:114px;
    width:130px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtAnioNacBau{
    margin-top:7px;
    margin-left:89px;
    width:40px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtPadreBau{
    margin-top:7px;
    margin-left:129px;
    width:360px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtPadreCiuBau{
    margin-top:7px;
    margin-left:129px;
    width:415px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtMadreBau{
    margin-top:7px;
    margin-left:129px;
    width:415px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtMadreCiuBau{
    margin-top:7px;
    margin-left:129px;
    width:415px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtPadrino1Bau{
    margin-top:7px;
    margin-left:129px;
    width:370px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .txtPadrino2Bau{
    margin-top:7px;
    margin-left:129px;
    width:370px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .txtRubicaBau{
    margin-top:7px;
    margin-left:129px;
    width:370px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtCiudadFir{
    margin-top:135px;
    margin-left:164px;
    width:130px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtDiaFir{
    margin-top: 135px;
    margin-left: -19px;
    width: 61px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
}
  .txtMesFir{
    margin-top:135px;
    margin-left:59px;
    width:110px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtAnioFir{
    margin-top:135px;
    margin-left:28px;
    width:20px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .txtDiaFer{
    margin-top:0px;
    margin-left:124px;
    width:30px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtMesFer{
    margin-top:0px;
    margin-left:49px;
    width:115px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtAnioFer{
    margin-top:0px;
    margin-left:38px;
    width:20px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .txtNumNot{
    margin-top:0px;
    margin-left:20px;
    width:70px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .txtNomNot,.txtApe1Not,.txtApe2Not{
    margin-top:6px;
    margin-left:-5px;
    width:150px;
    height:23px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  
  .txtNumMarg{
    margin-top:50px;
    margin-left:-4px;
    width:150px;
    height:250px;
   border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }   


  /* tramites*/
  



  @media print {
    .no-print, 
    button,
    .encabesadoimp,
    .btn-regresar,
    
    .logo, 
    .colorOptions /*,.referencia */{
        display: none;
        border: none; /* Sin bordes para impresión */
        box-shadow: none; /* Sin sombras para impresión */
    }

    

    /* Escalamos todo el contenido al 149% */
    body {
      transform: scale(1.495); /* Escala al 119% */
      transform-origin: top left; /* Mantener el origen en la parte superior izquierda */
      margin: 0; /* Eliminar márgenes del body */
      padding: 0; /* Eliminar padding del body */
      width: 210mm; /* Ancho A4 */
      height: 297mm; /* Altura A4 */
      overflow: hidden; /* Asegura que no haya contenido que se desborde en otras páginas */
  }

    .hoja {
        width: 210mm; /* Tamaño A4 */
        height: 297mm; /* Tamaño A4 */
        margin: 0 auto;
    }

    .hoja-a4 {
        width: 100%;
        height: 100%;
        border: none; /* Sin bordes para impresión */
        box-shadow: none; /* Sin sombras para impresión */
    }

    .notMarg, 
    .contenedor-tramite, 
   
    
 
    .codigo-tramite, 
    .hora-registro, 
    .fecha-registro,  
    .razon-social, 
 
    .asunto-tramite, 
    .detalle-tramite, 
    .txtSexBau, 
    .observaciones {
    
    border: 1px solid rgba(128, 55, 55, 0);
    }
    body {
      margin: 0; /* eliminar los márgenes predeterminados */
    }
  }
  
  .texto{

  text-align: left;
  vertical-align: bottom;
  font-weight: bold;
  }

  .hoja {
    width: 21cm;
  height: 29.7cm;
    margin: 0 auto;
    
  }
  
  .hoja-a4 {
    width: 100%;
    height: 100%;
   
    border: 1px solid rgb(165, 53, 53);
  }
  
  .hoja-a4 p {
    size: A4;
    margin: 0;
  }


  .contenedor-tramite {
    margin-top:85px;
    margin-left:46px;
    width:537px;
    height:612px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }


  .logo {
    position: absolute;
    
    width:129px;
    height:129px;
    margin-top:53px;
    margin-left:67px;
    z-index: -1;
  }

  .referencia {
    position: absolute;
    
    width: 210mm;
    height: 297mm;
    margin-top:0px;
    margin-left:4px;
    z-index: -1;
  }

  /*dentro de la hoja*/

  .codigo-tramite {
    margin-top: 70px;
    margin-left: 62px;
    width: 51px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
  } 
  .hora-registro {
    margin-top: -27px;
    margin-left: 206px;
    width: 93px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;  
  }
  .fecha-registro {
    margin-top: -24px;
    margin-left: 350px;
    width: 95px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  .razon-social {
    margin-top: 8px;
    margin-left: 145px;
    width: 360px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  

 
  .asunto-tramite{
    margin-top: 44px;
    margin-left: 49px;
    width: 380px;
    height: 23px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
  
  .detalle-tramite{
    margin-top: 29px;
    margin-left: 0px;
    width: 466px;
    height: 133px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }

  .observaciones{
    margin-top: 179px;
    margin-left: 100px;
    width: 367px;
    height: 63px;
    border: 1px solid rgba(168, 48, 48, 0);
    float: left;
  }
 


  

/* tramites 2*/
  



@media print {
  .no-print, 
  button,
  .encabesadoimp,
  .btn-regresar,
  
  .logo, 
  .colorOptions /*,.referencia */{
      display: none;
      border: none; /* Sin bordes para impresión */
      box-shadow: none; /* Sin sombras para impresión */
  }

 

  /* Escalamos todo el contenido al 149% */
  body {
    transform: scale(1.495); /* Escala al 119% */
    transform-origin: top left; /* Mantener el origen en la parte superior izquierda */
    margin: 0; /* Eliminar márgenes del body */
    padding: 0; /* Eliminar padding del body */
    width: 210mm; /* Ancho A4 */
    height: 297mm; /* Altura A4 */
    overflow: hidden; /* Asegura que no haya contenido que se desborde en otras páginas */
}

  .hoja {
      width: 210mm; /* Tamaño A4 */
      height: 297mm; /* Tamaño A4 */
      margin: 0 auto;
  }

  .hoja-a4 {
      width: 100%;
      height: 100%;
      border: none; /* Sin bordes para impresión */
      box-shadow: none; /* Sin sombras para impresión */
  }

 
  .contenedor-tramite2, 
 
  

  .codigo-tramite2, 
  .hora-registro2, 
  .fecha-registro2,  
  .razon-social, 

  .asunto-tramite2, 
  .detalle-tramite2, 
 
  .observaciones2 {
  
  border: 1px solid rgba(128, 55, 55, 0);
  }
  body {
    margin: 0; /* eliminar los márgenes predeterminados */
  }
}

.texto{

text-align: left;
vertical-align: bottom;
font-weight: bold;
}

.hoja {
  width: 21cm;
height: 29.7cm;
  margin: 0 auto;
  
}

.hoja-a4 {
  width: 100%;
  height: 100%;
 
  border: 1px solid rgb(165, 53, 53);
}

.hoja-a4 p {
  size: A4;
  margin: 0;
}


.contenedor-tramite2 {
  margin-top: 28px;
  margin-left: 46px;
  width: 712px;
  height: 1055px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}


.logo {
  position: absolute;
  
  width:129px;
  height:129px;
  margin-top:53px;
  margin-left:67px;
  z-index: -1;
}

.referencia {
  position: absolute;
  
  width: 210mm;
  height: 297mm;
  margin-top:0px;
  margin-left:4px;
  z-index: -1;
}

/*dentro de la hoja*/
.texto2 {
  font-weight: bold;
  color: black;
  float: left;  
}
.encabesaro-tramite2 {
  margin-top: 121px;
  margin-left: 138px;
  width: 483px;
  height: 23px;
  border: 1px solid rgba(168, 48, 48, 0);
} 

.subtitulos2 {
  margin-top: 54px;
  margin-left: 72px;
  width: 483px;
  height: 23px;
  border: 1px solid rgba(168, 48, 48, 0);

} 

.codigo-tramite2 {
  margin-top: 6px;
  margin-left: 69px;
  width: 210px;
  height: 23px;
  border: 1px solid rgba(168, 48, 48, 0);
} 
.hora-registro2 {
  margin-top: -2px;
  margin-left: 69px;
  width: 132px;
  height: 23px;
  border: 1px solid rgba(168, 48, 48, 0);
  
}
.fecha-registro2 {
  margin-top: -25px;
  margin-left: 205px;
  width: 164px;
  height: 23px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;

}
.razon-social2 {
  margin-top: -1px;
  margin-left: 69px;
  width: 513px;
  height: 66px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;


}




.asunto-tramite2{
  margin-top: 20px;
  margin-left: -166px;
  width: 380px;
  height: 42px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}

.destino-tramite2{
  margin-top: 13px;
  margin-left: 70px;
  width: 283px;
  height: 27px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;

}


.detalle-tramite2{
  margin-top: 57px;
  margin-left: 93px;
  width: 466px;
  height: 133px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}

.observaciones2{
  margin-top: 68px;
  margin-left: 72px;
  width: 494px;
  height: 95px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}
/* Contenedor de búsqueda */
.search-container form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px; /* Ajustable */
  margin: 0 auto;
}

/* Input de búsqueda */
.search-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
  height: 45px; /* Altura fija para que coincida */
  box-sizing: border-box;
}

/* Botón de búsqueda */
.btnBuscar {
  padding: 0px 18px;
  font-size: 16px;
  margin-top: -16px;
  border: 1px solid #ccc;
  border-left: none;
  background-color: #2d3748;
  color: #fff;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  height: 33px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.btnBuscar:hover {
  background-color: #4a5568;
}


/* tabla horiontal*/




.texto {
  text-align: left;
  vertical-align: bottom;
  font-weight: bold;
}

.hoja2 {
  height: 21cm;
  width: 29.7cm;
  margin: 0 auto;
}

.hoja-a42 {
  width: 100%;
  height: 100%;
  border: 1px solid rgb(165, 53, 53);
}

.hoja-a42 p {
  size: A4;
  margin: 0;
}

.referencia2 {
  position: absolute;
  height: 210mm;
  width: 297mm;
  margin-top: 0px;
  margin-left: 4px;
  z-index: -1;
}

.nuevoTramite2 {
  width: 20%;
  padding: 17px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.detalle-tramite2 {
  margin-top: -21px;
  margin-left: 7px;
  width: 1108px;
  height: 134px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}

.tramites-encabelogo {
  margin-top: 0px;
  margin-left: 0px;
  width: auto;
  height: 95px;
  border: 1px solid rgba(168, 48, 48, 0);
  float: left;
}

/* Estilos para las tablas */
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 14px;
}

.result-table th,
.result-table td {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}

.result-table th {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #333;
}

.result-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.result-table tr:hover {
  background-color: #f1f1f1;
}

/* Estilos de impresión específicos para la página con clase "pagina-horizontal" */
@media print {
  body.pagina-horizontal {
    transform: scale(1); /* Escala al 100% */
    transform-origin: top left; /* Mantener el origen en la parte superior izquierda */
    margin: 0; /* Eliminar márgenes del body */
    padding: 0; /* Eliminar padding del body */
    height: 210mm; /* Ancho A4 */
    width: 297mm; /* Altura A4 */
    overflow: hidden; /* Asegura que no haya contenido que se desborde en otras páginas */
  }

  .pagina {
    page-break-after: always; /* Corta la página después de cada 12 filas */
}
.result-table {
    width: 100%;
    border-collapse: collapse;
}
.result-table thead {
    display: table-header-group; /* Mantiene el encabezado en cada página */
}

  body.pagina-horizontal .no-print, 
  body.pagina-horizontal button,
  body.pagina-horizontal .encabesadoimp,
  body.pagina-horizontal .btn-regresar,
  body.pagina-horizontal .nuevoTramite2,
  body.pagina-horizontal .logo, 
  body.pagina-horizontal .colorOptions {
    display: none;
    border: none; /* Sin bordes para impresión */
    box-shadow: none; /* Sin sombras para impresión */
  }

  body.pagina-horizontal .hoja2 {
    height: 210mm; /* Tamaño A4 */
    width: 297mm; /* Tamaño A4 */
    margin: 0 auto;
  }

  body.pagina-horizontal .hoja-a42 {
    width: 100%;
    height: 100%;
    border: none; /* Sin bordes para impresión */
    box-shadow: none; /* Sin sombras para impresión */
  }

  body.pagina-horizontal {
    margin: 0; /* eliminar los márgenes predeterminados */
  }

  /* Estilos adicionales para la tabla y paginación */
  .page-break {
    page-break-after: always; /* Forzar salto de página después de cada grupo */
  }

  .result-table {
    width: 100%;
    border-collapse: collapse;
  }

  .result-table th,
  .result-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
  }

  .result-table th {
    background-color: #f2f2f2;
  }

  .resultados2 {
    margin: 0;
    padding: 0;
  }
}
.page-break {
  page-break-after: always;
  break-after: page;
  height: 0;
  display: block;
  margin: 0;
}