html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif;
    background: var(--color-fondo-general);
    height: 100%;
    color: #000000; /*#333;*/
    overflow-x: hidden;
    font-size: 16px;
}

.body-container {
    padding-left: 20px;
    padding-right: 20px;
}

.anchor-sin-estilo {
    text-decoration: none;
    color: inherit;
}

.pointer {
    cursor: pointer;
}

h1, h2, h3, h4 {
    color: #0056B3
}

.normal-text-blue {
    color: #4A89DC;
}


.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
    margin-left: 5px;
}

:root {
    --color-fondo-general: #eaeaea;
    --color-fondo_menu_superior: #b3ceff;
    --color-fondo_head_card: #89c7db;
    --color-fondo_primario: #4c8698;
}

.navbar {
    background-color: #afc4db !important;
    border-bottom: 4px solid #1c5fa9;
    /* Color navbar */
}

    .navbar .nav-link {
        color: #1c5fa9 !important;
    }

        .navbar .nav-link:hover {
            color: #000000 !important;
        }

    .navbar .dropdown-menu {
        background-color: #bfcedf;
    }

    /* Cambia el color de los elementos dentro del dropdown */
    .navbar .dropdown-item {
        color: #fff; /* Cambia este valor por el color del texto */
    }

        /* Cambia el color del fondo y del texto cuando se pasa el mouse por encima */
        .navbar .dropdown-item:hover {
            background-color: #fff; /* Color de fondo al pasar el mouse */
            color: #1c5fa9; /* Color del texto al pasar el mouse */
        }

    .navbar .nav-btn {
        padding: .5rem 1rem;
    }

table {
    background-color: white
}
thead {
    background-color: #5a8bc1 !important;
    color: white !important;
}

.col-acciones-120 {
    width: 120px; 
    text-align: center;
    white-space: nowrap;
}

.inputLoginUsuario {
    height: 40px;
    padding-left: 10px; /* Ajusta el padding si es necesario */
}

.form-floating > .input-group > .form-control {
    border-radius: 0.375rem; /* Asegura que el input tenga bordes redondeados */
}

.form-floating > label {
    z-index: 1; /* Asegura que el label esté por encima del input */
    padding-left: 50px;
}



.input-group-text {
    height: 40px; /* Alinea la altura del ícono con la del campo de entrada */
    display: flex;
    align-items: center; /* Asegura que el ícono esté centrado verticalmente */
    background-color: transparent; /* Evita el fondo de color si es necesario */
}

.modal-content {
    background-color: #e3f2fd; /* Un azul claro para el fondo */
}

.modal-header {
    color: #ffffff;
    background: #5a9ac1;
}

    .modal-header .btn-close {
        color: #ffffff;
    }

.card {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
/* Sobrescribe los títulos y fondos de las cards */
.card-header {
    align-items: center !important;
}
.card-header-principal {
    border-bottom: #f3e03d 2px solid;
    background-color: #FAEE84;
}

.card-header-secundario {
    background-color: #5a8bc1;
    color: white;
    border-bottom: #1c5fa9 2px solid;
}


.card-header h3, h4 {
    margin: 3px !important;
}



.card-accion {
    border-left: 15px solid #FAEE84;
    padding: 10px;
}

    .card-accion.red {
        border-left-color: #F28B82;
    }

    .card-accion.orange {
        border-left-color: #FFB347;
    }

    .card-accion.green {
        border-left-color: #A8D5BA;
    }

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


.navbar-brand-text {
    padding: 5px;
    border-right: 2px solid #003E6B !important;
}
/*Para la imagen quese muestra al pasar el cursor por encima*/
.icon-container {
    position: relative;
    display: inline-block;
}

    .icon-container img.hidden-image {
        display: none;
        position: absolute;
/*        top: 100%;*/
        /*left: 50%;*/
        transform: translate(0%, -100%);
        z-index: 10;
        border: 1px solid #ddd;
        padding: 10px;
        background-color: white;
    }

    .icon-container:hover img.hidden-image {
        display: block;
        display: inline-block;
    }


    .icon-container div.hidden-text {
        display: none;
        position: absolute;
        border: 1px solid #ccc;
        z-index: 2;
        padding: 10px;
        background-color: #f9f9f9;
        color: black;
        width: 600px;
    }

    .icon-container:hover div.hidden-text {
        display: block;
    }

.left-600{
    left: -600px;
}

/*TABLAS*/

/*
    table > thead > tr > th {
    BACKGROUND: #e6e6e6 !important;
    BORDER-BOTTOM: #87ceeb 2px solid !important;
}

    .table {
    background: #f2f2f2;
}
*/
.table-responsive {
    max-height: 300px;
    max-width: 300px;
}


.btn-primary {
    background-color: #5a8bc1 !important; /* Un azul primario más intenso */
    color: white !important;
    border-color: #5a8bc1 !important;
}

    .btn-primary:hover {
        background-color: #003E6B !important;
    }

.btn-primary-outline {
    border-color: #5a8bc1 !important; /* Un azul primario más intenso */
    
}

    .btn-primary:hover {
        background-color: #003E6B !important;
    }

.btn-secondary {
    background-color: #6c757d; /* Un gris azulado para el secundario */
    border-color: #5a6268;
}

    .btn-secondary:hover {
        background-color: #545b62;
        border-color: #4e555b;
    }

.btn-no-focus:focus {
    outline: none;
    box-shadow: none;
}

/*.btn-light {
    background-color: white;
    border-color: #e2e8f0;
    color: #111827;*/
/*    text-gray-900 
        bg-white 
        border 
        border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-5 
        py-2.5 me-2 mb-2 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700*/
/*}
    .btn-light:focus {
        outline: none;
    }
    .btn-light:hover {
        background-color: gray;
    }*/

h5.separador {
    border-bottom: 1px solid #000;
    /*    width: 70.67%;*/
}

.card-header label {
    font-weight: bold;
}

.card-body label {
    font-weight: bold;
}

.pointer {
    cursor: pointer;
}

.no-pointer {
    cursor: default;
}

.centered-div {
    display: flex;
    justify-content: center;
    align-items: center; 
}

/*Buscado de articulos*/
.select2-result-article {
    display: flex;
}

.select2-result-article__img {
    margin-right: 1em;
    height: 100%;
}

    .select2-result-article__img img {
        width: 60px;
    }

/*Input para subir archivos personalizado*/
.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Select some files';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

/*PARA QUE EL SELECT2 TENGA MÁS TAMAÑO*/
.select2-results__options {
    max-height: 600px !important; /* Altura máxima del desplegable */
    overflow-y: auto; /* Habilitar scroll */
}

.calendario-mes {
    font-size: 0.8rem;
    height: 100%;
}

    .calendario-mes .card-header {
        padding: 0.5rem;
    }

    .calendario-mes h5 {
        margin: 0;
        font-size: 0.9rem;
    }

    .calendario-mes table {
        margin: 0;
        height: 100%;
    }

    .calendario-mes .card-body {
        padding: 0.5rem !important;
    }

    .calendario-mes th {
        padding: 0.3rem;
        font-size: 0.75rem;
        text-align: center;
    }

    .calendario-mes td {
        padding: 0.3rem;
        text-align: center;
        cursor: pointer;
        width: 14.28%;
        font-size: 0.75rem;
        height: 2rem;
        vertical-align: middle;
    }



        .calendario-mes td:hover {
            background-color: #f8f9fa;
        }


.col-calendario {
    margin-bottom: 1rem;
    display: flex;
}

    .col-calendario > .card {
        width: 100%;
    }
.table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    display: block;
}

/* Reducir el tamaño de fuente para todas las pantallas */
.table {
    font-size: 0.9rem;
}

/* Ajustar aún más para móviles */
@media (max-width: 768px) {
    .table {
        font-size: 0.8rem;
    }

        .table th,
        .table td {
            padding: 0.4rem;
        }
}

/* Pantallas muy pequeñas */
@media (max-width: 576px) {
    .table {
        font-size: 0.75rem;
    }

        .table th,
        .table td {
            padding: 0.3rem;
        }
}

.oculto {    
    display: none;
}

.btn-sin-estilo {
    all: unset;
    cursor: pointer;
}

