﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/   
    text-align: left;
}

.text-copyright-footer {
    opacity: 0.5; /* 60% de opacidad para todo el contenido */
    font-size: 0.8rem;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

.padding-user{
    padding-top: 20px;
}

.padding-top_20 {
    padding-top: 20px;
}


input:focus:invalid, textarea:focus:invalid, select:focus:invalid { /* when a field is considered invalid by the browser */
    /*background: #fff url(../Assets/img/invalid.png) no-repeat 98% center;*/
    box-shadow: 0 0 5px #d45252;
    /*border-color: #b03535;*/
    border-left: solid 4px;
    border-left-color: #f35b3f;
    border-right-color: #b03535;
    border-top-color: #b03535;
    border-bottom-color: #b03535;
}

input:required:valid, textarea:required:valid, select:required:valid { /* when a field is considered valid by the browser */
    /*background: #fff url(../Assets/img/valid.png) no-repeat 98% center;*/
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.centrar-texto{
    text-align: center;
}

.requerido {
    padding-left: 8px;
    color: #B50128;
    font-size: x-small;
    font-family: Verdana, Tahoma, Arial;
    font-weight: lighter;
    border-radius: 5px;
}

.flecha-arriba:before {
    content: "";
    position: absolute;
    top: 37px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;    
}

.flecha-arriba2:before {
    content: "";
    position: absolute;
    top: 64px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba3:before {
    content: "";
    position: absolute;
    top: 54px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba4:before {
    content: "";
    position: absolute;
    top: 36px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba5:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba6:before {
    content: "";
    position: absolute;
    top: 152px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba7:before {
    content: "";
    position: absolute;
    top: 169px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.flecha-arriba8:before {
    content: "";
    position: absolute;
    top: 275px;
    left: 25px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #dc3545;
}

.margin-top-100{
    margin-top: 100px;
}

tr {
    line-height: 18px; /*Espacio entre lineas*/
    font-size: 1.5vh;
}

th{
    font-size: 1.6vh;
}


.margenes-botones-tabla {
    margin-top: -25px;
    margin-bottom: -25px;
}

thead {
    background-color: #eaeaea;
}

.espaciado{
    margin-top: 10px;
}

.minvh-100-60px {
    height: calc(100vh - 60px);
}

.minvh-100 {
    height: 100vh;
}


/* REEMPLAZAR LOS COLORES DE LAS NAV TABS POR COLOR NARANJA */
.nav-tabs .nav-link.active {
    background-color: var(--color-celeste-rrhh);
    color: #000;
    font-weight: bold;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 5px;
}

.nav-tabs .nav-link:not(.active) {
    background-color: #f8f9fa;
    margin-left: -15px;
    margin-right: -15px;
    border: 1px solid var(--color-azul-uisau);
    border-radius: 5px;
}

.nav-tabs .nav-item:hover .nav-link {
    color: #fff;
    font-weight: bold;
    background-color: var(--color-celeste-rrhh);
}

.tab-content {
    border: 1px solid var(--color-azul-uisau);
    margin-top: -3px; /* Posición del tab, para subirlo o bajarlo */
    border-radius: 5px;
}


/* Declaración de variables */
:root {
    --color-azul-uisau: #58bdcf;
    --color-celeste-rrhh: #89dbf5;
}

.menu-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5;
}

.btn-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #00156e;
    color: #fff;
    border: none;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.plus {
    font-size: 40px;
    display: block;
    margin: 0 auto;
    margin-top: 0px;
}

.menu-list {
    position: fixed;
    bottom: -14px;
    right: 68px;
    width: 205px !important;
    max-height: calc(100vh - 150px); /* El menú no se superpondrá a otros elementos */
    overflow-y: auto; /* Añade un scrollbar si hay muchos elementos */
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

    .menu-list::before {
        content: "";
        position: absolute;
        padding-right: 100px;
        top: -20px; /* La flecha apuntará hacia abajo */
        border-width: 20px;
        border: solid 3px #f35b3f;
        z-index: 100;
    }

    .menu-list li {
        list-style: none;
        margin: 5px 0;
    }

    .menu-list ul li a {
        text-decoration: none;
    }

    .menu-list a {
        color: #333;
        text-decoration: none;
        font-size: 14px;
    }

        .menu-list a:hover {
            text-decoration: none;
        }

.menu-float.open .menu-list {
    display: block;
}


.flechita-derecha {
    position: absolute;
    border-radius: 7px;
    /*text-align: center;*/
    /*background-color: #f47b3d;*/
    /*color: #fff;*/
    padding: 10px;
    /*width: 140px;*/
    border: solid 3px #f35b3f;
    /*margin-left: 55px;*/
    /*font-size: 0.9em;*/
    margin-right: -15px;
}

    .flechita-derecha-NOLAUSO:before {
        content: "";
        position: fixed;
        /*top: 605px;*/ /* Posición de la flechita */
        top: 670px; /* Posición de la flechita */
        margin-left: 44px;
        /*left: auto;*/
        /*right: -150px;*/
        width: 0;
        height: 0;
        border-width: 25px;
        border-style: solid;
        border-color: transparent transparent transparent #f35b3f;
        /*right: -15px;*/ /* ajusta la posición horizontal de la flecha */
        /*margin-top: 544px; */ /* ajusta la posición vertical de la flecha */
        right: -59px;
    }

.flechita-abajo {
    border-radius: 7px;
    background-color: #f1f1f1;
    padding: 10px;
    width: 140px;
    font-size: 0.9em;
    border: solid 3px #f47b3d;
}

    .flechita-abajo:before {
        /*FLECHITA PARA ABAJO*/
        content: "";
        position: absolute;
        bottom: -26px;
        left: 0;
        width: 0;
        height: 0;
        border-width: 25px 25px 0;
        border-style: solid;
        border-color: #f47b3d transparent transparent;
        margin-left: 2px;
        /*FLECHITA PARA ARRIBA*/
        /*content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-bottom: 20px solid #f47b3d;
        border-right: 18px solid transparent;
        border-left: 18px solid transparent;
        margin: 100px 0 0 -55px;*/
    }


.flechita-izquierda {
    border-radius: 7px;
    text-align: center;
    /*background-color: #f47b3d;*/
    color: #fff;
    padding: 10px;
    /*width: 140px;*/
    border: solid 3px #f47b3d;
    margin-left: 55px;
    /*font-size: 0.9em;*/
}

    .flechita-izquierda:before {
        content: "";
        position: absolute;
        top: 50px;
        left: -50px;
        width: 0;
        height: 0;
        border-width: 25px;
        border-style: solid;
        border-color: transparent #f47b3d transparent transparent;
        margin-top: -48px;
    }



.flechita-arriba {
    border-radius: 7px;
    text-align: center;
    /*background-color: #f47b3d;*/
    color: #fff;
    padding: 10px;
    width: 140px;
    border: solid 3px #f47b3d;
    margin-left: 55px;
    /*font-size: 0.9em;*/
}

    .flechita-arriba:before {
        content: "";
        position: absolute;
        top: -25px;
        left: 0;
        width: 0;
        height: 0;
        border-width: 0 25px 25px;
        border-style: solid;
        border-color: transparent transparent #f47b3d;
    }


    .checkBoxGrande input {
        width: 20px;
        height: 20px;
    }


    /* La pase a adminlte.css */
.modal-super-grande {
    max-width: 90%; /* Ajusta el porcentaje según lo necesites */
}



/*PARA LOS DATOS DE USUARIO*/

.usuario_actual2 {
    width: 65px;
    margin-right: 10px;
    line-height: 15px;
    float: right;
    text-align: center;
    padding-right: 15px;
    font-size: 12px;
    margin-top: -5px;
    margin-bottom: -5px;
}

    .usuario_actual2 a {
        color: #FFFF00;
    }

        .usuario_actual2 a:hover {
            color: #FF9900;
            cursor: pointer;
        }

.arrow_box {
    position: relative;
    background: #FFF;
    border: 2px solid #c2e1f5;
    padding-top: 10px;
    width: 277px;
    margin-left: -125px;
    margin-top: 2px;
    margin-bottom: -10px;
    border-radius: 5px;
}

/* Mostrar el menú cuando el mouse esté sobre el contenedor o sobre el menú */
.usuario_actual2:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 10000000000000000;
}

    .arrow_box:after, .arrow_box:before {
        bottom: 101.5%;
        left: 91%;
        border: solid;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        padding-right: -10px;
    }

    .arrow_box:after {
        border-color: rgba(136, 183, 213, 0);
        border-bottom-color: #c2e1f5;
        border-width: 15px;
        margin-left: -15px;
    }

    .arrow_box:before {
        border-color: rgba(194, 225, 245, 0);
        border-bottom-color: #c2e1f5;
        border-width: 18px;
        margin-left: -18px;
    }


.dropdown-menu {
    right: -7px; /* Asegura que el dropdown esté alineado con el margen derecho del contenedor */
    left: auto; /* Evita que se extienda hacia la izquierda */
    max-width: 100%; /* Evita el desbordamiento horizontal */
}

/*FIN DATOS DE USUARIO*/



/* PERSONALIZACIÓN DE BOTONES DE PAGINACIÓN DEL PLUGGIN DATATABLES */
/* PERSONALIZACIÓN DE BOTONES DE PAGINACIÓN DEL PLUGGIN DATATABLES */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.1em 0.5em 0.3em 0.5em; /* Ajusta estos valores para hacer los botones más pequeños */
    color: #89dbf5; /* Color del texto */
    background-color: white; /* Fondo blanco para el botón */
    border: 1px solid #89dbf5; /* Borde azul Bootstrap */
    transition: background-color 0.2s ease; /* Transición suave */
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background-color: #89dbf5; /* Color de fondo al hacer hover */
        color: white; /* Color del texto al hacer hover */
        cursor: pointer;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background-color: #89dbf5; /* Color de fondo para el botón actual */
        color: white; /* Color del texto */
        border: 1px solid #89dbf5; /* Borde azul para el botón actual */
    }

/* PERSONALIZAR EL CAMPO DE FILTRO O BUSQUEDA DEL PLUGGIN DATATABLES */
.dataTables_wrapper .dataTables_filter input {
    padding: 5px; /* Ajusta el padding interno */
    border: 1px solid #89dbf5; /* Borde alrededor del campo */
    border-radius: 4px; /* Bordes redondeados */
    color: #333; /* Color del texto */
    width: 250px; /* Ancho del campo de búsqueda */
}

    .dataTables_wrapper .dataTables_filter input:focus {
        outline: none; /* Remueve el borde azul por defecto al hacer foco */
        border-color: #319cc4; /* Color del borde al hacer foco */
        box-shadow: 0 0 5px rgba(49, 156, 196, 0.5); /* Sombra sutil al enfocar */
    }

/* Personalización SELECT o lengthMenu */
.dataTables_length select {
    padding: 0.3em 0.5em; /* Ajusta el padding del select */
    margin-left: 5px; /* Espacio entre el texto y el select */
    border: 1px solid #89dbf5; /* Borde alrededor del campo */
    border-radius: 4px; /* Bordes redondeados */
    color: #333; /* Color del texto */
}

    /* Al hacer hover en el select */
    .dataTables_length select:hover {
        background-color: #f0f8ff; /* Color de fondo al hacer hover */
        border: 1px solid #89dbf5; /* Borde alrededor del campo */
        cursor: pointer;
    }

/* Alinear el select a la izquierda */
.dataTables_wrapper .dataTables_length {
    float: left; /* Flotar a la izquierda */
}

/* Alinear el input a la derecha */
.dataTables_wrapper .dataTables_filter {
    float: right; /* Flotar a la derecha */
}

/* Al seleccionar un item */
.dataTables_length select:focus {
    border: 1px solid #89dbf5; /* Borde al tener el focus */
    outline: none; /* Quitar el contorno predeterminado */
}

/* Para aplicar un estilo similar después de seleccionar */
.dataTables_length select option:checked {
    background-color: #f0f8ff; /* Color de fondo del item seleccionado (puede variar en diferentes navegadores) */
}

/* Alinear info y paginación horizontalmente */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    display: inline-block; /* Mantener en la misma línea */
    vertical-align: middle; /* Alinear verticalmente al medio */
    margin-top: 0; /* Asegúrate de que no haya margen superior */
}

/* Alinear la paginación a la derecha */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 10px;
    float: right; /* Flotar a la derecha */
}


/* FIN PERSONALIZACIÓN DE BOTONES DE PAGINACIÓN DEL PLUGGIN DATATABLES*/

