﻿
:root {
    --colorFondoTabla: #f8fafd;
    --colorTablaFilaColoreada: white;
    --colorLineaRegistrosTabla: aliceblue;
    --colorFondoCabeceraTabla: #9cacc4;
    --fondoCabeceraWeb: #f8fafa;
    --fondoWebGeneral: #f8fafa;
    --rojo: rgba(255, 6, 6, 0.82);
    --verde: #17d196;
    --naranja: #feba47;
    --azul: royalblue;
}

/*Bootstrap Modal*/

/* ============================================
   SISTEMA DE MODALES APILADOS (ILIMITADOS)
   ============================================ */

/* Backdrop base del primer modal */
.modal-backdrop.show {
    z-index: 1040 !important;
}

/* Modal base */
.modal.show {
    z-index: 1050 !important;
}


/* ================================
   FIN SISTEMA DE MODALES APILADOS 
   ================================ */


.bg-success {
    background-color: #F0F2F26B !important;
}
.modal-content {
    border: 1px solid #c5c5c5;
}

.modal-title {
    font-size: 1.4rem; /* tamaño de fuente */
    font-weight: inherit;
    color: darkslategray;
}
.modal-header {
    border: 1px solid #dddddd;
    margin: 0.2rem;
    border-radius: 0.3rem;
    background-color: #F0F2F26B;
}
.modal-footer {
    border: 0px;
}
.modal-body {
    color: lightslategray;
}

/* Estilos globales para los diálogos de jQuery UI */
.ui-dialog {
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #c5c5c5;
}

.ui-dialog .ui-dialog-titlebar {
    background-color: #F0F2F26B; /* color de fondo */
    font-size: 1.4rem; /* tamaño de la fuente */
    cursor: move; /* cursor de mover en la barra */
}

/* Oculta el botón de cerrar en todos los diálogos */
.ui-dialog .ui-dialog-titlebar-close {
    display: none !important;
}
.ui-dialog {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.ui-widget-overlay {
    background: rgba(0,0,0,0.3);
}

/*Personalizar contenedores*/
.ui-widget {
    font-family: inherit;
    font-size: inherit;
}

    .ui-widget input,
    .ui-widget select,
    .ui-widget textarea,
    .ui-widget button {
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
    }

.ui-widget-content {
    color: lightslategray;
}

    .ui-widget-content a {
        color: #72777a;
    }

.ui-widget-header {
    color: darkslategray;
    font-weight: inherit;
}



.top-bar {
    display: flex; /* coloca los hijos en fila */
    align-items: center; /* centra verticalmente */
}

.nav-brand {
    flex: 0 0 auto; /* ocupa solo lo necesario (el botón) */
}

.top-bar .navbar-container {
    flex: 1; /* ocupa el resto del espacio dentro del header */
    align-items: center; /* centra verticalmente */
    width: 100%;
    padding:0px;
}

.navbar-header {
    flex: 1; /* este hijo se estira y ocupa todo el espacio restante */
}

.notifications {
    margin-left: auto; /* empuja este bloque a la derecha */
}

.menu-acceso {
    font-size: large;
    font-weight: 600;
    padding-right: 20px;
    display: flex;
    align-items: center;
}

.usuario {
    position: relative; /* referencia para el dropdown */
}

.navbar-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu {
    display: none;
}

    .dropdown-menu.open {
        display: block;
    }

.hidden {
    display: none;
}

/* Para el color de los enlaces */
a {
    color: #0563c1;
}

/******** AVISO LEGAL, CONDICIONES Y PRIVACIDAD estilos para sus vistas*/

.datos-entidad {
    list-style-type: none; /* quita viñetas */
    padding-left: 2em; /* sangría general */
    margin: 0 0 1em 0;
}

    .datos-entidad li {
        margin-bottom: 0.5em;
        text-align: justify;
        font-size: 11pt;
        line-height: 1.1;
    }

.titulo-secciongrande {
    text-align: justify;
    margin: 0.5em 0;
    font-size: 20pt;
}

.titulo-seccion {
    text-align: justify;
    margin: 0.5em 0;
    font-size: 14pt;
}

.titulo-subseccion {
    text-align: justify;
    margin: 0.5em 0;
    font-size: 12pt;
    padding-left: 1em; /* espacio interno */
}

.western {
    text-align: justify;
    margin: 0 0 0.75em 0;
    line-height: 1.5;
    font-size: 11pt;
    padding-left: 1em; /* espacio interno */
}

/* listas con sangría especial */
.lista-sangria {
    margin-left: 2em; /* sangría exterior */
    padding-left: 1em; /* espacio interno */
}

    .lista-sangria li {
        margin-bottom: 0.5em;
        text-align: justify;
        font-size: 11pt;
    }

.tabla-datos {
    width: calc(100% - 1.5em); /* ocupa todo el ancho menos la sangría */
    border-collapse: collapse;
    margin: 1em 0 1em 1.5em;
}

    .tabla-datos td {
        border: 1px solid #000;
        padding: 0.5em;
        background-color: #d9d9d9;
        font-size: 11pt;
        text-align: justify;
    }

.celda-gris {
    background-color: #d9d9d9;
}

.celda-blanca {
    background-color: #fff;
}

/* Responsive solo para documentos legales */
@media only screen and (max-width: 600px) {
    body.legal-docs .contenidoDoc {
        margin-left: 3%;
        width: 94%;
    }

    body.legal-docs .logoDoc {
        width: 100%;
        display: block;
        margin: auto;
        margin-top: 10px;
    }

    body.legal-docs .contenido-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    body.legal-docs .logo-footer {
        margin: 0 0 10px 0;
    }
}

/*para el pie de página de los documentos legales*/

html,
body.legal-docs {
    height: 100%;
    margin: 0;
}

body.legal-docs {
    display: flex;
    flex-direction: column;
}

body.legal-docs #pagina {
    flex: 1;
}

body.legal-docs #pieDePagina {
    background-color: #514d65;
    color: white;
    height: 62px;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 15px;
    overflow: hidden;
}

body.legal-docs .contenido-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
    width: 100%;
}

body.legal-docs .logo-footer {
    height: 40px;
}

body.legal-docs .contenido-footer p {
    margin: 0;
    line-height: 1;
}

body.legal-docs .contenidoDoc {
    margin-left: 15%;
    padding-bottom: 8em; /* añade espacio interno antes del pie */
    width: 70%;
}

body.legal-docs .logoDoc {
    height: 100px;
    display: inline-block; /* se centra gracias al text-align del contenedor */
}

body.legal-docs .logo-container {
    width: 100%;
    text-align: center; /* centra el contenido */
    margin: 2em 0 3em 0; /* separación arriba y abajo */
}

/*************** FIN  AVISO LEGAL, CONDICIONES Y PRIVACIDAD estilos para sus vistas*/










.bodyInforme{
    background: #ffffff;
}

.fondoLoginGris {
    background: url("/images/imagenesGradior/fondo-gradior-grey.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

.fondoLoginAqua {
    background: url("/images/imagenesGradior/fondo-gradior-aqua.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.fondoLoginBlue {
    background: url("/images/imagenesGradior/fondo-gradior-blue.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.colorFondoDeshabilitado {
    background-color: #fbf5ee;
    color: lightslategray
}

.colorGradiorCognitivo {
    color: #9edb17;
}
.colorGradiorCognitivoInformeUso {
    color: #13866b;
}
.colorGradiorMultisensorial {
    color: #a5a2dd;
}
.colorGradiorCiudad {
    color: #f41e5de8;
}
.colorGradiorCognitivo:hover {
    color: #9edb17;
}

.colorGradiorMultisensorial:hover {
    color: #a5a2dd;
}

.colorGradiorCiudad:hover {
    color: #f41e5de8;
}

.colorBordeGradiorCognitivo {
    border: solid 0.1rem #9edb17;
}

.colorBordeGradiorMultisensorial {
    border: solid 0.1rem #a5a2dd;
}

.colorBordeGradiorCiudad {
    border: solid 0.1rem #f41e5de8;
}
.colorBordeGradiorSuite {
    border: solid 0.1rem #20a69f;
}

.colorRojoTexto{
    color:var(--rojo)
}
.colorVerdeTexto {
    color: var(--verde)
}
.colorAzulTexto {
    color: royalblue;
}

.colorNaranjaTexto {
    color: var(--naranja)
}

.titulosGradior {
    color: darkslategray;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem !important;
    margin-top: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.2;
}

/* Imagen de carga*/
.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loader.svg) 50% 50% no-repeat rgb(249,249,249);
    opacity: .5;
}

/* Estilo para los subencabezados*/
.subtituloGradior {
    font-size: larger;
    padding-bottom: 10px;
    padding-top: 10px;
    font-weight: 600;
}

/* Alineacion a la derecha en puncuaciones*/
.esPuntuacion {
    text-align: right;
    border-radius: 0.25rem;
    border: 1px solid lightgray;
    width: 100px;
    padding: 5px;
}

/* Estilo para botones con icono de las tablas */
.botonIconoTabla {
    color: lightslategray;
    font-size: larger;
    font-family: inherit;
    font-weight: inherit;
    border-color: transparent;
    background-color: transparent;
    border-radius: 0%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.5s;
}

    .botonIconoTabla:hover {
        background-color: lightgray;
        
    }
    .botonIconoTabla[disabled] {
        background-color: transparent;
        opacity: 0.3;
        cursor: not-allowed;
        pointer-events: none;
    }
    .botonIconoTabla[disabled]:hover {
        background-color: transparent !important;
    }


    .botonIconoTabla:active{
        border: solid darkgray 1px;
    }


    
/*Estilo botones con texto*/


/* line 7, ../vendor/bootstrap/scss/_buttons.scss */
button.botonGradior {
    color: darkslategray;
    font-size: larger;
    font-family: inherit;
    font-weight: inherit;
    background: #F0F4FA;
    border-color: #F0F4FA;
    box-shadow: none;
    cursor: pointer;
    padding: .9rem 1.5rem;
    line-height: 1;
    outline: none;
    border-radius: 0.3rem;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    border: 1px solid transparent;
    transition: background-color 0.2s;
    min-width: 112px;
}

button.botonGradior:hover {
    color: darkslategray;
    background-color: #C5CBD3;
    border-color: #afbacf;
}

button.botonGradior:focus {
    outline: none;
}

button.botonGradiorInferior {
    margin: 15px 0px 0px 15px;
}

button.botonGradiorSuperior {
    margin: 0px 5px 5px 0px;
}


/* Estilo tabla ver detalles */
.tablaDetalles {
    width: 100%;
}

.cabeceraNivel1Detalles {
    width: 170px;
}
.contenidoCabeceraNivel1Detalles {
    color: darkslategray;
}

.tdDetalles {
    padding: 2px 15px 0px 15px;
    border-left: thin solid #e3e8e8;
}

.cabeceraNivel2Detalles {
    width: 220px;
    color: lightslategray;
    font-weight: inherit;
    margin-bottom:0px;
    padding:0px;
}


.cabeceraNivel2DetallesUltSesion {
    color: lightslategray;
    font-weight: inherit;
    margin-bottom: 0px;
    padding: 0px;
}
.contenidoDetalles {
    color: darkslategray;
    margin-bottom:0px;
}

/* hover para la subida de imagenes*/

.subirImagenes:hover {
    opacity: 1;
}

/* SWTICH DE DOS COLORES*/


.switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 2rem;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--verde);
    -webkit-transition: .4s;
    transition: .4s;
    height:23px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 2px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--rojo);
}

input:focus + .slider {
    /*box-shadow: 0 0 1px #e62942;*/
}

input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


    /*ESTILO DE TABLA*/

table {
    border-collapse: collapse;
}


.linea-oculta {
    display: none;
}
.linea-oculta-filtro {
    display: none;
}

.iconoFiltro {
    padding-left: 15px;
    font-size: 25px;
    color: #419595;
}

.tablaGradior {
    width: 100%;
    max-width: 100%;
    background-color: var(--colorFondoTabla);
    color: darkslategray;
}
    /* line 11, ../vendor/bootstrap/scss/_tables.scss */
    .tablaGradior th,
    .tablaGradior td {
        padding: 7px;
        vertical-align: middle;
    }
    /* line 18, ../vendor/bootstrap/scss/_tables.scss */
    .tablaGradior thead th {
        vertical-align: bottom;
        background-color: var(--colorFondoCabeceraTabla);
        color: white;
        font-size:larger;
    }
    .tablaGradior tbody th {
        vertical-align: bottom;
        background-color: var(--colorFondoCabeceraTabla);
        color: white;
        font-size: larger;
        vertical-align: middle;
        height: 38.65px;
    }
    .tablaGradior tfoot td {
        vertical-align: bottom;
        border-bottom: 2px solid var(--colorLineaRegistrosTabla);
        background-color: var(--colorFondoCabeceraTabla);
        color: white;
        font-size: larger;
        text-align:center;
        font-weight:bold;
    }
        .tablaGradior tfoot td a {
            color: white;
            width: 30px;
            display: inline-block;
            text-align: center;
        }
        .tablaGradior tfoot td label {
            color: white;
            width: 130px;
            display: inline-block;
            text-align: center;
        }
    /* line 23, ../vendor/bootstrap/scss/_tables.scss */
    .tablaGradior tbody + tbody {
        border-top: 2px solid var(--colorLineaRegistrosTabla);
    }


/* line 79, ../vendor/bootstrap/scss/_tables.scss */
    .tablaGradior tbody tr {
        border-top: solid 2px white;
        border-bottom: solid 2px white;
    }
.filaSeleccionada {
    background-color: var(--colorLineaRegistrosTabla);
}

    /*por susana*/
.divEditar {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    min-width: 420px;
    width:auto;
    height: auto;
}

    .divEditar .contentform {
        flex: 1 1 auto;
    }

    .divEditar .contentbutton {
        justify-content: flex-end;
        display: flex;
    }

.divAviso {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    min-width: 500px;
    max-width: 800px;
    width: auto;
    height: auto;
}

    .divAviso .contentform {
        flex: 1 1 auto;
    }

    .divAviso .contentbutton {
        justify-content: flex-end;
        display: flex;
    }

.divAlerta {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    min-width: 500px;
    max-width: 800px;
    width: auto;
    height: auto;
}

    .divAlerta .contentform {
        flex: 1 1 auto;
    }

    .divAlerta .contentbutton {
        justify-content: flex-end;
        display: flex;
    }

.divDetalles {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    min-width: 600px;
    max-width: 800px;
    height: auto;
}
.divDetallesSinMin {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    height: auto;
}

    .divDetalles .contentform {
        flex: 1 1 auto;
    }

    .divDetalles .contentbutton {
        justify-content: flex-end;
        display: flex;
    }
    .divDetallesSinMin .contentform {
        flex: 1 1 auto;
    }

    .divDetallesSinMin .contentbutton {
        justify-content: flex-end;
        display: flex;
    }

.divInfo {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    width:500px;
    height: auto;
}

    .divInfo .contentform {
        flex: 1 1 auto;
    }

    .divInfo .contentbutton {
        justify-content: flex-end;
        display: flex;
    }


.etiquetaNota {
    color: lightsteelblue;
    font-size: smaller;
}



    .tooltip1 {
        position: relative;
        display: inline-block;
    }

    .tooltip1 p{
        margin: 0;
    }

        .tooltip1 .tooltiptext {
            visibility: hidden;
            white-space: normal; /* permite saltos de línea */
            min-width: 160px; 
            max-width: 200px; /* límite para no desbordar */
            background-color: white;
            color: darkslategray;
            text-align: center;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: -125%;
            left: -350%;
            opacity: 0;
            transition: opacity 0.3s;
            border: solid 1px;
            font-size: 12px;
        }

    .tooltip1:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

    .visibilityHide {
        visibility: hidden;
    }

.textareaPerfilSensorial {
    font-size: small; /* texto más pequeño */
    width: 100%; /* ocupa todo el ancho de la celda */
    overflow-y: auto; /* scroll vertical si se excede */
    resize: none; /* opcional: evita que el usuario cambie el tamaño */
    line-height: 1.2em; /* ajusta la altura de línea */
    height: calc(1.2em * 3 + 8px); /* espacio para 3 filas visibles */
}



