/* Inicio estilos de tablas livewire */
.btn-check:checked+.btn-outline-secondary {
    background-color:#ced4da;
    color: #212529;
    border: 1px #ced4da;
}
.btn-outline-secondary {
    border-color: #ced4da;
}
.size {
    max-width: 100%;
    width: auto;
    height: 31px;
}
.btn-group input[type="radio"] {
    display: none;
}
th input{
    width: 100%;
    border-color: #cbe4ff;
    background-color: transparent;
    color: #007bff;
}

.size-orden{
    width: 56.5px;
    height: 39px;
}

.btn-center{
    display: flex; 
    align-items: center; 
    justify-content: center;
}
/* Fin estilos de tablas livewire */

/* Inicio estilos en general */
.select2-selection {
    min-height: 37.8px;
    text-align: left;
}

.select2-selection__arrow,
.select2-selection__rendered {
    margin: 5px
}

.ancho-select2 {
    width: 293px !important;
    margin: auto !important
}

.target-element {
    margin: 10px
}



.direccion-hover {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height .3s;
    max-height: 3em;
    width: 200px;
    white-space: pre-wrap;
}

.direccion-hover:hover {
    max-height: none
}

.completo,
td form {
    white-space: nowrap !important
}

.card {
    border: 1px solid rgba(0, 0, 0, 0.208) !important;
}

.input-table {
    border: none;
    background-color: transparent;
}

.centrar-texto {
    text-align: center;
}

.alineacion-izquierda {
    text-align: left;
}
.permisos-container {
    column-count: 2;
    column-gap: 20px;
  }

  .permisos-lista {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  .permisos-lista li {
    margin-bottom: 10px;
  }
  .list-group-item {
    padding: 0.25rem 0.75rem !important; /* Ajusta el padding superior e inferior */
    margin-bottom: 0.25rem !important; /* Ajusta el margen inferior */
    font-size: 1.0rem !important; /* Ajusta el tamaño de la fuente */
  }
  .permisos-user-container {
    column-count: 2;
    column-gap: 20px;
  }
  .btn-spacing {
    margin-right: 10px; /* Ajusta el valor según el espacio deseado */
  }

  .card-header2 {
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 0.75rem 1.25rem;
    position: relative;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    background-color: #6bb2ff !important;
    color: #000000;
}
.contactos-lista {
    padding: 0;
    margin: 0;
    list-style-type: none;
  }
  
  .contactos-lista li {
    margin-bottom: 0px;
  }
  
  .contactos-lista .nombre {
    font-weight: bold;
  }
  
  .contactos-lista .correo {
    color: #555;
  }

.col-corta {
    width: 80px; /* Establece el ancho deseado */
}
.col-media {
    width: 160px; /* Establece el ancho deseado */
}

.completo {
    white-space: nowrap !important
}
.select2 {
    width:100%!important;
}

.clasificacion-lista {
    padding: 0;
    margin: 0;
    list-style-type: none;
}  
.clasificacion-lista li {
    margin-bottom: 0px;
}  
.clasificacion-lista .familia {
    font-weight: bold;
}  
.clasificacion-lista .linea {
    color: #555;
}
.clasificacion-lista .categoria {
    color: #555;
}
.ancho {
    width:100%!important;
}

.fix-input-group{
  padding-top: 7px !important;
}
.fix-checkbox{
    padding-top: 8px !important;
}
/* Tema de los alerts */
.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}
.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}
.alert-warning {
    color: #664d03 !important;
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important; 
}

.custom-file-upload {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    padding: 10px 20px;
    cursor: pointer;
    background-color: #F1F0EF;
    color: #696969;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s;
}
.custom-file-upload:hover {
    background-color: #dddddd;
}

.nav-treeview>.nav-item>.nav-link.active {
    background-color: #c2c7d046 !important;
    color: #fff !important
}
/* Uso en FacturasProveedor form*/
.desabilitado{
    pointer-events: none;
    background-color: #e9e9e9;
}

/* Inicio uso en input imágenes*/
.img-size {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* Salida */
.size-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height .3s;
    max-height: 3em;
    width: 38vw;
    white-space: pre-wrap;
}

.size-text:hover {
    max-height: none
}
/* Salida */
.size-text-salida {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height .3s;
    max-height: 3em;
    width: 30vw;
    
    white-space: pre-wrap;
}

.size-text-salida:hover {
    max-height: none
}

/** Factura proveedor */ 
.text-rc {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height .3s;
    max-height: 3em;
    width: 140px;
    white-space: pre-wrap;
}

.text-rc:hover {
    max-height: none
}

/** dependencias */
.contacto {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height .3s;
    max-height: 3em;
    width: 160px;
    white-space: pre-wrap;
}

.contacto:hover {
    max-height: none
}

/* configuración del tema admin LTE */

.bg-custom {
    background-color: #2A3F54;
  }
  .bg-custom-content{
    background-color: #ECF0F5;
  }
  .navbar-light .navbar-nav .nav-link {
      color: #2A3F54 !important;
    }
  [class*="sidebar-dark"] {
    .form-control-sidebar,
    .btn-sidebar {
      background-color: #f2f2f2 !important;
      border: 1px solid #cacaca !important;
      color: #1f2d3d ;
    }
  }
  .sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active,
  .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #17a2b8 !important;
    color: #fff
  }
  
  .card-header {
    background-color: #357ea8 !important;
    color: #eee;
    font-size: large;
  }