/* estilos catalogo */

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 1.25;
    background: none;
}

.contenedor {
    width: 95%;
    margin: 0 auto;
    max-width: 1270px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Visibilidad dispositivos */

.computadora, .com, .com2 { display: block; }
@media screen and (max-width: 724px) {
    .computadora, .com { display: none !important; }
}
@media screen and (max-width: 1349px) {
    .com2 { display: none; }
}
.tablet, .tab { display: block; }
@media screen and (min-width: 1350px) {
    .tablet, .tab { display: none; }
}
.celular, .cel { display: block; }
@media screen and (min-width: 725px) {
    .celular, .cel { display: none !important; }
}

@media screen and (max-width: 800px) {
    .texto-celular {
        p, span, li, div, input { font-size: 12px; line-height: 1;}
        h1 {font-size: 20px; line-height: 1.2;}
        h2 {font-size: 18px; line-height: 1.2;}
        h3 {font-size: 15px; line-height: 1.1;}
        h4 {font-size: 13px; line-height: 1.1;}
        td { font-size: 11px; line-height: 1.07;}
    }
}

h1, h2, h3, h4, h5, h6 {margin: 2px; padding: 0; line-height: 1.1; font-weight: 600;}

h1 {
    font-size: 30px;
    line-height: 1.2;
}
h3 {
    font-size: 25px;
    line-height: 1.2;
}
h5 {
    font-size: 17px;
    font-weight: 500;
}


form {
    margin-bottom: 15px;
    line-height: 1.5;
}

@media screen and (min-width: 500px) {
.formulario {
    padding: 0 0 0 20%;
}
}

input, select, textarea {
    margin-left: 10px;
    margin-bottom: 10px;
    padding-left: 4px;
    width: 231px;
}

input[type="checkbox"], input[type="radio"], input[type="submit"] {
    width: auto;
}

input[type="checkbox"], input[type="radio"] {
    margin: 0;
}

label {
    line-height: 1;
}

#buscador {
    font-size: 14px;
    padding: 5px 7px;
    width: 100%;
    max-width: 700px;
}

table {
    border-collapse: collapse;
}

th {
    background-color: #175ebb !important;
    color: white !important;
    padding: 5px 7px !important;
    color: #fff !important;
    }
    
th a {color: #fff !important;}

td {
    padding: 5px 7px !important;
    color: #000  !important;
}

th, tr, td {
  border: solid 1px #e0e0e0 !important;
}

.limite td {
  width: 10px;
}

.mantener {
  white-space: nowrap;
}

.tabla2 {
    width: 100%;
    max-width: 400px;
}

.tabla2 tr {
    border: 0;
    border-bottom: 1px solid #ddd;
}
.tabla2 td {
    border: 0;
    padding-left: 10px;
}

.sombra-tabla tr:nth-child(even) {
    background-color: #f2f2f2; /* Color de fondo para filas pares */
}
.sombra-tabla tr:nth-child(odd) {
    background-color: #ffffff; /* Color de fondo para filas impares */
}

.vista-datos {
    font-size: 15px;
    }
    
.centrar-pag {
    display: flex;
    align-items: center;
    justify-content: center;
}
    
.centrar-popup {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mayus {text-transform: uppercase;}
.minus {text-transform: lowercase;}
.capi {text-transform: capitalize;}

@media screen and (max-width: 350px) {
input, textarea {
    max-width: 280px;
    }
}

p {margin: 3px 0; padding: 0;}

hr {
    margin: 10px 0;
    border: 1px solid #888888;
}

.texto-largo {
    max-width: 150px;
    white-space: nowrap; /* Evitar que el texto se divida en varias líneas */
    overflow: hidden; /* Ocultar el texto que se desborda */
    text-overflow: ellipsis;
}

.lista-catalogo-1 {
    
    table {max-width: 1000px;}

    th:nth-child(1), td:nth-child(1) {width: 75px;}
    th:nth-child(2), td:nth-child(2) {width: 500px;}
    th:nth-child(3), td:nth-child(3) {width: 750px;}

}

.td1 {width: 150px;}
@media screen and (max-width: 900px) {
.td1 {width: 30px;}
}

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

.boton-recuadro {
    border: 1px solid #000;
    padding: 3px 7px;
    margin: 5px 0;
    line-height: 2.7;
}

/* Botones */

.b-simple {
    border: 1px solid black;
    padding: 2px 8px;
    margin: 3px 10px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    line-height: 1.9;
}
.b-simple:hover {
    text-decoration: none;
    color: inherit;
}

/* Boton general */
.boton {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 4px 12px;
  transition: background-color 0.3s ease;
  border-radius: 3px;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

/* Boton para formulario */
.boton-x {
  display: inline-block;
  margin: 15px;
  text-decoration: none;
  color: #fff;
  font-size: 15px !important;
  font-weight: 500;
  text-align: center;
  padding: 7px 15px;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

/* Boton borde redondo */
.boton-o {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 5px 15px;
  transition: background-color 0.3s ease;
  border-radius: 20px;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

/* Boton para icono */
.boton-i {
  display: inline-block;
  margin: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 5px 7px;
  transition: background-color 0.3s ease;
  border-radius: 3px;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

.boton:hover {color: white; text-decoration: none;}
.boton-o:hover {color: white; text-decoration: none;}
.boton-i:hover {color: white; text-decoration: none;}
.boton-x:hover {color: white; text-decoration: none;}
.boton-xo:hover {color: white; text-decoration: none;}

@media screen and (max-width: 800px) {
   .boton, .boton-o, .boton-i {
    font-size: 14px;
} }

.b1, .bazul {background-color: #236ed0;} .b1:hover, .bazul:hover {background-color: #2190be;}
.b2, .brojo {background-color: red;} .b2:hover, .brojo:hover {background-color: #ea5187;}
.b3, .bverde {background-color: #1db769;} .b3:hover, .bverde:hover {background-color: #1ea78a;}
.b4, .bamarillo {background-color: #e8c01d;} .b4:hover, .bamarillo:hover {background-color: #e7a51a;}
.b5, .bmorado {background-color: #cb29f3;} .b5:hover, .bmorado:hover {background-color: #f33ae9;}

.bm, .bmetal {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0, #f5f5f5, #bebebe, #d9d9d9);
    color: #000 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 
                inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.bw {background-color: #25D366;}
.bw:hover {background-color: #128C7E;}
    
#close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ef4545;
    color: white;
    border: none;
    border-radius: 5px;
    width: 27px;
    height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

/* Modal */

.modal {
z-index: 100000;
}
.modal-dialog {
    max-width: 500px;
    z-index: 100000;
}
.modal-header {
    padding: 9px 20px;
}
.modal-header button {
    padding: 0;
    background-color: transparent;
    border: 0;
    padding: 5px 10px!important;
    margin-top: -3px !important;
}
.modal-header .close {
    font-size: 25px;
    line-height: 1;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    background: #ea5765;
}
.modal-header span {
    font-size: 25px !important;
}
.modal-title {
    line-height: 1.1;
    font-weight: 500;
    font-size: 14px;
}
.modal-body {
    padding: 15px 10px 15px 15px;
    font-size: 14px;
}
.modal-body input, .modal-body select, .modal-body textarea {
    font-size: 14px;
    line-height: 1.5;
}
.modal-body label {margin-bottom: 7px;}
.modal-body input[type="submit"], .modal-body button[type="submit"] {
    background: #0c7bbf;
    color: #fff;
    border: none;
    padding: 7px 17px;
    border-radius: 5px;
    margin: 12px 0 0 0;
    font-size: 15px;
}
.modal-body h3 {
    font-weight: 600;
}
.modal-footer {
    padding: 3px;
}
.modal-footer .btn-secondary {
    color: #fff;
    background-color: #ea5765;
    border-color: transparent;
    font-size: 15px;
}

.oculto1 {
  visibility: hidden;
}

.oculto2 {
  position: absolute;
  left: -1500px;
}

.sticky {
    position: sticky;
    top: 0px;
    padding: 4px 0 0;
    z-index: 9;
    }

@media screen and (max-width: 800px) {
.sticky {position: relative;}
}    
    
.search-container {
  max-width: 600px;
  position: relative;
}

.search-container .search-icon {
  position: absolute;
  top: 10px;
  right: 12px;

  color: #888;
  font-size: 1rem;
  pointer-events: none;
}

.rounded-input {
  padding-left: 2.2rem; /* espacio para el ícono */
  border-radius: 10px;
}

/* Filas y Columnas */

.fila {
    display: flex;
}
@media screen and (max-width: 720px) {
.fila {
    display: block;
} }

.columna {
    display: flex;
    flex: 1; /* Crecen para llenar el contenedor */
}

    .col {flex-basis: auto;}
    .col-10 {flex-basis: 10%; padding: 0 10px;}
    .col-20 {flex-basis: 20%; padding: 0 10px;}
    .col-25 {flex-basis: 25%; padding: 0 10px;}
    .col-30 {flex-basis: 30%; padding: 0 10px;}
    .col-35 {flex-basis: 35%; padding: 0 10px;}
    .col-40 {flex-basis: 40%; padding: 0 10px;}
    .col-45 {flex-basis: 45%; padding: 0 10px;}
    .col-50 {flex-basis: 50%; padding: 0 10px;}
    .col-60 {flex-basis: 60%; padding: 0 10px;}
    .col-65 {flex-basis: 65%; padding: 0 10px;}
    .col-70 {flex-basis: 70%; padding: 0 10px;}
    .col-75 {flex-basis: 75%; padding: 0 10px;}
    .col-80 {flex-basis: 80%; padding: 0 10px;}
    .col-90 {flex-basis: 90%; padding: 0 10px;}

@media screen and (max-width: 700px) {
.col-inverso {
    display: flex;
    flex-direction: column-reverse;
    }
.fila-inverso {
    display: flex;
    flex-direction: row-reverse;
    }
}

.col-texto {
    column-count: 2;
    column-gap: 20px;
    overflow-y: visible;
}
@media screen and (max-width: 800px) {
    .col-texto {
    column-count: 1;
    column-gap: 0;
    }
}

.vista-datos {
    font-size: 15px;
    }
    
.centro {text-align: center;}
.justificado {text-align: justify;}
.derecha {text-align: right;}

.centrar-h {
    display: flex;
    justify-content: center;
}

.centrar-v {
    display: flex;
    align-items: center;
}
   
.centrar-pag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.centrar-pag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.centrar-popup {
    padding-left: 10px;
    align-items: center;
    justify-content: center;
}




.popup-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100000;
}

.popup-contenido {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

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

.cerrar {
  font-size: 35px !important;
  font-weight: 700;
  color: red;
  cursor: pointer;
}

.btn-popup {
  background-color: #dc3545;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@media screen and (max-width: 750px) {
.img-altura-media {
    height: auto !important;
    width: 320px !important;
}
}
