
/* Loader */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }





/* 02/10/2023. ACP. Estilos para los mensajes de validación como por ejemplo el de contraseña no segura */
.invalid-feedback {

    font-size: 0.8em !important;
    font-weight: bold !important;
}

.noteBoxes {
    border: 1px solid;
    border-radius: 5px;
    padding: 10px;
    margin: 0;
}

.type1 {

    border-color: #2A9D8F;
    background-color: rgba(42, 157, 143, 0.1);
}

/* 15/06/2023. ACP. Estilos para la pantalla de login */
.pantalla-login {

}

    #texto-login {
        position: absolute;
        color: white;
        top: 50%;
        left: 50%;
        width: 90%;
        height: 10%;
        transform: translate(-50%, -50%);
    }
    #cuadro-login {
        margin: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-60%);
        max-width: 500px;
    }

    #remember-me {

        background-color: #cbd3da;
    }

    #remember-me:checked {

        background-color: #667AE6;
    }
    #remember-me:after {

        width: 40% !important;
        height: auto !important;
        color: white;
        opacity: 1 !important;
    }



.banner {
    background: transparent url('/static/app/img/banner.jpg') center center;
    background-size: cover;
}

.sidenav-header.powered {
    height: 9rem;
}

.sidenav .navbar-brand>img,
.sidenav .navbar-brand-img {
    max-height: 5rem;
}
.sidenav .navbar-brand {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidenav .powered-msg {
    padding: 0rem 2rem;
    font-size: 0.65rem;
    margin-top: -24px;
}
    .sidenav .powered-msg img {
        max-height: 1.5rem;
    }

.g-sidenav-hidden .navbar-vertical .navbar-brand span,
.g-sidenav-hidden .sidenav .powered-msg {
    display: none!important;
}
.g-sidenav-hidden .sidenav .sidenav-header {
    height: 4.375rem;
}


.navbar-vertical.navbar-expand-xs {
    z-index: 100 !important;
}


.cuadro-nuevo-elemento {
    width: fit-content;
    block-size: fit-content;
    float: left;
    border-radius: 10px;
    margin: 5px 10px 5px 0;
    cursor: pointer;
    color: white;
    background-color: #CED4DA;
}

.enlace,
.puntero {
    cursor: pointer;
}

.linea {

    height: 1px;
    background-color: #A9BCC2 !important;
}

.paginacion {

    text-align: center;
    margin: 20px 20px 10px 10px;
}


.sombra {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 6px !important;
}



.deshabilitado {
    background-color: #e9ecef;
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid #D2D6DA;
    color: #495057;
}

.color-negro {
    color: black;
}



.deshabilitado {
    pointer-events: none;
}


/* Estilos listado de denuncias ---------------------------------------------------------------- */

.enlace-ver-mas {

    color: #5E72E4;
    font-weight: bold;
    font-style: italic;
}

    .enlace-ver-mas:hover {

        color: #5E72E4;
    }


table.fixed {table-layout:fixed; width:100%;word-break:break-all;}/*Setting the table width is important!*/
table.fixed td {white-space:normal !important;}/*Hide text outside the cell.*/

/* Estilos dropzone ---------------------------------------------------------------- */

.dropzone {
    border: 2px dashed #d4d4d4 !important;
    border-radius: 10px !important;
}
    .dropzone .dz-message {
        font-size: 1.5em !important;
        color: #ddd !important;
        font-weight: bold !important;
    }


/* Estilos toastr ---------------------------------------------------------------- */

.toast:not(.show) { /* Pisando una regla de la plantilla que interfiere con toastr */
  display: block;
}

/* Estilos autosave ---------------------------------------------------------------- */

.autosave-indicator {
    float: right;
    margin-right: 2em;
    clear: both;
}



/* Barra de header ---------------------------------------------------------------- */

:not(.main-content) .navbar .dropdown .dropdown-menu {
    top: 0;
}


.navbar-compliance {

    background-color: #3697B5;
    margin-top: 30px;
    padding: 40px !important;
    font-weight: 100;
}
    .navbar-compliance .nav-link {

        color: #CDE5ED !important;
        font-size: 18px !important;
        letter-spacing: .02rem;
    }
        .navbar-compliance .nav-link:hover {

            color: #FFFFFF !important;
        }

    .nav-item-espacio {

        margin-right: 20px;
    }


    .navbar-compliance .activo {

        color: #FFFFFF !important;
    }



/* Barra de titúlo y estado de denuncia ---------------------------------------------------------------- */
/* 20230517 ACP - Nueva maquetación Juan */

.card-status-denuncia {

}
    .card-status-denuncia .icono-denuncia {
        -ms-flex: 0 0 50px;
        flex: 0 0 50px;
        text-align: center;
    }

    .card-status-denuncia .texto-id {
        font-weight: bold;
        font-size: 0.7em;
        color: #A5A5A5;
    }

    .card-status-denuncia .texto-titulo {
        font-weight: bold;
        font-size: 1.2em;
        color: black;
    }

    .card-status-denuncia .texto-fecha-limite {
        color: black;
        font-size: 0.7em;
    }

    .card-status-denuncia .margen-superior {
        margin-top: 20px !important;
    }

    .texto-navegacion-superior {
        font-size: 0.8em;
        font-weight: bold;
    }


    .menu-denuncia {
        padding: 10px !important;
    }
        .menu-denuncia .nav-item {
        }
        .menu-denuncia-item.active {
            background-color: #7566E4 !important;
            color: white!important;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        }
        .menu-denuncia-item.active:hover {
            background-color: #7566E4 !important;
            color: white!important;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        }

        .menu-denuncia-item:hover {
            background-color: white !important;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        }





/* Card de multisteps  ---------------------------------------------------------------- */


.multisteps-form__progress-btn {
    font-size: 0.8em !important;
}

.multisteps-form__progress-btn.js-active span {
    color: black !important;
}

.multisteps-form__progress-btn.js-selected span {

    font-weight: bold;
}


/* Tabs ---------------------------------------------------------------- */


.nav-tabs {
    margin-top: 30px;
    border-bottom: 0
}
    .nav-tabs .nav-link {
        color: #707070 !important;
        font-size: 0.9em;
        border-width: 0 !important;
        border-bottom: 1px solid #000000;
        border-radius: 0 !important;
        line-height: 1;
        padding: 10px 8px 10px 8px;
        font-weight: bold;
    }
    .nav-tabs .nav-link:hover {
        background-color: #e6e6e6;
    }
    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {

        color: #000000 !important;
        border-bottom: 2px solid #3797B5 !important;
    }

.nav-pills {
    --bs-nav-pills-border-radius: 0;
}
.nav.nav-pills {
    background-color: white;
    border-radius: 0 !important;
}
    .nav.nav-pills .nav-link.active {
        animation: 0.2s ease;
        background-color: #f8f9fa;
    }
    .nav.nav-pills .nav-link {
        border-radius: 0 !important;
        text-transform: uppercase;
        font-size: 0.8em;
        font-weight: bold;
    }
    .nav-link.disabled {
        color: #A5A5A5 !important;
    }




.tab-content {
    background-color: #f8f9fa;
    padding: 20px;
}
    .tab-content > .active {
        background-color: #f8f9fa;
    }







/* Cambios de las pestañas de la fase de INSTRUCCIÓN */




.boton {
    background-color: #3697B5 !important;
    color: white;
    border-radius: 0 !important;
}

button:disabled, button[disabled] {
    cursor: auto;
}


.fondo-error {
    background-color: #d38d8d !important;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}



/* Estilos generales ---------------------------------------------------------------- */
/* de visualización de las diferentes etapas de la denuncia */

.card-denuncia {

}
    .card-denuncia h3 {
        font-size: 1.3rem;
    }
    .card-denuncia h4 {
        font-size: 1.1rem;
        font-weight: 700;
    }
    .card-denuncia h5 {
        font-size: 1.0rem;
    }
    .card-denuncia a,
    .card-denuncia p {
        font-size: 0.8rem;
    }
    .card-denuncia label {
        font-weight: bold;
        color: black !important;
        font-size: 0.9rem;
    }

    .card-denuncia .bg-gray {
        background-color: #f8f9fa;
    }

    .card-denuncia .text-wrapper {
        background-color: #fafafa;
        border-radius: 5px;
        padding: 15px 10px 5px 10px;
    }
        .card-denuncia .text-wrapper p {
            font-size: 0.85rem;
        }

    .card-denuncia .etapa-denuncia-list {
        font-size: 0.8em;
        border-bottom: 1px solid #E5E5E5;
    }
    .card-denuncia div.etapa-denuncia-list:last-child {
        border: 0;
    }

.etapa-denuncia-borrador {

}

.etapa-denuncia-archivada {

}

/* Canal de denuncias - General */

.peque {

    font-size: 0.9em !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
}

/* Canal de denuncias - Admisión */

.etapa-denuncia-borrador .form-group {

    margin-bottom: 0 !important;
}

.boton-ocultar-datos-denunciante {
    font-size: 0.7em !important;
    padding: 5px 8px !important;
    border-radius: 0 !important;
    margin: -5px 5px 0px 5px !important;
    border: none;
    font-weight: bold;
}
    .boton-ocultar-datos-denunciante.boton-ocultar {
        background-color: #CED4DA !important;
        color: black;
    }

    .boton-ocultar-datos-denunciante.boton-mostrar {
        background-color: #000000 !important;
        color: white;
    }

.form-switch {
    display: inline !important;
    padding-left: 1em !important;
}

    .form-switch .form-check-input {
        border-color: #C21414;
        background-color: #C21414;
    }

.sin-margen {
    margin: 0 25px 0 25px !important;
    transform: scale(2);
}

.check-mis-datos {
    margin: 15px 0px 0 0px !important;
    transform: scale(1.5);
}

.boton-reproducir {

    background-color: #1FA000;
    color: white;
    padding: 4px 6px;
    font-size: 0.8em;
    border-radius: 5px;
    border: none;
    margin-left: 10px;
}

.boton-detener {

    background-color: #9b0808;
    color: white;
    padding: 4px 6px;
    font-size: 0.8em;
    border-radius: 5px;
    border: none;
    margin-left: 10px;
}

/* Canal de denuncias - Instruccion */

#denuncias-instruccion {

}
    .cuadro-nuevo-activo-implicado {
        font-size: 2.5em;
        width: fit-content;
        block-size: fit-content;
        float: left;
        border-radius: 10px;
        margin: 5px 10px 5px 0;
    }
        .cuadro-nuevo-activo-implicado a {
            color: white !important;
        }

    .cuadro-activo {
        font-size: 0.8em;
        background-color: white;
        float: left;
        border: 1px solid #BFBFBF;
        margin: 5px 10px 5px 0;
        border-radius: 10px;
    }
    .cuadro-activo.seleccionado {

        background-color: #8da1b8;
        color: white;
    }
        .cuadro-activo .cuadro-activo-links {
            border-top: 1px solid #BFBFBF;
        }
            .cuadro-activo .cuadro-activo-links > div:first-child{
                font-size: 0.7em;
                border-radius: 0 0 0 10px;
            }
            .cuadro-activo .cuadro-activo-links > div:last-child{
                border-radius: 0 0 10px 0;
                border-left: 1px solid  #BFBFBF;
            }

        .cuadro-activo .elemento_investigacion_button {
            font-size: 2em;
            font-weight:bold;
        }

    .activo_borrador {
        font-size: 0.8em;
    }

    .cuadro-activo-resumen {

        font-size: 0.8em;
        background-color: white;
        border: 1px solid #BFBFBF;
        margin: 5px 10px 5px 0;
        border-radius: 10px;
    }



    .boton-traslado {
        background-color: #686868;
        font-size: 0.9em;
        color: white;
        padding: 8px 10px 8px 10px;
    }

    .enlace-nuevo-traslado {

        background-color: #4b9b2b !important;
        color: white;
        border-radius: 10px;
        font-size: 0.9em;
        font-weight: bold;
        padding: 10px 20px;
    }

    .enlace-nuevo-traslado:hover {

        color: white;
    }

    .traslado-row {
    }
        .recipientes-wrapper {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


    .texto-traslado-no-leido {
        color: red;
        font-style: italic;
        margin-left: 5px;
    }

    .texto-traslado-leido {

        color: green;
        font-style: italic;
        margin-left: 5px;
    }



    .cuadro-traslados {
        background-color: white;
    }

    .cuadro-respuesta-traslado {

        background-color: #edeffd;
    }





/* Canal de denuncias - Parte auditor interno */

#denuncias-auditor-interno {

}
    .cuadro-deshabilitado {

        background-color: #D5D3D3;
        color: #ffffff;
    }

    .enlace-propuesta-resolucion {

        color: white;
    }

        .enlace-propuesta-resolucion:hover {

            color: white;
        }

#denuncias-mensajes {

}
    .cuadro-mensaje {

        font-size: 0.8em;
        border-radius: 10px;
    }

        .cuadro-mensaje-externo {

            background-color: #f5e7ec;
        }

        .cuadro-mensaje-interno {

            background-color: #edeffd;
        }

    .boton-mensajes-externo {

        background-color: #f5e7ec;
        font-size: 0.6em;
        font-weight: bold;
        padding: 8px 10px;
        color: black;
    }

        .boton-mensajes-externo:hover {

            background-color: #a457ec;
            color: white;
            font-size: 0.6em;
            font-weight: bold;
            padding: 8px 10px;
        }

    .boton-mensajes-interno {

        background-color: #edeffd;;
        font-size: 0.6em;
        font-weight: bold;
        padding: 8px 10px;
        color: black;
    }

        .boton-mensajes-interno:hover {

            background-color: #393ce2;
            color: white;
            font-size: 0.6em;
            font-weight: bold;
            padding: 8px 10px;
        }

/* Canal de denuncias - Resolucion */

#denuncias-resolucion {

}

    .recuadro-voto {

        background-color: white;
        padding: 10px;
    }

    .cuadro-resolucion {
        background-color: white;
        float: left;
        border: 1px solid #BFBFBF;
        margin-right: 10px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .cuadro-resolucion.seleccionada {

        background-color: #68788a;
        color: white;
    }

        .cuadro-resolucion .estado-resolucion {
            text-transform: uppercase;
            font-size: 0.8em;
            padding: 3px 10px;
            border-radius: 10px;
            color: white;
        }
            .estado-resolucion-descartada {
                background-color: #C21414;
            }
            .estado-resolucion-borrador {
                background-color: #ccc;
            }
            .estado-resolucion-aprobada {
                background-color: #1FA000;
            }
            .estado-resolucion-pendiente {
                background-color: #F3AA00;
            }

        .cuadro-resolucion .titulo-resolucion {
            font-size: 1.3em;
            font-weight: bold;
        }
        .cuadro-resolucion .fecha-resolucion {
            font-size: 0.8em;
        }
        .cuadro-resolucion .votos-resolucion {
            font-size: 0.8em;
        }
        .cuadro-resolucion .botones-resolucion {
            font-size:  1.2em;
            font-weight:bold;
        }
            .botones-resolucion div:first-child {
              border-bottom-left-radius: 10px; /* Redondear la esquina inferior izquierda */
            }

            .botones-resolucion div:last-child {
              border-bottom-right-radius: 10px; /* Redondear la esquina inferior derecha */
            }

    .cuadro-nueva-medida {
        width: fit-content;
        block-size: fit-content;
        float: left;
        border-radius: 10px;
        background-color: #D5D3D3 !important;
    }

        .cuadro-nueva-medida .boton-nueva-medida-icono {
            margin-bottom: 11px;
        }
        .boton-nueva-medida-text {
            font-size: 1.3em;
            font-weight: bold;
            color: white !important;
        }

    .cuadro-medida {
        background-color: white;
        float: left;
        border: 1px solid black;
        margin-right: 10px;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 0 10px 0px 10px;
        font-size: 0.9em;
        width: 300px;
    }
        .cuadro-medida .medida-texto {
            color: #868686;
            margin-top: -3px !important;
            font-weight: normal !important;
        }

        .cuadro-medida .medida-activos {
            background-color: #aaa;
            color: white;
            float: left;
            margin-left: 5px;
            border-radius: 5px;
            margin-bottom: 5px;
            padding: 3px 5px;
            font-size: 0.9em;
        }


/* Canal de denuncias - Mensajeria */


.mensajeria{

}

    .tarjeta-compliance {
        box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
        border: 0;
        overflow: auto;
        overflow-x: hidden;
        border-radius: 5px;
    }

    .tarjeta-externo {
        box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
        border: 0;
        overflow: auto;
        overflow-x: hidden;
        background-color: #7566E4;
        color: white;
        border-radius: 5px;
    }

.alert-success {

    background-color: #26adab !important;
    color: white !important;
    font-size: 0.8em !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 0 !important;
    background-image: none !important;
    --bs-alert-color: #26adab !important;
    --bs-alert-bg: #26adab !important;
    --bs-alert-border-color: #26adab !important;
    padding: 10px !important;
}

.alert-danger {

    background-color: #f5365c !important;
    color: white !important;
    font-size: 0.8em !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 0 !important;
    background-image: none !important;
    --bs-alert-color: #f5365c !important;
    --bs-alert-bg: #f5365c !important;
    --bs-alert-border-color: #fcc3ce !important;
    padding: 10px !important;
}
