@charset "UTF-8";

/*!
 * Bootstrap v5.0.2 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
.form-check-input {
    border-color: #000; /* Cambia el color del borde */
    background-color: #c9c9c9; /* Cambia el color de fondo */
}

/* Estilos para el contenedor del loading */
#loadingIndicator {
    position: fixed; /* Fijo en la pantalla */
    top: 50%; /* Lo coloca en la mitad vertical */
    left: 50%; /* Lo coloca en la mitad horizontal */
    transform: translate(-50%, -50%); /* Centra exactamente en el medio */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente */
    padding: 20px; /* Espacio interno */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
    z-index: 9999; /* Valor muy alto para asegurar que esté por encima de todo */
    display: none; /* Inicialmente oculto */
    text-align: center; /* Centra el texto */
}

/* Estilos para la imagen */
#loadingIndicator img {
    max-width: 100%; /* Asegura que la imagen no se desborde */
}

/* Estilos para el texto */
#loadingIndicator p {
    margin-top: 10px; /* Espacio entre la imagen y el texto */
    font-size: 1.2em;
    color: #333;
}

/*inicio codigo para estilos en cards*/
/* Estilos generales para la card */
.custom-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Estilos para el header de la card */
/*.custom-header {
    background-color: #1b6ec2;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1rem;
}

.custom-header h4 {
    margin: 0;
    font-weight: 600;
}

.custom-header a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.custom-header a:hover {
    text-decoration: underline;
}*/

/* Estilos para el cuerpo de la card */
.card-body {
    background-color: #f8f9fa;
}

/* Estilos para los select y inputs */
.form-select,
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.form-select:focus,
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}        

/* Estilos para el texto de ayuda */
.text-muted {
    font-size: 0.8rem;
    color: #6c757d !important;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .col-form-label {
        text-align: left !important;
    }

    .form-select,
    .form-control {
        width: 100%;
    }
}

/* fin */
/*Inicio Boton primario con efecto 3d*/
.btn-primary-3d {
    background-color: #1b6ec2;
    color: white;
    border: none;
    padding: 7px 14px;
    font-size: 15px;
    /*border-radius: 5px;
    box-shadow: 0 4px #0056b3;*/
    transition: all 0.2s ease;
}

.btn-primary-3d:hover {
    background-color: #343a40; /* Color gris oscuro */
    color: white; /* Mantener el color del texto en blanco */
}

.btn-primary-3d:active {
    box-shadow: 0 2px #1b6ec2;
    transform: translateY(2px);
}
/*Fin Boton primario con efecto 3d*/
/*Inicio Boton success con efecto 3d*/
.btn-success-3d {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 7px 14px;
    font-size: 15px;
    /*border-radius: 5px;
    box-shadow: 0 4px #0056b3;*/
    transition: all 0.2s ease;
}

.btn-success-3d:hover {
    background-color: #343a40; /* Color gris oscuro */
    color: white; /* Mantener el color del texto en blanco */
}

.btn-success-3d:active {
    box-shadow: 0 2px #28a745;
    transform: translateY(2px);
}
/*Fin Boton success con efecto 3d*/
/*Inicio Boton danger con efecto 3d*/
.btn-danger-3d {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 7px 14px;
    font-size: 15px;
    /*border-radius: 5px;
    box-shadow: 0 4px #0056b3;*/
    transition: all 0.2s ease;
}

.btn-danger-3d:hover {
    background-color: #343a40; /* Color gris oscuro */
    color: white; /* Mantener el color del texto en blanco */
}

.btn-danger-3d:active {
    box-shadow: 0 2px #dc3545;
    transform: translateY(2px);
}
/*Fin Boton danger con efecto 3d*/
/*Efecto de resaltado sobre fila seleccionada en datatable*/
.highlight-row {
    background-color: #1b6ec2 !important;
    color: white;
}


#txtObservaciones {
    width: 100%;
  }

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

#tablaGenerica thead {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

#progressPdf {
    width: 300px;
    /* El largo que desees para la barra de progreso */
}

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a,
.btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row>a,
.main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar .top-row {
    background-color: rgba(0, 0, 0, 0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.sidebar .nav-item a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.seccion-link {
    text-decoration: none; /* Quita el subrayado por defecto */
    color: #0366d6; /* Color de los enlaces */
    font-size: inherit; /* Hereda el tamaño de la fuente del contenedor */
}

.seccion-link:hover {
    text-decoration: underline; /* Agrega el subrayado al pasar el mouse */
    color: darkblue; /* Cambia el color al pasar el mouse */
}

#seccionesContainer li {
    font-size: inherit; /* Hereda el tamaño de la fuente del contenedor */
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
    font-size: 20px; /* Tamaño del texto */
    color: #000; /* Color del texto */
}

#loading img {
    width: 100px; /* Ajusta el tamaño según sea necesario */
    height: 100px; /* Ajusta el tamaño según sea necesario */
    margin-bottom: 10px; /* Espacio entre la imagen y el texto */
}

.form-control {
    position: relative;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23aaa" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>') no-repeat right .75rem center/8px 10px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem 1.75rem .375rem .75rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    height: calc(1.5em + .75rem + 2px);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.img-preview {
    width: 150px; /* Tamaño fijo para el ancho de la imagen */
    height: 150px; /* Tamaño fijo para la altura de la imagen */
    object-fit: contain; /* Ajusta la imagen para que se ajuste al área sin recortarla */
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    display: block; /* Asegúrate de que la imagen esté visible */
}

.dt-buttons {
    margin-bottom: 1rem; /* Ajusta el valor según sea necesario */
}

.ui-autocomplete {
    z-index: 1050; /* Asegúrate de que el menú de autocompletar esté por encima del modal */
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-width {
    max-width: 600px; /* Ajusta el valor según sea necesario */
    width: 100%;
}

/* Asegura que los botones estén alineados a la izquierda */
.dt-buttons {
    margin-right: auto; /* Esto empuja el cuadro de búsqueda a la derecha */
}

/* Estilo para los encabezados de la tabla */
#tblGenerica thead th {
    background-color: #1b6ec2 !important;
    color: white !important;
}

/* Asegura que el selector "Mostrar X registros" esté alineado a la izquierda en la parte inferior */
.dataTables_length {
    float: left;
    margin-bottom: 10px;
}

/* Paginación alineada a la derecha en la parte inferior */
.dataTables_paginate {
    float: right;
    margin-bottom: 10px;
}

/* Asegura que el cuadro de búsqueda esté alineado a la derecha */
.dataTables_filter {
    float: right;
}

.dataTables_wrapper .dataTables_scrollHead thead th {
    background-color: #1b6ec2 !important; /* Azul primary */
    color: white; /* Letras blancas */
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a,
    .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main>div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    /** --------------- SCPM --------------- **/
    .asterisco {
        /* Para campos obligatorios */
        color: red;
    }

    .tituloTabla {
        background-color: #1b6ec2;
        color: white;
        text-align: center;        
        font-size: 1rem;
    }
    
    

    .celdaAccion {
        text-align: center;
    }

    /* Estilo para la tabla */
    .table-container {
        overflow: auto;
        /* Permitir el desplazamiento vertical */
        height: 500px;
        /* Altura inicial de la tabla, ajusta según tus necesidades */
    }
    /*------------------------------------------*/

    
    
    /*------------------------------------------------------------*/
    /* Nuevas clases para el truncado de texto */
    .cell-limited {
        position: relative;
        max-height: 4.5em; /* 3 líneas */
        line-height: 1.5em;
        overflow: hidden;
        padding-right: 1rem;
    }
    
    .cell-limited::after {
        content: "...";
        position: absolute;
        bottom: 0;
        right: 0;
        padding-left: 4px;
        background: inherit;
    }
    
    /* Para el fondo de los ... en filas alternadas */
    .table-striped tbody tr:nth-of-type(odd) .cell-limited::after {
        background-color: rgba(0,0,0,.05);
    }
    
    .table-striped tbody tr:nth-of-type(even) .cell-limited::after {
        background-color: #fff;
    }
    
    /* Estilo para el tooltip */
    .tooltip {
        word-break: break-word;
        max-width: 300px;
    }
    
    .tooltip-inner {
        max-width: 300px;
        text-align: left;
    }
/**/
    /* Estilo para el visor PDF */
    .pdf-viewer-container {
        overflow: auto;
        /* Permitir el desplazamiento vertical */
        height: 500px;
        /* Altura inicial del visor PDF, ajusta según tus necesidades */
        display: none;
        /* Oculta el visor PDF por defecto */
    }

    /* Estilo para la columna "Acción" */
    .accion-column {
        white-space: nowrap;
        /* Evita que el contenido se divida en múltiples líneas */
    }

    /* Estilo para cada subcolumna dentro de "Acción" */
    .subcolumn {
        display: inline-block;
        /* Muestra las subcolumnas en línea horizontal */
        margin-right: 5px;
        /* Espacio entre las subcolumnas */
        vertical-align: middle;
        /* Alinea verticalmente el contenido al centro */
    }

    thead td {
        vertical-align: middle;
    }    

}

/*# sourceMappingURL=bootstrap.css.map */