﻿/* 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. */

:root {
    --pantone-661u: #466bb3;
    --pantone-286u: #2c4e9d;
    --pantone-294c: #1c3564;
    --footer-height: 19px;
}


html {
  font-size: 14px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  height: 100dvh;
  overflow:hidden;
}

.footer {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    line-height: 18px;
    text-align: center;
    font-size: 10px;
}

.small-logo {
    width: 80px;
    height: 32px;
    border-radius: 10px;
    object-fit: contain;
}

.main-container {
    height: calc(100dvh - 46px - var(--footer-height));
}

    .main-container main {
        height: 100%;
        overflow: auto;
        overflow-x: hidden;
    }

/*Views*/
.custom-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-nav {
    gap: 1px;
}

.nav-item {
    transition: background-color 0.3s ease, border-left-color 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.3); /* Borde inicial */
}

    .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.3); /* Fondo suave */
        border-left: 1px solid rgba(255, 255, 255, 0.1); /* Cambiar el color del borde */
    }

    .nav-item button {
        color: #bcbdd7;
    }
    .nav-item button:hover {
        color: black;
    }

    .nav-item.is-active {
        background-color: rgba(255, 255, 255, 0.3); /* Fondo suave */
        border-left: 1px solid rgba(255, 255, 255, 0.1); /* Cambiar el color del borde */
    }

    .nav-link:focus {
        color: black;
        /*box-shadow: 0 0 0 .25rem #fffefe29;*/
        /*border-radius: 10px;*/
    }
.btn.nav-link, .btn.nav-link:focus {
    color: #bcbdd7;
}
.navbar-toggler {
    border-color: white;
    margin-right: 1rem;
}
.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="white" viewBox="0 0 30 30"><path stroke="white" stroke-width="3" d="M2 7h26M2 15h26M2 23h26"/></svg>');
}


.navbar-brand {
    margin: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    /*   border-right: #ffffff61 1px solid*/
    border-left: rgba(255, 255, 255, 0.3) 1px solid
}
.fa-house:hover {
    transform: scale(1.2); 
    transition: transform 0.2s ease;
}

.navbar {
    background-color: rgb(41 41 41 / 92%) !important;
    backdrop-filter: blur(10px);
    /*border-radius: 10px;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.vertical-align-middle{
    vertical-align:middle;
}
.menubar-wrapper {
    display: flex;
    position: relative;
    max-width: 191px;
    transition: all 0.3s ease;
}

.hidden-width {
    width: 0%; 
}

.menubar-custom {
    background-color: rgb(0 0 0 / 70%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    overflow: auto;
    overflow-x: hidden;
    /*border-radius: 10px;*/
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}
    .menubar-custom ul {
        margin: 1rem 0 1rem 0;
    }

    .menubar-custom.closed {
        transform: translateX(-115%);
    }

/* Estilo de la pestaña */
.menu-tab {
    position:absolute;
    z-index: 1000;
}

/* Estilo del botón */
.menu-button {
    color: #a59e90;
    background-color: #fbfbfb;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
    .menu-button.closed {
        transform: rotate(180deg); 
    }

.bb-custom {
    border-bottom: solid 5px #a2a9af91;
   /*box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.3);*/
}

thead.fixed-head tr {
    border: 0 !important;
}

/*.table-container {
    max-height: calc(100vh - 222px);
    overflow:hidden;
}*/
.container-filter-bar{
    display:flex;
}


.search-addon {
    color: #a2a9af91;
}

.fa-square-plus.custom-size {
    font-size: 2.7em;
}


.btn-plus-custom {
    padding-bottom: 0px;
    padding-top: 9px;
    color: #6c757d;
}
    .btn-plus-custom:hover {
        color: #5c636a;
    }
    .btn-plus-custom:active {
        border-color: transparent !important;
    }



#contentArea {
    overflow: auto;
    overflow-x: hidden;
}

#contentArea {
    transition: all 0.3s ease;
}

.input-search-custom {
    border: none;
    box-shadow: none;
    font-size: 27px;
    padding-left: 10px;
}

    .input-search-custom:focus {
        border: none;
        box-shadow: none;
    }

.container-button-custom {
    display: flex;
    padding: 0.4rem 0.1rem;
}

.form-select.form-select-sm {
    height: 2rem;
}
.input-group-text {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-right: 5px;
    font-size: 25px;
    line-height: 1;
}



div.row.mt-2.justify-content-between {
    padding-left: .25rem;
    padding-right: .25rem;
}


div.dtsb-searchBuilder {
    margin-bottom: 0px;
    width:auto;
}

.dtsb-add.dtsb-button {
    box-shadow: none;
    /*font-seze: 1.85em;*/
}

.dtsb-group{
    margin-left:.25em
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100; /* Ajusta el valor del z-index */
}

#searchBuilderModal .modal-dialog {
    --bs-modal-width: 50%; /* Sobrescribe el ancho del modal al 80% */
}

.modal-dialog.custom-width{
    max-width:max-content !important;
}

.grid-container2C {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 2 columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.grid-container-autofill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* x columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.grid-container3C {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); /* 3 columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.grid-container4C {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr)); /* 3 columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.grid-container6C {
    display: grid;
    grid-template-columns: repeat(6, minmax(250px, 1fr)); 
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.grid-container2C-fit {
    display: grid; 
    grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 3 columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px; 
    column-gap: 30px; 
    justify-content: space-around;
    width: fit-content; /* Ajusta el tamaño del contenedor al contenido */
}

.grid-container2C {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 2 columnas como mínimo, adaptándose a pantallas más grandes */
    row-gap: 0px;
    column-gap: 30px;
    justify-content: space-around;
}

.sub-grid-container {
    display: grid; 
}

/* Ejemplo de uso */
.situateClaro {
    color: var(--pantone-661u) !important;
}

.situateMedio {
    color: var(--pantone-286u) !important;
}

.situateOscuro {
    color: var(--pantone-294c) !important;
}

.situateBClaro {
    background-color: var(--pantone-661u) !important;
}

.situateBMedio {
    background-color: var(--pantone-286u) !important;
}

.situateBOscuro {
    background-color: var(--pantone-294c) !important;
  /*  border-bottom: none !important;*/
}

.situateBBClaro {
    border-bottom: solid 5px var(--pantone-661u) !important;
}

.situateBBMedio {
    border-bottom: solid 5px var(--pantone-286u) !important;
}

.situateBBOscuro {
    border-bottom: solid 5px var(--pantone-294c) !important;
}

.situateBVerde {
    background-color: #36991f !important;
}

.situateBAmarillo {
    background-color: #d5c912 !important;
}


.recuadro-sidebar {
    height: 100px; /* Altura fija del recuadro */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/ /* Sombra para un efecto visual */
}

.active > .page-link, .page-link.active {
    background-color: var(--pantone-661u) !important;
}


.recuadro-sidebar.selected .btn.nav-link {
    /*border: 3px solid #bcbdd7;*/ /* Color gris claro */
    border-radius: 8px; /* Bordes redondeados */
    /*background-color: #f9f9f9;*/ /* Fondo suave opcional */
    box-shadow: 0 0 0 .25rem #fffefe29;
}
.recuadro-sidebar.selected {
    position: relative; /* Necesario para que el pseudo-elemento se posicione respecto al contenedor */
}
    .recuadro-sidebar.selected .btn.nav-link::after {
        content: '❮'; /* Este es el carácter de la flecha */
        font-size: 24px; /* Ajusta el tamaño de la flecha */
        color: #fff; /* Color de la flecha ##fffefe29*/
        position: absolute;
        right: -17px; /* Espacio fuera del recuadro, 10px sería dentro */
        top: 50%;
        transform: translateY(-50%); /* Alinea verticalmente la flecha */
        pointer-events: none; /* Evita que la flecha interfiera con los eventos */
    }

/*-------------------------Estilo Login-------------------------*/

section.section-login {
    display: flex;

    gap: 140px; /* Espacio entre los divs */

    align-items: center;
}

.dataleft {
    background-color: white;
    border-radius: 30px;

    height: 20rem;
    width: 25rem;
    padding: 10px;
}

.dataright {
    background-color: white;
    flex: 2; /* Puedes ajustar el tamaño relativo de los divs, este será el doble de ancho que el otro */
    border-radius: 30px;
    margin-top: 4vh;
    width: 350px;
    height: 480px;
}

.dataleft img {
    width: 50%;
    height: auto;
    margin: 40px 0px 20px 0px;
}

.dataCloud {
    font-family: Broadway;
    font-size: 40px;
    font-weight: bold;
    color: #10406F;
}

.login {
    font-size: 10px;
}

.form-login{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.text-login {
    font-family: Franklin Gothic Heavy;
    font-size: 2.5rem;
    color: #10406F;
}



main:has(.custom-wrapper.login) {
    background-image: url("/files/login/login.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    width: 100%;
    background-attachment: fixed;
}



.box {
    box-shadow: inset 0 0 0 2px rgb(255,255,255), 0.3em 0.3em 1em rgba(0,0,0,0.3);
}

.heaven {
    position: relative; 
    height: 500px;
    width: 350px;
    z-index: 1;
}

.eye {
    position: absolute;
    bottom: 0px;
    right: -55px;
    width: 20em;
    height: auto; 
    z-index: -1; 
}

.validation-summary-errors ul {
    margin-bottom: 0px;
}

.custom-wrapper login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-floating > label {
    font-size: 15px;
    opacity:0.5;
}

.form-floating > .form-control:-webkit-autofill ~ label {
    transform: scale(.65) translateY(-.5rem) translateX(.6rem) !important;
}

.custom-wrapper .dataright {
    margin: 0 auto; 
    background-color: #fff; 
    padding: 20px;
}

.box {
    display: inline-block;
    vertical-align: top;
    box-shadow: inset 0 0 0 2px rgb(255,255,255), 0.3em 0.3em 1em rgba(0,0,0,0.3);
}

.custom-wrapper .justify-content-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}


.image-container {
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 10px; 
}

#offcanvasRight .input-field input[type="text"] {
    position: relative;
    z-index: 1;
}

.dropdown-content {
    position: fixed !important;
}

.dropdown-content li {
    min-height: 25px !important;
}

    .dropdown-content li > a, .dropdown-content li > span {
        font-size: 10px !important;
        padding: 5px 12px !important;
        line-height: 10px !important;
    }

ul.dropdown-content.select-dropdown {
    max-height: 150px;
}

.helper-text {
    font-size: 9px !important;
}
fieldset, legend {
    all: revert;
}
.reset {
    all: revert;
    color: #8d8d8d;
    font-size: 12px;
}

.file-path-wrapper {
    padding-left: 0px !important;
}

.active-edit{
    opacity:1 !important;
}

.container-button-custom button:disabled {
    opacity: 0.3;
}

span.select-info {
    display: none;
}

.custom-opacity{
    opacity: 0.3;
}


/*ALERTA FLOTANTE*/
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el div horizontal y verticalmente */
    z-index: 9999; /* Asegura que el mensaje esté por encima de todo */
    min-width: 300px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .custom-alert.show {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .custom-alert.fade {
        opacity: 0;
    }

.recuadro-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.menu-item-image {
    width: 88px; /* Tamaño ajustado de la imagen */
    height: 60px;
    object-fit: cover; /* Asegura que la imagen cubra el área del contenedor sin distorsionarse */
    border-radius: 50%; /* Hace que la imagen sea redonda */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil para darle profundidad */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .menu-item-image:hover {
        transform: scale(1.1); /* Aumenta el tamaño de la imagen al pasar el mouse */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra más fuerte cuando se hace hover */
    }


.menu-item-icon {
    font-size: 40px; /* Asegura que el ícono tenga un tamaño adecuado */
    color: #333; /* Ajusta el color del ícono */
    /*margin-bottom: 5px;*/
}

.btn.nav-link:hover {
    background-color: #e9ecef; /* Fondo más oscuro al pasar el mouse sobre el botón */
}


.custom-switch-button input {
    height: 1.5em;
    width: 3em !important;
}

.popover-body {
    overflow: auto;
    /*max-height: 350px;
    min-width: 250px;*/
    /*max-width: 250px;*/
    /*max-width: max-content;*/
}

.font10 {
    font-size: 10px;
}


.font11 {
    font-size: 11px;
}


.font12 {
    font-size: 12px;
}

.font15 {
    font-size: 15px !important;
}

.container-date-list {
    display: flex;
    justify-content: space-between;
}
.container-date-list input{
    max-width:80%;
}
.container-date-list button{
    height:34px;
}
.center-weight {
    text-align: center;
    font-weight: 700;
}


/* Scrollbar para navegadores basados en WebKit */
*::-webkit-scrollbar {
    width: 10px; 
    height: 10px; 

}

*::-webkit-scrollbar-track {
    background: #e0e0e0; /* Color de fondo del scrollbar */
}

*::-webkit-scrollbar-thumb {
    background: #b0b0b0; /* Color del scroll */
    border-radius: 10px;
}

/*.scroll-hover::-webkit-scrollbar {
    height: 10px;*/ /* Tamaño del scroll al hacer hover */
    /*width: 10px;*/ /* Tamaño del scroll al hacer hover en el eje X */
/*}

.scroll-hover::-webkit-scrollbar-thumb {
    background: #9d9c9c;*/ /* Color al hacer hover */
/*}*/


/* Combos */
.grid-col-span-2 {
    grid-column: span 2;
}
.grid-col-span-3 {
    grid-column: span 3;
}
.grid-col-span-4 {
    grid-column: span 4;
}
.grid-col-span-5 {
    grid-column: span 5;
}

/* PartialViews */
h3 {
    font-weight: 700;
    text-align: center;
    color: #6c757d;
    font-size: 2.5rem;
    margin-top: 1.5rem !important;
}

.navbar-toggler:focus {

     box-shadow: none; 
}

.line-orange {
    position: relative;
}

.line-blue {
    color: #1c3564;
    position: relative;
    font-size: 1rem;
}

strong.line-orange, strong.line-blue {
    padding-right: 5%;
}

.line-orange:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
    height: 2px !important;
    background-color: #fb8e21;
}

.line-blue:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
    height: 2px !important;
    background-color: #1c3564;
}

.btn-util-custom {
    border: none;
    padding: 0.5rem;
    opacity: 0.5;
    border-radius: 50%;
    width:40px;
}
    .btn-util-custom.no-opacity {
        opacity: 0.8;
    }

    .btn-util-custom:hover {
        opacity: 0.8;
    }

.btn-util-custom-v2 {
    border: none;
    padding: 0.5rem;
    opacity: 0.8;
    border-radius: 50%;
    background-color: #484a4b;
}
    .btn-util-custom-v2:active,
    .btn-util-custom-v2:focus-visible,
    .btn-util-custom-v2:hover {
        background-color: #000 !important;
    }

.buttons-container {
    position: absolute;
    right: 1%;
    top: 1%;
    z-index: 1;
}

.identity-management-container {
    overflow: auto;
    height: calc(100vh - 300px);
}

#qrCode {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.h-80 {
    height: 80% !important ;
}

.orange-letter {
    color: #ff811a;
    font-weight: 500;
}


@media (max-width: 1023px) {
    .eye {
        right: -40px;
        width: 17em;
    }

    section.section-login {
        gap: 50px;
    }
}


@media (max-width: 992px) {
    .dataleft {
        margin-top: 5vh;
    }

    .dataright {
        margin-top: 5vh;
    }
}

@media (max-width:950px) {
    .dataleft {
        display: none;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    section {
        flex-direction: column; /* En pantallas pequeñas, los divs se apilan uno sobre el otro */
    }
}


@media (max-width: 460px) {
    .eye {
        right: 7px;
        width: 14em;
    }
}