﻿
.navegacion {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
   padding:0px !important;
    width: 100% !important;
}
}

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.blazored-custom-modal, .blazored-modal-container {
    overflow-x: scroll !important;
    /*max-height: 650px !important;*/
}
.bg-principal {
    background-color: #051D32;
    color: white;
}
@media only screen and (max-height: 780px) {
   body {
        /*zoom: 0.93;*/ /* Old IE only */
        /*-moz-transform: scale(0.93);
        -webkit-transform: scale(0.93); 
        transform: scale(0.93);
        transform-origin: top center;
        margin-top: 2px;*/
        max-height:715px !important;
        zoom: 0.78;
        -moz-transform: scale(0.78);
        -moz-transform-origin: 0 0;
    }
    .blazored-modal-container {
        top: 2% !important;
    }
}
    html, body {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    label {
        font-weight: bold;
    }

    #submit_data {
        opacity: 0;
        color: white;
        border: 0;
    }

    a, .btn-link {
        color: #0366d6;
    }

    .bg-darkblue {
        background-color: #09103A;
        color: white;
    }

    .table-data {
        width: 100%;
        /*  border: solid 1px #09103A;*/
    }

    .table-data-footer-edicion {
        width: 100%;
        /*border: solid 1px #09103A;*/
    }

    .table-data a {
        display: block;
        cursor: pointer;
    }

    .table-data-edicion a {
        display: block;
        cursor: pointer;
    }

    .table-data td {
        padding-bottom: 0px;
        padding-top: 0px;
        padding-left: 0px;
        font-size-adjust: initial;
        font-size: 14px;
        height: 25px;
    }

    .table-data-edicion td {
        padding-bottom: 0px;
        padding-top: 0px;
        padding-left: 0px;
        font-size-adjust: initial;
        font-size: 14px;
        height: 25px;
    }

    .linkfocus {
        display: block !important;
        font-weight: bold !important;
        cursor: pointer;
    }

        .linkfocus:focus {
            display: block !important;
            background-color: royalblue !important;
            color: white !important;
        }

    /*tr:hover {
    background-color: lightcyan;
}*/

    .table-data th {
        background-color: #051D32;
        color: white;
        height: 25px;
    }

    .table-data-edicion th {
        background-color: #F8C471;
        color: white;
        height: 25px;
        padding-bottom: 3px;
        padding-top: 3px;
        font-size-adjust: initial;
        font-size: 14px;
    }

    .table-data th {
        padding-bottom: 3px;
        padding-top: 3px;
        font-size-adjust: initial;
        font-size: 14px;
    }

        .table-data th a {
            display: block;
            cursor: pointer;
        }

    link-table-centwe {
        display: block;
        text-align: center;
        vertical-align: middle;
    }

    th-table-center {
        text-align: center;
        vertical-align: middle;
    }

    .table-data-footer {
        background-color: #051D32;
        color: white;
    }

    .table-data-footer-edicion {
        background-color: #F8C471;
        color: white;
    }

    .table-data-footer td {
        background-color: #051D32;
        color: white;
        text-align: center;
        vertical-align: middle;
        padding: 7px;
    }

    .table-data-footer-edicion td {
        background-color: #F8C471;
        color: white;
        text-align: center;
        vertical-align: middle;
        padding: 7px;
    }

    .btn-primary {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }

    .btn-location {
        padding-bottom: 4px;
        padding-top: 4px;
    }

    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;
        }

    @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;
        }

        .table-data {
            font-size: 90%;
            /* width: 82%;*/
        }

            .table-data td, .table-data th {
                font-size: 90%;
                /* width: 82%;*/
            }

        .th-table {
            font-size: 12px;
        }

        .table-data td th a link-table {
            font-size: 12px;
            padding: 0px;
        }
    }

    @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;
        }
    }

    .boton {
        background-color: darkgray;
        border: solid;
        border-radius: 0px;
        padding: 1px;
    }

    .TituloFormulario {
        padding: 6px;
    }
    /*Listado de Estilos*/
    .Verde {
        color: green !important;
        font-weight: bold !important;
        font-size: 108%;
    }

    .Rojo {
        color: red !important;
        font-weight: bold !important;
        font-size: 108%;
    }

    .Amarillo {
        color: yellow !important;
        font-weight: bold !important;
        font-size: 108%;
    }

    .Naranja {
        color: orange !important;
        font-weight: bold !important;
        font-size: 108%;
    }

    .Azul {
        color: blue !important;
        font-weight: bold !important;
        font-size: 108%;
    }

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
    }

    /* Provide sufficient contrast against white background */
    a {
        color: #0366d6;
    }

    .btn-primary {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }

    /* Sticky footer styles
-------------------------------------------------- */
    html {
        font-size: 14px;
    }

    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
    }

    .border-top {
        border-top: 1px solid #e5e5e5;
    }

    .border-bottom {
        border-bottom: 1px solid #e5e5e5;
    }

    .box-shadow {
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    }

    button.accept-policy {
        font-size: 1rem;
        line-height: inherit;
    }

    /* Sticky footer styles
-------------------------------------------------- */
    html {
        position: relative;
        min-height: 100%;
    }

    body {
        /* Margin bottom by footer height */
        margin-bottom: 60px;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        white-space: nowrap;
        line-height: 60px; /* Vertically center the text there */
    }

    .icono {
        height: 40px;
        width: 40px;
    }

    .icono-menu {
        height: 20px;
        width: 20px;
    }

    .custom-position-class {
        display: flex;
        /*max-height: calc(100% - 1rem);*/
        height: auto;
        top: 5%;
        left: 25%;
        right: 50%;
        width: 60%;
        overflow-y: visible;
        overflow: visible;
    }

    .ContenedorDetalle {
        width: 100%;
        /*border: 1px solid #CFCFCF;
    margin: 5px 0px 5px 0px;*/
        /*border: 1px solid #a9bad6;*/
        border-top: 0.5px solid;
        border-bottom: 0.5px solid;
        border-color: #949391;
        /*border-radius: 5px;*/
        margin: 5px 0px 5px 0px;
        /* background-color: #eceff4;*/
        /*box-shadow: 0 1px 1px rgba(0,0,0,0.3);*/
    }

    .ContenedorDetalleEdicion {
        width: 100%;
        /*border: 1px solid #CFCFCF;
    margin: 5px 0px 5px 0px;*/
        /*border: 1px solid #a9bad6;*/
        border-top: 0.5px solid;
        border-bottom: 0.5px solid;
        border-color: #F2D9B6;
        /*border-radius: 5px;*/
        margin: 5px 0px 5px 0px;
        /* background-color: #eceff4;*/
        /*box-shadow: 0 1px 1px rgba(0,0,0,0.3);*/
    }

    .ContenedorDetalle:hover {
        /* background-color: #E6EBF3;*/
    }

    .TablaInformacion {
        width: 100%;
        table-layout: fixed;
        margin-left: 10px;
        margin-right: 10px;
    }

        .TablaInformacion td {
            overflow: visible;
            white-space: initial;
            padding-top: 5px;
            padding-bottom: 5px;
        }

    .ContenedorGeneral {
        margin: 0px;
    }

    /*.blazored-modal-container :has(.ContenedorGeneral) {*/ /* styles to apply to the li tag */
    /*background-color: lightgray;
}*/

    .ContenedorGeneralNivel2 {
        margin: 0px;
        min-height: 10px;
    }

    .ContenedorGeneral {
        margin: 0px 0px 0px 0px;
        min-height: 200px;
    }

    .ContenedorGeneralNivel2 {
        margin: 10px;
        min-height: 50px;
    }

    .ContenedorGeneralNivel3 {
        margin: 10px;
        min-height: 50px;
    }

    .ContenedorGeneralTarea {
        margin: 10px;
        min-height: 50px;
    }

    .IndicadorDetalle {
        font-size: 13px;
        overflow: visible;
        white-space: initial;
    }

    .Informacion {
        font-family: 'Tahoma';
        font-size: 13px;
        font-weight: bold;
        overflow: hidden;
    }

    .TituloTablaDatos {
        height: 35px;
        line-height: 35px;
        font-size: 15px;
        font-weight: bold;
    }

    .TituloTabla {
        height: 30px;
        line-height: 30px;
        font-size: 15px;
        font-weight: bold;
        padding-left: 10px;
    }

    .TituloContenedor {
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        white-space: nowrap;
        overflow: hidden;
    }

    @media (max-width:900px) {
        .custom-position-class {
            display: flex;
            max-height: calc(100% - 1rem);
            height: auto;
            top: 1%;
            left: 1%;
            right: 1%;
            width: 95%;
            overflow-y: visible;
            overflow: visible;
        }

        .custom-position-class-150 {
            display: flex;
            max-height: calc(100% - 1rem);
            height: 150px;
            top: 1%;
            left: 1%;
            right: 1%;
            width: 95%;
            overflow-y: visible;
            overflow: visible;
        }
    }

    .custom-position-class {
        /* background-color: #E6EBF3;*/
    }

    .blazored-modal-header h3 {
        font-size: 16px;
        color: darkblue;
        font-weight: bold;
    }

    .blazored-modal-header {
        height: 25px;
    }

    .blazored-modal-close {
        padding: 4px;
    }

    .grid-container-1 {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 5px;
        padding: 4px;
    }

    .grid-container-2 {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 5px;
        padding: 4px;
    }

    .grid-container-4 {
        display: grid;
        grid-template-columns: auto auto auto auto;
        grid-gap: 10px;
        padding: 10px;
    }
        .grid-container-5 {
            display: grid;
            grid-template-columns: auto auto auto auto auto;
            grid-gap: 4px;
            padding: 4px;
        }

    .grid-container-6 {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto;
        grid-gap: 10px;
        padding: 10px;
    }

.grid-container-8 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    grid-gap: 4px;
    padding: 4px;
}
.grid-container-10 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
    grid-gap: 6px;
    padding: 6px;
}
.grid-item {
    border: 1px solid rgba(1, 0, 0, 0.8);
    padding: 20px;
    font-size: 30px;
    text-align: center;
    color: black;
    font-weight: bold;
}
.grid-item-sm {
    border: 4px solid rgba(0, 0, 0, 0.8);
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 16px;
    bottom: 16px;
    font-size: 20px;
    text-align: center;
    color: black;
    font-weight: bold;
    margin-left: 4px;
    margin-right: 4px;
}
    /*.blazored-modal {
   padding:0px;
}
blazored-modal-content {
    margin-left: 12px;
    margin-right: 12px;
}*/
    @media (max-width:1800px) {
    }

    .grid-normal table td a, .grid-normal table th a {
        display: block !important;
        cursor: pointer !important;
    }

    .grid-normal table tbody tr:hover td {
        background-color: #A7F0F9 !important;
    }

    grid-edicion table td a, .grid-edicion table th a {
        display: block !important;
        cursor: pointer !important;
    }

    .grid-edicion table tbody tr:hover td {
        background-color: #E5E5E5 !important;
    }

    .grid-edicion table th {
        background-color: #F8C471 !important;
        color: black !important;
    }

    .grid-edicion table .rz-column-title {
        /*background-color: yellow !important;*/
        color: black !important;
        font-weight: bold !important;
    }

    .grid-normal table .rz-column-title {
        /*background-color: yellow !important;*/
        color: white !important;
        font-weight: bold !important;
    }

    .grid-normal table th {
        background-color: #051D32 !important;
    }

    .grid-edicion table i {
        /*background-color: yellow !important;*/
        color: black !important;
        font-weight: bold !important;
    }

    .grid-normal .rz-datatable-tfoot td {
        background-color: #051D32 !important;
        color: white !important;
        font-weight: bold !important;
    }

    .grid-edicion table .rz-sortable-column-icon {
        /*background-color: yellow !important;*/
        color: black !important;
        font-weight: bold !important;
    }

    .grid-edicion table .rz-datatable-tfoot td {
        background-color: #F8C471 !important;
        font-weight: bold !important;
    }

    .btn-titulo-edicion {
        background-color: #F8C471 !important;
        font-weight: bold !important;
        border-radius: 0 !important;
    }
    /*Inicio de Sesion*/
    .login-form-container {
        margin-top: 10%;
        margin-left: 35%;
        border: 0.5px solid black;
        width: 30%;
        background-color: white;
        height: 100%;
        margin-bottom: 100%;
    }

    .login-form {
        margin: 5%;
    }

    .MensajeError {
        color: red;
        font-weight: bold;
    }

    .login-form-container input {
        height: 60px !important;
        font-size: 18px !important;
    }

    @media only screen and (max-width: 1200px) and (min-width: 700px) {
        .login-form-container {
            margin-top: 10%;
            margin-left: 20%;
            border: 0.5px solid black;
            width: 60%;
        }

        .login-form {
            margin: 5%;
        }
    }
    @media only screen and (max-width: 1380px) and (min-width: 700px) {
        .grid-container-8 {
            display: grid;
            grid-template-columns: auto auto auto auto auto auto auto;
            grid-gap: 10px;
            padding: 10px;
        }
        .grid-container-10 {
            display: grid;
            grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
            grid-gap: 5px;
            padding: 5px;
        }
    }
    @media (max-width: 700px) {
        .login-form-container {
            margin-top: 10%;
            margin-left: 5%;
            border: 0.5px solid black;
            width: 90%;
        }

        .login-form {
            margin: 3%;
        }
    }
fieldset {
    
}
.fieldset {
    border: 1px solid rgba(128, 128, 192, 0.3); /* Color de borde gris azulado con opacidad del 30% */
    background-color: transparent; /* Fondo transparente */
    padding: 10px; /* Ajusta el espaciado interno según tus necesidades */
    border-radius: 5px; /* Bordes redondeados para un aspecto más estético */
    margin-top: 4px !important;
}

    .fieldset legend {
        /*font-weight: bold;*/ /* Texto en negrita para el título */
        color: #273C4A; /* Color de texto del título */
    }

.fieldset-edicion {
    border: 1px solid rgba(242, 202, 116,0.5); /* Color de borde gris azulado con opacidad del 30% */
    background-color: transparent; /* Fondo transparente */
    padding: 10px; /* Ajusta el espaciado interno según tus necesidades */
    border-radius: 5px; /* Bordes redondeados para un aspecto más estético */
    margin-top: 4px !important;
}

    .fieldset-edicion legend {
        /*font-weight: bold;*/ /* Texto en negrita para el título */
        color: #666259; /* Color de texto del título */
    }
.fieldset-eliminar {
    border: 1px solid rgba(252, 3, 73,0.7); /* Color de borde gris azulado con opacidad del 30% */
    background-color: transparent; /* Fondo transparente */
    padding: 10px; /* Ajusta el espaciado interno según tus necesidades */
    border-radius: 5px; /* Bordes redondeados para un aspecto más estético */
    margin-top: 4px !important;
}

    .fieldset-eliminar legend {
        /*font-weight: bold;*/ /* Texto en negrita para el título */
        color: #666259; /* Color de texto del título */
    }
.fieldset-guardar {
    border: 1px solid rgba(2, 163, 147,0.5); /* Color de borde gris azulado con opacidad del 30% */
    background-color: transparent; /* Fondo transparente */
    padding: 10px; /* Ajusta el espaciado interno según tus necesidades */
    border-radius: 5px; /* Bordes redondeados para un aspecto más estético */
    margin-top: 4px !important;
}

    .fieldset-guardar legend {
        /*font-weight: bold;*/ /* Texto en negrita para el título */
        color: #666259; /* Color de texto del título */
    }
.alineacion-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hsearch {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan a la siguiente línea */
    justify-content: space-between;
    padding: 8px;
    border: 0.5px solid gray;
}

    .hsearch RadzenNumeric,
    .hsearch RadzenTextBox,
    .hsearch RadzenDropDown,
    .hsearch RadzenButton {
        margin-bottom: 8px; /* Separación entre elementos */
    }

    .hsearch RadzenNumeric,
    .hsearch RadzenTextBox,
    .hsearch RadzenDropDown {
        flex: 1; /* Ocupa todo el espacio disponible para que se acomoden en una línea */
        max-width: calc(33.33% - 8px); /* Ajusta el ancho máximo para permitir el espacio deseado */
    }

    .hsearch RadzenButton {
        flex: 0 0 100%; /* Ocupa el 100% del ancho disponible en una línea nueva */
        max-width: 100%;
    }
    .cursor-pointer{
        cursor:pointer !important;
    }
/* Franja azul completa */
/* Enlaces de los ítems inactivos (todos menos el último) */
.breadcrumb-item:not(.is-last) a {
    color: #9ca3af; /* gris medio ‑ cámbialo si deseas otro tono */
}

    /* Efecto al pasar el cursor (opcional) */
    .breadcrumb-item:not(.is-last) a:hover {
        color: #f1f4f7; /* vuelve a blanco en hover */
        text-decoration: underline;
    }

.breadcrumb-bar {
    width: 100%;
    background: #00253d; /* Ajusta al tono que quieras */
    padding: 6px 18px; /* espacio interno superior/inf. y laterales */
}

/* Lista horizontal sin viñetas */
.breadcrumb-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

/* Ítems genéricos */
.breadcrumb-item a,
.breadcrumb-item span {
    color: #f1f4f7; /* texto claro */
    font-size: .875rem; /* 14 px aprox. */
    font-weight: 500; /* normal‑medio */
    text-decoration: none;
}

/* Último ítem (página actual) en negrita */
.breadcrumb-item.is-last span {
    font-weight: 700;
}

/* Separador › */
.separator {
    margin: 0 8px;
    color: #f1f4f7;
    font-size: .875rem;
    user-select: none;
}
/*Esta clase combina varias utilidades de Bootstrap para crear un panel de filtros
reutilizable con alineación y estilos consistentes.
*/
.filter-bar {
    /* Propiedades de Flexbox (d-flex, flex-wrap, align-items-end, gap-2) */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end; /* Alinea los elementos en la parte inferior */
    gap: 0.5rem; /* Equivalente a gap-2 en Bootstrap */
    /* Espaciado (mb-3, p-3) */
    margin-bottom: 1rem; /* Equivalente a mb-3 */
    padding: 1rem; /* Equivalente a p-3 */
    /* Estilos visuales (border, rounded, bg-light) */
    border: 1px solid #dee2e6; /* Borde por defecto de Bootstrap */
    border-radius: 0.375rem; /* Esquinas redondeadas por defecto */
    background-color: #f8f9fa !important; /* Color de fondo claro de Bootstrap */
}