﻿#reportViewer1 {
    width: 80%;
    height: 500px;
}

html, body {
    height: 100%; /* Hace que el HTML y BODY ocupen toda la pantalla */
    margin: 0;
    display: flex;
    flex-direction: column;
}


.body-content {
    flex: 1; /* Hace que el contenido principal ocupe el espacio disponible */
    overflow: auto; /* Permite el scroll si hay contenido extenso */
}


.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 0.2rem 0; /* Reduce el padding para hacerlo más delgado */
    font-size: 0.575rem; /* Reduce el tamaño del texto si es necesario */
    width: 100%;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
}

footer a {
    color: #3498db;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/AsociacionESBC/Content/Image/Imagen_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1; /* Lo envía al fondo */
}



.navbar {
    background-color: #34495e;
    width: 100%; /* Abarca el 100% del ancho de la página */
    margin: 0; /* Elimina márgenes externos que puedan afectar */
    padding: 0; /* Elimina paddings internos si es necesario */
}

.navbar-nav {
    background-color: #34495e;
    color: #ffd800 !important;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

.nav-item {
    position: relative; /* Para posicionar el submenú de forma absoluta */
}

.navbar-brand, .nav-link {
    color: #ffd800 !important;
}
/* Estilos para el submenú (dropdown) */
.dropdown-menu {
    display: none; /* Se oculta por defecto */
    position: absolute;
    top: 100%; /* Justo debajo del elemento padre */
    left: 0;
    background-color: #34495e; /* Mismo fondo que la navbar */
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #ffd800 !important; /* Igual que tus nav-link */
    text-decoration: none;
}

    .dropdown-item:hover {
        background-color: #7bb740 !important;
        font: bold !important;
        color: white !important;
    }

/* Mostrar el submenú al hacer hover sobre el elemento padre */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    background-color: #34495e;
}




.hero {
    background-color: #3e403c;
    color: #7bb740;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    max-width: 100% !important; /* Ahora ocupa todo el ancho */
    width: 100%; /* Puedes ajustar entre 90% o 100% */
    margin: 0 auto; /* Centra el contenedor */
}

.hero2 {
    background-color: #34495e;
    color: #ffd800;
    padding: 2rem 1rem;
    text-align: left !important;
    border-radius: 8px;
    max-width: 100%; /* Hace que ocupe todo el ancho */
    width: 100%; /* Ajusta para que se vea más grande */
    margin: 0 auto; /* Centra el contenedor */
}



.card {
    border: none;
    border-radius: 8px;
    background-color: #3e403c !important;
    color: #7bb740 !important;
    padding: 1.5rem;
    margin-bottom: 1rem;
}


.btn-primary {
    background-color: #7bb740 !important;
    border-color: #5aee28;
}

    .btn-primary:hover {
        background-color: #2980b9;
        border-color: #5aee28 !important;
    }

thead th {
    background-color: #ffd800 !important;
    padding: 10px;
    border: 1px solid #ccc;
}
    /* Redondear la esquina superior izquierda del primer <th> */
    thead th:first-child {
        border-top-left-radius: 10px;
    }
    /* Redondear la esquina superior derecha del último <th> */
    thead th:last-child {
        border-top-right-radius: 10px;
    }

a {
    color: #7bb740 !important;
}

.pagination .page-link {
    background-color: #f0f0f0; /* Color de fondo normal */
    color: #007bff; /* Color del texto */
    border: 1px solid #007bff; /* Color del borde */
}

    /* Estilo al pasar el mouse */
    .pagination .page-link:hover {
        background-color: #ffd800;
        color: white;
    }

/* Página activa */
.pagination .active .page-link {
    background-color: #7bb740;
    color: white;
    border-color: #007bff;
}

/* Eliminar el subrayado de los enlaces */
.pagination .page-link {
    text-decoration: none;
}


.btn {
    font-size: 0.875rem;
}

.table th, .table td {
    white-space: nowrap; /* Evita que el contenido largo se desborde */
}

.pagination {
    margin-top: 20px;
}


.btn-primary {
    color: white !important;
}

table.table.custom-table tbody tr:nth-child(odd) {
    background-color: transparent !important;
    color: #f4f4f4 !important;
}

table.custom-table tbody tr:nth-child(even) {
    background-color: transparent !important;
    color: #ffd800 !important;
}

.custom-table tbody tr:hover {
    background-color: #f1c40f !important;
    color: white !important;
    cursor: pointer;
}


.custom-table tbody tr {
    transition: background-color 0.3s ease;
}

/* Ajustar el tamaño de los botones dentro de la tabla */
.table .btn {
    padding: 3px 8px; /* Reduce el padding para hacerlos más compactos */
    font-size: 12px; /* Disminuye el tamaño del texto */
    height: 30px; /* Establece una altura fija */
    width: auto; /* Evita que sean demasiado anchos */
    display: inline-block; /* Se aseguran de no expandirse al 100% */
}

.form-control {
    max-width: 1450px; /* Ajusta el tamaño a lo que necesites */
}

.text-green {
    color: #7bb740 !important; /* Verde fuerte, forzado */
    font-weight: bold; /* Opcional */
}
