:root {
    /* CSS HEX */
    --steel-blue: #0080D0ff;
    --cobalt-blue: #0644ADff;
    --vivid-sky-blue: #00DDFAff;
    --celestial-blue: #0094E5ff;
    --celtic-blue: #0067DBff;
    --legendary-blue: #41C9E2;
    --indigo-dye: #003F55ff;
    --piel-blue: #F7EEDD;
    --green-black: #005B41;
    --yellow-pink: #FF9800;
    --pink-yellow: #F4538A;
    --phthalo-blue: #0F0F7Cff;
    --teal: #008080ff;
    --picton-blue: #00A9EDff;
    --black: #000001ff;

    --color-primario-fondo: #404080;
    --color-primario-texto: #ffffff;
    --color-primario-header-page: #000000;
    --color-fondo-body: white;
    --color-button-fondo-hover: #3f51b5;
    --color-button-texto-hover: #D1CECE;
    --color-modal-header-fondo: linear-gradient(var(--phthalo-blue) 0%, var(--cobalt-blue) 100%) no-repeat;
    --modal-header-fondo-add: linear-gradient(var(--phthalo-blue) 0%, var(--cobalt-blue) 100%) no-repeat;
    --modal-header-fondo-upd: linear-gradient(var(--teal) 0%, var(--indigo-dye) 100%) no-repeat;
    --color-modal-header-fondo-info: linear-gradient(var(--green-black) 0%, var(--black) 100%) no-repeat;
    --color-modal-header-fondo-eye: linear-gradient(var(--yellow-pink) 0%, var(--pink-yellow) 100%) no-repeat;
    --color-modal-header-texto: white;
    --color-fondo: linear-gradient(#0095e1 0%, #0095e1 100%) no-repeat;
    --color-fondo-menu: white;
}

/*NAV BAR*/

.navbar-mls {
    background: var(--phthalo-blue) !important; /*var(--color-modal-header-fondo)*/
}

.tres_lineas a{
    color: var(--piel-blue);
}

.logoUser i{
    color: var(--piel-blue);
}

.btn-navbar{
    background: var(--piel-blue) !important;
    color: var(--indigo-dye) !important;
    font-weight: 900 !important;
}

.labelUser{
    font-size: 20px !important;
    color:  var(--piel-blue) !important;
    font-weight:bold !important;
}

/*MENU*/
.menu-mls {
    background-color: var(--phthalo-blue) !important;
}

/*HOME*/
.bienvenida {
    border-radius: 30px;
    background-color: var(--cobalt-blue);
    border: 5px solid var(--legendary-blue);
    color: var(--piel-blue) !important;
    font-size: 2em;
    text-align: center;
    padding-bottom: 0px !important;
    font-weight: bold;
}

.titulo-grafica {
    color: var(--cobalt-blue);
    font-weight: bold;
}

.chart-legend ul {
    list-style: none;
    background: black !important;
    color: var(--indigo-dye) !important;
}

.chart-msl canvas {
    list-style: none;
    background: transparent !important;
    min-height: 250px; 
    height: 250px; 
    max-height: 250px; 
    max-width: 100%;
}

.wrapper-mls{
    background-color: var(--color-fondo-body) !important;
}

/* GENERALES */
.titulo-pagina {
    color: var(--cobalt-blue);
    font-size: 3em;
    font-weight: bold;
    padding-left: 11px;
    padding-bottom: 0px;
}

.cabeceraTablaMSL {
    color: var(--piel-blue) !important;
    background-color: var(--cobalt-blue) !important;
    border-color: var(--piel-blue) !important;
}

.filtros {
    padding-inline: 15px;
}

.btn-principal {
    color: var(--piel-blue) !important;
    background-color: var(--cobalt-blue) !important;
    border-color: var(--piel-blue) !important;
    box-shadow: none;
}

.btn-principal:hover {
    color: var(--color-button-texto-hover) !important;
}

/*MODAL*/
.modal-header-mls-add{
    background: var(--modal-header-fondo-add);
    color: var(--piel-blue) !important;
}

.modal-header-mls-edit{
    background: var(--modal-header-fondo-upd);
    color: var(--piel-blue) !important;
}

.modal-header-mls-info{
    background: var(--color-modal-header-fondo-info);
    color: var(--piel-blue) !important;
}

.modal-header-msl-eye{
    background: var(--color-modal-header-fondo-eye);
    color: var(--piel-blue) !important;
}

.modal-title-mls {
    font-weight: 900;
}

.close-mls {
    color: var(--piel-blue) !important;
}

.div-gaa{
    display: flex;
    align-items: end;
}

.div-button-reset{
    display: flex;
    align-items: end;
    justify-content: start;
}


/*CARROUSEL*/

.carousel-aud {
    background-color: var(--phthalo-blue);
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 10px;
    padding-left: 10px;
    box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.59);
    border-radius: 15px;
    align-items: stretch;
}

.item-aud {
    display: flex;
    justify-content: center;

}

.carousel-aud .item-aud .level1-aud {
    background-color: var(--piel-blue);
    border-radius: 5px;
    display: flex;
    align-items: stretch;
    border: 2px solid var(--piel-blue);
    /*cursor: pointer;*/
}

.carousel-aud .item-aud .level1-aud span{
    color: red;
    width: 100% !important;
    display: flexbox;
    align-items: stretch;
    justify-content: start;
}

.carousel-aud .item-aud .level1-aud span .level2-aud {
    height: 100%;
    width: auto;
    display: flex;
    align-items: stretch;
    justify-content: start;
}

.carousel-aud .item-aud .level1-aud span .level2-aud .etiqueta-aud{
    border-radius: 5px;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.carousel-aud .item-aud .level1-aud span .level2-aud .titulo-aud{
    display: flex;
    align-items: center;
    justify-content: start;
}

.carousel-aud .item-aud .level1-aud span .level2-aud .titulo-aud label{
    margin: 0;
    text-align: start;
    font-size: 18px;
    font-weight: 600 !important;
    color: var(--indigo-dye);
    line-height: 1.5;
    cursor: pointer
}

.carousel-aud .item-aud .level1-aud span .level2-aud .etiqueta-aud i{
    color: var(--piel-blue);
}

.col-md-3-e {
    flex: 0 0 25%;
    max-width: 25%;
    margin-inline: 2px;
}

.col-md-3-f {
    flex: 0 0 25%;
    max-width: 25%;
    margin-inline: 2px;
}

.aud-selected {
    border: 2px solid var(--black) !important;
    box-shadow:  0 4px 8px 0 rgba(18, 78, 245, 0.2), 0 6px 20px 0 rgba(247, 238, 221, 0.8);
}

@media (max-width: 768px) {
    .carousel-aud {
        padding-bottom: 10px;
        padding-inline: 10px;
        align-items: center;
    }

    .item-aud {
        display: flex;
        justify-content: center;
    }

    .col-md-3-e {
        flex: 0 0 100%;
        max-width: 100%;
        margin-inline: 2px;
    }

    .carousel-aud .item-aud .level1-aud span .level2-aud {
        justify-content: start;
    }

    .carousel-aud .item-aud .level1-aud span .level2-aud .titulo-aud label{
        font-size: 14px;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .carousel-aud .item-aud .level1-aud span .level2-aud .titulo-aud label{
        font-size: 15px;
    }
}

.sr-prev {
    left: 15px !important;
}

.sr-next {
    right: 15px !important;
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

.carousel-inner .carousel-item-right.active,
.carousel-inner .carousel-item-next {
    transform: translateX(25%);
}

.carousel-inner .carousel-item-left.active, 
.carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
}
    
.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{ 
    transform: translateX(0);
    
}


.table-auditoria {
    /*min-width: max-content;*/
    padding-left: 50px;
}

.table-auditoria thead {
    position: sticky;
    top: 0px;
    background-color: #282d95;
    font-size: 14px;
}

.table-auditoria tbody {
    background-color: white;
    font-size: 12px;
}

.table-auditoria thead tr th {
    text-align: center;
    vertical-align: middle  !important;
}

.table-auditoria tbody tr td {
    color: gray;
    text-align: left;
    vertical-align: middle;
    white-space: pre-line;
}

.table-auditoria tbody tr td span{
    display:block;
    overflow-x:auto;
}

.table-auditoria tbody tr td label{
    display:block;
    padding: 0;
    margin: 0;
    text-align: left;
}

tr.estructuraColumnas, .estructuraColumnas th {
    border:none !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    height:0 !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
    visibility:hidden !important;
}

/*MODIFICADO EL 29/09/2025*/
.table-wrapper {
    max-height: 682px; /*ANTES ERA 500px*/
    overflow-y: scroll;
    margin-left: 0;
    padding-left: 0;
    overflow-x: auto;
}

.textarea_aud {
    width: 100%; /**/
    resize: none;
    overflow: hidden;
    min-height: 60px;
    height: auto;
    max-height: 900px;
}

/*
.textarea_aud:is(:focus, :valid) {
    border-width: 2px;
    border-color: #4671EA;
}
*/

.textarea_aud::-webkit-scrollbar{
    width: 0px;
}

.table-wrapper-fullscreen {
    max-height: 100%;
    max-width: 100%;
    overflow-y: scroll;
    margin-left: 0;
    padding-left: 0;
    overflow-x: auto !important;
}

#modal-fullscreen {
    padding-right: 0px !important;
}

#modal-fullscreen .modal-dialog-FullScreen{
    height: 100%;
}

#modal-fullscreen .modal-dialog-FullScreen .modal-content{
    height: 100%;
}

#modal-fullscreen .modal-dialog-FullScreen .modal-content div{
    padding-right: 0px !important;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    overflow-x: auto !important;
}

#modalFullScreenTitle {
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: #4671EA;
}

.frontText {
    z-index: 2000 !important;
}

/*TABLA*/

.btn-primary-dev {
    color: var(--piel-blue) !important;
    background-color: var(--indigo-dye) !important;
    border-color: var(--piel-blue) !important;
    box-shadow: none;
}

.btn-primary-dev:hover {
    color: var(--piel-blue) !important;
    background-color: var(--teal) !important;
    border-color: var(--teal) !important;
    
}

.btn-info-dev {
    color: var(--piel-blue) !important;
    background-color: var(--black) !important;
    border-color: var(--piel-blue) !important;
    box-shadow: none;
}

.btn-info-dev:hover {
    color: var(--piel-blue) !important;
    background-color: var(--green-black) !important;
    border-color: var(--green-black) !important;
    
}

.btn-warning-dev {
    color: var(--piel-blue) !important;
    background-color: var(--yellow-pink) !important;
    border-color: var(--piel-blue) !important;
    box-shadow: none;
}

.btn-warning-dev:hover {
    color: var(--piel-blue) !important;
    background-color: var(--pink-yellow) !important;
    border-color: var(--pink-yellow) !important;
    
}


.header-table-documento {
    color: var(--piel-blue) !important;
    background-color: #005B41 !important;
    border-color: var(--piel-blue) !important;
}

/*AUDITORIA*/

.tituloSecundarioGestion{
    display: inline-flex;
}

.tituloSecundarioGestion h2{
    color: var(--phthalo-blue);
    font-weight: 900;
    font-size: 2em;
}

@media (max-width: 768px) {
    .tituloSecundarioGestion h2{
        font-size: 1.5em;
    }
}

.fila-gestion-subtitulo {
    gap: 10px;
}

/*SECCION PARTICIPANTES*/

.titulo_listado_participantes {
    font-size: 25px;
    color: var(--cobalt-blue);
}

@media (max-width: 768px) {
    .titulo_listado_participantes {
        font-size: 18px;
    }
}

.tablaParticipante {
    table-layout:fixed;
    width: 100%;
}

.tablaParticipante tbody tr{
    text-align: center;
}

.tablaParticipante tbody tr td{
    vertical-align: middle;
}

.tablaParticipante tbody tr td:nth-child(3n){
    overflow-x:auto;
}

.celdaTablaParticipante tr td:nth-child(4n-3){
    vertical-align: middle;
    text-align: left;
    overflow-x:auto;
}

.celdaTablaParticipante tr td:nth-child(4n-2){
    vertical-align: middle;
    text-align: left;
    overflow-x:auto;
}

.celdaTablaParticipante tr td:nth-child(4n-1){
    vertical-align: middle;
}

.celdaTablaParticipante tr td:nth-child(4n){
    vertical-align: middle;
    text-align: left;
    overflow-x:auto;
}

/*Modificado 04-08-24*/

/*Tabla Norma*/

.negrita {
    font-weight: bold;
}
.tablaPlantillaNorma thead .estructuraColumnas th:nth-child(1) {
    min-width:180px;
}

.tablaPlantillaNorma thead .estructuraColumnas .columnasNormas {
    min-width:300px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(10) {
    min-width:180px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(9) {
    min-width:100px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(8) {
    min-width:150px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(7) {
    min-width:150px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(6) {
    min-width:150px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(5) {
    min-width:300px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(4) {
    min-width:200px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(3) {
    min-width:100px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(2) {
    min-width:100px;
}

.tablaPlantillaNorma thead .estructuraColumnas th:nth-last-child(1) {
    min-width:250px;
}

.tablaPlantillaNorma tbody tr td span {
    width: 100%;
}



/*Tabla Empresa*/

.tablaSlide {
    width: 100%;
    table-layout: fixed;
}

.tablaSlide tbody tr td {
    white-space: pre-line;
}

@media (max-width: 900px) {
    .tablaSlide {
        width: 100%;
        table-layout: auto;
    }
}

.celdaTabla tr td:nth-child(2n){
    vertical-align: middle;
    text-align: justify;
    overflow-x:auto;
}

.celdaTabla tr td:nth-child(2n-1){
    vertical-align: middle;
    text-align: left;
}

.celdaTablaTres tr td:nth-child(3n-2) {
    vertical-align: middle;
    text-align: justify;
}

.celdaTablaTres tr td:nth-child(3n-1) {
    vertical-align: middle;
    text-align: justify;
    overflow-x:auto;
}

.celdaTablaTres tr td:nth-child(3n) {
    vertical-align: middle;
    text-align: center;
}

.celdaTablaCuatro tr td:nth-child(4n-1) {
    vertical-align: middle;
    text-align: justify;
    overflow-x:auto;
}

.celdaTablaCuatro tr td:nth-child(4n-2) {
    vertical-align: middle;
    text-align: justify;
}

.celdaTablaCuatro tr td:nth-child(3n-1){
    vertical-align: middle;
    text-align: justify;
    overflow-x:auto;
}

.celdaTablaCuatro tr td:nth-child(4n-3),
.celdaTablaCuatro tr td:nth-child(4n) {
    vertical-align: middle;
    text-align: center;
}

/*ORGANIZACIÓN - EMPRESA*/
.content_telefono {
    width: 100%;
    display: inline-block;
    flex-wrap: wrap;
}

/*RESUMEN NORMA*/
.number_resumen {
    font-size: 18px;
    color: black !important;
    font-weight: 700;
}

.modal-dialog-FullScreen {
    position: relative;
    width: auto;
    margin: 0 !important;
    pointer-events: auto !important;
}

@media (min-width: 992px) {
    .modal-full {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .modal-full {
        max-width: 100% !important;
    }
}

.modal-full {
    max-width: 100% !important;
}



.time-input {
    width: 60px;
    text-align: center;
    font-size: 1.2em;
    padding: 5px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.clock-icon {
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.clock-icon:hover {
    color: #007bff;
}

/* Estilo para Select2 */
.select2-container {
    z-index: 10000; /* Asegúrate de que el select2 tenga un z-index suficiente */
}

/*ESTILOS DE MI TABLA HALLAZGOS O CONTROL*/

/* Botón editar */
.tabla-control-interno .btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tabla-control-interno .btn-icon i {
    font-size: 14px;
}

/* Checkbox solo lectura visible */
.tabla-control-interno .form-check-input {
    opacity: 1 !important;
    cursor: default;
    transform: scale(1.1);
}

/* Centrado perfecto del checkbox */
.tabla-control-interno td .d-flex {
    min-height: 36px;
    align-items: center;
}


.tabla-control-interno .form-check-input {
    transform: scale(1.6); /*para agrandar el check*/
    opacity: 1 !important;
    cursor: default;
}

.tabla-control-interno .checkbox-lectura {
    transform: scale(1.4);
    pointer-events: none; /*para no clickear xd*/
    cursor: default;
}

/* HISTORIAL DE CAMBIOS*/
.tabla-cambios .btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tabla-cambios .btn-icon i {
    font-size: 14px;
}
