﻿body {
    padding-right: 0 !important
}

* {
    margin: 0;
    padding: 0;
}


.box {
    width: 200px;
    height: 200px;
    background-image: url('Img/FotoPerfil.jpg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
}

.box img {
    width: 100%;
    height: auto;
}

box.no-bg {
    background-image: none !important;
}

@supports(object-fit: cover) {
    .box img {
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}


.escondido {
    display: none;
}

#processing {
    position: fixed;
    background: rgb(0,0,0);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

#processing > div {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    top: 50%;
    margin-top: -30px;
}

#processing > div > div {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #78b92f;
    top: 10px;
    left: 10px;
    transform-origin: 20px 20px;
    border-radius: 8px;
    animation: spin-a 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

#processing > div > .c2 {
    top: 10px;
    left: auto;
    right: 10px;
    transform-origin: -4px 20px;
    animation: spin-b 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

#processing > div > .c3 {
    top: auto;
    left: auto;
    right: 10px;
    bottom: 10px;
    transform-origin: -4px -4px;
    animation: spin-c 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

#processing > div > .c4 {
    top: auto;
    bottom: 10px;
    transform-origin: 20px -4px;
    animation: spin-d 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

@keyframes spin-a {
    0% {
        transform: rotate(90deg);
    }

    0% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-b {
    0% {
        transform: rotate(90deg);
    }

    25% {
        transform: rotate(90deg);
    }

    25% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-c {
    0% {
        transform: rotate(90deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    50% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-d {
    0% {
        transform: rotate(90deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    75% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#processing > span {
    width: 100px;
    height: 30px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: 30px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.menu li.menu-item a:hover {
    color: white;
}

.menu li.menu-item a:hover {
    color: white;
}

.sub-menu li.menu-item a:hover {
    color: #78b92f;
}

.menu-principal a:hover, .menu-principal a:focus {
    color: #78b92f;
}

.menu-item a:hover {
    color: #78b92f;
    text-decoration: none !important;
}

.required:before {
    content: '* ';
    color: red;
    font-weight: bold;
}​​​​

.hide {
    display: none;
}

.show {
    display: block;
}
​​​​​​
/*Select2*/
.select2-container--default .select2-selection--single {
    background-color: #f5f5f5;
    height: 45px !important;
}

span.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
}

.dataTables_scrollBody {
    position: initial !important;
}

div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

.contenido table {
    margin: 0px !important;
}

@media (max-width: 580px) and (min-width: 50px) {
    .contenido table td:before {
        padding: 0px !important;
    }
}
​​​​​​​
.labelRadio {
    display: inline-block !important;
    font-size: inherit;
}

.cnt-pregunta {
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    padding: 10px;
}

.cnt-preguntaRequerida {
    border: 1px solid red;
    background-color: #ffdcdc;
}

.divRadio {
    position: relative;
    margin: auto;
    vertical-align: bottom !important;
    left: 25%;
    margin-top: 25% !important;
}

input[type='text'],
input[type='number'],
input[type='date'],
input[type='email']
{
    background-color: white !important;
}

input[type='button'],
input[type='submit'] {
    background-color: #78b92f !important;
}


input:disabled {
    background-color: #e9ecef !important;
}


input[type='radio']:disabled {
    cursor: default;
}

input[type='checkbox']:disabled {
    cursor: default;
}

.inputDate {
    /*margin-top: 0.6em;*/
    margin-top: 0.5em;
    height: 45px;
}

.inputNota {
    width: 40% !important;
}

.inputNotaDetalle {
    width: 150px !important;
}

.contador {
    float: right;
    color: #555555;
    font-style: italic;
    margin-top: -10px;
}
.iconHelp{
    margin-left:3px;
}

.headTable {
    text-align: center;
}

.inputIdioma::-webkit-inner-spin-button {
    opacity: 1 !important;
}

.checkbox-wrapper-34 {
    --blue: #78b92f;
    --g08: #E1E5EB;
    --g04: #848ea1;
    display: flex;
    align-items: center; /* Centra verticalmente los elementos dentro del contenedor */
    margin-bottom: 0;
    justify-content: center;
}

    .checkbox-wrapper-34 .tgl {
        display: none;
    }

        .checkbox-wrapper-34 .tgl,
        .checkbox-wrapper-34 .tgl:after,
        .checkbox-wrapper-34 .tgl:before,
        .checkbox-wrapper-34 .tgl *,
        .checkbox-wrapper-34 .tgl *:after,
        .checkbox-wrapper-34 .tgl *:before,
        .checkbox-wrapper-34 .tgl + .tgl-btn {
            box-sizing: border-box;
        }

            .checkbox-wrapper-34 .tgl::selection,
            .checkbox-wrapper-34 .tgl:after::selection,
            .checkbox-wrapper-34 .tgl:before::selection,
            .checkbox-wrapper-34 .tgl *::selection,
            .checkbox-wrapper-34 .tgl *:after::selection,
            .checkbox-wrapper-34 .tgl *:before::selection,
            .checkbox-wrapper-34 .tgl + .tgl-btn::selection {
                background: none;
            }

            .checkbox-wrapper-34 .tgl + .tgl-btn {
                outline: 0;
                display: block;
                width: 57px;
                height: 27px;
                position: relative;
                cursor: pointer;
                user-select: none;
                font-size: 12px;
                font-weight: 400;
                color: #fff;
            }

                .checkbox-wrapper-34 .tgl + .tgl-btn:after,
                .checkbox-wrapper-34 .tgl + .tgl-btn:before {
                    position: relative;
                    display: block;
                    content: "";
                    width: 44%;
                    height: 100%;
                }

                .checkbox-wrapper-34 .tgl + .tgl-btn:after {
                    left: 0;
                }

                .checkbox-wrapper-34 .tgl + .tgl-btn:before {
                    display: inline;
                    position: absolute;
                    top: 7px;
                }

            .checkbox-wrapper-34 .tgl:checked + .tgl-btn:after {
                left: 56.5%;
            }

    .checkbox-wrapper-34 .tgl-ios + .tgl-btn {
        background: var(--g08);
        border-radius: 20rem;
        padding: 2px;
        transition: all 0.4s ease;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    }

        .checkbox-wrapper-34 .tgl-ios + .tgl-btn:after {
            border-radius: 2em;
            background: #fff;
            transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
        }

        .checkbox-wrapper-34 .tgl-ios + .tgl-btn:before {
            content: "NO";
            margin-top: -5px;
            left: 28px;
            color: var(--g04);
            transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .checkbox-wrapper-34 .tgl-ios + .tgl-btn:active {
            box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
        }

            .checkbox-wrapper-34 .tgl-ios + .tgl-btn:active:after {
                padding-right: 0.4em;
            }

    .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn {
        background: var(--blue);
    }

        .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active {
            box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
        }

            .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:active:after {
                margin-left: -0.4em;
            }

        .checkbox-wrapper-34 .tgl-ios:checked + .tgl-btn:before {
            content: "SI";
            left: 15px;
            color: #fff;
        }

    .checkbox-wrapper-34 input[type="checkbox"] {
        margin-right: 10px;
        align-self: center;
        width: 90px;
    }

/* ------------------------------ */
/* Estilos para _Anexos           */
/* ------------------------------ */

/* ------------------------------ */
/* Estilos para responsividad de tablas */
/* ------------------------------ */
.contenidoTable table thead {
    background-color: #32464d;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.contenidoTable table th {
    border-right: thin solid #fff;
    padding: 0 5px;
    height: 45px;
}

.contenidoTable table thead {
    background-color: #32464d;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.contenidoTable table tr {
    border: none;
    min-height: 40px;
}

.contenidoTable table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: none;
    margin: 30px 0;
    border-bottom: 3px solid #4c4c4c;
    font-size: 1rem;
    line-height: 1.5;
}

contenidoTable table td:first-child {
    border-left: none;
}

.contenido table td {
    padding: 5px;
    border-left: thin solid #ccc;
    border-right: thin solid #ccc;
    vertical-align: top;
}

/* Estilos básicos para DataTables */
.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Asegurar que la tabla ocupe el ancho completo */
#TblConsultaUsuarios {
    width: 100% !important;
}

/* Estilos para los botones de acción */
.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Estilos básicos para tablas responsivas */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Configuración específica para móviles */
@media (max-width: 768px) {
    /* Mejoras para controles de DataTables */
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left;
        margin-bottom: 10px;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
        margin-top: 10px;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            padding: 0.25rem 0.5rem;
            margin: 0 2px;
        }
}

/* ------------------------------ */
/* Estilos para secciones de formulario - Opción 1 */
/* ------------------------------ */

.section-card {
    background: #ffffff;
    border: 2px solid #e3e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #78b92f, #5a8c1f);
    border-radius: 8px 8px 0 0;
}

.section-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.section-card h3.header.smaller.lighter {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}
    /* Estilos específicos para el contenedor de auditoría */
    #contenedorCalendario {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    #contenedorCalendario .body_auditoria {
        width: 100% !important;
        max-width: 100% !important;
    }

    #contenedorCalendario .progress-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
