﻿div.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto; 
}

.div-contenedor-meses {
    margin: 20px;
}

table {
    border-collapse: collapse;
    margin: 20px auto;
}

th,
td {
    padding: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    border: 1px solid white;
    width: 30px;
    height: 30px;
}

.td-button {
    text-align: center;
    border: 1px solid white;
    padding: 0px !important;
    width: 45px;
}

th {
    /* Este corresponde a los encabezados de los dias, ej: Dom, Lun... */
    background-color: transparent;
    font-weight: bold;
}

td {
    background-color: transparent;
}

.dia-normal {
    background-color: transparent;
    border: 1px solid white;
    border-radius: 15px;
    width: 45px;
    font-size: 18px;
}

    .dia-normal:hover {
        background-color: #dadada;
    }


.dia-hoy {
    background-color: #585656;
    border: 1px solid white;
    border-radius: 15px;
    width: 45px;
    font-weight: 500;
    color: white;
    font-size: 18px;
}

    .dia-hoy:hover {
        background-color: #999696;
    }


td.vacio {
    background-color: transparent;
    border: 1px solid white;
    width: 45px;
}

h1 {
    text-align: center;
}

.dia-feriado {
    background-color: #d1ff96;
    border: 1px solid white;
    font-weight: bold;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    font-size: 18px;
}

    .dia-feriado:hover {
        background-color: #99f324;
        cursor: pointer;
    }


.dia-religioso {
    background-color: #e696ff;
    border: 1px solid white;
    font-weight: bold;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    font-size: 18px;
}

    .dia-religioso:hover {
        background-color: #ca24f3;
        cursor: pointer;
    }

.mes-titulo {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    color: black;
}

    .mes-titulo:hover {
        text-decoration: none;
        color: black;
    }

footer {
    background-color: #333;
    color: white;
    position: fixed;
    /* Mantiene el footer en su lugar */
    bottom: 0;
    /* Lo coloca en la parte inferior */
    left: 0;
    width: 100%;
    /* Hace que ocupe todo el ancho de la página */
    padding: 10px 0;
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
}

.footer-content {
    display: flex;
    /* Usar Flexbox para alinear elementos */
    align-items: center;
    /* Centrar verticalmente los elementos */
    justify-content: center;
    /* Centrar horizontalmente en el footer */
}

.barra-vertical-divisora-religioso {
    margin-left: 10px;
    width: 10px !important;
    min-width: 10px;
    min-height: 48px;
    background-color: #d220ff;
    border-radius: 10px;
}

.barra-vertical-divisora-feriado {
    margin-left: 10px;
    width: 10px !important;
    min-width: 10px;
    min-height: 48px;
    background-color: #99f324;
    border-radius: 10px;
}

.espacio-entre-imagen {
    margin-left: 10px;
    text-align:left;
    font-size: 18px;
    /* Espacio entre la imagen y el texto */
}

.label-religioso {
    background-color: #d220ff;
    font-weight: 500;
    font-size: 14px;
    padding: 2px !important;
    border-radius: 7px;
    color: white;
    text-decoration: none;
    margin-left: 5px;
}

    .label-religioso:hover {
        text-decoration: none;
        color: white;
    }

.btn-vista-calendario {
    background-color: #69af58;
    color: white;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
}

    .btn-vista-calendario:hover {
        background-color: #375b2e;
        color: white;
    }

.btn-vista-lista {
    background-color: #69af58;
    color: black;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 18px;
}

    .btn-vista-lista:hover {
        background-color: #375b2e;
        color: black;
    }


/* A PARTIR DE AQUI ESTILOS DE LISTA */

.mes-titulo-lista {
    width: auto;
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

    .mes-titulo-lista:hover {
        text-decoration: none;
        color: black;
    }


.div-contenedor-mes-lista {
    background-color: #e8ecf0;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Sombra */
}

.div-contenedor-mes-lista-contenido {
    display: flex;
    /* Usar Flexbox para alinear elementos */
    align-items: center;
    /* Centrar verticalmente los elementos */
    justify-content: left;
    text-align: left;
    /* Centrar horizontalmente en el footer */
}

.div-linea-separador {
    height: 1px;
    width: 100%;
    background-color: #969696;
    margin-top: 5px;
    margin-bottom: 5px;
}

.div-linea-separador-invisible {
    height: 5px;
    width: 100%;
    background-color: transparent;
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-nuevo {
    background-color: #212529;
    color: white;
    position: fixed;
    /* Mantiene el footer en su lugar */
    bottom: 0;
    /* Lo coloca en la parte inferior */
    left: 0;
    width: 100%;
    /* Hace que ocupe todo el ancho de la página */
    padding: 10px 0;
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
}

.footer-content-nuevo {
    display: flex;
    /* Usar Flexbox para alinear elementos */
    align-items: center;
    /* Centrar verticalmente los elementos */
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    /* Centrar horizontalmente en el footer */
}

.div-modal {
    display: none; /* Ocultar por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000; /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Alto completo */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
}

.div-modal-content {
    background-color: white; /* Fondo blanco */
    padding: 20px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    width: 400px; /* Ancho del modal */
    text-align: center; /* Alinear texto al centro */
}




/* CALCULO DE DIAS LABORABLES*/
.contenedor-principal-centrado-horizontal {
    width: 80%; 
    margin: 0 auto;
    background-color: #e8ecf0;
    padding: 50px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2)
}

.boton-calcular {
    background-color: #69af58;
    border-color: #69af58;
    font-weight: bold;
    color: white;
}

    .boton-calcular:hover {
        background-color: #375b2e;
        border-color: #375b2e;
        color: white;
    }

.control-fecha {
    padding: 5px;
    border: none;
    border-radius: 10px;
}

.control-textbox {
    border: none;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    max-width: 200px;
}

.control-textbox-disable {
    border: none;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    max-width: 200px;
    background-color: #e4f5e0;
    border: 1px solid #69af58;
}

.linea-divisora {
    border: none; 
    height: 2px; 
    background-color: gray; 
    margin: 20px 0; 
}

.div-columna {
    margin-top: 10px;
}

.alert {
    position: relative; /* Necesario para el pseudo-elemento */
    overflow: hidden; /* Para ocultar el brillo fuera del div */
    padding: 10px; /* Espaciado interno para el contenido */
}

    .alert::before {
        content: ''; /* Necesario para crear un pseudo-elemento */
        position: absolute; /* Posicionar el brillo */
        top: 0;
        left: -100%; /* Comenzar fuera de la izquierda */
        width: 100%; /* Ancho total del div */
        height: 100%; /* Altura total del div */
        background: rgba(250, 207, 210, 0.6); /* Color del brillo */
        animation: iluminar 1s linear forwards; /* Cambia 2s a 1s para hacerlo más rápido */
    }

/* Definición de la animación */
@keyframes iluminar {
    0% {
        left: -100%; /* Comienza fuera de la vista a la izquierda */
    }

    100% {
        left: 100%; /* Se mueve hacia la derecha completamente */
    }
}